[Bug 256395] Kernel waits 30 seconds for CD drive before mounting root filesystem

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Jun 2021 05:05:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256395

            Bug ID: 256395
           Summary: Kernel waits 30 seconds for CD drive before mounting
                    root filesystem
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: miner.ben07@gmail.com

I dual-boot Fedora Silverblue (which I'm using for this bug report) and
FreeBSD. When booting FreeBSD in verbose mode and with boot_mute off, I can see
that the kernel waits 30 seconds from getting ready to mount the root
filesystem and actually doing it. In this time, it repeatedly prints out this
message, once every second:

Root mount waiting for: usbus1
Root mount waiting for: usbus1
...and so on...

If I put a CD or DVD in my laptop's DVD drive, or a USB in one of the ports,
this does not happen, which means it can't be one of the ports specifically, or
whatever usbus1 is changes.

I have very little FreeBSD experience, but have used Linux for nearly a year
and as far as I can tell, Linux avoids waiting for a root filesystem on a USB
or CD by making GrUB specify the root device in the command line.

Is there a way to specify the root device in loader.conf or something or is
this a bug without a workaround?

-- 
You are receiving this mail because:
You are the assignee for the bug.