[BUG] in FAT code (file.c:79)

From: Chris Butler (chrisb@sandy.force9.co.uk)
Date: Thu Jun 15 2000 - 16:45:04 EST


[please CC me on replies]

Hi,

I'm experiencing the following bug when trying to access my FAT filesystems
over the network using samba (not yet had it happen locally, but I don't use
the FAT fs much locally).

System is an SMP Celeron machine, currently running 2.4.0-test1-ac18, although
I've had this problem since 2.3.99-pre<something>.

The message I get on the console is:

kernel BUG at file.c:79!

followed by the following oops (ksymoops output):

invalid operand: 0000
CPU: 1
EIP: 0010:[<c902a5ab>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010286
eax: 00000019 ebx: 00000000 ecx: ffffffff edx: c02a550c
esi: 00000140 edi: c49c3440 ebp: c569bd60 esp: c4e95e2c
ds: 0018 es: 0018 ss: 0018
Process smbd (pid: 561, stackpage=c4e95000)
Stack: c902dffd c902e2a0 0000004f 00000140 00000200 00028000 c4e95e84 c013907c
       c49c3440 00000140 c569bd60 00000001 00000000 00000000 00028000 00000000
       c2a75000 c569bd60 00000200 00000140 00000000 c569bd60 c01f59d7 c5437be0
Call Trace: [<c902dffd>] [<c902e2a0>] [<c013907c>] [<c01f59d7>] [<c01f6560>] [<c013962e>] [<c902a4e4>]
       [<c902beae>] [<c902a4e4>] [<c012cb96>] [<c01dbff1>] [<c902a61e>] [<c902a5f5>] [<c0135ffe>] [<c010b44c>]
Code: 0f 0b 83 c4 0c 0f b7 47 28 66 89 45 0c 89 5d 04 80 4d 18 30

>>EIP; c902a5ab <[fat]fat_get_block+c7/e4> <=====
Trace; c902dffd <[fat].rodata.start+81d/1b1a>
Trace; c902e2a0 <[fat].rodata.start+ac0/1b1a>
Trace; c013907c <__block_prepare_write+f4/208>
Trace; c01f59d7 <cleanup_rbuf+11b/154>
Trace; c01f6560 <tcp_recvmsg+7a4/9cc>
Trace; c013962e <cont_prepare_write+1ce/29c>
Trace; c902a4e4 <[fat]fat_get_block+0/e4>
Trace; c902beae <[fat]fat_prepare_write+26/2c>
Trace; c902a4e4 <[fat]fat_get_block+0/e4>
Trace; c012cb96 <generic_file_write+36e/538>
Trace; c01dbff1 <sock_recvmsg+3d/ac>
Trace; c902a61e <[fat]default_fat_file_write+22/5c>
Trace; c902a5f5 <[fat]fat_file_write+2d/34>
Trace; c0135ffe <sys_write+de/100>
Trace; c010b44c <system_call+34/38>
Code; c902a5ab <[fat]fat_get_block+c7/e4>
00000000 <_EIP>:
Code; c902a5ab <[fat]fat_get_block+c7/e4> <=====
   0: 0f 0b ud2a <=====
Code; c902a5ad <[fat]fat_get_block+c9/e4>
   2: 83 c4 0c add $0xc,%esp
Code; c902a5b0 <[fat]fat_get_block+cc/e4>
   5: 0f b7 47 28 movzwl 0x28(%edi),%eax
Code; c902a5b4 <[fat]fat_get_block+d0/e4>
   9: 66 89 45 0c mov %ax,0xc(%ebp)
Code; c902a5b8 <[fat]fat_get_block+d4/e4>
   d: 89 5d 04 mov %ebx,0x4(%ebp)
Code; c902a5bb <[fat]fat_get_block+d7/e4>
  10: 80 4d 18 30 orb $0x30,0x18(%ebp)

1 warning issued. Results may not be reliable.

-- 
Chris
<chrisb@sandy.force9.co.uk>

- 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 : Thu Jun 15 2000 - 21:00:36 EST