Re: USB problems and 2.4.0 hangs

From: John Coppens (jcoppens@satlink.com)
Date: Wed Oct 04 2000 - 09:42:19 EST


Hi Randy.

Sorry I didn't catch your reply, for some reason my mailclient didn't order
it correctly.

Anyway, I'm no kernel guru. I hope this is what you wanted:

- I started with boot: Linux debug
- The var/log/messages file did not register anything strange, just
  the correct registering of the printer
- the var/log/syslog says:

Oct 4 11:21:14 on6jc kernel: hub.c: already running port 2 disabled by hub (EMI
Oct 4 11:21:25 on6jc kernel: hub.c: already running port 2 disabled by hub (EMI
Oct 4 11:21:25 on6jc kernel: printer.c: failed reading usblp status

I have the impression that the EMI message is wrong. I get this message each
time I boot (In fact, the first line - at 11:21:14 - was the message at boot.
The second line is when the print daemon awakens)

- var/log/debug says:

Oct 4 11:21:14 on6jc kernel: usb.c: kmalloc IF c3ff9420, numif 1
Oct 4 11:21:14 on6jc kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
Oct 4 11:21:14 on6jc kernel: usb.c: USB device number 1 default language ID 0x0
Oct 4 11:21:14 on6jc kernel: hub.c: ganged power switching
Oct 4 11:21:14 on6jc kernel: hub.c: standalone hub
Oct 4 11:21:14 on6jc kernel: hub.c: global over-current protection
Oct 4 11:21:14 on6jc kernel: hub.c: power on to power good time: 2ms
Oct 4 11:21:14 on6jc kernel: hub.c: hub controller current requirement: 0mA
Oct 4 11:21:14 on6jc kernel: hub.c: port 1 is removable
Oct 4 11:21:14 on6jc kernel: hub.c: port 2 is removable
Oct 4 11:21:14 on6jc kernel: hub.c: local power source is good
Oct 4 11:21:14 on6jc kernel: hub.c: no over-current condition exists
Oct 4 11:21:14 on6jc kernel: hub.c: enabling power on all ports
Oct 4 11:21:14 on6jc kernel: usb.c: hub driver claimed interface c3ff9420
Oct 4 11:21:14 on6jc kernel: hub.c: port 1 connection change
Oct 4 11:21:14 on6jc kernel: hub.c: portstatus 100, change 3, 12 Mb/s
Oct 4 11:21:14 on6jc kernel: hub.c: port 1 enable change, status 100
Oct 4 11:21:14 on6jc kernel: hub.c: port 2 connection change
Oct 4 11:21:14 on6jc kernel: hub.c: portstatus 101, change 3, 12 Mb/s
Oct 4 11:21:14 on6jc kernel: hub.c: portstatus 103, change 0, 12 Mb/s
Oct 4 11:21:14 on6jc kernel: usb.c: kmalloc IF c3ee1980, numif 1
Oct 4 11:21:14 on6jc kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
Oct 4 11:21:14 on6jc kernel: usb.c: USB device number 2 default language ID 0x409
Oct 4 11:21:14 on6jc kernel: printer.c: usblp_control_msg: rq: 0x00 dir: 1 recip: 1 value: 0 len: 0x3ff result: 161
Oct 4 11:21:14 on6jc kernel: printer.c: usblp0 Device ID string [161]=MFG:HEWLETT-PACKARD;MDL:DESKJET 810C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 810C;SERN:BR98R1S0B5FY;VSTATUS:$HB0$FC0,ff,DN,IDLE,CUT;
Oct 4 11:21:14 on6jc kernel: printer.c: usblp_control_msg: rq: 0x01 dir: 1 recip: 1 value: 0 len: 0x1 result: 1
Oct 4 11:21:14 on6jc kernel: usb.c: usblp driver claimed interface c3ee1980
Oct 4 11:21:14 on6jc kernel: hub.c: port 2 enable change, status 101
Oct 4 11:21:14 on6jc kernel: hub.c: portstatus 103, change 0, 12 Mb/s
Oct 4 11:21:14 on6jc kernel: hub.c: portstatus 103, change 0, 12 Mb/s
Oct 4 11:21:14 on6jc kernel: usb.c: kmalloc IF c3ee1940, numif 1
Oct 4 11:21:14 on6jc kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
Oct 4 11:21:14 on6jc kernel: usb.c: USB device number 2 default language ID 0x409
Oct 4 11:21:14 on6jc kernel: printer.c: usblp_control_msg: rq: 0x00 dir: 1 recip: 1 value: 0 len: 0x3ff result: 161
Oct 4 11:21:14 on6jc kernel: printer.c: usblp0 Device ID string [161]=MFG:HEWLETT-PACKARD;MDL:DESKJET 810C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 810C;SERN:BR98R1S0B5FY;VSTATUS:$HB0$FC0,ff,DN,IDLE,CUT;
Oct 4 11:21:14 on6jc kernel: printer.c: usblp_control_msg: rq: 0x01 dir: 1 recip: 1 value: 0 len: 0x1 result: 1
Oct 4 11:21:14 on6jc kernel: usb.c: usblp driver claimed interface c3ee1940
Oct 4 11:21:14 on6jc kernel: VFS: Disk change detected on device sr(11,0)
Oct 4 11:21:14 on6jc kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Oct 4 11:21:14 on6jc kernel: ISOFS: changing to secondary root
Oct 4 11:21:14 on6jc kernel: VFS: Disk change detected on device sr(11,8)
Oct 4 11:21:14 on6jc kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Oct 4 11:21:14 on6jc kernel: ISOFS: changing to secondary root
Oct 4 11:21:14 on6jc kernel: VFS: Disk change detected on device fd(2,0)
Oct 4 11:21:14 on6jc kernel: printer.c: usblp_control_msg: rq: 0x01 dir: 1 recip: 1 value: 0 len: 0x1 result: 1
Oct 4 11:21:25 on6jc kernel: hub.c: port 2 enable change, status 101
Oct 4 11:21:25 on6jc kernel: printer.c: usblp_control_msg: rq: 0x01 dir: 1 recip: 1 value: 0 len: 0x1 result: -84
Oct 4 11:21:25 on6jc kernel: hub.c: portstatus 101, change 0, 12 Mb/s
Oct 4 11:21:26 on6jc kernel: hub.c: portstatus 103, change 0, 12 Mb/s
Oct 4 11:21:26 on6jc kernel: usb.c: kmalloc IF c29aba80, numif 1
Oct 4 11:21:26 on6jc kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
Oct 4 11:21:26 on6jc kernel: usb.c: USB device number 2 default language ID 0x409
Oct 4 11:21:26 on6jc kernel: printer.c: usblp_control_msg: rq: 0x00 dir: 1 recip: 1 value: 0 len: 0x3ff result: 161
Oct 4 11:21:26 on6jc kernel: printer.c: usblp1 Device ID string [161]=MFG:HEWLETT-PACKARD;MDL:DESKJET 810C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 810C;SERN:BR98R1S0B5FY;VSTATUS:$HB0$FC0,ff,DN,BUSY,CUT;
Oct 4 11:21:26 on6jc kernel: printer.c: usblp_control_msg: rq: 0x01 dir: 1 recip: 1 value: 0 len: 0x1 result: 1
Oct 4 11:21:26 on6jc kernel: usb.c: usblp driver claimed interface c29aba80

Another indication: On advice of someone who replied privately to my mail:
I tried to print to a file, the cat file > /dev/usblp0, and this has yet to
fail - no apparent problems there. It even seems to print a lot faster.

Thanks for replying!

John

BTW: The printer is a HP 810C.

On Sun, 3 Sep 2000 16:48:09 -0700 "Dunlap, Randy" <randy.dunlap@intel.com> wrote/El día Sun, 3 Sep 2000 16:48:09 -0700 , "Dunlap, Randy" <randy.dunlap@intel.com> dijo:

> Hi,
>
> > Hi all.
> >
> > I'd installed the backport of the USB patch (to 2.2.16) and had the
> > following problem:
> >
> > After a few inches of printing a graphics page (ghostscript
> > output), the
> > whole printing job would just hang. Only exit was switching
> > the printer
> > on/off and removing the print job. The printer is an HP810C
> > and (I suspect)
> > the problem is at the VIA chipset (VT82C586).
> >
> > After a few frustrating tries, I moved to kernel 2.4.0-test7,
> > suspecting
> > that maybe there was a problem with the backport. Results:
> >
> > Exactly the same print problem: hangs after 5 - 10 cm of printing a
> > graphics page (text mode works ok).
>
> Please enable all kernel log messages (Alt-SysRq-9 or
> boot with: linux_image_name debug), reproduce the problem,
> and send the kernel log after the printing hangs.
>
> ~Randy
>
> > But, after installing 2.4.0, yesterday, I had two misterious
> > hangs of the
> > operating system - apparently nothing to do with the tasks that were
> > running - they were completely different.
> >
> > Just in case: the printer is driven by the apsfilter, which works fine
> > when using the parallel port.
> >
> > Thanks on beforehand!
> >
> > John
> > --
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/

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



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:14 EST