From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 01:00:00 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 8D5CA37B401 for ; Fri, 18 Apr 2003 01:00:00 -0700 (PDT) Received: from mail.dada.it (mail4.dada.it [195.110.100.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 9D7B243FBD for ; Fri, 18 Apr 2003 00:59:56 -0700 (PDT) (envelope-from riccardo@torrini.org) Received: (qmail 11543 invoked from network); 18 Apr 2003 07:59:51 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 18 Apr 2003 07:59:51 -0000 Received: from trudy.torrini.home (localhost.torrini.home [127.0.0.1]) by torrini.org (8.12.9/8.12.9) with ESMTP id h3I7xk2n004495; Fri, 18 Apr 2003 09:59:46 +0200 (CEST) (envelope-from riccardo@trudy.torrini.home) Received: (from riccardo@localhost) by trudy.torrini.home (8.12.9/8.12.9/Submit) id h3I7xj14004494; Fri, 18 Apr 2003 09:59:45 +0200 (CEST) Date: Fri, 18 Apr 2003 09:59:45 +0200 From: Riccardo Torrini To: ticso@cicely.de Message-ID: <20030418075945.GB4089@trudy.torrini.home> References: <20030417191637.GA505@trudy.torrini.home> <20030418002448.GH10848@cicely9.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030418002448.GH10848@cicely9.cicely.de> User-Agent: Mutt/1.4.1i 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 08:00:00 -0000 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 :-( >> # fdisk /dev/da0 >> ******* Working on device /dev/da0 ******* >> parameters extracted from in-core disklabel are: >> cylinders=15 heads=64 sectors/track=32 (2048 blks/cyl) >> >> parameters to be used for BIOS calculations are: >> cylinders=15 heads=64 sectors/track=32 (2048 blks/cyl) >> >> fdisk: invalid fdisk partition table found >> fdisk: /boot/mbr: length must be a multiple of sector size > But this seems to be a real problem. > Either the media is not fdisk'ed or reading failed. I can access photo (read/delete/shot) using photo camera, so I think that CF is working. And even on a not partitioned media, dd should work (I think). # dd if=/dev/da0 | hd 0+0 records in 0+0 records out 0 bytes transferred in 0.010928 secs (0 bytes/sec) > Do you get any kernel messages? No. Nothing but attach/detach device. -----8<----- Apr 17 20:21:23 trudy kernel: ugen0: at uhub0 port 1 (addr 2) disconnected Apr 17 20:21:23 trudy kernel: ugen0: detached (forgot to kldload umass, removed usb, loaded, reattached) 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) Apr 17 20:29:48 trudy ntpd[189]: time reset 0.390596 s Apr 17 20:50:23 trudy ntpd[189]: time reset -0.450258 s Apr 18 03:35:36 trudy kernel: umass0: at uhub0 port 1 (addr 2) disconnected Apr 18 03:35:36 trudy kernel: (da0:umass-sim0:0:0:0): lost device Apr 18 03:35:36 trudy kernel: (da0:umass-sim0:0:0:0): removing device entry Apr 18 03:35:36 trudy kernel: umass0: detached (going to sleep...) -----8<----- I'm at work now, but I can rebuild/add patches this night ;) Thanks for yor time. -- Riccardo.