Mounting a multicard reader (FBSD)

Jason Oakley waulok at bangrocks.com
Sat Jun 19 19:46:04 PDT 2004


I set up automount, but that's not working.

usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered


I also get this after a reboot now:
umass0: vendor 0x55aa 8-in-2, rev 1.10/1.01, addr 3


umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): got CAM status 0x4
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry

I can't mount by hand now. I don't know if that has to do with the automounter:

  $ sudo mount -t msdos /dev/da0s1 /mnt/CF

Just sits there doing nothing.

$ sudo truss mount -t msdos /dev/da0s1 /mnt/CF
readlink("/etc/malloc.conf",0xbfbff960,63)       ERR#2 'No such file or 
directory'
mmap(0x0,4096,0x3,0x1002,-1,0x0)                 = 671555584 (0x28072000)
break(0x807b000)                                 = 0 (0x0)
break(0x807c000)                                 = 0 (0x0)
lstat("/mnt",0xbfbfee30)                         = 0 (0x0)
lstat("/mnt/CF",0xbfbfee30)                      = 0 (0x0)
readlink("/mnt/CF","/host/localhost/CF",1023)    = 18 (0x12)
lstat("/host",0xbfbfee30)                        = 0 (0x0)
lstat("/host/localhost",0xbfbfee30)              = 0 (0x0)

stalls there

More of the same:

umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
nfs server pid110 at spooty:/host: not responding
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED


At 01:31 AM 20/06/2004, Scott Mitchell wrote:
>What does 'camcontrol devlist' say?  Probably it will just list one device
>(da0) that - as you've found - corresponds with the CF slot on your card
>reader.  The other slots are probably mapped to other LUNs (Logical Unit
>Numbers) on the same SCSI device number.  The CAM framework only probes LUN
>0 by default, so you only see the first slot.  For example, when my machine
>boots, I have:

---------------------------------------------------------------------------------
http://www.bangrocks.com/ - http://www.auspug.org/

http://www.ZigZagSoft.com/ - PalmOS Software and "Palm Games Programming" forum




More information about the freebsd-questions mailing list