lkml.org 
[lkml]   [2007]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectUSB-related oops in sysfs with linux v2.6.23-rc3-50-g28e8351
    Today my USB keyboard stopped working in the middle of composing and
    e-mail. I unplugged it and plugged it back, with no success. I
    logged in remotely and found this lovely message:

    [ 1301.567351] usb 1-4: USB disconnect, address 3
    [ 1301.567356] usb 1-4.2: USB disconnect, address 5
    [ 1301.567599] sysfs_remove_bin_file: bad dentry or inode or no such file: "descriptors"
    [ 1301.567604]
    [ 1301.567605] Call Trace:
    [ 1301.567614] [<ffffffff802b89a6>] sysfs_remove_bin_file+0x39/0x3d
    [ 1301.567619] [<ffffffff803f1d24>] device_remove_bin_file+0x15/0x17
    [ 1301.567623] [<ffffffff8045ea0d>] usb_remove_sysfs_dev_files+0x89/0x9d
    [ 1301.567627] [<ffffffff804625cc>] generic_disconnect+0x2e/0x32
    [ 1301.567630] [<ffffffff8045b58d>] usb_unbind_device+0x15/0x19
    [ 1301.567634] [<ffffffff803f4161>] __device_release_driver+0x93/0xb3
    [ 1301.567637] [<ffffffff803f45af>] device_release_driver+0x31/0x49
    [ 1301.567640] [<ffffffff803f39f1>] bus_remove_device+0x76/0x87
    [ 1301.567644] [<ffffffff803f2014>] device_del+0x216/0x297
    [ 1301.567648] [<ffffffff80455c8f>] usb_disconnect+0xc8/0x151
    [ 1301.567651] [<ffffffff80455c56>] usb_disconnect+0x8f/0x151
    [ 1301.567655] [<ffffffff804564c8>] hub_thread+0x442/0xc47
    [ 1301.567659] [<ffffffff80553cdb>] _spin_unlock_irq+0x9/0xc
    [ 1301.567664] [<ffffffff80244ad7>] autoremove_wake_function+0x0/0x38
    [ 1301.567668] [<ffffffff80456086>] hub_thread+0x0/0xc47
    [ 1301.567671] [<ffffffff802449cb>] kthread+0x49/0x76
    [ 1301.567674] [<ffffffff8020c618>] child_rip+0xa/0x12
    [ 1301.567679] [<ffffffff80244982>] kthread+0x0/0x76
    [ 1301.567682] [<ffffffff8020c60e>] child_rip+0x0/0x12
    [ 1301.567684]

    I have rebooted, and while composing this message, I thought useful to
    include the output from 'lsusb'. Funny enough, lsusb does not list any
    devices. A 'cat /proc/bus/usb/devices' yields the following:

    T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh=10
    B: Alloc= 25/900 us ( 3%), #Int= 5, #Iso= 0
    D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=0000 ProdID=0000 Rev= 2.06
    S: Manufacturer=Linux 2.6.23-rc3-1 ohci_hcd
    S: Product=OHCI Host Controller
    S: SerialNumber=0000:00:02.0
    C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

    T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=12 MxCh= 4
    D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=05f3 ProdID=0081 Rev= 3.10
    S: Manufacturer=PI Engineering
    S: Product=Kinesis Keyboard Hub
    C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 50mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms

    T: Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=05f3 ProdID=0007 Rev= 3.10
    C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 64mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
    E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=8ms
    I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
    E: Ad=82(I) Atr=03(Int.) MxPS= 4 Ivl=8ms

    T: Bus=02 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=1.5 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=05bc ProdID=0102 Rev= 2.00
    S: Manufacturer=Forward
    S: Product=USB Optical Mouse
    C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
    E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms

    T: Bus=02 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#= 5 Spd=1.5 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=045e ProdID=0039 Rev= 1.21
    S: Manufacturer=Microsoft
    S: Product=Microsoft IntelliMouse® Optical
    C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
    E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms

    T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=10
    B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
    D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
    P: Vendor=0000 ProdID=0000 Rev= 2.06
    S: Manufacturer=Linux 2.6.23-rc3-1 ehci_hcd
    S: Product=EHCI Host Controller
    S: SerialNumber=0000:00:02.1
    C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

    T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 3 Spd=480 MxCh= 4
    D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
    P: Vendor=0409 ProdID=0058 Rev= 1.00
    S: Manufacturer=NEC Corporation
    S: Product=USB2.0 Hub Controller
    C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

    T: Bus=01 Lev=02 Prnt=03 Port=01 Cnt=01 Dev#= 5 Spd=1.5 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=0fe9 ProdID=9010 Rev= 1.00
    S: Manufacturer=DVICO
    S: Product=DVICO USB HID Remocon V1.00
    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
    I:* If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
    E: Ad=81(I) Atr=03(Int.) MxPS= 3 Ivl=32ms
    E: Ad=02(O) Atr=03(Int.) MxPS= 1 Ivl=32ms

    T: Bus=01 Lev=01 Prnt=01 Port=08 Cnt=02 Dev#= 4 Spd=480 MxCh= 0
    D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=07cc ProdID=0501 Rev=91.44
    S: Manufacturer=USB2.0
    S: Product=CardReader
    S: SerialNumber=1234609
    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
    I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
    E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

    I am testing each rcX kernel, and I did not see this problem so far.
    Smells like a new regression.

    florin

    --
    Bruce Schneier expects the Spanish Inquisition.
    http://geekz.co.uk/schneierfacts/fact/163
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2007-08-15 15:45    [W:0.031 / U:92.500 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site