Messages in this thread |  | | Subject | Re: 2.2.7+knfs-1.3+SMP is unstable | | From | Ramana Juvvadi <> | | Date | 12 May 1999 13:58:53 -0400 |
| |
"G. Allen Morris III" <gam3@ann.ixlabs.com> writes:
> Without symbols this is not very helpful. The file REPORTING-BUGS > has some helpful pointers. The symbols from the Call Trace would > be the most help along with the EIP <c01530bd>. >
Thank you very much for the help. Here is what I found after running ksymoops.
>>EIP: c01530bd <nfssvc_encode_attrstat+11/168> Trace: c014cb12 <nfsd_dispatch+10a/150> Trace: c018bd5d <svc_process+359/64c> Trace: c018c53f <svc_udp_recvfrom+1cf/1e8> Trace: c018d037 <svc_recv+2c3/3fc> Trace: c014ca08 <nfsd_dispatch+0/150> Trace: c014c957 <nfsd+1d7/288> Trace: c014c780 <nfsd+0/288> Trace: c010656f <kernel_thread+23/30> Code: c01530bd <nfssvc_encode_attrstat+11/168> 00000000 <_EIP>: <=== Code: c01530bd <nfssvc_encode_attrstat+11/168> 0: 8b 58 08 movl 0x8(%eax),%ebx <=== Code: c01530c0 <nfssvc_encode_attrstat+14/168> 3: 85 db testl %ebx,%ebx Code: c01530c2 <nfssvc_encode_attrstat+16/168> 5: 75 08 jne c01530cc <nfssvc_encode_attrstat+20/168> Code: c01530c4 <nfssvc_encode_attrstat+18/168> 7: 31 c0 xorl %eax,%eax Code: c01530c6 <nfssvc_encode_attrstat+1a/168> 9: e9 ee 00 00 00 jmp c01531b9 <nfssvc_encode_attrstat+10d/168> Code: c01530cb <nfssvc_encode_attrstat+1f/168> e: 90 nop Code: c01530cc <nfssvc_encode_attrstat+20/168> f: 66 8b 43 22 movw 0x22(%ebx),%ax Code: c01530d0 <nfssvc_encode_attrstat+24/168> 13: 66 00 00 addb %al,(%eax)
I am not a knowledgeabe kernel hacker, but here is my guess. It looks like the code can be traced to /usr/src/linux/fs/nfsd/nfsxdr.c
--------------------------------------------------------------------- int nfssvc_encode_attrstat(struct svc_rqst *rqstp, u32 *p, struct nfsd_attrstat *resp) { if (!(p = encode_fattr(rqstp, p, resp->fh.fh_dentry->d_inode))) return 0; return xdr_ressize_check(rqstp, p); } -----------------------------------------------------------------
Either resp or resp->fh.fh_dentry is null.
> Also, is nfsd-2.2.7-1.patch the only patch from knfsd 1.3 that you > appied, and do you get the oops if you don't apply the patch. >
I applied the raid0145-19990421 patch also.
Ramana
- 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/
|  |