Skip to contentSkip to conversation

(2.5.43mm1) Unable to handle kernel paging request

DISCUSSION Rasmus Andersen 4 participants 5 messages Oct 16, 2002 – Oct 17, 2002 NFS client

lore
Share & tools
lore
#0 lore raw

Hi,

Booting 2.5.43mm1, I get the following oops:

Unable to handle kernel paging request at virtual address 00002004
 printing eip:
c01a1ddd
*pde = 00000000
Oops: 0002
3c59x ide-scsi ide-cd rtc
CPU:    0
EIP:    0060:[<c01a1ddd>]    Not tainted
EFLAGS: 00010246

EIP is at nfs_proc_fsinfo+0x6d/0x110
eax: 00002000 ebx: 00000000 ecx: 00000000 edx: 00000000
esi: c7754200 edi: c79459ac ebp: c72e1ed0 esp: c7257d4c
ds: 0068 es: 0068 ss: 0068
Process mount (pid: 503, threadinfo=c7256000 task=c76f0cc0)

Stack: c11b6084 c7257d58 00000000 00000011 c7945a10 c7257d98 00000000 c015d54c
       c7795a54 c72e1ed0 c02b3fa9 00000001 00000000 c7945a10 c7945a10 c7945a10
       c019c8cc c79459ac c7945a10 00002000 00001000 000f9010 0004b131 0003e6d0
Call Trace:
 [<c015d54c>] d_alloc_root+0x5c/0x70
 [<c019c8cc>] nfs_sb_init+0x11c/0x530
 [<c0117567>] do_schedule+0x1a7/0x320
 [<c0117852>] __wake_up_locked+0x22/0x30
 [<c0117730>] default_wake_function+0x0/0x40
 [<c01082cc>] __down_failed+0x8/0xc
 [<c02a18d9>] .text.lock.sched+0x19/0x40
 [<c019d006>] nfs_fill_super+0x326/0x3d0
 [<c0137274>] kmem_flagcheck+0x64/0x70
 [<c014d02d>] sget+0x11d/0x160
 [<c019ec4c>] nfs_get_sb+0x1ac/0x240
 [<c014da6b>] do_kern_mount+0x5b/0xd0
 [<c0161f90>] do_add_mount+0x90/0x190
 [<c01622d1>] do_mount+0x181/0x1d0
 [<c0162108>] copy_mount_options+0x78/0xc0
 [<c01626b8>] sys_mount+0xc8/0x100
 [<c01093b3>] syscall_call+0x7/0xb

Code: c7 40 04 00 20 00 00 8b 54 24 1c 8b 44 24 4c 89 50 08 8b 54
 MTRR: setting reg 1

I didn't get this with 2.5.42.

Regards,
Rasmus

#1 lore raw
Quoted 14 lines · Rasmus Andersen

Hi,

Booting 2.5.43mm1, I get the following oops:

Unable to handle kernel paging request at virtual address 00002004
 printing eip:
c01a1ddd
*pde = 00000000
Oops: 0002
3c59x ide-scsi ide-cd rtc
CPU:    0
EIP:    0060:[<c01a1ddd>]    Not tainted
EFLAGS: 00010246
Quoted 1 line

EIP is at nfs_proc_fsinfo+0x6d/0x110

Does it happen on 2.5.43?

#2 lore raw
Quoted 17 lines · Andrew Morton
Quoted 13 lines · Rasmus Andersen

Hi,

Booting 2.5.43mm1, I get the following oops:

Unable to handle kernel paging request at virtual address 00002004
printing eip:
c01a1ddd
*pde = 00000000
Oops: 0002
3c59x ide-scsi ide-cd rtc
CPU:    0
EIP:    0060:[<c01a1ddd>]    Not tainted
EFLAGS: 00010246
Quoted 1 line

EIP is at nfs_proc_fsinfo+0x6d/0x110

Quoted 1 line

Does it happen on 2.5.43?

I've been getting some strange NFS oopses too. I haven't bothered to catch them yet, but they happen without the -mm changesets for me.

Signature · 2 lines
Dave Hansen
[email protected]
#3 lore raw
In reply to Andrew Morton
Quoted 15 lines · Andrew Morton
Quoted 12 lines · Rasmus Andersen

Booting 2.5.43mm1, I get the following oops:

Unable to handle kernel paging request at virtual address 00002004
 printing eip:
c01a1ddd
*pde = 00000000
Oops: 0002
3c59x ide-scsi ide-cd rtc
CPU:    0
EIP:    0060:[<c01a1ddd>]    Not tainted
EFLAGS: 00010246
Quoted 1 line

EIP is at nfs_proc_fsinfo+0x6d/0x110

Quoted 1 line

Does it happen on 2.5.43?

Isn't this covered by Trond's patch below:

Quoted 7 lines

Date: Wed, 16 Oct 2002 15:18:32 +0200
From: Trond Myklebust <[email protected]>
To: Linus Torvalds <[email protected]>
Cc: Linux Kernel <[email protected]>,
NFS maillist <[email protected]>
Subject: [PATCH] Fix NFS typos in 2.5.43...

Quoted 5 lines

The following patch fixes 2 obvious typos. Thanks to davem and George Anzinger for pointing them out.

Cheers,
Trond

fs/nfs/inode.c +1 -1
diff -u --recursive --new-file linux-2.5.43/fs/nfs/inode.c linux-2.5.43-fixes/fs/nfs/inode.c
@@ -1355,7 +1355,7 @@
 	if (data->auth_flavourlen != 0) {
 		if (data->auth_flavourlen > 1)
 			printk(KERN_INFO "NFS: cannot yet deal with multiple auth flavours.\n");
-		if (copy_from_user(authflavour, data->auth_flavours, sizeof(authflavour))) {
+		if (copy_from_user(&authflavour, data->auth_flavours, sizeof(authflavour))) {
 			err = -EFAULT;
 			goto out_fail;
 		}
fs/nfs/proc.c +1 -1
diff -u --recursive --new-file linux-2.5.43/fs/nfs/proc.c linux-2.5.43-fixes/fs/nfs/proc.c
@@ -490,7 +490,7 @@
 
 	dprintk("NFS call  fsinfo\n");
 	info->fattr->valid = 0;
-	status = rpc_call(server->client, NFSPROC_STATFS, fhandle, &info, 0);
+	status = rpc_call(server->client, NFSPROC_STATFS, fhandle, &fsinfo, 0);
 	dprintk("NFS reply fsinfo: %d\n", status);
 	if (status)
 		goto out;
#4 lore raw
Quoted 3 lines · Hugh Dickins
Quoted 1 line

Does it happen on 2.5.43?

Isn't this covered by Trond's patch below:

This fixed it. Thanks.

Rasmus