USB mouse/keyboard causes kernel panic during boot sequence

Joshua Oreman oremanj at webserver.get-linux.org
Wed Jul 9 10:18:59 PDT 2003


On Tue, Jul 08, 2003 at 01:05:18PM -0400 or thereabouts, Michael E. Mercer wrote:
> On Tue, 2003-07-08 at 12:11, Joshua Oreman wrote:
> > On Mon, Jul 07, 2003 at 11:43:21PM -0400 or thereabouts, Michael E. Mercer wrote:
> > > Alrighty then,
> > > 
> > > Ok, after following FAQ 18.13 on the freebsd web site,
> > > I've been struggling for the last 4 hours trying to get this thing to
> > > dump core but it just won't! I added ad2s1b to the dumpdev in rc.conf
> > > and also read about kernel init problems need to have dumpdev added to
> > > the loader. So I added it to loader.conf as well. 
> > 
> > Your swap partition must be at least a few megs bigger than your physical
> > RAM.
> > 
> My swap is 1 Gig. I also changed MAXMEM in my kernel to a much smaller
> size... still can not get a dump...

Ah, silly me. Since this is a device probe panic, rc.conf setting dumpdev
won't ever happen.

There is one last thing you can do: put
options DDB
in your kernel config file. Recompile. Reproduce.
ddb> trace
... <please capture all output>
ddb> continue
...
ddb> continue
Uptime - 0s
Rebooting...

-- Josh

> 
> Any ideas?
> 
> > > 
> > > Anyways, the method it points to is uhci_idone. 
> > 
> > Thanks!
> 
> No, thank you for your help!
> 
> Michael
> > 
> > -- Josh
> > 
> > > 
> > > That's all I can find out at the moment, unless someone can inform me of
> > > what I am doing wrong.
> > > 
> > > Thanks
> > > Michael
> > > 
> > > 
> > > 
> > > On Mon, 2003-07-07 at 13:03, Joshua Oreman wrote:
> > > > On Mon, Jul 07, 2003 at 12:34:48PM -0400 or thereabouts, Michael E. Mercer wrote:
> > > > > Anybody?!?!?!
> > > > > 
> > > > > 
> > > > > 
> > > > > Hello peoples,
> > > > > 
> > > > > I have posted this before and unfortunately I still have this problem.
> > > > > During the boot sequence, when it probes for the USB devices, it causes
> > > > > a kernel panic (page fault) if there is either (or both) a USB mouse
> > > > > and/or keyboard attached.
> > > > > 
> > > > > If I remove the mouse and keyboard and let it boot up, then connect
> > > > > them, they work just fine.
> > > > > 
> > > > > Any ideas?
> > > > 
> > > > > Fatal trap 12: page fault while in kernel mode
> > > > > mp_lock = 00000024; cpuid = 0; lapic.id = 00000000
> > > > > fault virtual address = 0x4
> > > > > fault code = supervisor read, page not present
> > > > > instruction pointer = 0x8: 0xc02583c4
> > > >                                ^^^^^^^^
> > > > > stack pointer       = 0x10: 0xc045fd20
> > > > > frame pointer       = 0x10: 0xc045fd3c
> > > > > code segment        = base 0x0, limit 0xfffff, type 0x1b
> > > > >                     = DPL 0, pres 1, def 32 1, gran 1
> > > > > processor eflags    = interrupt enabled, resume, IOPC=0
> > > > > current process     = 0(swapper)
> > > > > interrupt mask      = none <- SMP: XXX
> > > > > trap number         = 12
> > > > > panic: page fault
> > > > > mp_lock = 00000024; cpuid = 0; lapic.id = 00000000
> > > > > Uptime - 0s
> > > > 
> > > > That pointer I highlighted is important; it is also kernel-dependent.
> > > > Please read FAQ #18.13 to find out how to give us some useful function names,
> > > > or better yet, a backtrace.
> > > > 
> > > > -- Josh
> > > > 
> > > > > 
> > > > > Thanks
> > > > > Michael Mercer
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > freebsd-questions at freebsd.org mailing list
> > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list