Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 15 Feb 2001 09:47:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 15 Feb 2001 09:46:51 -0500 Received: from idefix.linkvest.com ([194.209.53.99]:39690 "EHLO idefix.linkvest.com") by vger.kernel.org with ESMTP id ; Thu, 15 Feb 2001 09:46:47 -0500 Message-ID: From: Jean-Eric Cuendet To: "'Neil Brown'" Cc: "'Andrew Morton'" , "'linux-kernel@vger.kernel.org'" Subject: RE: NFSD die with 2.4.1 Date: Thu, 15 Feb 2001 15:45:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C0975E.02958126" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C0975E.02958126 Content-Type: text/plain; charset="iso-8859-1" Here is a complete trace of the Oops I have. I have a new compiled kernel with NFSD in the kernel with vmlinux available for it. I attached the ksymoops and the gdb stuff oops.orig : as found in /var/log/messages oops.ksyms : output of ksymoops oops.disassemble : output of "echo disassemble nfssvc_encode_diropres | gdb -batch -x /dev/stdin vmlinux" Thanks to give an eye -jec ------_=_NextPart_000_01C0975E.02958126 Content-Type: application/octet-stream; name="oops.orig" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="oops.orig" Unable to handle kernel NULL pointer dereference at virtual address = 00000000=0A= printing eip:=0A= 00000000=0A= *pde =3D 00000000=0A= Oops: 0000=0A= CPU: 0=0A= EIP: 0010:[<00000000>]=0A= EFLAGS: 00010282=0A= eax: 00000000 ebx: cc94c03c ecx: cc89d260 edx: c0173710=0A= esi: cc92b624 edi: cc94c03c ebp: cc94c03c esp: cca8bf38=0A= ds: 0018 es: 0018 ss: 0018=0A= Process nfsd (pid: 1821, stackpage=3Dcca8b000)=0A= Stack: c0173774 cc89d260 00008000 cc92be00 c02de040 cc94c014 cc92be00 = cc89d260=0A= a1ffc014 c016bdbb cc92be00 cc94c01c cc92b600 cc92bf38 c02de040 = cc92b690=0A= c025d748 cc92be00 cc94c014 cca8a000 00050baf ceac0160 cca8a550 = cc92b600=0A= Call Trace: [random_ioctl+584/740] [do_tty_hangup+55/648] = [days_in_mo+2041/4017] [tty_set_ldisc+149/432] [kernel_thread+35/48]=0A= Feb 15 15:36:40 zorro kernel:=0A= Code: Bad EIP value.=0A= ------_=_NextPart_000_01C0975E.02958126 Content-Type: application/octet-stream; name="oops.ksyms" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="oops.ksyms" [root@zorro oops]# ksymoops -m /boot/System.map-2.4.1-a75-lb4- = oops.orig=0A= System.map-2.4.1-a75-lb4-1 System.map-2.4.1-a75-lb4-nnm3-1=0A= [root@zorro oops]# ksymoops -m /boot/System.map-2.4.1-a75-lb4-nnm3-1 = oops.orig=0A= ksymoops 2.3.4 on i686 2.4.1-a75-lb4-nnm3-1. Options used=0A= -V (default)=0A= -k /proc/ksyms (default)=0A= -l /proc/modules (default)=0A= -o /lib/modules/2.4.1-a75-lb4-nnm3-1/ (default)=0A= -m /boot/System.map-2.4.1-a75-lb4-nnm3-1 (specified)=0A= =0A= Unable to handle kernel NULL pointer dereference at virtual address = 00000000=0A= 00000000=0A= *pde =3D 00000000=0A= Oops: 0000=0A= CPU: 0=0A= EIP: 0010:[<00000000>]=0A= Using defaults from ksymoops -t elf32-i386 -a i386=0A= EFLAGS: 00010282=0A= eax: 00000000 ebx: cc94c03c ecx: cc89d260 edx: c0173710=0A= esi: cc92b624 edi: cc94c03c ebp: cc94c03c esp: cca8bf38=0A= ds: 0018 es: 0018 ss: 0018=0A= Process nfsd (pid: 1821, stackpage=3Dcca8b000)=0A= Stack: c0173774 cc89d260 00008000 cc92be00 c02de040 cc94c014 cc92be00 = cc89d260=0A= a1ffc014 c016bdbb cc92be00 cc94c01c cc92b600 cc92bf38 c02de040 = cc92b690=0A= c025d748 cc92be00 cc94c014 cca8a000 00050baf ceac0160 cca8a550 = cc92b600=0A= Call Trace: [random_ioctl+584/740] [do_tty_hangup+55/648] = [days_in_mo+2041/4017] [tty_set_ldisc+149/432] [kernel_thread+35/48]=0A= Code: Bad EIP value.=0A= =0A= >>EIP; 00000000 Before first symbol=0A= ------_=_NextPart_000_01C0975E.02958126 Content-Type: application/octet-stream; name="oops.disassemble" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="oops.disassemble" Dump of assembler code for function nfssvc_encode_diropres:=0A= 0xc0173710 : sub $0x8,%esp=0A= 0xc0173713 : push %ebp=0A= 0xc0173714 : push %edi=0A= 0xc0173715 : push %esi=0A= 0xc0173716 : push %ebx=0A= 0xc0173717 : mov $0x8,%ecx=0A= 0xc017371c : mov 0x20(%esp,1),%ebx=0A= 0xc0173720 : mov 0x24(%esp,1),%eax=0A= 0xc0173724 : lea 0x4(%eax),%esi=0A= 0xc0173727 : mov %ebx,%edi=0A= 0xc0173729 : repz movsl = %ds:(%esi),%es:(%edi)=0A= 0xc017372b : add $0x20,%ebx=0A= 0xc017372e : mov %ebx,%ebp=0A= 0xc0173730 : test %ebp,%ebp=0A= 0xc0173732 : je 0xc01738bb = =0A= 0xc0173738 : mov 0x44(%eax),%eax=0A= 0xc017373b : mov 0x8(%eax),%eax=0A= 0xc017373e : mov %eax,0x10(%esp,1)=0A= 0xc0173742 : mov 0x10(%esp,1),%ecx=0A= 0xc0173746 : movzwl 0x2a(%eax),%eax=0A= 0xc017374a : mov %ax,0x16(%esp,1)=0A= 0xc017374f : mov 0x8c(%ecx),%eax=0A= 0xc0173755 : test %eax,%eax=0A= 0xc0173757 : je 0xc017379f = =0A= 0xc0173759 : testb $0x4,0x24(%eax)=0A= 0xc017375d : je 0xc017379f = =0A= 0xc017375f : mov 0x84(%ecx),%eax=0A= 0xc0173765 : test %eax,%eax=0A= 0xc0173767 : je 0xc017379f = =0A= 0xc0173769 : push $0x8000=0A= 0xc017376e : push %ecx=0A= 0xc017376f : mov 0x48(%eax),%eax=0A= 0xc0173772 : call *%eax=0A= 0xc0173774 : mov %eax,%ebx=0A= 0xc0173776 : add $0x8,%esp=0A= 0xc0173779 : cmp $0xfffffc18,%ebx=0A= 0xc017377f : ja 0xc01737a6 = =0A= 0xc0173781 : test %ebx,%ebx=0A= 0xc0173783 : je 0xc017379f = =0A= 0xc0173785 : lea 0x16(%esp,1),%eax=0A= 0xc0173789 : push %eax=0A= 0xc017378a : push %ebx=0A= 0xc017378b : call 0xc01498e4 = =0A= 0xc0173790 : mov %eax,%esi=0A= 0xc0173792 : push %ebx=0A= 0xc0173793 : call 0xc0149474 = =0A= 0xc0173798 : add $0xc,%esp=0A= 0xc017379b : test %esi,%esi=0A= 0xc017379d : jne 0xc01737a6 = =0A= 0xc017379f : cmpl $0x0,0x10(%esp,1)=0A= 0xc01737a4 : jne 0xc01737b0 = =0A= 0xc01737a6 : xor %edx,%edx=0A= 0xc01737a8 : jmp 0xc01738bb = =0A= 0xc01737ad : lea 0x0(%esi),%esi=0A= 0xc01737b0 : mov 0x10(%esp,1),%edi=0A= 0xc01737b4 : movzwl 0x2a(%edi),%eax=0A= 0xc01737b8 : shr $0xc,%ax=0A= 0xc01737bc : and $0xffff,%eax=0A= 0xc01737c1 : lea 0x14(%ebp),%esi=0A= 0xc01737c4 : mov = 0xc02de3f8(,%eax,4),%eax=0A= 0xc01737cb : bswap %eax=0A= 0xc01737cd : mov %eax,0x0(%ebp)=0A= 0xc01737d0 : movzwl 0x16(%esp,1),%eax=0A= 0xc01737d5 : bswap %eax=0A= 0xc01737d7 : mov %eax,0x4(%ebp)=0A= 0xc01737da : movzwl 0x2c(%edi),%eax=0A= 0xc01737de : bswap %eax=0A= 0xc01737e0 : mov %eax,0x8(%ebp)=0A= 0xc01737e3 : mov 0x30(%edi),%ecx=0A= 0xc01737e6 : bswap %ecx=0A= 0xc01737e8 : mov %ecx,0xc(%ebp)=0A= 0xc01737eb : mov 0x34(%edi),%ecx=0A= 0xc01737ee : bswap %ecx=0A= 0xc01737f0 : mov %ecx,0x10(%ebp)=0A= 0xc01737f3 : movzwl 0x2a(%edi),%eax=0A= 0xc01737f7 : and $0xfffff000,%eax=0A= 0xc01737fc : cmp $0xa000,%ax=0A= 0xc0173800 : jne 0xc0173820 = =0A= 0xc0173802 : mov 0x40(%edi),%eax=0A= 0xc0173805 : test %eax,%eax=0A= 0xc0173807 : jg 0xc0173814 = =0A= 0xc0173809 : jne 0xc0173820 = =0A= 0xc017380b : cmpl $0x400,0x3c(%edi)=0A= 0xc0173812 : jbe 0xc0173820 = =0A= 0xc0173814 : lea 0x18(%ebp),%esi=0A= 0xc0173817 : movl $0x40000,0x14(%ebp)=0A= 0xc017381e : jmp 0xc0173830 = =0A= 0xc0173820 : mov %esi,%eax=0A= 0xc0173822 : mov 0x10(%esp,1),%edi=0A= 0xc0173826 : add $0x4,%esi=0A= 0xc0173829 : mov 0x3c(%edi),%ecx=0A= 0xc017382c : bswap %ecx=0A= 0xc017382e : mov %ecx,(%eax)=0A= 0xc0173830 : mov %esi,%eax=0A= 0xc0173832 : add $0x4,%esi=0A= 0xc0173835 : mov 0x10(%esp,1),%edi=0A= 0xc0173839 : mov %esi,%edx=0A= 0xc017383b : add $0x4,%esi=0A= 0xc017383e : mov 0x50(%edi),%ecx=0A= 0xc0173841 : bswap %ecx=0A= 0xc0173843 : mov %ecx,(%eax)=0A= 0xc0173845 : movzwl 0x38(%edi),%eax=0A= 0xc0173849 : bswap %eax=0A= 0xc017384b : mov %eax,(%edx)=0A= 0xc017384d : mov %esi,%eax=0A= 0xc017384f : add $0x4,%esi=0A= 0xc0173852 : mov 0x54(%edi),%ecx=0A= 0xc0173855 : bswap %ecx=0A= 0xc0173857 : mov %ecx,(%eax)=0A= 0xc0173859 : mov %esi,%edx=0A= 0xc017385b : add $0x4,%esi=0A= 0xc017385e : movzwl 0x28(%edi),%eax=0A= 0xc0173862 : bswap %eax=0A= 0xc0173864 : mov %eax,(%edx)=0A= 0xc0173866 : mov %esi,%eax=0A= 0xc0173868 : add $0x4,%esi=0A= 0xc017386b : mov 0x20(%edi),%ecx=0A= 0xc017386e : bswap %ecx=0A= 0xc0173870 : mov %ecx,(%eax)=0A= 0xc0173872 : mov %esi,%eax=0A= 0xc0173874 : add $0x4,%esi=0A= 0xc0173877 : mov 0x44(%edi),%ecx=0A= 0xc017387a : bswap %ecx=0A= 0xc017387c : mov %ecx,(%eax)=0A= 0xc017387e : movl $0x0,(%esi)=0A= 0xc0173884 : add $0x4,%esi=0A= 0xc0173887 : mov %esi,%ebx=0A= 0xc0173889 : add $0x4,%esi=0A= 0xc017388c : push %edi=0A= 0xc017388d : call 0xc0140a2c = =0A= 0xc0173892 : add $0x4,%esp=0A= 0xc0173895 : bswap %eax=0A= 0xc0173897 : mov %eax,(%ebx)=0A= 0xc0173899 : movl $0x0,(%esi)=0A= 0xc017389f : add $0x4,%esi=0A= 0xc01738a2 : mov %esi,%eax=0A= 0xc01738a4 : add $0x4,%esi=0A= 0xc01738a7 : mov 0x4c(%edi),%ecx=0A= 0xc01738aa : bswap %ecx=0A= 0xc01738ac : mov %ecx,(%eax)=0A= 0xc01738ae : movl $0x0,(%esi)=0A= 0xc01738b4 : lea 0x4(%esi),%edx=0A= 0xc01738b7 : test %edx,%edx=0A= 0xc01738b9 : jne 0xc01738c0 = =0A= 0xc01738bb : xor %eax,%eax=0A= 0xc01738bd : jmp 0xc017390e = =0A= 0xc01738bf : nop =0A= 0xc01738c0 : mov 0x1c(%esp,1),%edi=0A= 0xc01738c4 : mov %edx,%eax=0A= 0xc01738c6 : mov 0x13c(%edi),%ebx=0A= 0xc01738cc : sub %ebx,%eax=0A= 0xc01738ce : sar $0x2,%eax=0A= 0xc01738d1 : mov %eax,0x148(%edi)=0A= 0xc01738d7 : testb $0x1,0xc0367d21=0A= 0xc01738de : je 0xc01738f6 = =0A= 0xc01738e0 : mov 0x140(%edi),%eax=0A= 0xc01738e6 : push %eax=0A= 0xc01738e7 : push %ebx=0A= 0xc01738e8 : push %edx=0A= 0xc01738e9 : push $0xc02874a0=0A= 0xc01738ee : call 0xc011567c =0A= 0xc01738f3 : add $0x10,%esp=0A= 0xc01738f6 : mov 0x1c(%esp,1),%ecx=0A= 0xc01738fa : mov 0x140(%ecx),%eax=0A= 0xc0173900 : cmp %eax,0x148(%ecx)=0A= 0xc0173906 : setle %al=0A= 0xc0173909 : and $0xff,%eax=0A= 0xc017390e : pop %ebx=0A= 0xc017390f : pop %esi=0A= 0xc0173910 : pop %edi=0A= 0xc0173911 : pop %ebp=0A= 0xc0173912 : pop %ecx=0A= 0xc0173913 : pop %edx=0A= 0xc0173914 : ret =0A= 0xc0173915 : lea 0x0(%esi),%esi=0A= End of assembler dump.=0A= ------_=_NextPart_000_01C0975E.02958126-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/