Skip site navigation (1)Skip section navigation (2)
Date:      12 Mar 2003 16:26:50 +0100
From:      "G. van Dalum" <g.vandalum@student.utwente.nl>
To:        freebsd-stable@freebsd.org
Subject:   Re: USB storage devices and booting
Message-ID:  <1047482810.908.2.camel@server>
In-Reply-To: <1047465545.1615.34.camel@server>
References:  <200303101424.h2AEOFQp038066@whizzo.transsys.com> <1047465545.1615.34.camel@server>

next in thread | previous in thread | raw e-mail | index | archive | help

i forgot: my system hangs and reboots when if i don't remove my usb
flash memory drive after reattaching it

guus
On Wed, 2003-03-12 at 11:39, G. van Dalum wrote:
> I tried to attach a usb storage device last week it did not work
> correctly and i searched the net for a solution as i am a bit of a
> newbee and i didn't want to ask stupid questions on this or other lists.
> As i read the discussion on usb devices i thought my problem my be
> relevant so here it is:
> 
> when i attach a usb flash storage device to my computer before booting
> it gets detected all right and i can mount it but reading and writing
> doesn't work 
> vm_fault: pager read error, pid 1000 (cp)
> i don't have any scsi devices attached to my system exept the umass
> device
> 
> when i detach it and reattach it i get these messages  
> umass0: BBB reset failed, TIMEOUT
> umass0: BBB bulk-in clear stall failed, TIMEOUT
> umass0: BBB bulk-out clear stall failed, TIMEOUT
> 
> i have set sysctl kern.cam.da.no_6_byte=1  
> 
> why is the usb device detected ok during boot and not after?
> 
> Guus
> 
> 
> 
> On Mon, 2003-03-10 at 15:24, Louis A. Mamakos wrote:
> > 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
> > 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 


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?1047482810.908.2.camel>