Date: 18 Apr 2003 08:26:17 -0400 From: Dan Pelleg <daniel+bsd@pelleg.org> To: ticso@cicely.de Cc: freebsd-current@FreeBSD.ORG Subject: Re: usb cf reader Message-ID: <u2sbrz4yot2.fsf@gs166.sp.cs.cmu.edu> In-Reply-To: <20030418104635.GL10848@cicely9.cicely.de> References: <20030417191637.GA505@trudy.torrini.home> <20030418002448.GH10848@cicely9.cicely.de> <20030418075945.GB4089@trudy.torrini.home> <20030418104635.GL10848@cicely9.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Bernd Walter <ticso@cicely9.cicely.de> writes: > On Fri, Apr 18, 2003 at 09:59:45AM +0200, Riccardo Torrini wrote: > > On Fri, Apr 18, 2003 at 02:24:48AM +0200, Bernd Walter wrote: > > > > >> # ls -ln /dev/da0* > > >> crw-r----- 1 0 5 4, 20 Apr 17 20:09 /dev/da0 > > >> > > >> # mount -tmsdos /dev/da0 /dist > > >> msdosfs: /dev/da0: Invalid argument > > > > > msdosfs usually lives on slices. > > > > I know that, but DEVFS create _only_ /dev/da0 :-( > > That doesn't mean anything as devicenodes can be created on demand. > > > Apr 17 20:21:52 trudy kernel: umass0: DataFab Systems Inc. USB CF, rev 1.10/3.06, addr 2 > > Apr 17 20:21:55 trudy kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > > Apr 17 20:21:55 trudy kernel: da0: <OEI-Link Media Reader 3.06> Removable Direct Access SCSI-0 device > > Apr 17 20:21:55 trudy kernel: da0: 1.000MB/s transfers > > Apr 17 20:21:55 trudy kernel: da0: 15MB (31488 512 byte sectors: 64H 32S/T 15C) > > (going to sleep...) > > -----8<----- > > That probing worked so far was clear. > What I need is to know why fdisk and dd failed. > Do you get any kernel message with fdisk da0? > Just in case it might help, have a look at: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/50633 FWIW I found that a script that: - sleeps 5 seconds - if /dev/da0s1 doesn't exist, tries to mount /dev/da0 (and always fails) - mounts /dev/da0s1 works, if I hook it to usbd. -- Dan Pelleg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2sbrz4yot2.fsf>