[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-28 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi - 5.4.0-1044.48 --- linux-raspi (5.4.0-1044.48) focal; urgency=medium * focal/linux-raspi: 5.4.0-1044.48 -proposed tracker (LP: #1942552) * Raspberry pi 4 USB controller randomly crashes (LP: #1930629) - usb: xhci: workaround for

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-28 Thread Dave Jones
Finished a similar verification run on focal; tested USB boot and operation on a Pi 4B rev 1.1, rev 1.4, two board variants of the 400, and a 3B+ with one SSD (the other I was using for another test run) and three SATA-USB interfaces (two ASMedia, one JMicro, excluded the Sabrent as I suspect my on

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-27 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi - 5.11.0-1019.20 --- linux-raspi (5.11.0-1019.20) hirsute; urgency=medium * hirsute/linux-raspi: 5.11.0-1019.20 -proposed tracker (LP: #1944172) * hirsute/linux-raspi: Upstream raspberrypi patchset 2021-08-26 (LP: #1942170) - soun

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-22 Thread Dave Jones
Finished verifying that it at least hasn't broken anything in the hirsute release; tested USB boot and operation on a Pi 4B rev 1.1, rev 1.4, two board variants of the 400, and a 3B+ with two different SSDs and four different SATA-USB interfaces (two ASMedia, one JMicron, and one Sabrent - the latt

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-22 Thread Dave Jones
** Tags removed: verification-needed-hirsute ** Tags added: verification-done-hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930629 Title: Raspberry pi 4 USB controller randomly crashes To

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-21 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-raspi/5.4.0-1044.48 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, c

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-20 Thread Dave Jones
Yup, still testing here too; I've got at least one SATA cable and drive that used to reliably show this issue, but usually only after numerous hours so it's taking some time to verify. Also got a few other SATA cables and drives I'd like to test out quickly just to make sure there's no basic regres

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-20 Thread Juerg Haefliger
I understand. Can you at least run some (basic) tests and confirm we didn't introduce a regression? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930629 Title: Raspberry pi 4 USB controller randoml

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-20 Thread Filip Weiss
5 days to test is not enough considering that the bug might take longer to occur. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930629 Title: Raspberry pi 4 USB controller randomly crashes To mana

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-15 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-raspi/5.11.0-1018.19 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-hirsute' to 'verification-done-hirsute'. If the problem still exis

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-08 Thread Juerg Haefliger
Yes. Fixes are committed and will go out with the next release. https://lists.ubuntu.com/archives/kernel-team/2021-August/123654.html https://lists.ubuntu.com/archives/kernel-team/2021-August/123656.html ** Changed in: linux-raspi (Ubuntu Impish) Status: Confirmed => Fix Committed ** Chan

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-09-08 Thread Luca Carlon
Any news about this critical issue? This bug causes data corruption, instability of the system and loss of remote control of the system (a reboot can deadlock the system before ssh is up). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-08-30 Thread Juerg Haefliger
** Description changed: + [ Impact ] + + USB disks attached to a Pi experience something like: + + [ 494.062055] sd 2:0:0:0: [sda] tag#12 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD + [ 494.069923] sd 2:0:0:0: [sda] tag#12 CDB: Write(10) 2a 00 00 02 6d 4f 00 00 48 00 + [ 499.182085] sd 2:0:

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-08-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-raspi (Ubuntu Hirsute) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930629

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-08-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-raspi (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930629 Title:

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-08-27 Thread Luca Carlon
I have been testing the patches for 6 days now. No deadlock yet. I typically had deadlocks in 2 hours to 3 days, but even weeks in some cases. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930629 Tit

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-08-19 Thread Filip Weiss
Thanks for still looking into this. I actually shut down my project because of the HDD bugs. Sorry for not responding, that was the reason. But to resolve this issue I would plug everything thing in one more time and test it again, if you think this could fix it. Seeing that the fix is 3 days ol

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-08-19 Thread Juerg Haefliger
** Changed in: linux-raspi (Ubuntu Impish) Status: Invalid => New ** Changed in: linux-raspi (Ubuntu Hirsute) Assignee: (unassigned) => Juerg Haefliger (juergh) ** Changed in: linux-raspi (Ubuntu Impish) Assignee: (unassigned) => Juerg Haefliger (juergh) -- You received this bu

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-08-19 Thread Juerg Haefliger
Probably related: https://github.com/raspberrypi/linux/issues/3981 Fixes mentioned in that issue: https://github.com/raspberrypi/linux/commit/984def125de30502399c29d056c4bffde98f02f3 https://github.com/raspberrypi/linux/commit/cd04fbfe663b53bd9936f2b736da68fb8b21ffc8 ** Changed in: linux-raspi (U

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-21 Thread Filip Weiss
Thanks for looking into it and for the USB explanation. The asmedia device is the oldest HDD enclosure that is connected to the pi. Smartd was running on the ubuntu pi but did not run on raspi-os. I can still try to increase the checks though, maybe it will make it more reproducible..? -- You r

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-18 Thread Juerg Haefliger
There might be multiple issues. One seems to be UAS and/or SCSI pass- through related. From your dmesg, this looks interesting: [ 2638.936483] usb 2-1.4.3: reset SuperSpeed Gen 1 USB device number 10 using xhci_hcd [ 2638.960797] program smartctl is using a deprecated SCSI ioctl, please convert

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-18 Thread Filip Weiss
How did you do that @juergh? Similar setup? In the meantime i have tried to narrow the bug down further: * I have replaced the raspberry pi * Ensured that i use grounded power supplied for the hubs * Tested with raspi-os & old "known good" kernel 4.19 I experienced the problem with all of these.

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-18 Thread Juerg Haefliger
Hit something that looks related: [ 494.062055] sd 2:0:0:0: [sda] tag#12 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [ 494.069923] sd 2:0:0:0: [sda] tag#12 CDB: Write(10) 2a 00 00 02 6d 4f 00 00 48 00 [ 499.182085] sd 2:0:0:0: [sda] tag#13 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD O

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-10 Thread Filip Weiss
Could be related but i have different symptoms. I can still reboot the pi and nothing hangs (except IO to the disconnected drives of course). I have tried more things to debug this. It seems that on raspi-os with the same setup the USB controller does not crash but some seagate drives still discon

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-08 Thread Juerg Haefliger
Maybe related to this problem: https://github.com/raspberrypi/linux/issues/3981 ** Bug watch added: github.com/raspberrypi/linux/issues #3981 https://github.com/raspberrypi/linux/issues/3981 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-07 Thread Juerg Haefliger
** Changed in: linux-raspi (Ubuntu Focal) Status: New => Confirmed ** Changed in: linux-raspi (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930629 Title

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-04 Thread Filip Weiss
I ran apport-collect as requested :) I ran it AFTER the problem occured (again). One more note: I upgraded the firmware to the very latest version using rpi-update (https://github.com/Hexxeh/rpi-update) because i was desperate. It did not fix the problem. -- You received this bug notification b

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-04 Thread Filip Weiss
apport information ** Tags added: apport-collected arm64-image focal raspi-image staging uec-images ** Description changed: My raspberry pi 4 running Ubuntu 20.04 server is constantly having trouble the the usb controller. I have 2 externally powered USB hubs connected that have a few HDDs

[Bug 1930629] Re: Raspberry pi 4 USB controller randomly crashes

2021-06-04 Thread Juerg Haefliger
Can you provide some additional data? $ apport-collect 1930629 ** Also affects: linux-raspi (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/19