Re: nfsv3 & 2.2.9 breaks smbfs (was: Re: smbfs broken in 2.2.9)

Steven N. Hirsch (shirsch@adelphia.net)
Tue, 8 Jun 1999 18:11:48 -0400 (EDT)


All,

Here is a decoded pair of oopses which occured back-to-back after doing:

- automount a samba share exported by a VMWare NT4 session on the same
host.

- Copy a small (~700 byte) file to \tmp on that volume (after verifying
that it can be listed).

- Attempt to read back the same file.

Kernel is 2.2.9-ac3 w/ Trond's nfs fix (works fine, thanks!) and Urban's
little fix to smb. Box is dual-PII SMP w/ 2x333Mhz. CPUs, 128MB memory,
Intel DK440LX "Dakota" motherboard (built-in 2-ch. Adaptec 7895 UW
controller).

Here's the bad stuff:

Options used: -V (default)
-o /lib/modules/2.2.9-ac3/ (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-m /lib/modules/2.2.9-ac3/System.map (specified)
-c 1 (default)
-a - same as ksymoops (default)

Warning in compare_ksyms_lsmod, module nfsd is in lsmod but not in ksyms, probably no symbols exported
Warning: cannot match loaded module vmnet to a unique module object. Trace may not be reliable.
Warning: cannot match loaded module vmmon to a unique module object. Trace may not be reliable.
Unable to handle kernel NULL pointer dereference<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 0138b000, %cr3 = 0138b000
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00000000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c011293b>]
EFLAGS: 00010297
eax: c21fdb48 ebx: 00000000 ecx: 00000246 edx: 00000000
esi: c21fdb44 edi: 00000001 ebp: c42dde70 esp: c42dde6c
ds: 0018 es: 0018 ss: 0018
Process rxvt (pid: 867, process nr: 55, stackpage=c42dd000)
Stack: 00000804 00000000 c0156ca1 c67b3c20 c01758ed c07ed640 00000804 c21fdc3c
c42ddf00 c017568c c21fdc3c c42ddea0 c07ed0c0 00000000 c0154b64 c21fdc3c
c42ddf00 00000804 c42dded4 c21fdc3c 00000804 c21fdba0 00000002 c42dded4
Call Trace: [<c0156ca1>] [<c01758ed>] [<c017568c>] [<c0154b64>] [<c017568c>] [<c0154dfc>] [<c01276ee>]
[<c0127889>] [<c010910c>]
Code: 8b 02 85 c7 74 f1 39 f3 75 10 f0 ff 0d ec f7 20 c0 89 d0 e8
Copying default arch from ksymoops, bfd_arch=8 bfd_mach=0

>>EIP; c011293b <__wake_up+2b/64>
Trace; c0156ca1 <sock_def_readable+19/2c>
Trace; c01758ed <unix_stream_sendmsg+261/280>
Trace; c017568c <unix_stream_sendmsg+0/280>
Trace; c0154b64 <sock_sendmsg+84/a8>
Trace; c017568c <unix_stream_sendmsg+0/280>
Trace; c0154dfc <sock_readv_writev+84/90>
Trace; c01276ee <do_readv_writev+13a/1cc>
Trace; c0127889 <sys_writev+7d/b4>
Trace; c010910c <system_call+34/38>
Code; c011293b <__wake_up+2b/64> 00000000 <_EIP>:
Code; c011293b <__wake_up+2b/64> 0: 8b 02 movl (%edx),%eax
Code; c011293d <__wake_up+2d/64> 2: 85 c7 testl %eax,%edi
Code; c011293f <__wake_up+2f/64> 4: 74 f1 je fffffff7 <_EIP+0xfffffff7> c0112932 <__wake_up+22/64>
Code; c0112941 <__wake_up+31/64> 6: 39 f3 cmpl %esi,%ebx
Code; c0112943 <__wake_up+33/64> 8: 75 10 jne 1a <_EIP+0x1a> c0112955 <__wake_up+45/64>
Code; c0112945 <__wake_up+35/64> a: f0 ff 0d ec f7 lock decl 0xc020f7ec
Code; c011294a <__wake_up+3a/64> f: 20 c0
Code; c011294c <__wake_up+3c/64> 11: 89 d0 movl %edx,%eax
Code; c011294e <__wake_up+3e/64> 13: e8 00 00 00 00 call 18 <_EIP+0x18> c0112953 <__wake_up+43/64>

Oops: 0000
CPU: 1
EIP: 0010:[<c011293b>]
EFLAGS: 00010287
eax: 00000000 ebx: c0c0b040 ecx: c6664000 edx: 00000000
esi: c6664968 edi: 00000001 ebp: c0225e9c esp: c0225e98
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=c0225000)
Stack: c06440b9 00000000 c019d49b 00000001 c6664000 00000001 c666455c c5866800
c0092da0 c5866800 c015863f 00000000 00d19980 c67b3ea0 c0161333 00000286
c67b3ea0 00000000 000002bd 000000bd 00002710 00000001 00000098 000002bd
Call Trace: [<c019d49b>] [<c015863f>] [<c0161333>] [<c0198365>] [<c01a3bb1>] [<c019bba7>] [<c0196631>]
[<c011a47f>] [<c010b0b9>] [<c01091a8>] [<c0107921>] [<c0106000>] [<c0106000>] [<c01001b1>]
Code: 8b 02 85 c7 74 f1 39 f3 75 10 f0 ff 0d ec f7 20 c0 89 d0 e8

>>EIP; c011293b <__wake_up+2b/64>
Trace; c019d49b <n_tty_receive_buf+d57/d98>
Trace; c015863f <dev_queue_xmit+3b/c8>
Trace; c0161333 <ip_output+93/b8>
Trace; c0198365 <handle_scancode+d5/2dc>
Trace; c01a3bb1 <handle_kbd_event+c5/10c>
Trace; c019bba7 <flush_to_ldisc+10f/118>
Trace; c0196631 <console_bh+55/100>
Trace; c011a47f <do_bottom_half+7f/a0>
Trace; c010b0b9 <do_IRQ+51/58>
Trace; c01091a8 <ret_from_intr+0/20>
Trace; c0107921 <cpu_idle+41/54>
Trace; c0106000 <get_options+0/78>
Trace; c0106000 <get_options+0/78>
Trace; c01001b1 <L6+0/2>
Code; c011293b <__wake_up+2b/64> 00000000 <_EIP>:
Code; c011293b <__wake_up+2b/64> 0: 8b 02 movl (%edx),%eax
Code; c011293d <__wake_up+2d/64> 2: 85 c7 testl %eax,%edi
Code; c011293f <__wake_up+2f/64> 4: 74 f1 je fffffff7 <_EIP+0xfffffff7> c0112932 <__wake_up+22/64>
Code; c0112941 <__wake_up+31/64> 6: 39 f3 cmpl %esi,%ebx
Code; c0112943 <__wake_up+33/64> 8: 75 10 jne 1a <_EIP+0x1a> c0112955 <__wake_up+45/64>
Code; c0112945 <__wake_up+35/64> a: f0 ff 0d ec f7 lock decl 0xc020f7ec
Code; c011294a <__wake_up+3a/64> f: 20 c0
Code; c011294c <__wake_up+3c/64> 11: 89 d0 movl %edx,%eax
Code; c011294e <__wake_up+3e/64> 13: e8 00 00 00 00 call 18 <_EIP+0x18> c0112953 <__wake_up+43/64>

Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!
In swapper task - not syncing

3 warnings issued. Results may not be reliable.

Hope this helps track it down. Let me know if you want me to try anything
in particular?

Steve

-
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/