From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 19:35:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5D00106566C for ; Sun, 20 Feb 2011 19:35:42 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out9.libero.it (cp-out9.libero.it [212.52.84.109]) by mx1.freebsd.org (Postfix) with ESMTP id 2D5938FC14 for ; Sun, 20 Feb 2011 19:35:41 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B0201.4D616D0C.0115,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Received: from soth.ventu (151.51.49.89) by cp-out9.libero.it (8.5.133) id 4D35A95304CC9BFB for freebsd-questions@freebsd.org; Sun, 20 Feb 2011 20:35:40 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.4) with ESMTP id p1KJZYNx064917 for ; Sun, 20 Feb 2011 20:35:34 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4D616D06.4000905@netfence.it> Date: Sun, 20 Feb 2011 20:35:34 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.13) Gecko/20101211 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.1.2.13 Subject: umass troubles again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 19:35:42 -0000 Hello. I've a 4GB USB memory which is formatted as a single FAT32 partition. When I insert it, I get: > root: Unknown USB device: vendor 0x1e3d product 0x2092 bus uhub5 > kernel: ugen5.3: at usbus5 > kernel: umass1: on usbus5 > kernel: umass1: SCSI over Bulk-Only; quirks = 0x0000 > kernel: umass1:3:1:-1: Attached to scbus3 > kernel: da6 at umass-sim1 bus 1 scbus3 target 0 lun 0 > kernel: da6: Removable Direct Access SCSI-2 device > kernel: da6: 40.000MB/s transfers > kernel: da6: 3855MB (7895040 512 byte sectors: 255H 63S/T 491C) > kernel: GEOM: da6: geometry does not match label (16h,63s != 255h,63s). > kernel: GEOM: da6: media size does not match label. > # ls /dev/|grep da6 > da6 > da6a (I'd expect da6s1, instead of da6a...) > # fdisk /dev/da6 > ******* Working on device /dev/da6 ******* > parameters extracted from in-core disklabel are: > cylinders=491 heads=255 sectors/track=63 (16065 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=491 heads=255 sectors/track=63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 6 (0x06),(Primary DOS, 16 bit FAT (>= 32MB)) > start 63, size 7887852 (3851 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 490/ head 254/ sector 63 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > # mount -t msdosfs /dev/da6a /mnt/ > # df > Filesystem 1K-blocks Used Avail Capacity Mounted on > ... > /dev/da6a 399904 4048 395856 1% /mnt Now... isn't that a tenfold error? > # df -h > Filesystem Size Used Avail Capacity Mounted on > ... > /dev/da6a 391M 4.0M 387M 1% /mnt The partition should be 4GB, not 400MB... Any hint on this? System is 8.1-RELEASE-p2/i386. bye & Thanks av.