From owner-freebsd-current@FreeBSD.ORG Thu Apr 17 12:16:50 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 5AB3E37B401 for ; Thu, 17 Apr 2003 12:16:50 -0700 (PDT) Received: from mail.dada.it (mail2.dada.it [195.110.100.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 45DB143F75 for ; Thu, 17 Apr 2003 12:16:43 -0700 (PDT) (envelope-from riccardo@torrini.org) Received: (qmail 6641 invoked from network); 17 Apr 2003 19:16:39 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 17 Apr 2003 19:16:39 -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 h3HJGc2n000703 for ; Thu, 17 Apr 2003 21:16:38 +0200 (CEST) (envelope-from riccardo@trudy.torrini.home) Received: (from riccardo@localhost) by trudy.torrini.home (8.12.9/8.12.9/Submit) id h3HJGbnt000702 for freebsd-current@FreeBSD.ORG; Thu, 17 Apr 2003 21:16:37 +0200 (CEST) Date: Thu, 17 Apr 2003 21:16:37 +0200 From: Riccardo Torrini To: freebsd-current@FreeBSD.ORG Message-ID: <20030417191637.GA505@trudy.torrini.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: 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: Thu, 17 Apr 2003 19:16:50 -0000 (wrapping long lines) -----8<-----[ /var/log/messages ]-----8<----- Apr 17 20:21:52 trudy kernel: \ umass0: DataFab Systems Inc. USB CF, rev 1.10/3.06, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: \ Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 15MB (31488 512 byte sectors: 64H 32S/T 15C) -----8<----- # usbdevs -d -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), \ Intel(0x0000), rev 1.00 uhub0 port 1 addr 2: full speed, power 100 mA, config 1, USB CF(0xb000), \ DataFab Systems Inc.(0x07c4), rev 3.06 umass0 port 2 powered # 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 # mount -tmsdosfs /dev/da0 /dist msdosfs: /dev/da0: Invalid argument # ls -ln /sbin/mount_msdos* -r-xr-xr-x 1 0 0 429072 Apr 1 18:57 /sbin/mount_msdosfs # ident /sbin/mount_msdosfs /sbin/mount_msdosfs: [...] $FreeBSD: src/sbin/mount_msdosfs/mount_msdosfs.c,v 1.24 \ 2002/08/03 16:03:19 mux Exp $ [...] # 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 # dd if=/dev/da0 | hd 0+0 records in 0+0 records out 0 bytes transferred in 0.010928 secs (0 bytes/sec) How it is supposed to work? I'm unable to access my CF (tryed also on 4.8-STABLE w/out success) and after recompiling world (29 march) also gphoto stopped to work. Something related to usb device? I'm missing something obvious? Maybe non all CF are msdos formatted/partitioned? If it can make any difference is a SMP system, with SCHED_4BSD on a ASUS P2B-DS (dual pIII/500). I loaded umass0 before connecting device. CF is from a Canon S30 and I'm unable to access my photos after last world :-( -- Riccardo.