Re: FreeBSD 5.1-R kernel panic

From: Stephane Raimbault <segr_at_hotmail.com>
Date: Wed, 30 Jul 2003 09:25:34 -0600
Hi Bosko,

My kernel panic'd again this morning.  I had removed all the USB devices
from my kernel and had set my /etc/rc.conf to usbd_enable="NO" and the
kernel panic'd again.

I have attached both my kernel config file and the trace of the panic.  Let
me know if I can provide any further information to help analyze this
problem.

Thanks,
Stephane Raimbault.

----- Original Message ----- 
From: "Bosko Milekic" <bmilekic_at_technokratis.com>
Newsgroups: mailing.freebsd.current
Sent: Sunday, July 27, 2003 8:56
Subject: Re: FreeBSD 5.1-R kernel panic


>
> On Sat, Jul 26, 2003 at 10:48:21PM -0600, Stephane Raimbault wrote:
> > Well, I had compiled "options DDB" into the kernel and today the kernel
> > panic'd... here is what I got.  I ran the following in the db> prompt.
> > "trace", "show reg", "ps".  Let me know if this is the kind of
information
> > you need, and if there is anything else I need to provide... can I
> > re-compile the kernel without the "options DDB" now, or should I provide
the
> > same info next time in panic's to confirm it's the same problem?
> >
> > Thanks,
> > Stephane.
> >
> > I've attached the file debug.txt which contains the panic info.  Let me
know
> > if you need it in a different format.
> >
> > Thanks again,
> > Stephane Raimbault.
>
>   Are you using USB?
>
>   Approximately 2 weeks ago, some changes were introduced into the USB
>   code which could in some scenarios mean a depletion of kmem_map.  I've
>   glanced at usb_mem.c and it appears that the USB code 'caches'
>   everything that it allocates into a couple of lists it maintains
>   locally.  This prevents UMA from seeing the freed memory and, from the
>   point of view of the VM, the memory is never reclaimed.
>
>   I am unsure as to whether or not the memory allocated by the USB stuff
>   needs to be type stable so I can't really fix this.  I urge the USB
>   authors to glance there.
>
>   If you are using USB, try turning it off to see if the panic persists.
>   If not, then we'll have to look elsewhere.
>
> Regards,
> -- 
> Bosko Milekic  *  bmilekic_at_technokratis.com  *  bmilekic_at_FreeBSD.org
> TECHNOkRATIS Consulting Services  *  http://www.technokratis.com/
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003

Received on Wed Jul 30 2003 - 06:25:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:17 UTC