Segmentation Fault when accessing partition
torhans
no-reply-gw at fcp.homelinux.org
Wed Feb 23 11:32:45 UTC 2005
Hej All
I'm having a similar problem. I can read the root level of my vfat windows 2k partition and some directories below, using ls. However if I try to read the 'winnt' directory I first get a segmentation error and if I try again ls hangs.
What might be important is that the Win2k is a Japanese version.
The same thing happens if I try to use a usb-memory containing Japanese files names. On the other hand I have not experienced any problem with my usb hard drive (unfortunately I don't have it here right now)
I'm using custom kernel 2.6.10 (FC3 configuration + nsp32 scsi-driver)
'fdisk -l ' with the usb-memory pluged in gives
Disk /dev/hda: 40.0 GB, 40020664320 bytes
16 heads, 63 sectors/track, 77545 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 50793 25599546 c W95 FAT32 (LBA)
/dev/hda2 52659 52861 102312 83 Linux
/dev/hda3 50793 52658 939802+ 1c Hidden W95 FAT32 (LBA)
/dev/hda4 52862 77536 12436200 f W95 Ext'd (LBA)
/dev/hda5 52862 73473 10388416+ 83 Linux
/dev/hda6 73474 77536 2047720+ 82 Linux swap
Partition table entries are not in disk order
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 7296 58605088+ 83 Linux
/dev/sda2 7297 9121 14659312+ 83 Linux
/dev/sda3 9122 9729 4883760 83 Linux
Disk /dev/sdb: 1050 MB, 1050935296 bytes
129 heads, 20 sectors/track, 795 cylinders
Units = cylinders of 2580 * 512 = 1320960 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 796 1026293+ e W95 FAT16 (LBA)
Partition 1 has different physical/logical endings:
phys=(800, 128, 20) logical=(795, 75, 7)
When pluging in the usb-memory the /var/log/messages looks
Feb 23 19:40:23 hagi3363 kernel: usb 1-6: new high speed USB device using ehci_hcd and address 6
Feb 23 19:40:23 hagi3363 kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Feb 23 19:40:28 hagi3363 kernel: Vendor: I-O DATA Model: USB Flash Disk Rev: 4.70
Feb 23 19:40:28 hagi3363 kernel: Type: Direct-Access ANSI SCSI revision: 00
Feb 23 19:40:28 hagi3363 kernel: SCSI device sdb: 2052608 512-byte hdwr sectors (1051 MB)
Feb 23 19:40:28 hagi3363 kernel: sdb: Write Protect is off
Feb 23 19:40:28 hagi3363 kernel: sdb: assuming drive cache: write through
Feb 23 19:40:28 hagi3363 kernel: SCSI device sdb: 2052608 512-byte hdwr sectors (1051 MB)
Feb 23 19:40:28 hagi3363 kernel: sdb: Write Protect is off
Feb 23 19:40:28 hagi3363 kernel: sdb: assuming drive cache: write through
Feb 23 19:40:28 hagi3363 kernel: sdb: sdb1
Feb 23 19:40:28 hagi3363 kernel: Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
Feb 23 19:40:28 hagi3363 scsi.agent[11752]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6:1.0/host3/target3:0:0/3:0:0:0
Feb 23 19:41:06 hagi3363 kernel: Unable to handle kernel paging request at virtual address 0b0a097a
Feb 23 19:41:06 hagi3363 kernel: printing eip:
Feb 23 19:41:06 hagi3363 kernel: c01e1f88
Feb 23 19:41:06 hagi3363 kernel: *pde = 00000000
Feb 23 19:41:06 hagi3363 kernel: Oops: 0000 [#5]
Feb 23 19:41:06 hagi3363 kernel: Modules linked in: vfat fat i915 parport_pc lp parport autofs4 sunrpc microcode dm_mod video button battery ac md5 ipv6 usb_storage uhci_hcd ehci_hcd i2c_i801 i2c_core snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc e100 mii floppy ext3 jbd nsp32 sd_mod scsi_mod
Feb 23 19:41:06 hagi3363 kernel: CPU: 0
Feb 23 19:41:06 hagi3363 kernel: EIP: 0060:[<c01e1f88>] Not tainted VLI
Feb 23 19:41:06 hagi3363 kernel: EFLAGS: 00210202 (2.6.10-20050114)
Feb 23 19:41:06 hagi3363 kernel: EIP is at uni2char+0x28/0x50
Feb 23 19:41:06 hagi3363 kernel: eax: 00000072 ebx: f74d6272 ecx: 0b0a0908 edx: 00000082
Feb 23 19:41:06 hagi3363 kernel: esi: f74d620a edi: f74d6002 ebp: c03d8300 esp: e31cbe1c
Feb 23 19:41:06 hagi3363 kernel: ds: 007b es: 007b ss: 0068
Feb 23 19:41:06 hagi3363 kernel: Process ls (pid: 11806, threadinfo=e31cb000 task=c50360b0)
Feb 23 19:41:06 hagi3363 kernel: Stack: f74d620a 00008272 f8b5121e f74d620a f74d630a 00000000 0000000c f74d620a
Feb 23 19:41:06 hagi3363 kernel: e31cbf00 00000a53 f8b52907 c03d8300 e31cbed8 00000a52 00000008 e31cbeb0
Feb 23 19:41:06 hagi3363 kernel: c1000000 00000000 e9ca4422 e31cbf4e e31cbf50 e31cbf56 00e40001 00000000
Feb 23 19:41:06 hagi3363 kernel: Call Trace:
Feb 23 19:41:06 hagi3363 kernel: [<f8b5121e>] uni16_to_x8+0x4e/0xc0 [fat]
Feb 23 19:41:06 hagi3363 kernel: [<f8b52907>] fat_readdirx+0xd37/0xe60 [fat]
Feb 23 19:41:06 hagi3363 kernel: [<c01934c0>] filldir64+0x0/0xf0
Feb 23 19:41:06 hagi3363 kernel: [<f8b52a58>] fat_readdir+0x28/0x30 [fat]
Feb 23 19:41:06 hagi3363 kernel: [<c01934c0>] filldir64+0x0/0xf0
Feb 23 19:41:06 hagi3363 kernel: [<c01931d1>] vfs_readdir+0xc1/0xe0
Feb 23 19:41:06 hagi3363 kernel: [<c019361e>] sys_getdents64+0x6e/0xb6
Feb 23 19:41:06 hagi3363 kernel: [<c010391d>] sysenter_past_esp+0x52/0x75
Feb 23 19:41:06 hagi3363 kernel: Code: 90 90 90 56 0f b7 c0 89 d6 53 89 c2 c1 ea 08 85 c9 88 c3 b8 dc ff ff ff 7e 1e 0f b6 c2 8b 0c 85 00 80 3d c0 85 c9 74 0b 0f b6 c3 <0f> b6 04 08 84 c0 75 08 b8 ea ff ff ff 5b 5e c3 88 06 b8 01 00
--
This is an email sent via the webforum on http://fcp.homelinux.org
More information about the users
mailing list