From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 05:27:13 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74FE737B401 for ; Fri, 18 Apr 2003 05:27:13 -0700 (PDT) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id 4591543FAF for ; Fri, 18 Apr 2003 05:27:12 -0700 (PDT) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) Sender: dpelleg@gs166.sp.cs.cmu.edu To: ticso@cicely.de References: <20030417191637.GA505@trudy.torrini.home> <20030418002448.GH10848@cicely9.cicely.de> <20030418075945.GB4089@trudy.torrini.home> <20030418104635.GL10848@cicely9.cicely.de> From: Dan Pelleg Date: 18 Apr 2003 08:26:17 -0400 In-Reply-To: <20030418104635.GL10848@cicely9.cicely.de> Message-ID: Lines: 45 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-current@FreeBSD.ORG Subject: Re: usb cf reader X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 12:27:13 -0000 Bernd Walter 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: 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