From owner-freebsd-current Tue Aug 7 4:21:18 2001 Delivered-To: freebsd-current@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id A848E37B401 for ; Tue, 7 Aug 2001 04:21:10 -0700 (PDT) (envelope-from khetan@za.uu.net) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 15U4v5-00015C-00 for current@freebsd.org; Tue, 07 Aug 2001 13:21:07 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id NAA10053 for ; Tue, 7 Aug 2001 13:21:06 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 10020; Tue Aug 7 13:20:41 2001 Received: from bofh.fw.uunet.co.za (bofh.fw.uunet.co.za [172.16.3.35]) by kg.fw.uunet.co.za (Postfix) with ESMTP id 64D1845302 for ; Tue, 7 Aug 2001 13:20:30 +0200 (SAST) Received: by bofh.fw.uunet.co.za (Postfix, from userid 1000) id DCB325C21; Tue, 7 Aug 2001 13:19:10 +0200 (SAST) Received: from localhost (localhost [127.0.0.1]) by bofh.fw.uunet.co.za (Postfix) with ESMTP id C2CF51E90 for ; Tue, 7 Aug 2001 13:19:10 +0200 (SAST) Date: Tue, 7 Aug 2001 13:18:55 +0200 (SAST) From: Khetan Gajjar X-Sender: khetan@bofh.fw.uunet.co.za To: current@freebsd.org Subject: msdosfs borked ? Message-ID: X-Cell: +27 82 416 0160 X-URL: http://khetan.gajjar.co.za/ X-Behaviour: BOFH X-ASR-Behaviour: Righteous Bastard with a finger on The Switch X-PGP-KeyID: 0x806AD0D9 X-PGP-Fingerprint: 19 29 68 D5 74 2B 6E E5 1B 88 45 3B 29 0B 8A 27 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. Just upgraded my system today to the latest -current, after my last venture into -current in May. Has MS-Dos filesystem support been broken ? I can't see any commits or notes in UPDATING, and hadn't read anything in -current about it. I am running devfs. Debugging output below : FreeBSD bofh.fw.uunet.co.za 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Aug 7 12:21:52 SAST 2001 khetan@bofh.fw.uunet.co.za:/usr/src/sys/i386/compile/BOFH4 i386 ad0: 4126MB [8944/15/63] at ata0-master UDMA33 ad1: DMA limited to UDMA33, non-ATA66 compliant cable ad1: 19574MB [39770/16/63] at ata1-master UDMA33 The disk I'm interesting in mounting is ad1. 2=[root@bofh] ~# ls -al /dev/ad* crw-r----- 1 root operator 116, 0x00010002 Aug 7 13:00 /dev/ad0 crw-r----- 1 root operator 116, 0x00020000 Aug 7 15:00 /dev/ad0s1a crw-r----- 1 root operator 116, 0x00020001 Aug 7 13:00 /dev/ad0s1b crw-r----- 1 root operator 116, 0x00020004 Aug 7 15:00 /dev/ad0s1e crw-r----- 1 root operator 116, 0x00020005 Aug 7 15:00 /dev/ad0s1f crw-r----- 1 root operator 116, 0x00020006 Aug 7 15:00 /dev/ad0s1g crw-r----- 1 root operator 116, 0x0001000a Aug 7 13:00 /dev/ad1 crw-r----- 1 root operator 116, 10 Aug 7 13:00 /dev/ad1c Fdisk reports : 3=[root@bofh] ~# fdisk ad1 ******* Working on device /dev/ad1 ******* parameters extracted from in-core disklabel are: cylinders=2495 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2495 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 12,(DOS or Windows 95 with 32 bit FAT, LBA) start 63, size 40082112 (19571 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: 5=[root@bofh] ~# mount_msdosfs /dev/ad1 /mnt/mnt mount_msdosfs: /dev/ad1: Invalid argument 6=[root@bofh] ~# kldstat Id Refs Address Size Name 1 10 0xc0100000 262588 kernel 2 1 0xc1571000 7000 if_fxp.ko 3 1 0xc1579000 14000 miibus.ko 4 1 0xc15c1000 40000 nfs.ko 5 1 0xc1625000 1a000 usb.ko 6 1 0xc1657000 4000 logo_saver.ko 7 1 0xc1663000 4000 md.ko 8 1 0xc166d000 8000 cd9660.ko 11 1 0xc17db000 d000 msdosfs.ko Khetan Gajjar. --- khetan@za.uu.net * Direct -> +27 21 658 8723 UUNET South Africa * Mobile -> +27 82 416 0105 http://www.za.uu.net * CSC -> 08600 UUNET (88638) Systems Team * PGP Key -> kg+pgp@za.uu.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message