From owner-freebsd-questions@FreeBSD.ORG Sat Mar 12 08:00:24 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 917A516A4CF for ; Sat, 12 Mar 2005 08:00:24 +0000 (GMT) Received: from web54010.mail.yahoo.com (web54010.mail.yahoo.com [206.190.36.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 0BB3A43D48 for ; Sat, 12 Mar 2005 08:00:24 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 89614 invoked by uid 60001); 12 Mar 2005 08:00:23 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=iMIK+ocXkrv94MiGj/FricQqpQBVsxC/+X9ThJZToY8PqJ2KpkFPkHGF/1uZ+xgwQHYy/s6KdWNej90gKAFlhVBBqU2uJyyJHOPBbNDyz8pkHFbaH7s5r/1AlapF5ThG3Yk4jbNsFUKP38rZDJEsnYqe0vYohR+Vb7j7j2X1Rv0= ; Message-ID: <20050312080023.89612.qmail@web54010.mail.yahoo.com> Received: from [147.46.44.181] by web54010.mail.yahoo.com via HTTP; Sat, 12 Mar 2005 00:00:23 PST Date: Sat, 12 Mar 2005 00:00:23 -0800 (PST) From: Rob To: FreeBSD questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: 5.3: scbus & da in kernel config, umass as module: but no /dev/da* ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 08:00:24 -0000 Alejandro Pulver wrote: > Rob wrote: >> >>I'm running FreeBSD 5.3. >>I have following in my kernel config: >> >> device scbus >> device da >> device uhci >> device usb >> >>hoping that this provides enough 'basic' usb >>support for my usb-memory-stick. Indeed, I can >>load the umass module. >> >>If I'm not wrong, I must do following to access the >>usb-memory-stick: >> mount -t msdosfs /dev/da0s1 /mnt >> >>but there's no /dev/da* device. > > Hello, > > I have a camera that is detected as an 'umass' > storage device, and it appears as '/dev/da0' > (strangely I can use it as a common storage > device). This is my configuration: > > kernel options: > > device scbus > device da > device pass > device uhci > device ohci > device usb > device umass > device ehci > > '/etc/rc.conf' options: > > usbd_enable="YES" > > To test it you can: > > 1) Check the devices in '/dev/daX'. > 2) # camcontrol devlist > 3) Check the boot messages (umass and da) and > the messages printed when you plug the device. > > To mount it you have to select a slice (if it has > data stored in): > > mount -t msdosfs /dev/da0s1 /mnt I do not have the cam device in the kernel config. Do I have to? I also don't have umass in the kernel config either, but I load that as a module later; is that OK? Problem is that I do not have any /dev/da* devices, with or without my memory stick in the usb port. I load umass module into the kernel, and then plug the memory stick into the usb port. The console gets then: umass0: EXATEL , Inc. I-BEAD Multi Player, rev 1.10/0.01, addr 2 umass0: Get Max Lun not supported (STALLED) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-4 device da0: 1.000MB/s transfers da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C) umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED [...last three lines repeated every minute or so...] What does the "STALLED" mean here? Is that critical? The "usbdevs -v" reports now: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, self powered, config 1, i-Bead 100 MP3 Player(0x8008), Sigmatel(0x066f), rev 0.01 But I have no /dev/da0 : # ls /dev/da* ls: No match. So, the memory stick is detected at the USB port, but I don't have the /dev/da* devices to mount the memory stick (although devices da and scbus are in my kernel config!). When I remove the memory stick, I get following in the console: umass0: at uhub0 port 2 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry Opened disk da0 -> 5 umass0: detached What am I doing wrong? Thanks, Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com