Date: Wed, 13 Feb 2008 11:19:12 -0800 From: Marcel Moolenaar <xcllnt@mac.com> To: Ben Stuyts <ben@altus-escon.com> Cc: freebsd-usb@freebsd.org Subject: Re: Panic on connecting external harddrive Message-ID: <C46C2D00-01A2-4B33-ABB5-68D95A82CBF5@mac.com> In-Reply-To: <5BA674D3-BEC5-4588-90E5-AF98B68BF96F@altus-escon.com> References: <8B2121C8-E8F1-49F1-A24E-797A6F08D2AA@altesco.nl> <20080212221302.GB62536@in-addr.com> <3CC33BA3-9337-4BC4-8B80-6EB8CA165938@altesco.nl> <47B25337.6020906@freebsd.org> <729AFEC6-CA7C-473C-9E80-F90AC651B5E9@altesco.nl> <5BA674D3-BEC5-4588-90E5-AF98B68BF96F@altus-escon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 13, 2008, at 10:26 AM, Ben Stuyts wrote: > Hi, > > On 13 Feb 2008, at 18:36, Ben Stuyts wrote: > >> I'm trying, but I can't get a crashdump. I have dumpdev in rc.conf >> set to my swap partition, and during booting it correctly says it >> will dump to that device. My swap is 4 GB and I have 4 GB memory, >> but doing the math it should fit. > > Here is something really odd: For debugging I had > > options KDB > options DDB > options GDB > > in my kernel conf. To find out why it would not dump, I removed DDB > and GDB, and now it has gotten a lot harder to panic the system. If > I plug or unplug the USB drive slowly, I get the usual connect/ > disconnect messages and no panic. Only when I connect and then > around 3 s later unplug, I get a panic. This is while the connect > message comes by on the screen. (Ok, maybe I'm asking for it at that > point.) > > How could the inclusion of DDB/GDB affect the USB subsystem? Some > odd timing problem? (And still no way to create a crashdump...) Memory corruption: by adding or removing options, you change the kernel itself as well as its behaviour. This can change where in the kernel the corruption happens and what sub-systems are being affected. See if some other options have the same effect... -- Marcel Moolenaar xcllnt@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C46C2D00-01A2-4B33-ABB5-68D95A82CBF5>