2002-10-16 20:03:33

by Rasmus Andersen

[permalink] [raw]
Subject: (2.5.43mm1) Unable to handle kernel paging request

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


Attachments:
(No filename) (1.52 kB)
(No filename) (189.00 B)
Download all attachments

2002-10-16 20:35:45

by Andrew Morton

[permalink] [raw]
Subject: Re: (2.5.43mm1) Unable to handle kernel paging request

Rasmus Andersen wrote:
>
> 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

Does it happen on 2.5.43?

2002-10-16 20:48:38

by Dave Hansen

[permalink] [raw]
Subject: Re: (2.5.43mm1) Unable to handle kernel paging request

Andrew Morton wrote:
> Rasmus Andersen wrote:
>
>>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
>
> 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.

--
Dave Hansen
[email protected]

2002-10-16 23:26:53

by Hugh Dickins

[permalink] [raw]
Subject: Re: (2.5.43mm1) Unable to handle kernel paging request

On Wed, 16 Oct 2002, Andrew Morton wrote:
> Rasmus Andersen wrote:
> >
> > 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
>
> Does it happen on 2.5.43?

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

> 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...
>
> The following patch fixes 2 obvious typos. Thanks to davem and George
> Anzinger for pointing them out.
>
> Cheers,
> Trond

diff -u --recursive --new-file linux-2.5.43/fs/nfs/inode.c linux-2.5.43-fixes/fs/nfs/inode.c
--- linux-2.5.43/fs/nfs/inode.c 2002-10-14 12:43:11.000000000 -0400
+++ linux-2.5.43-fixes/fs/nfs/inode.c 2002-10-16 08:44:04.000000000 -0400
@@ -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;
}
diff -u --recursive --new-file linux-2.5.43/fs/nfs/proc.c linux-2.5.43-fixes/fs/nfs/proc.c
--- linux-2.5.43/fs/nfs/proc.c 2002-10-12 19:33:34.000000000 -0400
+++ linux-2.5.43-fixes/fs/nfs/proc.c 2002-10-16 08:44:29.000000000 -0400
@@ -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;

2002-10-17 15:27:36

by Rasmus Andersen

[permalink] [raw]
Subject: Re: (2.5.43mm1) Unable to handle kernel paging request

On Thu, Oct 17, 2002 at 12:33:15AM +0100, Hugh Dickins wrote:
> > Does it happen on 2.5.43?
>
> Isn't this covered by Trond's patch below:

This fixed it. Thanks.

Rasmus


Attachments:
(No filename) (172.00 B)
(No filename) (189.00 B)
Download all attachments