2005-12-21 02:00:35

by Kenny Simpson

[permalink] [raw]
Subject: kernel BUG at fs/locks.c:1932!

While running some tests (in this case sio) on 2.6.15-rc5 kernel with a r=
ecent NFS_ALL patch
applied, I got this:

[ 1543.034595] ------------[ cut here ]------------
[ 2687.686724] kernel BUG at fs/locks.c:1932!
[ 2687.690922] invalid operand: 0000 [#3]
[ 2687.694768] PREEMPT SMP=20
[ 2687.697375] Modules linked in: e1000 nvidia agpgart autofs4 parport_pc=
parport floppy=20
ohci_hcd
i2c_i801 i2c_core generic ehci_hcd uhci_hcd usbcore sn
d_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm =
snd_timer snd soundcore
snd_page_alloc psmouse mousedev tg3 bcm5700
[ 2687.723803] CPU: 2
[ 2687.723804] EIP: 0060:[<c0171910>] Tainted: PF VLI
[ 2687.723805] EFLAGS: 00010246 (2.6.15-rc5+nfs-p4)=20
[ 2687.736945] EIP is at locks_remove_flock+0x6f/0x11f
[ 2687.741948] eax: f789023c ebx: f5623920 ecx: 00000000 edx: 00000=
000
[ 2687.748916] esi: f7890e9c edi: f5dccf4c ebp: f65b9180 esp: f5dcc=
e80
[ 2687.755882] ds: 007b es: 007b ss: 0068
[ 2687.760083] Process sio_ntap_linux (pid: 4258, threadinfo=3Df5dcc000 t=
ask=3Df5b81030)
[ 2687.767583] Stack: f5dcceec 00000007 f5dcceec 00000000 00000000 000000=
00 00000000 00000000=20
[ 2687.776216] 00000000 000010a1 00000000 00000000 00000000 000000=
00 f65b9180 00000202=20
[ 2687.784853] 00000000 00000000 ffffffff 7fffffff 00000000 000000=
00 00000000 00000000=20
[ 2687.793484] Call Trace:
[ 2687.796187] [<c015b62f>] __fput+0x90/0x17e
[ 2687.800495] [<c0159d02>] filp_close+0x4d/0x79
[ 2687.805069] [<c0159d9a>] sys_close+0x6c/0x82
[ 2687.809555] [<c0102e63>] sysenter_past_esp+0x54/0x75
[ 2687.814757] Code: 39 68 2c 74 18 89 c6 8b 06 85 c0 75 f3 e8 7a 5d 29 0=
0 81 c4 cc 00 00 00 5b=20
5e
5f 5d c3 0f b6 50 30 f6 c2 02 75 21 80 e2 20 75 0a <0
f> 0b 8c 07 40 ae 42 c0 eb d0 89 34 24 c7 44 24 04 02 00 00 00=20

-Kenny


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2005-12-21 02:54:21

by Trond Myklebust

[permalink] [raw]
Subject: Re: kernel BUG at fs/locks.c:1932!

On Tue, 2005-12-20 at 18:00 -0800, Kenny Simpson wrote:
> While running some tests (in this case sio) on 2.6.15-rc5 kernel with a recent NFS_ALL patch
> applied, I got this:
>
> [ 1543.034595] ------------[ cut here ]------------
> [ 2687.686724] kernel BUG at fs/locks.c:1932!

Hmm... That indicates that some posix locks are somehow still managing
to survive a close().

How did you trigger this problem? Were you signalling the process?

Cheers,
Trond



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2005-12-21 03:20:53

by Kenny Simpson

[permalink] [raw]
Subject: Re: kernel BUG at fs/locks.c:1932!

> Hmm... That indicates that some posix locks are somehow still managing
> to survive a close().
>=20
> How did you trigger this problem? Were you signalling the process?

I was not, but I think the tests end by killing the worker threads.
I'll run it again tomorrow. The options were '0 0 64k 4G 20 1' - from me=
mory.
No random reads or writes, 64k block size, 4GB file, 20 seconds duration,=
1 thread.

I did not notice this when running the test... only noticed a bunch of th=
ese later in the syslog.

-Kenny


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2005-12-22 20:35:26

by Kenny Simpson

[permalink] [raw]
Subject: Re: kernel BUG at fs/locks.c:1932!

--- Trond Myklebust <[email protected]> wrote:
> Hmm... That indicates that some posix locks are somehow still managing
> to survive a close().
>=20
> How did you trigger this problem? Were you signalling the process?

I have not been able to reproduce this. I only noticed this the first ti=
me after running many
tests, and some time later observing the syslog.

It looks like this may have been fixed anyway by ASANO Masahiro:
http://www.ussg.iu.edu/hypermail/linux/kernel/0512.2/1531.html

-Kenny



=09
__________________________________________=20
Yahoo! DSL =96 Something to write home about.=20
Just $16.99/mo. or less.=20
dsl.yahoo.com=20



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs