Kernel Bug in file.c 69 (experimental kernel)

Michiel Brandenburg michielb at stack.nl
Mon Apr 10 17:32:34 GMT 2000


-----BEGIN PGP SIGNED MESSAGE-----

Hello samba team,

hi there when I try to copy, move to the Samba server it generates a
nice kernel bug.  I'm currently running samba-2.0.7-pre3 but
samba-2.0.6 also has this problem.  Reading files off the vfat share
works fine.  Also writing small ascii and binary files works, but if
the binary file is about 3 Mb or larger.
I'm currently running Linux-2.3.99-pre4 and samba worked fine with
2.2.14. (linux 2.3.49 and 2.3.50 also have this problem) The problem
is that since that kernel the /usr/src/linux/fs/fat/file.c has
changed
a lot.
Extra info: Running samba to access vfat share with vfat compiled
into the kernel.
I don't know if this is a problem caused by samba or
the experimental kernel.  So I would like to contact both the samba
and the kernel development team, and hopefully we'll get this bug
solved.

Can someone tell me what the problem is ?
Thanx ..
Michiel <michielb at stack.nl>
Log attacked, also attached file.c extract:

kernel BUG at file.c:69!
invalid operand: 0000
CPU:    0
EIP:    0010:[fat_get_block+126/288]
EFLAGS: 00010286
eax: 00000019   ebx: 00000000   ecx: c11bf720   edx: 0000001f
esi: c2099900   edi: c2e7d7c0   ebp: 00000000   esp: c28b7e28
ds: 0018   es: 0018   ss: 0018
Process smbd (pid: 18877, stackpage=c28b7000)
Stack: c020213b c020227f 00000045 00000000 00000200 0000050c c28b7e8c
00000000
       c013251e c2099900 00000000 c2e7d7c0 00000001 c2099900 00000000
0000050c
       00000000 c28b7f54 00000513 00000000 c28d5000 c2e7d7c0 00000200
00000000
Call Trace: [tvecs+35755/73400] [tvecs+36079/73400]
[__block_prepare_write+238/544] [cont_prepare_write+473/736]
[fat_get_block+0/288] [fat_prepare_write+38/48] [fat_get_block+0/288]
       [generic_file_write+929/1344] [default_fat_file_write+34/96]
[fat_file_write+45/64] [sys_write+214/256] [system_call+52/64]
[startup_32+43/310]
Code: 0f 0b 83 c4 0c b8 fb ff ff ff 5b 5e 5f 5d 83 c4 04 c3 8b 86

[extract from /usr/src/linux/fs/fat/file.c ]
[snip]
68: if (!(iblock<<9 != MSDOS_I(inode)->mmu_private) {
69:     BUG();
70:    return -EIO;
71: }
[snip]





- --
Best regards,
 Michiel                          mailto:michielb at stack.nl

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
Comment: Adress

iQEVAwUBOPICI1/mjIIi3tEXAQEaiggAvMEKjL8G8uPA8oS+NZjMyTrnIdcWG2RP
j8HFx21MIQtgqk6rBAhYARs/7zCeac84egBxT2J5REGWCVfbLNj5ij0F5iaR0ST9
1vRV1AbLhPQ5vaHSBVwS17hPv4gTptSMO4c/ggfgQ2mneTc/rBN4KoQ9Uv8KjlLi
FCbe5p5Qyl9+jF9KfZelk8APCx/Ogj2E/zJZW2vXpE9ymGzitBOu2/P4vR63tV1E
2V4KWOmZHBIak4FYFZ5f5g+ch/uJiLqFYUWNcnxDVXa+9ErZFRqEBQeqk41orRQU
gYiiyqGRAzMB5fAkyO4B8Da9XMVeeJh1Dm+z8RAsJ8gsl55hAnxYZQ==
=Hqdr
-----END PGP SIGNATURE-----




More information about the samba mailing list