Messages in this thread | | | Date | Mon, 12 Oct 1998 07:20:22 -0400 (EDT) | From | "Steven N. Hirsch" <> | Subject | Re: Please try knfsd-981010 |
| |
On Sun, 11 Oct 1998, H.J. Lu wrote:
> > I built and installed knfsd-981010 and kernel 2.1.125 + nfs-related > > patches. Initially, it seemed as if all was well, however there are > > severe problems when mounting from an Alpha box. The mount will succeed, > > but rpc.kmountd exits without fanfare (and without coredump nor log > > messages) immediately after. From that point on, even after stopping and > > restarting the knfs subsystem, anything that tickles kmountd (including > > 'showmount') causes to it to disappear immediately.
> I need the output from gdb's backstrace.
HJ,
I applied your patch, and here are the results. The sequence of events is:
- Zero /var/lib/nfs/rmtab and /var/lib/nfs/xtab - Start knfsd subsystem using your init script - Start gdb and attach per instructions - Verify that 'showmount -e' works properly on the server - Mount cy:/usr/src from the Alpha machine (works properly) - Try running 'showmount -e' on the server (blows up):
-------------------------------------------------------
Script started on Mon Oct 12 07:09:36 1998
(root@cy) /usr/src/net/nfs/knfsd-981010/utils/mountd : kshowmount -e
(before mounting from Alpha):
Export list for cy: / *.steve.net,*.fast.net /usr/src *.steve.net,*.fast.net
(Alpha mounts server)
(root@cy) /usr/src/net/nfs/knfsd-981010/utils/mountd : gdb mountd GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
(gdb) att 990 Attaching to program `/usr/src/net/nfs/knfsd-981010/utils/mountd/mountd', process 990 Reading symbols from /lib/libc.so.5...done. Reading symbols from /lib/ld-linux.so.1...done. 0x40079b3c in __select (nd=-1073742508, in=0xbffffd64, out=0x0, ex=0x0, tv=0x0)
(gdb) cont Continuing.
Program received signal SIGSEGV, Segmentation fault. get_exportlist () at mountd.c:346 346 n = c->gr_next;
(gdb) bt #0 get_exportlist () at mountd.c:346 #1 0x80498db in mount_export_1_svc (rqstp=0xbffffc2c, argp=0xbffff6dc, resp=0xbffff6e0) at mountd.c:116 #2 0x804de51 in rpc_dispatch (rqstp=0xbffffc2c, transp=0x8060d68, dtable=0x8051440, nvers=3, argp=0xbffff6dc, resp=0xbffff6e0) at rpcdispatch.c:51 #3 0x804a1a2 in mount_dispatch (rqstp=0xbffffc2c, transp=0x8060d68) at mount_dispatch.c:66 #4 0x4005c4ca in svc_getreqset (readfds=Cannot access memory at address 0x56e.) Cannot access memory at address 0x2.
(gdb) kill Kill the program being debugged? (y or n) y
(gdb) quit
(root@cy) /usr/src/net/nfs/knfsd-981010/utils/mountd : exit Script done on Mon Oct 12 07:11:24 1998
------------------------------------------------------------------
I hope this helps track down the problem.
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/
| |