2009-09-24 07:49:18

by Manuel Lauss

[permalink] [raw]
Subject: NFS: nfsroot BUG() hit in latest -git

Hi Chuck!

I'm seeing kernel panics when mounting my NFSroot, caused
by 9423a08ad5773d0a7612d434700561dc8346b6d6:

root=/dev/nfs nfsroot=192.168.44.70:/mnt/work/mips-rootfs,v3,tcp

Looking up port of RPC 100003/3 on 192.168.44.70
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Looking up port of RPC 100005/3 on 192.168.44.70
Kernel bug detected[#1]:
Cpu 0
$ 0 : 00000000 10003c00 00000100 80510000
$ 4 : 8d011c18 00000000 00000000 00000000
$ 8 : 00000003 fffff000 00000001 00000000
$12 : 66008c77 3b9aca00 00000003 00000000
$16 : 8d011c18 8d1c2178 8d1c2004 8d1c236c
$20 : 8d1c5514 8d1c5514 8d1c6000 8d1c5100
$24 : 00000010 00000000
$28 : 8d010000 8d011c00 00008001 801ec1c0
Hi : 00000000
Lo : 00000000
epc : 801ea174 nfs_init_timeout_values+0x10c/0x118
Not tainted
ra : 801ec1c0 nfs_create_server+0xf4/0x5b4
Status: 10003c03 KERNEL EXL IE
Cause : 00808024
PrId : 04030202 (Au1250)
Modules linked in:
Process swapper (pid: 1, threadinfo=8d010000, task=8d007408, tls=00000000)
Stack : 805303b0 00000000 805303b0 80510000 8d1b5034 8d1c5100 00000000 80387d4c
8d1c5100 00000000 8d1c5100 8d1c5190 8d1c20e0 00000010 80428a50 00000000
00000000 ffff8d77 8052ba48 8052ba4c 8052ba64 811a38a0 00000000 80513830
80513830 10003c01 00000009 80181470 00000174 ffffffff 00000004 811a38a0
0000000e 0000000e 000000d0 8d1c305c 8d1c20e0 8d1c5514 8d1c6000 8d1c5100
...
Call Trace:
[<801ea174>] nfs_init_timeout_values+0x10c/0x118
[<801ec1c0>] nfs_create_server+0xf4/0x5b4
[<801f7ab8>] nfs_get_sb+0x680/0x9b8
[<801878a8>] vfs_kern_mount+0x68/0xd0
[<80187974>] do_kern_mount+0x54/0x118
[<8019f970>] do_mount+0x694/0x720
[<8019fa90>] sys_mount+0x94/0xec
[<80531b90>] do_mount_root+0x2c/0xc8
[<80531f24>] mount_root+0x9c/0x148
[<8053218c>] prepare_namespace+0x1bc/0x1f0
[<80531388>] kernel_init+0x11c/0x13c
[<8010f090>] kernel_thread_helper+0x10/0x18

It's hitting the "BUG()" in fs/nfs/client.c::nfs_init_timeout_values().
it does not show up if I remove the "v3,tcp" from nfsroot
parameters, but then the whole userspace boot process takes ages.

Any ideas?

Thank you!
Manuel Lauss


2009-09-24 13:58:47

by Chuck Lever

[permalink] [raw]
Subject: Re: NFS: nfsroot BUG() hit in latest -git

On Sep 24, 2009, at 3:49 AM, Manuel Lauss wrote:
> Hi Chuck!
>
> I'm seeing kernel panics when mounting my NFSroot, caused
> by 9423a08ad5773d0a7612d434700561dc8346b6d6:
>
> root=/dev/nfs nfsroot=192.168.44.70:/mnt/work/mips-rootfs,v3,tcp
>
> Looking up port of RPC 100003/3 on 192.168.44.70
> eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> Looking up port of RPC 100005/3 on 192.168.44.70
> Kernel bug detected[#1]:
> Cpu 0
> $ 0 : 00000000 10003c00 00000100 80510000
> $ 4 : 8d011c18 00000000 00000000 00000000
> $ 8 : 00000003 fffff000 00000001 00000000
> $12 : 66008c77 3b9aca00 00000003 00000000
> $16 : 8d011c18 8d1c2178 8d1c2004 8d1c236c
> $20 : 8d1c5514 8d1c5514 8d1c6000 8d1c5100
> $24 : 00000010 00000000
> $28 : 8d010000 8d011c00 00008001 801ec1c0
> Hi : 00000000
> Lo : 00000000
> epc : 801ea174 nfs_init_timeout_values+0x10c/0x118
> Not tainted
> ra : 801ec1c0 nfs_create_server+0xf4/0x5b4
> Status: 10003c03 KERNEL EXL IE
> Cause : 00808024
> PrId : 04030202 (Au1250)
> Modules linked in:
> Process swapper (pid: 1, threadinfo=8d010000, task=8d007408,
> tls=00000000)
> Stack : 805303b0 00000000 805303b0 80510000 8d1b5034 8d1c5100
> 00000000 80387d4c
> 8d1c5100 00000000 8d1c5100 8d1c5190 8d1c20e0 00000010
> 80428a50 00000000
> 00000000 ffff8d77 8052ba48 8052ba4c 8052ba64 811a38a0
> 00000000 80513830
> 80513830 10003c01 00000009 80181470 00000174 ffffffff
> 00000004 811a38a0
> 0000000e 0000000e 000000d0 8d1c305c 8d1c20e0 8d1c5514
> 8d1c6000 8d1c5100
> ...
> Call Trace:
> [<801ea174>] nfs_init_timeout_values+0x10c/0x118
> [<801ec1c0>] nfs_create_server+0xf4/0x5b4
> [<801f7ab8>] nfs_get_sb+0x680/0x9b8
> [<801878a8>] vfs_kern_mount+0x68/0xd0
> [<80187974>] do_kern_mount+0x54/0x118
> [<8019f970>] do_mount+0x694/0x720
> [<8019fa90>] sys_mount+0x94/0xec
> [<80531b90>] do_mount_root+0x2c/0xc8
> [<80531f24>] mount_root+0x9c/0x148
> [<8053218c>] prepare_namespace+0x1bc/0x1f0
> [<80531388>] kernel_init+0x11c/0x13c
> [<8010f090>] kernel_thread_helper+0x10/0x18
>
> It's hitting the "BUG()" in fs/nfs/
> client.c::nfs_init_timeout_values().
> it does not show up if I remove the "v3,tcp" from nfsroot
> parameters, but then the whole userspace boot process takes ages.
>
> Any ideas?

Viro just reported a similar problem. Maybe the attached patch fixes
it?

>
> Thank you!
> Manuel Lauss

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com


Attachments:
[PATCH] nfs[23] tcp breakage in mount with binary options.eml (2.44 kB)

2009-09-24 14:11:13

by Manuel Lauss

[permalink] [raw]
Subject: Re: NFS: nfsroot BUG() hit in latest -git

On Thu, Sep 24, 2009 at 3:58 PM, Chuck Lever <[email protected]> w=
rote:
>> It's hitting the "BUG()" in fs/nfs/client.c::nfs_init_timeout_values=
().
>> it does not show up if I remove the "v3,tcp" from nfsroot
>> parameters, but then the whole userspace boot process takes ages.

> Viro just reported a similar problem. =A0Maybe the attached patch fix=
es it?

Yes it does, thank you.
Manuel Lauss