Skip to contentSkip to conversation

OHCI USB printing causing system lockup...

2.6.0-test2-bk5 Daniel Blueman 2 participants 3 messages Aug 6, 2003 – Aug 7, 2003

lore
Share & tools
lore
#0 lore raw

When printing a test page on an Epson C62 through an unpowered USB 1.1 hub, the printer printed part of the page, then stopped.

The 'error -110' messages were being sent to the syslogs, and after pulling the connector to the USB hub, the system locked up.

Details below:

--- [printer connected via hub]

Aug  6 23:10:28 stratum kernel: hub 2-2:0: new USB device on port 4,
assigned address 31
Aug  6 23:10:28 stratum kernel: drivers/usb/class/usblp.c: usblp0: USB

Bidirectional printer dev 31 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005

-- [printing stopped]

Aug  6 23:15:36 stratum kernel: drivers/usb/class/usblp.c: usblp0: error
-110 reading printer status
Aug  6 23:15:36 stratum last message repeated 146 times

--- [pulled USB hub connection, ie disconnect 3 devices + hub]

Aug  6 23:15:36 stratum kernel: usb 2-2: USB disconnect, address 25
Aug  6 23:15:36 stratum kernel: usb 2-2.1: USB disconnect, address 26
Aug  6 23:15:36 stratum kernel: drivers/usb/class/usblp.c: usblp0: error
-110 reading printer status
Aug  6 23:15:36 stratum kernel: drivers/usb/class/usblp.c: usblp0: error
-110 reading printer status
Aug  6 23:15:36 stratum kernel: usb 2-2.2: USB disconnect, address 27
Aug  6 23:15:36 stratum kernel: drivers/usb/class/usblp.c: usblp0: error
-110 reading printer status
Aug  6 23:15:36 stratum kernel: usb 2-2.3: USB disconnect, address 28
Aug  6 23:15:36 stratum kernel: usb 2-2.4: USB disconnect, address 31
Aug  6 23:15:36 stratum kernel: ohci-hcd 0000:00:02.3: ed deee1340 (#0)
state 2(has tds)
Aug  6 23:15:36 stratum kernel: drivers/usb/class/usblp.c: usblp0: error
-108 reading printer status
Aug  6 23:15:36 stratum kernel: usb 2-2.5: USB disconnect, address 29
Aug  6 23:15:39 stratum kernel: drivers/usb/class/usblp.c: usblp0: removed
Aug  6 23:15:39 stratum kernel: Unable to handle kernel paging request at
virtual address df2670e4
Aug  6 23:15:39 stratum kernel:  printing eip:
Aug  6 23:15:39 stratum kernel: c02b6a6a
Aug  6 23:15:39 stratum kernel: *pde = 0007b067
Aug  6 23:15:39 stratum kernel: *pte = 1f267000
Aug  6 23:15:39 stratum kernel: Oops: 0000 [#1]
Aug  6 23:15:39 stratum kernel: CPU:    0
Aug  6 23:15:39 stratum kernel: EIP:    0060:[<c02b6a6a>]    Not tainted
Aug  6 23:15:39 stratum kernel: EFLAGS: 00010282
Aug  6 23:15:39 stratum kernel: EIP is at usb_buffer_free+0xd/0x46
Signature · 7 lines
Daniel J Blueman

COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
#1 lore raw
Quoted 5 lines · Daniel Blueman

When printing a test page on an Epson C62 through an unpowered USB 1.1 hub, the printer printed part of the page, then stopped.

The 'error -110' messages were being sent to the syslogs, and after pulling the connector to the USB hub, the system locked up.

So it seems like there are two errors:

- timeouts during printing, reported recently on UHCI too;

- the usb_buffer_free() oops from printer cleanup, likewise.

Seems more related to the printer driver than to OHCI ...

- Dave

#2 lore raw

It does seem that it's the usblp driver, and I think the way forward is to collect more information with compiling the driver with debugging to see more of what's happening here. I'll do this tonight and report findings.

The module author string is "Michael Gee, Pavel Machek, Vojtech Pavlik, Randy Dunlap, Pete Zaitcev, David Paschal" - who should I CC my results to?

Thanks!

Quoted 16 lines
Quoted 1 line · Daniel Blueman

When printing a test page on an Epson C62 through an unpowered USB 1.1

hub,

Quoted 3 lines

the printer printed part of the page, then stopped.

The 'error -110' messages were being sent to the syslogs, and after

pulling

Quoted 1 line

the connector to the USB hub, the system locked up.

So it seems like there are two errors:

- timeouts during printing, reported recently on UHCI too;

- the usb_buffer_free() oops from printer cleanup, likewise.

Seems more related to the printer driver than to OHCI ...

Signature · 7 lines
Daniel J Blueman

COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post