Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2003 10:19:04 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        "Michael E. Mercer" <mmercer@nc.rr.com>
Cc:        questions@freebsd.org
Subject:   Re: USB mouse/keyboard causes kernel panic during boot sequence
Message-ID:  <20030709171904.GD5010@webserver.get-linux.org>
In-Reply-To: <1057683917.349.1.camel@dual.mmercer.com>
References:  <1057595687.349.2.camel@dual.mmercer.com> <20030707170352.GC4668@webserver.get-linux.org> <1057635800.361.3.camel@dual.mmercer.com> <20030708161124.GA3790@webserver.get-linux.org> <1057683917.349.1.camel@dual.mmercer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030709171904.GD5010>