2.3.51 msdos/fat bug

From: Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Date: Thu Apr 27 2000 - 05:04:35 EST


trying to modify a msdos floppy image in ramdisk (adding new files)
using the following commands

        cp boot.dsk /dev/ram0
        mount -t msdos /dev/ram0 /mnt
        ll /mnt
        cp -a /c/dev/ncr/*.sys /mnt

I got the this kernel error:

MSDOS: Hardware sector size is 1024
kernel BUG at file.c:69!

invalid operand: 0000
CPU: 0
EIP: 0010:[<c8811421>]
EFLAGS: 00010286
eax: 00000019 ebx: 00000000 ecx: 0000001f edx: c466e460
esi: 00000001 edi: c692f940 ebp: c7ce9040 esp: c3cd1e48
ds: 0018 es: 0018 ss: 0018
Process cp (pid: 15624, stackpage=c3cd1000)
Stack: c8814a6a c8814bea 00000045 00000000 00000800 00000000 c3cd1ea0 c012db7c
       c692f940 00000001 c7ce9040 00000001 00000400 00000400 00000000 00000000
       c2a5c000 c7ce90c0 00000400 00000001 00000400 c7ce9040 00003000 c012cf64
Call Trace: [<c8814a6a>] [<c8814bea>] [<c012db7c>] [<c012cf64>] [<c012e149>] [<c88113c4>] [<c8812cce>]
       [<c88113c4>] [<c0123e1b>] [<c88114fe>] [<c88114d5>] [<c012b60c>] [<c010ae64>]
Code: 0f 0b 83 c4 0c b8 fb ff ff ff eb 74 8d 76 00 8b 87 9c 00 00

>>EIP: c8811421 <fat_get_block+5d/e4>
Trace: c8814a6a <detect_cvf+70a/1c00>
Trace: c8814bea <detect_cvf+88a/1c00>
Trace: c012db7c <breada+a20/c00>
Trace: c012cf64 <getblk+ac/114>
Trace: c012e149 <cont_prepare_write+1c9/28c>
Trace: c88113c4 <fat_get_block+0/e4>
Trace: c8812cce <fat_prepare_write+26/2c>
Trace: c88113c4 <fat_get_block+0/e4>
Code: c8811421 <fat_get_block+5d/e4> 00000000 <_EIP>: <===
Code: c8811421 <fat_get_block+5d/e4> 0: 0f 0b ud2a <===
Code: c8811423 <fat_get_block+5f/e4> 2: 83 c4 0c addl $0xc,%esp
Code: c8811426 <fat_get_block+62/e4> 5: b8 fb ff ff ff movl $0xfffffffb,%eax
Code: c881142b <fat_get_block+67/e4> a: eb 74 jmp c88114a1 <fat_get_block+dd/e4>
Code: c881142d <fat_get_block+69/e4> c: 8d 76 00 leal 0x0(%esi),%esi
Code: c8811430 <fat_get_block+6c/e4> f: 8b 87 9c 00 00 00 movl 0x9c(%edi),%eax

76 warnings and 1 error issued. Results may not be reliable.

Harald

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:12 EST