From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 00:53:56 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E5A516A41F for ; Mon, 26 Sep 2005 00:53:56 +0000 (GMT) (envelope-from mi@symbion.zaytman.com) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE90643D49 for ; Mon, 26 Sep 2005 00:53:55 +0000 (GMT) (envelope-from mi@symbion.zaytman.com) Received: from 207-172-77-9.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com (HELO symbion.zaytman.com) ([207.172.77.9]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Sep 2005 20:53:54 -0400 X-IronPort-AV: i="3.97,144,1125892800"; d="scan'208"; a="87498281:sNHT24390344" Received: from symbion.zaytman.com (localhost [127.0.0.1]) by symbion.zaytman.com (8.13.1/8.13.1) with ESMTP id j8Q0rrAn043849 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 25 Sep 2005 20:53:53 -0400 (EDT) (envelope-from mi@symbion.zaytman.com) Received: (from mi@localhost) by symbion.zaytman.com (8.13.1/8.13.1/Submit) id j8Q0rrJJ043848 for questions@FreeBSD.org; Sun, 25 Sep 2005 20:53:53 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200509260053.j8Q0rrJJ043848@symbion.zaytman.com> To: questions@FreeBSD.org Date: Sun, 25 Sep 2005 20:53:52 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: Subject: can not mount a large FAT32 filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mi@aldan.algebra.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 00:53:56 -0000 Hello! I have a 4Gb flash-card with FAT32 filesystem. Whenever I try to mount it (on 5.x and 4.x) I get: msdos: /dev/da0s1: Invalid argument and the kernel complains: da0: reading primary partition table: error reading fsbn 0 mountmsdosfs(): bad FAT32 filesystem The method works with smaller cards in the same card-reader. This card works fine inside the camera, and I can get the pictures via. PTP protocol using gphoto. Fdisk da0 says: ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=7936 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=7936 heads=16 sectors/track=63 (1008 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 12,(DOS or Windows 95 with 32 bit FAT, LBA) start 63, size 7998417 (3905 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 766/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Disklabel da0 says: # /dev/da0: type: SCSI disk: SanDisk label: ImageMate II flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 7936 sectors/unit: 7999489 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 7999489 0 unused 0 0 # (Cyl. 0 - 7936*) Looks like OpenBSD discussed something similar 5 years ago: http://monkey.org/openbsd/archive/tech/0002/msg00167.html Any suggestions? I really hate using PTP via the camera to transfer pictures from this device, and I'd like to be able to store other things there in addition to pictures. Thanks! -mi