FAT32 file system not mounting on IA-64
Has anyone tried using a FAT32 file system on an IA-64 Linux box? While this works on my IA-32 system (kernel 2.4.0-test9), this fails on my IA-64 system (same kernel).
(use fdisk to make one big sdb1 partition, 18GB or so) mkdosfs -F 32 /dev/sdb1
mount /dev/sdb1 /mnt/fat32-1
On IA-64, I get the following error:
Directory 1: bad FAT (from linux/fs/fat/inode.c)
File system panic (dev 08:11)
FAT error (from linux/fs/fat/misc.c)
File system has been set read-only.
If the file system previously existed, after the (read-only) mount, I can only see garbage. I suspect that the on-disk data structures as defined in the kernel are not 64-bit clean, but that's just a guess. Any pointers are appreciated.
Thanks,
Matt Domsch
Dell Enterprise Systems Group
Linux Development Team
Matt,
I haven't had any trouble with FAT32. Make sure that VFAT support is in your kernel and try
mount -t vfat /dev/sdb1 /mnt/$(SOME_DIR)
This has always worked in my case. Hope this helps, thanks,
Chris
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, November 17, 2000 3:40 PM
To: [email protected]; [email protected]
Subject: [Linux-ia64] FAT32 file system not mounting on IA-64
Has anyone tried using a FAT32 file system on an IA-64 Linux box? While this works on my IA-32 system (kernel 2.4.0-test9), this fails on my IA-64 system (same kernel).
(use fdisk to make one big sdb1 partition, 18GB or so) mkdosfs -F 32 /dev/sdb1
mount /dev/sdb1 /mnt/fat32-1
On IA-64, I get the following error:
Directory 1: bad FAT (from linux/fs/fat/inode.c)
File system panic (dev 08:11)
FAT error (from linux/fs/fat/misc.c)
File system has been set read-only.
If the file system previously existed, after the (read-only) mount, I can only see garbage. I suspect that the on-disk data structures as defined in the kernel are not 64-bit clean, but that's just a guess. Any pointers are appreciated.
Thanks,
Matt Domsch
Dell Enterprise Systems Group
Linux Development Team
_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64
Chris, thanks for investigating further. Glad to hear you can reproduce the problem there.
w/o the -F 32, it makes a FAT16 file system, which supports long file names and the vfat type, just as Windows NT FAT16 file systems support long file
names. If you mount with: mount -ofat or with -ofat2, you'll see it
force the choice, and then you can see if the kernel thinks it's a FAT16 or FAT32.
Thanks,
Matt
-----Original Message-----
From: Ahna, Christopher J [mailto:[email protected]]
Sent: Friday, November 17, 2000 7:25 PM
Subject: RE: [Linux-ia64] FAT32 file system not mounting on IA-64
Matt,
I looked a little more and think you're probably onto something. I believe there is a problem with 'mkdosfs -F 32'. I ran this program on a 100MB file I built with dd and got the errors you reported when I tried to mount it. Doing the same thing without the '-F 32' switch built a mountable filesystem which looks for all the world like FAT32 (for example, it doesn't have a problem with arbitrarily long filenames and mounted successfully with 'mount -t vfat').
Somebody might want to look into this if they have time. Thanks,
Chris