Turning my HP PSC750 printer/scanner off and on again during a session, results in the following trace - pay particular attention to the 5th line. This is true for at least 2.5.14 and 2.5.11, and probably 2.5.10 and 2.5.8. All USB drivers loaded as modules, using the uhci.o driver variant (have to otherwise the PSC750 doesn't work)
May 5 15:02:11 marshall hpijs: unable to SetPixelsPerRow width=4800, err=26 May 5 15:03:21 marshall kernel: printer.c: usblp0: nonzero read/write bulk status received: -84 May 5 15:03:21 marshall kernel: printer.c: usblp0: error -84 reading from printer May 5 15:03:21 marshall kernel: printer.c: usblp0: nonzero read/write bulk status received: -84 May 5 15:03:21 marshall kernel: uhci.c: a400: host controller halted. very bad May 5 15:03:21 marshall kernel: usb.c: USB disconnect on device 2 May 5 15:03:22 marshall ptal-mlcd: ERROR at ExMgr.cpp:2447, dev=<usb:PSC_750>, pid=685, errno=19 llioService: llioRead returns -1, expected=6! May 5 15:03:22 marshall ptal-mlcd: ERROR at ExMgr.cpp:853, dev=<usb:PSC_750>, pid=685, errno=32 exClose(reason=0x0010) May 5 15:03:22 marshall kernel: printer.c: usblp0: removed May 5 15:04:33 marshall kernel: hub.c: new USB device 00:1f.2-2, assigned address 4 May 5 15:04:33 marshall kernel: printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 3 vid 0x03F0 pid 0x1411 May 5 15:04:33 marshall /etc/hotplug/usb.agent: Setup printer for USB product 3f0/1411/100 May 5 15:04:33 marshall /etc/hotplug/usb.agent: missing kernel or user mode driver printer May 5 15:04:45 marshall hpijs: unable to SetPixelsPerRow width=4800, err=26 May 5 15:04:45 marshall ptal-mlcd: SYSLOG at /usr/src/redhat/BUILD/hpoj-0.8/mlcd/bp/ex/ExMgr.h:547, dev=<usb:PSC_750>, pid=685, errno=11 ptal-mlcd successfully activated. May 5 15:04:47 marshall kernel: printer.c: usblp0: nonzero read/write bulk status received: -110 After this the printer is completely screwed, and any attempt by the ptal-mlcd daemon to write to it results in a stuck process (I/O bound, state D) Second error: When I shut down, again with printer.c loaded as a module, this is on 2.5.11: The BUG! indicates a non-zero refcount for the device (probably the printer) kernel: usb.c: USB disconnect on device 1 kernel: usb.c: USB disconnect on device 4 kernel: printer.c: usblp0: removed kernel: kernel BUG at usb.c:987! kernel: invalid operand: 0000 kernel: CPU: 0 kernel: EIP: 0010:[<d8817d9e>] Not tainted kernel: EFLAGS: 00010246 kernel: eax: 00000000 ebx: d7c82200 ecx: c13bdcc8 edx: 00000002 kernel: esi: d7c67660 edi: d88251e4 ebp: ffffffff esp: d689df48 kernel: ds: 0018 es: 0018 ss: 0018 kernel: Process rmmod (pid: 6130, threadinfo=d689c000 task=d70a20a0) kernel: Stack: d7c823f8 d8818d0f d7c82200 d7c67560 d882d480 d31d2000 d8827000 000000c4 kernel: d7c82200 d882bc7e d7c6e460 c13bdc00 c019986f c13bdc00 d8827000 00000000 kernel: d882bdfe d882d480 c011c547 d8827000 00000000 d31d2000 bfffed78 c011b7bb kernel: Call Trace: [<d8818d0f>] [<d882d480>] [<d882bc7e>] kernel: [pci_unregister_driver+51/76] [<d882bdfe>] [<d882d480>] kernel: [free_module+23/192] [sys_delete_module+303/636] kernel: [syscall_call+7/11] kernel: kernel: Code: 0f 0b db 03 94 18 82 d8 8b 83 cc 00 00 00 8b 40 1c 53 8b 40 kernel: <3>error: rmmod[6130] exited with preempt_count 1 kernel: usb.c: deregistering driver usblp kernel: usb.c: null device being purged!!! kernel: usb.c: deregistering driver usb-storage kernel: usb.c: null device being purged!!! kernel: scsi : 0 hosts left. rc: Stopping hotplug succeeded ---------------------------Extra info----------------------------- $ cat /proc/bus/usb/devices T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI-alt Root Hub S: SerialNumber=a000 C:* #Ifs= 1 Cfg#= 1 Atr=40 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= 8 Ivl=255ms T: Bus=02 Lev=01 Prnt=01 Port=01 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=058f ProdID=9254 Rev= 1.00 S: Manufacturer=ALCOR S: Product=Generic USB Hub 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=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI-alt Root Hub S: SerialNumber=a400 C:* #Ifs= 1 Cfg#= 1 Atr=40 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= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 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=03f0 ProdID=1411 Rev= 1.00 S: Manufacturer=Hewlett-Packard S: Product=PSC 750 S: SerialNumber=ES14HAH09GWB C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 3 Cls=07(print) Sub=01 Prot=03 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms I: If#= 0 Alt= 1 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 0 Alt= 2 #EPs= 1 Cls=07(print) Sub=01 Prot=01 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms Many thanks in advance for any help -- Peter Denison <peterd at marshadder dot uklinux dot net> Please use this address above only for personal mail, not copied to any lists that are gatewayed to news or the web. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel