Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2019 15:17:37 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Boot fails with USB 3.0 external harddrive plugged in
Message-ID:  <CAOjFWZ6mF45MSpXvv14yJ9uaEd67Jj9G2VMmC9HEdcJ1VZcsaw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
[fcash@rogue /home/fcash]$ freebsd-version -ku
12.0-RELEASE-p8
12.0-RELEASE-p8

This system was previously running FreeBSD 11.2 and didn't have any issues
booting with the external USB drive plugged into the USB 3.0 ports on the
motherboard.

Ever since upgrading to 12.0, and through all the updates to -p8, booting
with the external drive plugged in fails.  It will eventually get through
the loader, start to load the kernel, then drop to a black screen, and
(after a few minutes) power off the system completely.

The boot process is *extremely* slow with the USB drive plugged in.  As in,
you can watch the loader cursor twirl at about 1 frame every few seconds.

However, if I am sitting at the computer, I can press any key on the
keyboard (even shift, ctrl, alt, or spacebar), and it will make the cursor
spin at a normal speed for a second or two.  So, if I hit a key on the
keyboard every other second, it will go through a normal boot process.

I seem to recall there was a similar issue on the mailing list a couple
months back, but my google-fu is failing me.  :(  I thought there was a
loader.conf setting that resolved that issue, but I can't seem to find it.

If I unplug the external drive, it boots normally without any user
intervention.  Connecting the drive after the login prompt appears,
everything works normally. It's only the boot process that is an issue.

This is an olded system, using an AMD Phenom-II quad-core CPU, but has 16
GB of RAM, and 6 harddrives in a ZFS pool.  Has been working great, up
until the 12.0 upgrade.

I have plans to upgrade this system to 12.1 later this month.  Just
wondering if this is a known issue that's fixed in that release, or
something new.

xhci0: <ASMedia ASM1042 USB 3.0 controller> mem 0xfe800000-0xfe807fff irq
46 at device 0.0 on pci2
xhci0: 32 bytes context size, 32-bit DMA
xhci0: Unable to map MSI-X table
usbus0 on xhci0
xhci1: <ASMedia ASM1042 USB 3.0 controller> mem 0xfe600000-0xfe607fff irq
50 at device 0.0 on pci4
xhci1: 32 bytes context size, 32-bit DMA
xhci1: Unable to map MSI-X table
usbus1 on xhci1
ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe90a000-0xfe90afff irq
18 at device 18.0 on pci0
usbus2 on ohci0
ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe909000-0xfe9090ff
irq 17 at device 18.2 on pci0
usbus3 on ehci0
ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe908000-0xfe908fff irq
20 at device 19.0 on pci0
usbus4 on ohci1
ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe907000-0xfe9070ff
irq 21 at device 19.2 on pci0
usbus5 on ehci1
ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe906000-0xfe906fff irq
18 at device 20.5 on pci0
usbus6 on ohci2
ohci3: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe905000-0xfe905fff irq
22 at device 22.0 on pci0
usbus7 on ohci3
ehci2: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe904000-0xfe9040ff
irq 23 at device 22.2 on pci0
usbus8 on ehci2
da0 at umass-sim0 bus 0 scbus12 target 0 lun 0
da0: <ST330006 50NS 0004> Fixed Direct Access SPC-3 SCSI device
da0: Serial Number Z297HW2Q
da0: 400.000MB/s transfers
da0: 2861588MB (5860533168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6mF45MSpXvv14yJ9uaEd67Jj9G2VMmC9HEdcJ1VZcsaw>