Date: Mon, 10 Mar 2003 09:24:15 -0500 From: "Louis A. Mamakos" <louie@TransSys.COM> To: stable@freebsd.org Subject: USB storage devices and booting Message-ID: <200303101424.h2AEOFQp038066@whizzo.transsys.com>
next in thread | raw e-mail | index | archive | help
While testing a fix to a USB driver a little while ago, I ran into a weird but explainable situation. Say, for example, you've got a FreeBSD system with one or more SCSI disks, and with the root partition on one of those disks. The loader passes along a hint as to which device the kernel should mount as the root partition, and away we go. Now, boot your system with a USB storage device attached. It seems to get bound as "da0" before the first SCSI drive has a chance to. This results in surprising behavior when you boot and it can't mount a root partition off the drive it thought it booted from. I suppose I could hardwire the SCSI drives in my kernel configuration, but that doesn't seem like the right answer. I don't normally boot with the USB storage thing plugged in, but it's possible that I might leave one attached and then have the system reboot while it's unattended and not come back. Is there a relative priority between the various drivers as they get device names allocated from (presumably) the CAM subsystem? louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303101424.h2AEOFQp038066>