Repository navigation
Closed
Description
Hi,
I updated Asahi to the latest version, but now the device goes into bootloop if I have a usb-c hub connected
if I boot without connecting the hub then the device boots fine, then if I connect the USB hub after it was fully booted then the USB hub works fine.
Logs after connecting the USB hub:
[ 38.407824] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 38.407838] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 38.407974] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238ffcd hci version 0x110 quirks 0x0000000000010010
[ 38.407988] xhci-hcd xhci-hcd.1.auto: irq 87, io mem 0x502280000
[ 38.408054] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 38.408057] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 38.408060] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.1 Enhanced SuperSpeed
[ 38.408122] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.19
[ 38.408126] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 38.408129] usb usb3: Product: xHCI Host Controller
[ 38.408131] usb usb3: Manufacturer: Linux 5.19.0-rc5-asahi-7-1-ARCH xhci-hcd
[ 38.408133] usb usb3: SerialNumber: xhci-hcd.1.auto
[ 38.408304] hub 3-0:1.0: USB hub found
[ 38.408315] hub 3-0:1.0: 1 port detected
[ 38.408432] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 38.408468] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.19
[ 38.408471] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 38.408474] usb usb4: Product: xHCI Host Controller
[ 38.408475] usb usb4: Manufacturer: Linux 5.19.0-rc5-asahi-7-1-ARCH xhci-hcd
[ 38.408477] usb usb4: SerialNumber: xhci-hcd.1.auto
[ 38.408607] hub 4-0:1.0: USB hub found
[ 38.408617] hub 4-0:1.0: 1 port detected
[ 38.929711] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 39.057594] usb 3-1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice= 3.d3
[ 39.057611] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 39.057617] usb 3-1: Product: USB2.0 Hub
[ 39.057622] usb 3-1: Manufacturer: VIA Labs, Inc.
[ 39.064313] hub 3-1:1.0: USB hub found
[ 39.064444] hub 3-1:1.0: 5 ports detected
[ 39.781710] usb 3-1.1: new high-speed USB device number 3 using xhci-hcd
[ 39.931874] usb 3-1.1: New USB device found, idVendor=0bda, idProduct=0306, bcdDevice= 7.00
[ 39.931888] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 39.931894] usb 3-1.1: Product: USB3.0-CRW
[ 39.931899] usb 3-1.1: Manufacturer: Generic
[ 39.931903] usb 3-1.1: SerialNumber: 60000719201300000
[ 39.935747] usb-storage 3-1.1:1.0: USB Mass Storage device detected
[ 39.935956] scsi host0: usb-storage 3-1.1:1.0
[ 40.993735] scsi 0:0:0:0: Direct-Access Generic- SD/MMC 1.00 PQ: 0 ANSI: 4
[ 40.995396] scsi 0:0:0:1: Direct-Access Generic- SD/MMC/MS/MSPRO 1.00 PQ: 0 ANSI: 4
[ 40.995674] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 40.995906] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 40.997249] sd 0:0:0:0: [sda] Media removed, stopped polling
[ 40.998050] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 40.998667] sd 0:0:0:1: [sdb] Media removed, stopped polling
[ 40.998807] sd 0:0:0:1: [sdb] Attached SCSI removable disk
[ 43.956705] usb 3-1.5: new high-speed USB device number 4 using xhci-hcd
[ 44.034980] usb 3-1.5: New USB device found, idVendor=2109, idProduct=8888, bcdDevice= 0.01
[ 44.034996] usb 3-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 44.035002] usb 3-1.5: Product: USB Billboard Device
[ 44.035007] usb 3-1.5: Manufacturer: VIA Labs, Inc.
[ 44.035011] usb 3-1.5: SerialNumber: 0000000000000001
Metadata
Metadata
Assignees
Labels
No labels

Activity
jannau commentedon Jul 21, 2022
I can reproduce the crash in u-boot when booting with an USB SD card reader without media.
jannau commentedon Jul 21, 2022
fix submitted to upstream u-boot: https://lore.kernel.org/u-boot/[email protected]/T/#u
jannau commentedon Jul 22, 2022
I'd expect the crash goes away after adding SD cards to the SD card reader(s). That would be a more comfortable workaround than disconnecting the hub for booting.
janrinze commentedon Jul 23, 2022
Oh. nice. I have seen this too and usually disconnect the card reader before rebooting. Thanks for fixing.
usb: storage: continue probe on "Invalid device"
marcan commentedon Sep 9, 2022
Fixed in u-boot; next time please file the issue in the correct repo (this is the kernel).
x86/kvm: fix FASTOP_SIZE when return thunks are enabled
usb: storage: continue probe on "Invalid device"
usb: storage: continue probe on "Invalid device"
usb: storage: continue probe on "Invalid device"
net/smc: Don't use RMBs not mapped to new link in SMCRv2 ADD LINK
ata: libata-core: Fix null pointer dereference on error
ata: libata-core: Fix null pointer dereference on error
netfilter: br_netfilter: do not check confirmed bit in br_nf_local_in…
netfilter: br_netfilter: do not check confirmed bit in br_nf_local_in…
Bluetooth: ISO: Fix data-race on iso_pi(sk) in socket and HCI event p…
usb: storage: continue probe on "Invalid device"
hfsplus: fix generic/020 xfstests failure
btrfs: fix NULL pointer deref during assertion in btrfs_backref_free_…
hfsplus: rework hfsplus_readdir() logic
ARM: dts: aspeed: sanmiguel: Add IOEXP interrupt pin settings
soc: apple: sep: /dev/apple-sep-bio, and the save as biometrickitd's
soc: apple: sep: /dev/apple-sep-bio, and the save as biometrickitd's
soc: apple: sep: /dev/apple-sep-bio, and the save as biometrickitd's
soc: apple: sep: /dev/apple-sep-bio, and the save as biometrickitd's
soc: apple: sep: /dev/apple-sep-bio, and the save as biometrickitd's
soc: apple: sep: /dev/apple-sep-bio, and the save as biometrickitd's
soc: apple: sep: /dev/apple-sep-bio, and the save as biometrickitd's
soc: apple: sep: /dev/apple-sep-bio, and the save as biometrickitd's