I think you were looking at some re-initialization issues.
Here's one of them ... I've seen similar problems before,
but without so many stack frames.  (I hope most are fake!)

Output from dmesg (2.5.40) appended, I hope it helps.

- Dave


  rmmod ohci-hcd, behaves fine, several devices go away

hcd-pci.c: remove: 02:00.0, state 3
hcd-pci.c: 02:00.0: roothub graceful disconnect
usb.c: USB disconnect on device 1
usb.c: USB disconnect on device 2
usb.c: usb_hotplug
ohci-dbg.c: UNLINK c74fb46c dev:2,ep=3-I,INTR,flags:0,len:0/8,stat:-2
ohci-q.c: 02:00.0: unlink ed c009e080 branch 0 [16us.], interval 32
hcd.c: 02:00.0: wait for giveback urb c74fb46c
hcd.c: giveback urb c74fb46c status -2 len 0
ohci-dbg.c: UNLINK c74fb674 dev:2,ep=1-I,BULK,flags:0,len:0/1544,stat:-2
hcd.c: 02:00.0: wait for giveback urb c74fb674
hcd.c: giveback urb c74fb674 status -2 len 0
usb.c: usb_hotplug
usb.c: usb_hotplug
hcd.c: giveback urb c74fba84 status -2 len 1
hcd.c: 02:00.0: wait for giveback urb c74fba84
usb.c: usb_hotplug
ohci-hcd.c: 02:00.0: stop operational controller
ohci-dbg.c: OHCI controller 02:00.0 state
ohci-dbg.c: OHCI 1.0, with legacy support registers
ohci-dbg.c: control: 0x0000008f HCFS=operational IE PLE CBSR=3
ohci-dbg.c: cmdstatus: 0x00000000 SOC=0
ohci-dbg.c: intrstatus: 0x00000064 RHSC FNO SF
ohci-dbg.c: intrenable: 0x80000012 MIE UE WDH
ohci-dbg.c: hcca frame #f839
ohci-dbg.c: roothub.a: ff000203 POTPGT=255 NPS NDP=3
ohci-dbg.c: roothub.b: 00000000 PPCM=0000 DR=0000
ohci-dbg.c: roothub.status: 00000000
ohci-dbg.c: 02:00.0:  roothub.portstatus [0] = 0x00000103 PPS PES CCS
ohci-dbg.c: 02:00.0:  roothub.portstatus [1] = 0x00000100 PPS
ohci-dbg.c: 02:00.0:  roothub.portstatus [2] = 0x00000100 PPS
ohci-hcd.c: USB HC reset_hc 02:00.0: ctrl = 0x8f ;
hcd.c: USB bus 1 deregistered
hcd-pci.c: remove: 02:00.1, state 3
hcd-pci.c: 02:00.1: roothub graceful disconnect
usb.c: USB disconnect on device 1
usb.c: USB disconnect on device 3
usb.c: usb_hotplug
usbtest.c: unbound 02:00.1-1
usb.c: usb_hotplug
usb.c: usb_hotplug
hcd.c: giveback urb c74fb39c status -2 len 1
hcd.c: 02:00.1: wait for giveback urb c74fb39c
usb.c: usb_hotplug
ohci-hcd.c: 02:00.1: stop operational controller
ohci-dbg.c: OHCI controller 02:00.1 state
ohci-dbg.c: OHCI 1.0, with legacy support registers
ohci-dbg.c: control: 0x0000008f HCFS=operational IE PLE CBSR=3
ohci-dbg.c: cmdstatus: 0x00000000 SOC=0
ohci-dbg.c: intrstatus: 0x00000064 RHSC FNO SF
ohci-dbg.c: intrenable: 0x80000012 MIE UE WDH
ohci-dbg.c: hcca frame #f3f7
ohci-dbg.c: roothub.a: ff000202 POTPGT=255 NPS NDP=2
ohci-dbg.c: roothub.b: 00000000 PPCM=0000 DR=0000
ohci-dbg.c: roothub.status: 00000000
ohci-dbg.c: 02:00.1:  roothub.portstatus [0] = 0x00000103 PPS PES CCS
ohci-dbg.c: 02:00.1:  roothub.portstatus [1] = 0x00000100 PPS
ohci-hcd.c: USB HC reset_hc 02:00.1: ctrl = 0x8f ;
hcd.c: USB bus 2 deregistered

        modprobe ohci-hcd, unhappy but gives the best clue I've seen yet!

ohci-pci.c: 2002-Sep-17 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci-pci.c: block sizes: ed 64 td 64
hcd-pci.c: ohci-hcd @ 02:00.0, PCI device 1033:0035
hcd-pci.c: irq 11, pci mem c9064000
Unable to handle kernel paging request at virtual address 5a5a5a96
  printing eip:
c9048b2d
*pde = 00000000
Oops: 0000
ohci-hcd usbtest pegasus usbcore
CPU:    0
EIP:    0060:[<c9048b2d>]    Not tainted
EFLAGS: 00010286
EIP is at create_special_files+0xcd/0x140 [usbcore]
eax: 5a5a5a5a   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: c63c8b3c   edi: c906169c   ebp: 00000000   esp: c3961de8
ds: 0068   es: 0068   ss: 0068
Process modprobe (pid: 1294, threadinfo=c3960000 task=c7a46040)
Stack: 00000000 c9054700 00000000 00000000 c63c8b3c c9048c47 c03ae2e7 00000246
        c63c8b3c c63c8b3c c9040965 c63c8b3c c906169c c63c8b3c c3961e4c c906169c
        c3961e4c c9044a26 c63c8b3c c7e97348 c3961e4c 00000000 c9064000 00001000
Call Trace:
  [<c9054700>]usbdevfs_devices_fops+0x0/0x60 [usbcore]
  [<c9048c47>]usbfs_add_bus+0x17/0xe0 [usbcore]
  [<c9040965>]usb_register_bus+0xf5/0x110 [usbcore]
  [<c906169c>]hcd_name+0x0/0x24 [ohci-hcd]
  [<c906169c>]hcd_name+0x0/0x24 [ohci-hcd]
  [<c9044a26>]usb_hcd_pci_probe+0x366/0x390 [usbcore]
  [<c90616c0>]ohci_pci_hc_driver+0x0/0x3c [ohci-hcd]
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c01d729f>]pci_device_probe+0x3f/0x60
  [<c90616fc>]pci_ids+0x0/0x38 [ohci-hcd]
  [<c9062140>]ohci_pci_driver+0x0/0x80 [ohci-hcd]
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c01d89b8>]probe+0x18/0x30
  [<c01d8ab5>]found_match+0x25/0x50
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c01d8bc5>]do_driver_attach+0x35/0x40
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c01d9b7b>]bus_for_each_dev+0xdb/0x1c0
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c01d8be3>]driver_attach+0x13/0x20
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c01d8b90>]do_driver_attach+0x0/0x40
  [<c01da3d6>]driver_register+0xf6/0x110
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c01d73a6>]pci_register_driver+0x36/0x50
  [<c9062168>]ohci_pci_driver+0x28/0x80 [ohci-hcd]
  [<c90600d9>]ohci_hcd_pci_init+0x29/0x50 [ohci-hcd]
  [<c9062140>]ohci_pci_driver+0x0/0x80 [ohci-hcd]
  [<c0121165>]sys_init_module+0x575/0x690
  [<c9061804>].kmodtab+0x0/0xc [ohci-hcd]
  [<c905c060>]roothub_a+0x0/0x50 [ohci-hcd]
  [<c01078bf>]syscall_call+0x7/0xb

Code: 8b 40 3c 50 0f b7 05 2c 45 05 c9 0d 00 80 00 00 0f b7 c0 50




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to