tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: usb/xhci lock issue on HEAD



On Wed, Jul 11, 2018 at 09:34:20PM -0700, Phil Nelson wrote:
> I'm not sure why this kernel is calling cngetsn() at setroot() time. 

You commented out a bit too much and it does not find your boot device?

        /*
         * If wildcarded root and we the boot device wasn't determined,
         * ask the user.
         */
        if (rootspec == NULL && bootdv == NULL)
                boothowto |= RB_ASKNAME;

(kern_subr.c:257)

You normally would see something like:

[..]
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

but if it can not identify the device, it tries to ask you for it (and
runs into an unrelated usb bug).


Martin


Home | Main Index | Thread Index | Old Index