Date: Tue, 7 Aug 2001 13:18:55 +0200 (SAST) From: Khetan Gajjar <khetan@za.uu.net> To: current@freebsd.org Subject: msdosfs borked ? Message-ID: <Pine.BSF.4.21.0108071314560.3102-100000@bofh.fw.uunet.co.za>
next in thread | raw e-mail | index | archive | help
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 <ST34311A> [8944/15/63] at ata0-master UDMA33 ad1: DMA limited to UDMA33, non-ATA66 compliant cable ad1: 19574MB <IBM-DPTA-372050> [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: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108071314560.3102-100000>