mount vfat ok but FAIL to access files, fc2/fc3

Patrick Chiang patrick at fany.info
Tue Nov 9 21:14:23 UTC 2004


Hi everybody,

I had this problem for a long time,
I hope FC3 can solve this problem, but unfortunatelly...

Ok, my question is,
on my FC2/FC3 I used to mount a vfat(FAT32) partition by this command,

# mount -t vfat /dev/hdb1 /mnt/data/

And access any files without problems.

However, after a kernel upgrade (I can't remember exactly which version,
maybe 2.6.7?) I cannot access some files/folders on vfat, even I can
mount that paritition without any error messages.

If I try to do some simple tasks, like

cp -r /mnt/data/aaa/ /tmp or ls

a "Segmentation fault" message will pop up, or the command line would be
freezed.
Checked /var/log/messages, I found these information :

----- Start of /var/log/message---
kernel: Unable to handle kernel paging request at virtual address
2b2a2955
kernel:  printing eip:
kernel: 021ba898
kernel: *pde = 00000000
kernel: Oops: 0000 [#1]
kernel: Modules linked in: vfat fat i915 autofs4 i2c_dev i2c_core
ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables dm_mod button
battery ac md5 ipv6 uhci_hcd ehci_hcd hw_random snd_intel8x0
snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
snd_page_alloc
gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore
8139too mii floppy ext3 jbd
kernel: CPU:    0
kernel: EIP:    0060:[<021ba898>]    Not tainted VLI
kernel: EFLAGS: 00010206   (2.6.9-1.667)
kernel: EIP is at uni2char+0x28/0x41
kernel: eax: 0000002d   ebx: 0a1d5d2d   ecx: 2b2a2928   edx: 0000008a
kernel: esi: 0a1d5ddb   edi: 0a336018   ebp: 02359540   esp: 0a1d5d18
kernel: ds: 007b   es: 007b   ss: 0068
kernel: Process cp (pid: 3234, threadinfo=0a1d5000 task=0a3c72f0)
kernel: Stack: 0a1d5ddb 00008a2d 222ebdc1
kernel: Stack.....(A lot of data about "Stack")
<snip>
kernel:  [<02179970>] do_fcntl+0x19e/0x207
kernel:  Bad EIP value.
----- End of /var/log/message---

On FC2 I kept using older kernel, like 2.6.4 to mount this partition;
This's my workground.
but now I have upgraded my pc, so my old approach can't work anymore.
Hopefully someone can give me some pointers. TIA :)

===Background Information===
FC3 with kernel  2.6.9-1.667
/home,/ and /boot are ext3 , /mnt/data is fat32.
Will get the same trouble by either root or a ordinary account. 
Had checked HD on windowsXP, no bad sectors were found.
=================

Patrick




More information about the fedora-list mailing list