[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 bogus SET_DEQ_PENDING endpoint state
- xhci: guard accesses to ep_state in xhci_endpoint_reset()

  [ Ubuntu: 5.4.0-85.95 ]

  * focal/linux: 5.4.0-85.95 -proposed tracker (LP: #1942557)
  * please drop virtualbox-guest-dkms virtualbox-guest-source (LP: #1933248)
- [Config] Disable virtualbox dkms build
  * Packaging resync (LP: #1786013)
- debian/dkms-versions -- update from kernel-versions (main/2021.09.06)
  *  LRMv5: switch primary version handling to kernel-versions data set
(LP: #1928921)
- [Packaging] switch to kernel-versions
  * disable “CONFIG_HISI_DMA” config for ubuntu version (LP: #1936771)
- Disable CONFIG_HISI_DMA
- [Config] Record hisi_dma no longer built for arm64
  * memory leaking when removing a profile (LP: #1939915)
- apparmor: Fix memory leak of profile proxy
  * CryptoExpress EP11 cards are going offline (LP: #1939618)
- s390/zcrypt: Support for CCA protected key block version 2
- s390: Replace zero-length array with flexible-array member
- s390/zcrypt: Use scnprintf() for avoiding potential buffer overflow
- s390/zcrypt: replace snprintf/sprintf with scnprintf
- s390/ap: Remove ap device suspend and resume callbacks
- s390/zcrypt: use fallthrough;
- s390/zcrypt: use kvmalloc instead of kmalloc for 256k alloc
- s390/ap: remove power management code from ap bus and drivers
- s390/ap: introduce new ap function ap_get_qdev()
- s390/zcrypt: use kzalloc
- s390/zcrypt: fix smatch warnings
- s390/zcrypt: code beautification and struct field renames
- s390/zcrypt: split ioctl function into smaller code units
- s390/ap: rename and clarify ap state machine related stuff
- s390/zcrypt: provide cex4 cca sysfs attributes for cex3
- s390/ap: rework crypto config info and default domain code
- s390/zcrypt: simplify cca_findcard2 loop code
- s390/zcrypt: remove set_fs() invocation in zcrypt device driver
- s390/ap: remove unnecessary spin_lock_init()
- s390/zcrypt: Support for CCA APKA master keys
- s390/zcrypt: introduce msg tracking in zcrypt functions
- s390/ap: split ap queue state machine state from device state
- s390/ap: add error response code field for ap queue devices
- s390/ap: add card/queue deconfig state
- s390/sclp: Add support for SCLP AP adapter config/deconfig
- s390/ap: Support AP card SCLP config and deconfig operations
- s390/ap/zcrypt: revisit ap and zcrypt error handling
- s390/zcrypt: move ap_msg param one level up the call chain
- s390/zcrypt: Introduce Failure Injection feature
- s390/zcrypt: fix wrong format specifications
- s390/ap: fix ap devices reference counting
- s390/zcrypt: return EIO when msg retry limit reached
- s390/zcrypt: fix zcard and zqueue hot-unplug memleak
- s390/ap: Fix hanging ioctl caused by wrong msg counter
  * memfd from ubuntu_kernel_selftests failed to build on B-5.4 (LP: #1926142)
- SAUCE: selftests/memfd: fix build when F_SEAL_FUTURE_WRITE is not defined
  * [SRU] Ice driver causes the kernel to crash with Ubuntu 20.04.2 with ethtool
specific register commands (LP: #1939855)
- ice: Fix bad register reads
  * ubunut_kernel_selftests: memory-hotplug: avoid spamming logs with
dump_page() (LP: #1941829)
- selftests: memory-hotplug: avoid spamming logs with dump_page(), ratio 
limit
  hot-remove error test
  * e1000e blocks the boot process when it tried to write checksum to its NVM
(LP: #1936998)
- e1000e: Do not take care about recovery NVM checksum
  * Focal update: v5.4.140 upstream stable release (LP: #1941798)
- Revert "ACPICA: Fix memory leak caused by _CID repair function"
- ALSA: seq: Fix racy deletion of subscriber
- arm64: dts: ls1028a: fix node name for the sysclk
- ARM: imx: add missing iounmap()
- ARM: imx: add missing clk_disable_unprepare()
- ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
- ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
- ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
- ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
- arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
- ALSA: usb-audio: fix incorrect clock source setting
- clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
- ARM: dts: am437x-l4: fix typo in can@0 node
- omap5-board-common: remove not physically existing vdds_1v8_main fixed-
  regulator
- spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
- spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
- scsi: sr: Return correct event when media event c

[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 one is broken).

Again, given the length of time over which the bug tends to reproduce, I
can't say for certain it's fixed in all cases but none of these
configurations displayed any issues, all booted happily, and ran
smartctl successfully.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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)
- sound/usb: add device quirks for A4Tech FHD 1080p webcams
- sound/usb: call usb_autopm_get_interface() for devices that should not
- overlays: ghost-amp: Add DAC mute control
- clk: Introduce a clock request API
- drm/vc4: hdmi: Convert to the new clock request API
- drm/vc4: hdmi: Convert to the new clock request API
- bcm2835-unicam: Switch to new clock api
- rpivid: Switch to new clock api
- net: usb: r8152: use new tasklet API
- r8152: replace several functions about phy patch request
- r8152: adjust the flow of power cut for RTL8153B
- r8152: enable U1/U2 for USB_SPEED_SUPER
- r8152: check if the pointer of the function exists
- r8152: replace netif_err with dev_err
- r8152: spilt rtl_set_eee_plus and r8153b_green_en
- r8152: set inter fram gap time depending on speed
- r8152: adjust rtl8152_check_firmware function
- r8152: add help function to change mtu
- r8152: support new chips
- r8152: support PHY firmware for RTL8156 series
- r8152: search the configuration of vendor mode
- rpivid: Only clk_request_done once
- dwc_otg: fix an undeclared variable
- Revert "drm/vc4: Add configuration for BCM2711 DSI1."
- Revert "drm/vc4: Add support for DSI0"
- drm/vc4: drv: Remove the DSI pointer in vc4_drv
- drm/vc4: dsi: Use snprintf for the PHY clocks instead of an array
- drm/vc4: dsi: Introduce a variant structure
- drm/vc4: dsi: Add support for DSI0
- drm/vc4: dsi: Add configuration for BCM2711 DSI1
- drm/vc4: Correct pixel order for DSI0
- drm/vc4: Register dsi0 as the correct vc4 encoder type
- drm/vc4: Fix dsi0 interrupt support.
- drm/vc4: Add correct stop condition to vc4_dsi_encoder_disable iteration
- drm/atomic: Don't fixup modes that haven't been reset
- drm/panel: jdi-lt070me05000: Use gpiod_set_value_cansleep
- defconfigs: Add PANEL_JDI_LT070ME05000 DSI panel
- dtoverlays: Add overlays for JDI LT070ME05000 1200x1920 DSI panel
- clk: requests: Ignore if the pointer is null
- drm/vc4: hvs: Make the HVS bind first
- drm/vc4: hdmi: Properly compute the BVB clock rate
- drm/vc4: hdmi: Check and warn if we can't reach 4kp60 frequencies
- drm/vc4: hdmi: Enable the scrambler
- drm/vc4: hdmi: Raise the maximum clock rate
- vc4/drm: hdmi: Handle case when bvb clock is null
- overlays: spi-rtc: Add ds3232 and ds3234
- drm/vc4: Fix VEC address for BCM2711 in the devicetrees
- drm/vc4: Separate VEC compatible variants
- configs: Enable ATA and AHCI for SATA drive support.
- clk: requests: Dereference the request pointer after the check
- staging/bcm2835-codec: Fix support for levels 4.1 and 4.2
- staging/bcm2835-codec: Set the colourspace appropriately for RGB formats
- staging/bcm2835-codec: Pass corrupt frame flag.
- staging/bcm2835-camera: Add support for H264 levels 4.1 and 4.2
- staging/bcm2835-codec: Do not update crop from S_FMT after res change
- staging/bcm2835-isp: Fix compiler warning
- overlays: Allow multiple gpio-shutdown instances
- overlays: README - improve the gpio-poweroff guide
- SQUASH: overlays: Fix typo in README
- gpio-poweroff: Remember the old poweroff handler
- drm/vc4: Allow DBLCLK modes even if horz timing is odd.
- overlays: Add ugreen-dabboard overlay
- ARM: dts: bcm2711-rpi-400: Limit MDIO clock speed
- spi: bcm2835: Increase the CS limit to 24
- configs: Regenerate defconfigs
- configs: add CONFIG_QCA7000_UART=m (#4322)
- clk: Always clamp the rounded rate
- drm/vc4: crtc: Pass the drm_atomic_state to config_pv
- drm/vc4: crtc: Fix vc4_get_crtc_encoder logic
- drm/vc4: crtc: Lookup the encoder from the register at boot
- drm/vc4: hdmi: Simplify the connector state retrieval
- drm/vc4: hdmi: Rely on interrupts to handle hotplug
- drm/vc4: hdmi: Add a workqueue to set scrambling
- overlays: merus-amp: remove spi override
- configs: Add NF_LOG_ARP=m and NF_LOG_NETDEV=m
- media: i2c: ov5647: Correct pixel array offset
- media: i2c: ov5647: Correct minimum VBLANK value
- media: i2c: ov5647: Fix v4l2-compliance failure subscribing to events
- dtoverlays: Add pinctrl-names to i2c0 overlay.
- dtoverlays: Update /__symbols__/i2c0 from i2c0 overlay
- media: rpivid: Remove the need to have num_entry_points set
- media: rpivid: Convert to MPLANE
- media: rpivid: Add an enable count to irq claim Qs
- RFC: media: Add media_request_{pin,unpin} API
- media: rpivid: Add a Pass0 to accumulate slices and rework job finish
- Revert "media: v4l2-mem2mem: allow request job bu

[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 latter turned out to be iffy under all kernels, so no
regression there!).

Given the length of time over which this bug tends to reproduce
(sometimes as long as a couple of days), I can't say for certain it's
fixed in all cases but the system on which it reliably reproduced before
(an 8GB Pi 4 with an ASMedia interface between a Samsung SSD) has been
running without interruption all week, and none of the other
configurations displayed any issues so I'd be reasonably confident in
saying there's no regressions at least.

I'll move onto Focal tests next...

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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, change the tag 'verification-needed-focal' to
'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-focal

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 regressions.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 exists, change the tag 'verification-needed-hirsute' to
'verification-failed-hirsute'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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

** Changed in: linux-raspi (Ubuntu Hirsute)
   Status: Confirmed => Fix Committed

** Changed in: linux-raspi (Ubuntu Focal)
   Status: Confirmed => Fix Committed

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.
https://bugs.launchpad.net/bugs/1930629

Title:
  Raspberry pi 4 USB controller randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:0:0: [sda] tag#13 uas_eh_abort_handler 0 uas-tag 2 
inflight: CMD OUT
+ [ 499.190310] sd 2:0:0:0: [sda] tag#13 CDB: Write(10) 2a 00 00 02 6d 97 00 00 
4d 00
+ [ 504.302113] sd 2:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 5 
inflight: CMD OUT
+ [ 504.310336] sd 2:0:0:0: [sda] tag#19 CDB: Write(10) 2a 00 00 00 95 da 00 00 
01 00
+ 
+ And:
+ 
+ [ 535.538311] scsi host2: uas_eh_device_reset_handler start
+ [ 535.544699] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
+ [ 535.554032] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
+ 
+ 
+ [ Test Case ]
+ 
+ See below.
+ 
+ 
+ [ Where Problems Could Occur ]
+ 
+ Modifications are limited to the USB host xhci driver so problems will
+ likely show up when accessing devices that use this host driver.
+ 
+ 
+ [ Original Description ]
+ 
  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 plugged 
in.
  
  After a seemingly random amount of time (between 1 minute and 2 days)
  the usb controller will crash completely. No USB devices are detected
  anymore after that, i have to reboot the system.
  
  I have tried:
  * Providing a lot of cooling (metal case + desktop size fan)
  * Switching the USB Hubs to a different brand
  * Switching the power supply of the USB hubs
  * Switching the power supply of the raspberry
  
  Nothing helped, so i concluded that this probably is a kernel bug. I
  think the USB controller should not crash at the very least.
  
  I've attached my dmesg.
  
  lsb_release -rd
-   Description:Ubuntu 20.04.2 LTS
-   Release:20.04
+   Description:Ubuntu 20.04.2 LTS
+   Release:20.04
  
  linux-raspi version: 5.4.0.1035.70
  
  uname -a
-   Linux pi 5.4.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Apr 20 21:37:03 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux
+   Linux pi 5.4.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Apr 20 21:37:03 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux
  
  lsusb (after crash)
-   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
-   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- --- 
+   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ ---
  ProblemType: Bug
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k5.4.0-1035-raspi.
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: arm64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] 
failed with exit code 1:
  Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
  Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
  CasperMD5CheckResult: skip
  DistroRelease: Ubuntu 20.04
  ImageMediaBuild: 20210201.1
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lspci-vt: -[:00]---00.0-[01]00.0  VIA Technologies, Inc. VL805 USB 
3.0 Host Controller
  Lsusb:
-  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Lsusb-t:
-  /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
-  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
+  /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
+  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
  Package: linux-raspi
  PackageArchitecture: arm64
  PciMultimedia:
-  
+ 
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=C.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=C.UTF-8
+  SHELL=/bin/bash
  ProcFB:
-  
+ 
  ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 
snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 
bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:1D:06:FE 
vc_mem.mem_base=0x3ec0 vc_mem.mem_size=0x4000  net.ifnames=0 
dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable 
rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
  ProcVersionSignature: Ubuntu 5.4.0-1035.38-raspi 5.4.106
  RelatedPackageVersions:
-  linux-restricted-modules-5.4.0-1035-raspi N/A
-  linux-backports-

[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

Title:
  Raspberry pi 4 USB controller randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
  Raspberry pi 4 USB controller randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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

Title:
  Raspberry pi 4 USB controller randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 old this probably did not land in the
ubuntu or raspi-os repos yet, or is it?

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 (Ubuntu Focal)
 Assignee: (unassigned) => Juerg Haefliger (juergh)

** Also affects: linux-raspi (Ubuntu Hirsute)
   Importance: Undecided
   Status: New

** Also affects: linux-raspi (Ubuntu Impish)
   Importance: Undecided
   Status: 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:
  Raspberry pi 4 USB controller randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 it to SG_IO

I believe 2-1.4.3 is your ASMT (asmedia) device. What exactly is that?
That reset could have been a result of a smartd poke (you're running
smartd, right?) and might cause additional problems down the line. Can
you decrease the smartd interval to check if the problem shows up
earlier? Kill the smartd daemon and run it manually like: smartd -d -i
15.

Regarding USB2: The USB2 and USB3 controllers are completely different.
USB2 is part of the SoC whereas USB3 is a PCIe attached dedicated
controller. Different drivers and obviously lots of other differences.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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. The error messages differ but the 
end result of all USB devices disconnecting was the same (btw this includes a 
USB stick that is NOT connected to a hub).
So i think this is not an ubuntu specific problem.

This problem does not occur if i use the USB2 ports.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 OUT 
[  499.190310] sd 2:0:0:0: [sda] tag#13 CDB: Write(10) 2a 00 00 02 6d 97 00 00 
4d 00
[  504.302113] sd 2:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 5 
inflight: CMD OUT 
[  504.310336] sd 2:0:0:0: [sda] tag#19 CDB: Write(10) 2a 00 00 00 95 da 00 00 
01 00
[  504.318248] sd 2:0:0:0: [sda] tag#16 uas_eh_abort_handler 0 uas-tag 6 
inflight: CMD OUT 
[  504.326469] sd 2:0:0:0: [sda] tag#16 CDB: Write(10) 2a 00 00 00 99 8b 00 00 
1a 00
[  504.334437] sd 2:0:0:0: [sda] tag#15 uas_eh_abort_handler 0 uas-tag 4 
inflight: CMD OUT 
[  504.342655] sd 2:0:0:0: [sda] tag#15 CDB: Write(10) 2a 00 00 00 08 01 00 00 
01 00
[  504.350586] sd 2:0:0:0: [sda] tag#14 uas_eh_abort_handler 0 uas-tag 3 
inflight: CMD OUT 
[  504.358801] sd 2:0:0:0: [sda] tag#14 CDB: Write(10) 2a 00 00 02 6d e4 00 00 
34 00
[  504.382114] scsi host2: uas_eh_device_reset_handler start
[  504.470745] usb 2-2.2: reset SuperSpeed Gen 1 USB device number 4 using 
xhci_hcd
[  504.501501] scsi host2: uas_eh_device_reset_handler success
[  505.096703] xhci_hcd :01:00.0: ERROR Transfer event for unknown stream 
ring slot 5 ep 7
[  505.105187] xhci_hcd :01:00.0: @00042e805080   
0500 05088001
[  535.538311] scsi host2: uas_eh_device_reset_handler start
[  535.544699] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  535.554032] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  535.563364] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  535.572693] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  535.582020] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  535.591345] sd 2:0:0:0: [sda] tag#17 uas_zap_pending 0 uas-tag 1 inflight: 
CMD 
[  535.591346] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  535.608031] sd 2:0:0:0: [sda] tag#17 CDB: Write(10) 2a 00 00 02 6d 4f 00 00 
48 00
[  535.615624] sd 2:0:0:0: [sda] tag#18 uas_zap_pending 0 uas-tag 2 inflight: 
CMD 
[  535.623038] sd 2:0:0:0: [sda] tag#18 CDB: Write(10) 2a 00 00 02 6d 97 00 00 
4d 00
[  535.630629] sd 2:0:0:0: [sda] tag#16 uas_zap_pending 0 uas-tag 3 inflight: 
CMD 
[  535.638042] sd 2:0:0:0: [sda] tag#16 CDB: Write(10) 2a 00 00 00 95 da 00 00 
01 00
[  535.645632] sd 2:0:0:0: [sda] tag#19 uas_zap_pending 0 uas-tag 4 inflight: 
CMD 
[  535.653044] sd 2:0:0:0: [sda] tag#19 CDB: Write(10) 2a 00 00 00 99 8b 00 00 
1a 00
[  535.660635] sd 2:0:0:0: [sda] tag#22 uas_zap_pending 0 uas-tag 5 inflight: 
CMD 
[  535.668048] sd 2:0:0:0: [sda] tag#22 CDB: Write(10) 2a 00 00 00 08 01 00 00 
01 00
[  535.675638] sd 2:0:0:0: [sda] tag#23 uas_zap_pending 0 uas-tag 6 inflight: 
CMD 
[  535.683050] sd 2:0:0:0: [sda] tag#23 CDB: Write(10) 2a 00 00 02 6d e4 00 00 
34 00
[  535.770913] usb 2-2.2: reset SuperSpeed Gen 1 USB device number 4 using 
xhci_hcd
[  535.801666] scsi host2: uas_eh_device_reset_handler success
[  566.258858] scsi host2: uas_eh_device_reset_handler start
[  566.265609] sd 2:0:0:0: [sda] tag#21 uas_zap_pending 0 uas-tag 2 inflight: 
CMD 
[  566.273028] sd 2:0:0:0: [sda] tag#21 CDB: Write(10) 2a 00 00 02 6d 4f 00 00 
48 00
[  566.280619] sd 2:0:0:0: [sda] tag#22 uas_zap_pending 0 uas-tag 3 inflight: 
CMD 
[  566.288034] sd 2:0:0:0: [sda] tag#22 CDB: Write(10) 2a 00 00 02 6d 97 00 00 
4d 00
[  566.295623] sd 2:0:0:0: [sda] tag#23 uas_zap_pending 0 uas-tag 4 inflight: 
CMD 
[  566.303036] sd 2:0:0:0: [sda] tag#23 CDB: Write(10) 2a 00 00 00 99 8b 00 00 
1a 00
[  566.310626] sd 2:0:0:0: [sda] tag#24 uas_zap_pending 0 uas-tag 5 inflight: 
CMD 
[  566.318038] sd 2:0:0:0: [sda] tag#24 CDB: Write(10) 2a 00 00 00 08 01 00 00 
01 00
[  566.325629] sd 2:0:0:0: [sda] tag#25 uas_zap_pending 0 uas-tag 6 inflight: 
CMD 
[  566.333040] sd 2:0:0:0: [sda] tag#25 CDB: Write(10) 2a 00 00 02 6d e4 00 00 
34 00
[  566.419460] usb 2-2.2: reset SuperSpeed Gen 1 USB device number 4 using 
xhci_hcd
[  566.450197] scsi host2: uas_eh_device_reset_handler success
[  567.048882] xhci_hcd :01:00.0: ERROR Transfer event for unknown stream 
ring slot 5 ep 7
[  567.057366] xhci_hcd :01:00.0: @00042e806590   
0500 05088001
[  596.979347] scsi host2: uas_eh_device_reset_handler start
[  596.985629] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  596.994964] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  597.004302] xhci_hcd :01:00.0: WARN Set TR Deq Ptr cmd failed due to 
incorrect slot or ep state.
[  597.013634

[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 disconnect randomly. They keep spinning up and disconnecting after
that. Only fix is a reboot.

It also happens less frequently on USB2. I don't get why. Sound like a
thermal issue to me, but i also have a fan in place for the external
HDDs. My second guess would be power supply, but i have a 5A one
connected to the hub, and it's only the seagate drives that disconnect.

Anyway, while using raspi-os still does not solve my problem it at least does 
not crash the USB controller. 
Maybe ubuntu needs to update the raspi firmware or kernel to also get this 
behaviour?

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 Ubuntu.
https://bugs.launchpad.net/bugs/1930629

Title:
  Raspberry pi 4 USB controller randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
  Raspberry pi 4 USB controller randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 plugged 
in.
  
  After a seemingly random amount of time (between 1 minute and 2 days)
  the usb controller will crash completely. No USB devices are detected
  anymore after that, i have to reboot the system.
  
  I have tried:
  * Providing a lot of cooling (metal case + desktop size fan)
  * Switching the USB Hubs to a different brand
  * Switching the power supply of the USB hubs
  * Switching the power supply of the raspberry
  
  Nothing helped, so i concluded that this probably is a kernel bug. I
  think the USB controller should not crash at the very least.
  
  I've attached my dmesg.
  
  lsb_release -rd
Description:Ubuntu 20.04.2 LTS
Release:20.04
  
  linux-raspi version: 5.4.0.1035.70
  
  uname -a
Linux pi 5.4.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Apr 20 21:37:03 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux
  
  lsusb (after crash)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ --- 
+ ProblemType: Bug
+ AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k5.4.0-1035-raspi.
+ AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
+ ApportVersion: 2.20.11-0ubuntu27.18
+ Architecture: arm64
+ ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] 
failed with exit code 1:
+ Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
+ Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
+ CasperMD5CheckResult: skip
+ DistroRelease: Ubuntu 20.04
+ ImageMediaBuild: 20210201.1
+ IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
+ Lspci-vt: -[:00]---00.0-[01]00.0  VIA Technologies, Inc. VL805 USB 
3.0 Host Controller
+ Lsusb:
+  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Lsusb-t:
+  /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
+  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
+ Package: linux-raspi
+ PackageArchitecture: arm64
+ PciMultimedia:
+  
+ ProcEnviron:
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=C.UTF-8
+  SHELL=/bin/bash
+ ProcFB:
+  
+ ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 
snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 
bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:1D:06:FE 
vc_mem.mem_base=0x3ec0 vc_mem.mem_size=0x4000  net.ifnames=0 
dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable 
rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
+ ProcVersionSignature: Ubuntu 5.4.0-1035.38-raspi 5.4.106
+ RelatedPackageVersions:
+  linux-restricted-modules-5.4.0-1035-raspi N/A
+  linux-backports-modules-5.4.0-1035-raspi  N/A
+  linux-firmware1.187.12
+ RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
+ StagingDrivers: bcm2835_isp bcm2835_v4l2 bcm2835_mmal_vchiq bcm2835_codec 
snd_bcm2835 vc_sm_cma
+ Tags:  arm64-image raspi-image focal uec-images staging
+ Uname: Linux 5.4.0-1035-raspi aarch64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: N/A
+ _MarkForUpload: True
+ acpidump:

** Attachment added: "AlsaDevices.txt"
   
https://bugs.launchpad.net/bugs/1930629/+attachment/5502435/+files/AlsaDevices.txt

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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/1930629

Title:
  Raspberry pi 4 USB controller randomly crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1930629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs