[Bug 2052141] Re: u-boot-starfive: crash with USB stick plugged in

Heinrich Schuchardt 2052141 at bugs.launchpad.net
Fri Feb 2 10:10:53 UTC 2024


The upstream U-Boot USB driver seems to be buggy. It can read the
partition table but fails to enumerate the files on the USB drive:

StarFive # part list usb 0

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            2077696         05914b14-01     06
StarFive # ls usb 0:1
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted
Resetting EP 3...
WARN endpoint is halted
WARN endpoint is halted
WARN endpoint is halted

0 file(s), 0 dir(s)

StarFive #

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/2052141

Title:
  u-boot-starfive: crash with USB stick plugged in

Status in u-boot package in Ubuntu:
  New

Bug description:
  With U-Boot 2024.01+dfsg-1ubuntu1 (Feb 01 2024 - 13:52:26 +0000) on a
  StarFive VisionFive2 with a USB stick plugged in when booting I saw
  the following exception:

  starfive_7110_pcie pcie at 2b000000: Starfive PCIe bus probed.
  starfive_7110_pcie pcie at 2c000000: Starfive PCIe bus probed.
  In:    serial at 10000000
  Out:   serial at 10000000
  Err:   serial at 10000000
  Net:   eth0: ethernet at 16030000, eth1: ethernet at 16040000
  starting USB...
  Bus xhci_pci: Register 5000420 NbrPorts 5
  Starting the controller
  USB XHCI 1.00
  scanning bus xhci_pci for devices... Device NOT ready
     Request Sense returned 02 3A 00
  Unhandled exception: Store/AMO access fault
  EPC: 00000000fff62c08 RA: 00000000fff96c48 TVAL: 0000000000000018
  EPC: 0000000040221c08 RA: 0000000040255c48 reloc adjusted

  Code: ee90 ea98 e394 ef14 8082 4885 b779 6d8c (ef0c)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/2052141/+subscriptions




More information about the foundations-bugs mailing list