From owner-freebsd-questions@FreeBSD.ORG Thu Jul 22 20:45:32 2004 Return-Path: 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 DC99616A4CE for ; Thu, 22 Jul 2004 20:45:32 +0000 (GMT) Received: from ms-smtp-01-eri0.socal.rr.com (ms-smtp-01-qfe0.socal.rr.com [66.75.162.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id B391443D48 for ; Thu, 22 Jul 2004 20:45:32 +0000 (GMT) (envelope-from hoe-waa@hawaii.rr.com) Received: from ms-mss-01 ([10.10.4.12])i6MKjU6j004726 for ; Thu, 22 Jul 2004 13:45:30 -0700 (PDT) Received: from socal.rr.com (localhost [127.0.0.1]) by ms-mss-01.socal.rr.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I1900AU1TNTFW@ms-mss-01.socal.rr.com> for freebsd-questions@freebsd.org; Thu, 22 Jul 2004 13:45:30 -0700 (PDT) Received: from [10.10.6.205] (Forwarded-For: [68.8.243.244]) by ms-mss-01.socal.rr.com (mshttpd); Thu, 22 Jul 2004 10:45:29 -1000 Date: Thu, 22 Jul 2004 10:45:29 -1000 From: hoe-waa@hawaii.rr.com Message-id: <1674bd41679fd7.1679fd71674bd4@socal.rr.com> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.21 (built Sep 8 2003) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: Dinesh Nair cc: freebsd-questions@freebsd.org Subject: Re: changing card in a reader (revisited) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hoe-waa@hawaii.rr.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 20:45:33 -0000 From: hoe-waa@hawaii.rr.com Date: Tuesday, July 20, 2004 9:25 am > From: hoe-waa@hawaii.rr.com > Date: Tuesday, July 20, 2004 8:58 am > > > > From: Dinesh Nair > > Date: Tuesday, July 20, 2004 7:44 am > > > > > > > > what does '/sbin/fdisk da2' say ? > > > > > > Regards, > > > > > > Aloha and Mahalo > > > > I do get something different displayed with fdisk. > > > > > > > > hp# mount_msdosfs /dev/da2s1 /mnt/olympus > > hp# /sbin/fdisk da2 > > ******* Working on device /dev/da2 ******* > > parameters extracted from in-core disklabel are: > > cylinders=7 heads=64 sectors/track=32 (2048 blks/cyl) > > > > parameters to be used for BIOS calculations are: > > cylinders=7 heads=64 sectors/track=32 (2048 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 1 (0x01),(Primary DOS with 12 bit FAT) > > start 25, size 15975 (7 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 10; > > end: cyl 249/ head 3/ sector 16 > > The data for partition 2 is: > > > > The data for partition 3 is: > > > > The data for partition 4 is: > > > > > > hp# umount /mnt/olympus > > > > > > > > hp# mount_msdosfs /dev/da2s1 /mnt/olympus > > mount_msdosfs: /dev/da2s1: Invalid argument > > hp# /sbin/fdisk da2 > > ******* Working on device /dev/da2 ******* > > parameters extracted from in-core disklabel are: > > cylinders=125 heads=64 sectors/track=32 (2048 blks/cyl) > > > > parameters to be used for BIOS calculations are: > > cylinders=125 heads=64 sectors/track=32 (2048 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 'big' DOS (>= 32MB)) > > start 47, size 255953 (124 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 16; > > end: cyl 499/ head 15/ sector 32 > > The data for partition 2 is: > > > > The data for partition 3 is: > > > > The data for partition 4 is: > > > > hp# > > > > Is it the "Primary 'big" that's messing me up? > > > > Robert > > > Forfeiting 6 karma points for responding to my own post. > > Being curious, I unplugged and replugged the USB cable. > I then reran fdisk with the 128MB card mounted. > > hp# ls -l /dev/da* > crw-r----- 1 root operator 4, 27 Jul 19 06:19 /dev/da0 > crw-r----- 1 root operator 4, 28 Jul 19 06:19 /dev/da1 > crw-r----- 1 root operator 4, 29 Jul 19 06:19 /dev/da2 > crw-r----- 1 root operator 4, 30 Jul 19 06:19 /dev/da2s1 > crw-r----- 1 root operator 4, 31 Jul 19 06:19 /dev/da3 > crw-r----- 1 root operator 4, 24 Jul 19 06:19 /dev/da4 > crw-rw---- 1 root wheel 4, 26 Jul 19 06:19 /dev/da4s1 > hp# mount_msdosfs /dev/da2s1 /mnt/olympus > hp# /sbin/fdisk da2 > ******* Working on device /dev/da2 ******* > parameters extracted from in-core disklabel are: > cylinders=125 heads=64 sectors/track=32 (2048 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=125 heads=64 sectors/track=32 (2048 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 'big' DOS (>= 32MB)) > start 47, size 255953 (124 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 16; > end: cyl 499/ head 15/ sector 32 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > > It looks the same! > > Robert > I guess I lost a lot more than 6 karma points! It's been two days since my last post and I haven't received any more responses. Please permit me to ask if there is anyone reading this list who has this working. Specifically, the ability to replace a card of a different size in a card reader and be able to mount the new card. If I have violated any Kapu or in any other way did a bad. let me know and I will strive to do better in the future. Mahalo Robert