public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] FAT32 file system not mounting on IA-64
@ 2000-11-17 23:40 Matt_Domsch
  2000-11-18  0:17 ` Ahna, Christopher J
  2000-11-18  2:06 ` Matt_Domsch
  0 siblings, 2 replies; 3+ messages in thread
From: Matt_Domsch @ 2000-11-17 23:40 UTC (permalink / raw)
  To: linux-ia64

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [Linux-ia64] FAT32 file system not mounting on IA-64
  2000-11-17 23:40 [Linux-ia64] FAT32 file system not mounting on IA-64 Matt_Domsch
@ 2000-11-18  0:17 ` Ahna, Christopher J
  2000-11-18  2:06 ` Matt_Domsch
  1 sibling, 0 replies; 3+ messages in thread
From: Ahna, Christopher J @ 2000-11-18  0:17 UTC (permalink / raw)
  To: linux-ia64

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: Matt_Domsch@Dell.com [mailto:Matt_Domsch@Dell.com]
Sent: Friday, November 17, 2000 3:40 PM
To: linux-ia64@linuxia64.org; chaffee@cs.berkeley.edu
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
Linux-IA64@linuxia64.org
http://lists.linuxia64.org/lists/listinfo/linux-ia64



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [Linux-ia64] FAT32 file system not mounting on IA-64
  2000-11-17 23:40 [Linux-ia64] FAT32 file system not mounting on IA-64 Matt_Domsch
  2000-11-18  0:17 ` Ahna, Christopher J
@ 2000-11-18  2:06 ` Matt_Domsch
  1 sibling, 0 replies; 3+ messages in thread
From: Matt_Domsch @ 2000-11-18  2:06 UTC (permalink / raw)
  To: 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\x16  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:christopher.j.ahna@intel.com]
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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-18  2:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-17 23:40 [Linux-ia64] FAT32 file system not mounting on IA-64 Matt_Domsch
2000-11-18  0:17 ` Ahna, Christopher J
2000-11-18  2:06 ` Matt_Domsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox