-
Kernel Oopses with NFS
Thanks very much for the suggestions about services and various options.
I tried following them, but hit a kernel "Oops". I'm running 7.0.4 on a Intel Core Duo with 7.0.4 DVD files stored on the HDD and "upgraded". I use this installation every day, and it has been very stable, so I don't think it's data corruption or flaky hardware.
I had already experienced a problem with NFS (as a client, this time), running directly from the DVD, which I reported here : http://knoppix.net/forum/threads/30193-NFSv4-client-crash-in-Knoppix-7.0.4-(and-work-araound)
I will download 7.0.5 and boot directly from DVD, and try again, when I have time.
I'll write back here with the results.
Code:
# /etc/init.d/nfs-kernel-server start
[ ok ] Exporting directories for NFS kernel daemon....
[....] Starting NFS kernel daemon: nfsd/etc/init.d/nfs-kernel-server: line 61: 3685 Killed start-stop-daemon --start --oknodo --quiet --nicelevel $RPCNFSDPRIORITY --exec $PREFIX/sbin/rpc.nfsd -- $RPCNFSDCOUNT
Message from syslogd@Microknoppix at Tue Feb 5 22:31:06 2013 ...
Microknoppix kernel: [ 274.316665] Process rpc.nfsd (pid: 3685, ti=f148e000 task=f14da5e0 task.ti=f148e000)
Message from syslogd@Microknoppix at Tue Feb 5 22:31:06 2013 ...
Microknoppix kernel: [ 274.316665] Stack:
Message from syslogd@Microknoppix at Tue Feb 5 22:31:06 2013 ...
Microknoppix kernel: [ 274.316665] Call Trace:
Message from syslogd@Microknoppix at Tue Feb 5 22:31:06 2013 ...
Microknoppix kernel: [ 274.316665] Code: 00 8b 75 e8 f3 a5 8b 45 f0 e8 d0 a1 00 00 eb 0a 8b 45 f0 e8 55 a1 00 00 31 c0 83 c4 18 5b 5e 5f 5d c3 55 89 e5 53 89 c3 83 ec 08 <8b> 40 0c 85 c0 74 14 48 85 c0 89 43 0c 74 1c 89 d8 e8 1e 1d 00
Message from syslogd@Microknoppix at Tue Feb 5 22:31:06 2013 ...
Microknoppix kernel: [ 274.316665] EIP: [<c15abc35>] svc_destroy+0x9/0xbf SS:ESP 0068:f148ff14
failed!
# dmesg
[ 274.312208] svc: failed to register nfsdv2 RPC service (errno 97).
[ 274.312221] svc: failed to register nfsaclv2 RPC service (errno 97).
[ 274.314684] nfsd: last server has exited, flushing export cache
[ 274.314728] BUG: unable to handle kernel NULL pointer dereference at 0000000c
[ 274.315018] IP: [<c15abc35>] svc_destroy+0x9/0xbf
[ 274.315214] *pde = 00000000
[ 274.315330] Oops: 0000 [#1] PREEMPT SMP
[ 274.315509] Modules linked in: parport_pc ppdev lp parport nfs ipv6 dell_wmi sparse_keymap dell_laptop dcdbas coretemp 8250_pnp 8250 serial_core wmi battery ac snd_hda_codec_idt arc4 pcmcia iwl3945 iwlegacy mac80211 cfg80211 joydev yenta_socket snd_hda_intel i2c_i801 snd_hda_codec tg3 i915 drm_kms_helper
[ 274.316665]
[ 274.316665] Pid: 3685, comm: rpc.nfsd Tainted: G W 3.4.9 #34 Dell Inc. Latitude D830 /0HN341
[ 274.316665] EIP: 0060:[<c15abc35>] EFLAGS: 00210286 CPU: 0
[ 274.316665] EIP is at svc_destroy+0x9/0xbf
[ 274.316665] EAX: 00000000 EBX: 00000000 ECX: 00000100 EDX: c1959800
[ 274.316665] ESI: f1518004 EDI: c11b2028 EBP: f148ff20 ESP: f148ff14
[ 274.316665] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 274.316665] CR0: 8005003b CR2: 0000000c CR3: 3158a000 CR4: 000007d0
[ 274.316665] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 274.316665] DR6: ffff0ff0 DR7: 00000400
[ 274.316665] Process rpc.nfsd (pid: 3685, ti=f148e000 task=f14da5e0 task.ti=f148e000)
[ 274.316665] Stack:
[ 274.316665] c15abd06 ffffff9f ffffff9f f148ff5c c11b20e1 00000ffc c12b14b2 f1518004
[ 274.316665] 00000002 f1518005 00000004 c10e5394 f148ff5c c10e5b97 0804c8a0 f34d8b00
[ 274.316665] 00000002 c11b2028 f148ff70 c11b1dda f34d8b00 0804c8a0 c11b1da0 f148ff8c
[ 274.316665] Call Trace:
[ 274.316665] [<c15abd06>] ? svc_shutdown_net+0x1b/0x1f
[ 274.316665] [<c11b20e1>] write_ports+0xb9/0x2c3
[ 274.316665] [<c12b14b2>] ? _copy_from_user+0x2b/0x3e
[ 274.316665] [<c10e5394>] ? copy_from_user+0x8/0xa
[ 274.316665] [<c10e5b97>] ? simple_transaction_get+0x71/0x8b
[ 274.316665] [<c11b2028>] ? write_maxblksize+0xa3/0xa3
[ 274.316665] [<c11b1dda>] nfsctl_transaction_write+0x3a/0x55
[ 274.316665] [<c11b1da0>] ? write_filehandle+0x146/0x146
[ 274.316665] [<c10ce131>] vfs_write+0x7c/0xe8
[ 274.316665] [<c10cf301>] ? fget_light+0x2b/0x7d
[ 274.316665] [<c10ce31a>] sys_write+0x38/0x60
[ 274.316665] [<c15ebf65>] syscall_call+0x7/0xb
[ 274.316665] Code: 00 8b 75 e8 f3 a5 8b 45 f0 e8 d0 a1 00 00 eb 0a 8b 45 f0 e8 55 a1 00 00 31 c0 83 c4 18 5b 5e 5f 5d c3 55 89 e5 53 89 c3 83 ec 08 <8b> 40 0c 85 c0 74 14 48 85 c0 89 43 0c 74 1c 89 d8 e8 1e 1d 00
[ 274.316665] EIP: [<c15abc35>] svc_destroy+0x9/0xbf SS:ESP 0068:f148ff14
[ 274.316665] CR2: 000000000000000c
[ 274.439286] ---[ end trace c6d2c5f77bcaf00f ]---
-
Everything works for me with 7.0.5
I downloaded the 7.0.5 DVD to use instead of the 7.0.4 DVD
Everything works as expected now. Thanks for confirming which services and options are needed to get NFS server working.
I don't know why my 7.0.4 DVD download had problems with NFS. I have verified the integrity of the files involved, so it's not a simple data error.
I will stop using the 7.0.4 now. Hopefully things will run smoothly now!
Thanks again for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$119.99

Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb
$58.99

MSI Z170A PC MATE Motherboard - Functional Good Condition
$60.00

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX
$59.99

Gigabyte GA-B85M-D3H Motherboard
$54.99

ASUS Prime Z390-A, LGA 1151, Intel Motherboard Tested Functional
$100.00