Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2003 11:04:55 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        "Michael E. Mercer" <mmercer@nc.rr.com>
Cc:        hackers@freebsd.org
Subject:   Re: USB mouse/keyboard causes kernel panic during boot sequence (from -questions)
Message-ID:  <20030712180455.GA32189@webserver.get-linux.org>
In-Reply-To: <1058031442.352.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> <20030709171904.GD5010@webserver.get-linux.org> <1057783088.356.0.camel@dual.mmercer.com> <20030709220049.GA984@webserver.get-linux.org> <1057801685.352.20.camel@dual.mmercer.com> <1058031442.352.1.camel@dual.mmercer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 12, 2003 at 01:37:23PM -0400 or thereabouts, Michael E. Mercer wrote:
> Josh,
> 
> Are you looking into my problem or someone else? 
> Also, How? by looking at the trace provided, you do find out
> where exactly it failed at?

I was sort of hoping to drag a more experienced kernel hacker
than I into helping fix this :-)

The trace should be read from the bottom up to find out
what lead to the crash.

The top function is the one in which the panic occured.

A wild guess is that the `xfer' pointer (arg 2) passed to
uhci_idone is pointing to invalid memory.

Or maybe the whole `ii' pointer is NULL.

Do you have INVARIANTS in your kernel config?
How about DIAGNOSTIC?

If not, maybe try options DIAGNOSTIC  and recompile. See
if you get a different panic.

I'm CC'ing this to -hackers.

-- Josh

> 
> Thanks
> Michael 
> 
> 
> On Wed, 2003-07-09 at 21:48, Michael E. Mercer wrote:
> > > > > 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
> > 
> > Next time it involves this much typing... don't tell me... :P
> > 
> > uhci_idone(0,c2e17180,c2e18000,c2e17180,c0494d6c) at +0xc
> > uhci_waitintr(c2e18000,c2e17180,c2e17180,8,c0494d7c) at +0xb6
> > uhci_device_ctrl_start(c2e17180,0,c0494da4,c026f219,c2e17180) at +0x2c
> > uhci_device_ctrl_transfer(c2e,17180,0,c2e17180,c0494e0c,c026fc12) at
> > +0x1f
> > usbd_transfer(c2e17180,c0494dd4,c026fc1b,c2e17180,c2e17130) at +0xd1
> > usbd_sync_transfer(c2e17180,c2e17130,c2e17100,c2e17130,c2e0daf0) at
> > +0x10
> > usbd_request_flags(c2e17100,c0494e0c,c2e17130,0,0) at +0x5f
> > usbd_do_request(c2e17100,c0494e0c,c2e17130,c2e17100,0) at +0x18
> > usbd_get_desc(c2e17100,1,0,8,c2e17130) at +0x67
> > usbd_new_device(c2e17300,c2e18000,1,200,1,c2e17260) at +0x148
> > uhub_explore(c2e17480,c2e17500,c2e17c00,0,c0494ea0) at +0x2be
> > usb_attach(c2e17500,c0494ebc,c0186f0f,c2e17500,c2e18000) at +0x112
> > DEVICE_ATTACH(c2e17500,c2e18000,c2e17c00,0,1) at +0x2e
> > device_probe_and_attach(c2e17500) at +0x63
> > uhci_pci_attach(c2e17c00,c0494f08,c0186f0f,c2e17c00,c2e17c00) at +0x2c6
> > DEVICE_ATTACH(c2e17c00,c2e17c00,c2e16280,0,0) at +0x2e
> > device_probe_and_attach(c2e17c00) at +0x63
> > bus_generic_attach(c2e16100,c0494f40,c0186f0f,c2e16100,c2e16100) at
> > +0x16
> > DEVICE_ATTACH(c2e16100,c2e16100,c2e16400,0,1) at +0x2e
> > device_probe_and_attach(c2e16100) at +0x63
> > bus_generic_attach(c2e16280,c0494f78,c0186f0f,c2e16280,c2e16280) at
> > +0x16
> > DEVICE_ATTACH(c2e16280,c2e16280,c1454880,0,1) at +0x2e
> > device_probe_and_attach(c2e16280) at +0x63
> > bus_generic_attach(c2e16400,c2e16400,c0494fa4,c012dd6e,c2e16400) at
> > +0x16
> > nexus_attach(c2e16400,c0494fc0,c0186f0f,c2e16400,c2e16400) at +0xd
> > DEVICE_ATTACH(c2e16400,c2e16400,c0386ad0,49c000,1) at +0x2e
> > device_probe_and_attach(c2e16400) at +0x63
> > root_bus_configure(c1454880,c035e6ec,0) at +0x16
> > configure(0,491c00,49c00,0,c012d660) at +0x2a
> > mi_startup(0,0,0,0,0) at +0x69
> > begin() at +0x47
> > 
> > That's it... hope I read my writing correctly.... :)
> > Michael
> > 
> > 
> > 
> > _______________________________________________
> > 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?20030712180455.GA32189>