Skip to content

USB Boot hangs if second mass storage USB device attached #2377

Open
@swhobbit

Description

@swhobbit

System is Raspberry Pi 3, running stretch with recent patches applied.

  • USB devices:
    • a single SSD 128G drive (SanDisk SD8SNAT128G1122)
    • KVM (externally powered)
    • Logitech GamePad
  • Non-USB devices
    • 2.4 Amp power full supply
    • 10/100/1000 Mhz Ethernet
    • HDMI to Dell U23412M monitor
    • Analog audio

Problem:

While system normally boots fine from SSD if no other mass storage is attached, if additional an empty USB device such a thumb drive is attached the boot hangs.

To Reproduce:

  • Create USB Raspberry Pi boot drive with jessie or stretch. Boot successfully.
  • Add second empty USB thumb drive. Boot hangs.

Expected Behavior:

Second non-bootable thumb drive does not affect boot. System boots successfully.

System configuration

[diana:0,~,12:26:30,202] uname -a
Linux diana 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux

[diana:0,~,12:26:33,203] cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

[diana:0,~,12:26:48,204] lsblk -f
NAME   FSTYPE LABEL        UUID                                 MOUNTPOINT
sda                                                             
├─sda1 vfat   DIANA_BOOT   547C-C484                            /media/usb3
├─sda2 vfat   DIANA_SPARE  5511-2102                            /media/usb0
├─sda3                                                          
├─sda5 ext4   diana_root   c7b414b7-cdf7-4610-ba80-938c31a15d7b /media/usb4
├─sda6 ext4   diana_home   13a6594f-eeba-41ac-b5fd-72bd7f62a319 /media/usb2
├─sda7 ext4   diana_export b3bcb416-6dab-4e82-8d11-b955de658d92 /media/usb1
└─sda8 swap   diana_swap   d06a9985-012c-4186-b931-fb73ccc38aed [SWAP]

[diana:0,~,12:26:52,205] lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
        |__ Port 4: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 4: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 5: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
[diana:0,~,12:27:02,206] 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions