Re: 2.6.18.5 usb/sysfs bug.

From: Dave Jones
Date: Sat Dec 16 2006 - 09:22:49 EST


On Sat, Dec 16, 2006 at 12:47:09AM -0500, Chuck Ebbert wrote:
> In-Reply-To: <20061215213715.GB15792@xxxxxxxxxx>
>
> On Fri, 15 Dec 2006 16:37:15 -0500, Dave Jones wrote:
>
> > > Can you enable CONFIG_USB_DEBUG and send the log info that happens right
> > > before this oops?
> >
> > Gah, and here it is, actually attached this time.
>
> > BUG: unable to handle kernel NULL pointer dereference at virtual address 0000000b
>
> > EIP is at sysfs_hash_and_remove+0x18/0xfd
>
> That's strange. Remove_files called sysfs_hash_and_remove()
> with dir==0xfffffff3 (-13 decimal.)

Hmm, That's -EACCESS. Something not checking a return code at a lower
level maybe ?

> What is pcscd?

Some smart card daemon iirc.

> Earlier in bootup you got this:
>
> hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004
> uhci_hcd 0000:00:1d.0: port 2 portsc 008a,00
> hub 1-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
> usb 1-2: USB disconnect, address 2
> usb 1-2: usb_disable_device nuking all URBs
> uhci_hcd 0000:00:1d.0: shutdown urb f7ed7540 pipe 40408280 ep1in-intr
> usb 1-2: unregistering interface 1-2:1.0
> usbdev1.2_ep81: ep_device_release called for usbdev1.2_ep81
> usb 1-2:1.0: uevent
> usb 1-2: unregistering device
> usbdev1.2_ep00: ep_device_release called for usbdev1.2_ep00
>
> usb_remove_ep_files() is in the call trace, so this may be related?

It's odd that something disconnects during boot, as nothing gets plugged.

Dave

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/