RPi 3B 4.16.63 system freezes with USB printer connected and printing
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- c, linux
- Domain
- embedded-iot, operating-systems
Research direction
Start with the attached k4-19-63-dmesg-freeze.log and the USB printer path through usblp and usbfs, using the reported Raspberry Pi 3B and 4.19.63 setup as the reproduction case. Trace the repeated -121 and NYET/NAK/ACK messages around printing; done means the system no longer freezes with the Canon SELPHY CP1300 connected and printing.
Written by the indexing model from the issue text.
Description
RPi 3B
4.19.63
Entire system freezes and does not respond after some minutes of using the printer.
dmesg outputs:
[ +0.064324] usb 1-1.3: New USB device found, idVendor=04a9, idProduct=32db, bcdDevice= 0.01
[ +0.000016] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0.000010] usb 1-1.3: Product: SELPHY CP1300
[ +0.000008] usb 1-1.3: Manufacturer: Canon
[ +0.000009] usb 1-1.3: SerialNumber: B110090201509819
...
[ +0.060121] usblp 1-1.3:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04A9 pid 0x32DB
...
[Aug 8 10:49] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000174] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000124] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000124] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000130] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000137] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000143] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000125] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000123] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000123] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000127] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000128] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000127] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000123] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000123] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000134] usb 1-1.3: usbfs: usb_submit_urb returned -121
...
+0.000157] NYET/NAK/ACK/other in non-error case, 0x00000002
[ +0.000017] NYET/NAK/ACK/other in non-error case, 0x00000002
[ +0.000054] usb 1-1.3: usbfs: usb_submit_urb returned -121
[ +0.000080] NYET/NAK/ACK/other in non-error case, 0x00000002
[ +0.000020] NYET/NAK/ACK/other in non-error case, 0x00000002
[ +0.000018] NYET/NAK/ACK/other in non-error case, 0x00000002
[ +0.000023] usb 1-1.3: usbfs: usb_submit_urb returned -121
...
[ +0.071027] usb 1-1.3: USB disconnect, device number 5
Please see entire dmesg output attached.
k4-19-63-dmesg-freeze.log
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·