lkml.org 
[lkml]   [2000]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectmsdos fs with 2048 byte sektor size broken!
Date
From

This is a repost of a bug-report from june. It is still valid
for kernel 2.4.0-test6


[1.] One line summary of the problem:

2048byte sektorsize msdos support is broken. You need this for
all kinds of MO-drives (e.g. Fujitsu DynaMO640)

[2.] Full description of the problem/report:

trying to read a file from a vfat/msdos mounted 640MB MO-drive
(it has 2048b sektor size) gives a Segmentation fault

[3.] Keywords (i.e., modules, networking, kernel):

msdos, vfat, mo-drive, 2048b sektor-size

[4.] Kernel version (from /proc/version):

Linux version 2.4.0-test1 (root@loriot) (gcc version 2.95.2 20000313 (Debian GNU
/Linux)) #2 Mon Jun 12 01:18:36 UTC 2000

[5.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/oops-tracing.txt)

No Oops, but syslog:

Jun 13 22:01:30 loriot kernel: VFS: Disk change detected on device sd(8,16)
Jun 13 22:01:30 loriot kernel: SCSI device sdb: hdwr sector= 2048 bytes. Sectors
= 310352 [606 MB] [0.6 GB]
Jun 13 22:01:30 loriot kernel: sdb: Write Protect is off
Jun 13 22:01:31 loriot kernel: sdb: sdb1 sdb2 sdb3 sdb4
Jun 13 22:01:31 loriot kernel: MSDOS: Hardware sector size is 2048
Jun 13 22:01:47 loriot kernel: Unable to handle kernel NULL pointer dereference
at virtual address 00000000
Jun 13 22:01:47 loriot kernel: printing eip:
Jun 13 22:01:47 loriot kernel: 00000000
Jun 13 22:01:47 loriot kernel: *pde = 00000000
Jun 13 22:01:47 loriot kernel: Oops: 0000
Jun 13 22:01:47 loriot kernel: CPU: 0
Jun 13 22:01:47 loriot kernel: EIP: 0010:[usbdevfs_cleanup+0/52]
Jun 13 22:01:47 loriot kernel: EFLAGS: 00010286
Jun 13 22:01:47 loriot kernel: eax: 00000000 ebx: c52a30e0 ecx: 00001000 e
dx: c52a3100
Jun 13 22:01:47 loriot kernel: esi: bfffe7c4 edi: 00000000 ebp: c52a30e0 e
sp: c50eff80
Jun 13 22:01:47 loriot kernel: ds: 0018 es: 0018 ss: 0018
Jun 13 22:01:47 loriot kernel: Process cp (pid: 468, stackpage=c50ef000)
Jun 13 22:01:47 loriot kernel: Stack: c0155a8d c52a30e0 bfffe7c4 00001000 c52a31
00 c52a30e0 ffffffea c01307ac
Jun 13 22:01:47 loriot kernel: c52a30e0 bfffe7c4 00001000 c52a3100 c50ee0
00 00000002 bfffe7c4 bffff86c
Jun 13 22:01:47 loriot kernel: c010b05c 00000003 bfffe7c4 00001000 000000
02 bfffe7c4 bffff86c 00000003
Jun 13 22:01:47 loriot kernel: Call Trace: [fat_file_read+45/52] [sys_read+192/2
24] [system_call+52/56]
Jun 13 22:01:47 loriot kernel: Code: Bad EIP value.


[6.] A small shell script or example program which triggers the
problem (if possible)

loriot:/root# mount -tmsdos /dev/sdb /mnt
loriot:/root# cp /mnt/foo.bar .
Segmentation fault
loriot:/root# umount /mnt
umount: /mnt: device is busy


[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)

Linux loriot 2.4.0-test1 #2 Mon Jun 12 01:18:36 UTC 2000 i686 unknown
Kernel modules 2.3.9
Gnu C 2.95.2
Binutils 2.9.5.0.31
Linux C Library 2.1.3
Dynamic linker ldd: version 1.9.11
Procps 2.0.6
Mount 2.10f
Net-tools 2.05
Kbd 0.99
Sh-utils 2.0
Modules Loaded soundcore

[7.2.] Processor information (from /proc/cpuinfo):
[7.3.] Module information (from /proc/modules):
[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
[7.5.] PCI information ('lspci -vvv' as root)
[7.6.] SCSI information (from /proc/scsi/scsi)

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: FUJITSU Model: MCD3130SS Rev: 0040
Type: Optical Device ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: PLEXTOR Model: CD-R PX-W124TS Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02

[7.7.] Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant):
[X.] Other notes, patches, fixes, workarounds:







---
Henning Weber weber@th.physik.uni-frankfurt.de
Institut fuer Theoretische Physik
J.W.Goethe Universitaet
Robert-Mayer-Str. 8-10
D-60054 Frankfurt am Main
Germany (Voice: [+49]-69-798-28844, Fax: -28350)



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.030 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site