From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Peter Osterlund <petero2@telia.com>
Cc: David Howells <dhowells@redhat.com>,
Linus Torvalds <torvalds@osdl.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: BUG when doing parallel NFS mounts (WAS: Re: Merge window closed: v2.6.19-rc1)
Date: Sun, 08 Oct 2006 14:35:45 -0400 [thread overview]
Message-ID: <1160332545.11233.3.camel@lade.trondhjem.org> (raw)
In-Reply-To: <m3mz86hm39.fsf@telia.com>
[-- Attachment #1: Type: text/plain, Size: 1916 bytes --]
On Sun, 2006-10-08 at 17:19 +0200, Peter Osterlund wrote:
> > ------------[ cut here ]------------
> > kernel BUG at fs/nfs/client.c:352!
> > invalid opcode: 0000 [#1]
> > PREEMPT
> > Modules linked in: nfs radeon nfsd exportfs lockd autofs4 sunrpc michael_mic arc4 ecb blkcipher cryptomgr crypto_algapi ieee80211_crypt_tkip binfmt_misc dm_mirror dm_mod lp parport_pc parport pcmcia ehci_hcd joydev ohci1394 ieee1394 ohci_hcd bcm43xx yenta_socket snd_atiixp_modem rsrc_nonstatic ide_cd ieee80211softmac ieee80211 serio_raw 8250_pci pcmcia_core 8250 ieee80211_crypt pcspkr 8139too serial_core cdrom rtc usbcore
> > CPU: 0
> > EIP: 0060:[<e0c836b5>] Not tainted VLI
> > EFLAGS: 00010202 (2.6.19-rc1 #53)
> > EIP is at nfs_create_server+0x9f1/0xa6e [nfs]
> > eax: 00000000 ebx: d5e11b40 ecx: ca01a000 edx: 00000000
> > esi: 00000001 edi: ca01bdac ebp: ca01bd08 esp: ca01bbf8
> > ds: 007b es: 007b ss: 0068
> > Process mount (pid: 4052, ti=ca01a000 task=ca078030 task.ti=ca01a000)
> > Stack: ca01bc58 c1405c68 ca01bc2c c1405c40 c1405c40 00000296 c05cc5d0 ca078030
> > ca07857c d6b03380 00000003 ca97704c ca97705c ca078030 00000000 ca01bc8c
> > c0135211 c01eea52 ca078570 00000246 ca01bc6c 00000246 00000002 ca845cb0
> > Call Trace:
> > [<e0c899b2>] nfs_get_sb+0xbb/0x531 [nfs]
> > [<c0166416>] vfs_kern_mount+0x42/0x8c
> > [<c01664c4>] do_kern_mount+0x3b/0x4e
> > [<c017a8ca>] do_mount+0x25a/0x6a5
> > [<c017adaa>] sys_mount+0x95/0xd4
> > [<c01030c1>] sysenter_past_esp+0x56/0x8d
> > [<b7fa9410>] 0xb7fa9410
> > =======================
> > Code: 85 28 ff ff ff 89 44 24 04 c7 04 24 00 61 c9 e0 e8 16 8e 49 df 8b 9d 28 ff ff ff 31 d2 81 fb 00 f0 ff ff 0f 97 c2 e9 62 f9 ff ff <0f> 0b 60 01 40 50 c9 e0 e9 34 f9 ff ff 81 fa 60 ea 00 00 0f 86
> > EIP: [<e0c836b5>] nfs_create_server+0x9f1/0xa6e [nfs] SS:ESP 0068:ca01bbf8
Does the following patch fix it?
Cheers,
Trond
[-- Attachment #2: linux-2.6.19-002-fix_nfs_get_client.dif --]
[-- Type: message/rfc822, Size: 913 bytes --]
From: Trond Myklebust <Trond.Myklebust@netapp.com>
Subject: NFS: Fix typo in nfs_get_client()
Date: Sun, 8 Oct 2006 14:33:24 -0400
Message-ID: <1160332545.11233.4.camel@lade.trondhjem.org>
NFS_CS_INITING > NFS_CS_READY, so instead of waiting for the structure to
get initialised, we currently immediately jump out of the loop without ever
sleeping.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
---
fs/nfs/client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 6e4e48c..d2533e2 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -330,7 +330,7 @@ found_client:
for (;;) {
set_current_state(TASK_INTERRUPTIBLE);
if (signal_pending(current) ||
- clp->cl_cons_state > NFS_CS_READY)
+ clp->cl_cons_state != NFS_CS_INITING)
break;
schedule();
}
next prev parent reply other threads:[~2006-10-08 18:36 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-05 3:29 Merge window closed: v2.6.19-rc1 Linus Torvalds
2006-10-05 4:28 ` 2.6.19-rc1: known regressions Adrian Bunk
2006-10-05 4:45 ` Benjamin Herrenschmidt
2006-10-05 6:37 ` Jens Axboe
2006-10-05 6:52 ` Benjamin Herrenschmidt
2006-10-05 11:01 ` Gene Heskett
2006-10-05 14:04 ` Adrian Bunk
2006-10-05 20:27 ` Andreas Schwab
2006-10-05 21:15 ` Mel Gorman
2006-10-06 0:24 ` Andreas Schwab
2006-10-06 9:51 ` [PATCH] Use symbolic names instead of indices for zone initialisation Mel Gorman
2006-10-05 7:16 ` 2.6.19-rc1: known regressions Nigel Cunningham
2006-10-05 8:27 ` [patch] x86, fix rwsem build bug on CONFIG_M386=y Ingo Molnar
2006-10-05 9:41 ` [discuss] " Andi Kleen
2006-10-10 12:18 ` cpufreq not working on AMD K8 (was Re: 2.6.19-rc1: known regressions) Christian
2006-10-10 14:59 ` Langsdorf, Mark
2006-10-10 16:37 ` Christian
2006-10-10 16:43 ` Langsdorf, Mark
2006-10-11 14:06 ` Christian
2006-10-11 17:33 ` Langsdorf, Mark
2006-10-11 18:16 ` Christian
2006-10-11 18:38 ` Tomasz Torcz
2006-10-11 4:23 ` Adrian Bunk
2006-10-11 9:30 ` Christian
2006-10-11 14:57 ` Adrian Bunk
2006-10-05 15:09 ` Merge window closed: v2.6.19-rc1 Alistair John Strachan
2006-10-05 18:56 ` ohci1394 regression in 2.6.19-rc1 (was Re: Merge window closed: v2.6.19-rc1) Stefan Richter
2006-10-05 20:30 ` Alistair John Strachan
2006-10-05 20:32 ` Alistair John Strachan
2006-10-05 22:16 ` Stefan Richter
2006-10-05 22:37 ` Alistair John Strachan
2006-10-05 23:22 ` ohci1394 regression in 2.6.19-rc1 Stefan Richter
2006-10-06 13:55 ` Stefan Richter
2006-10-06 17:17 ` Stefan Richter
2006-10-06 18:33 ` Stefan Richter
2006-10-06 22:52 ` Alistair John Strachan
2006-10-05 15:41 ` Merge window closed: v2.6.19-rc1 Gene Heskett
2006-10-06 8:36 ` usb resets [Was Re: Merge window closed: v2.6.19-rc1] Uwe Zeisberger
2006-10-06 12:18 ` Gene Heskett
2006-10-05 19:17 ` Merge window closed: v2.6.19-rc1 Peter Osterlund
2006-10-05 19:21 ` Eric Sandeen
2006-10-05 20:49 ` [patch] fix qla{2,4} build error Frederik Deweerdt
2006-10-05 22:01 ` Andrew Vasquez
2006-10-06 16:54 ` [PATCH] Maintain module-parameter name consistency with qla2xxx/qla4xxx Andrew Vasquez
2006-10-05 21:09 ` monitor not active after boot (was Re: Merge window closed: v2.6.19-rc1) Olaf Hering
2006-10-08 10:12 ` Olaf Hering
2006-10-06 4:31 ` Merge window closed: v2.6.19-rc1 Alex Romosan
2006-10-06 18:47 ` 2.6.19-rc1 regression: airo suspend fails Adrian Bunk
2006-10-07 3:54 ` Alex Romosan
2006-10-07 19:52 ` Dave Kleikamp
2006-10-07 20:17 ` Alex Romosan
2006-10-08 6:43 ` Pavel Machek
2006-10-06 17:49 ` Merge window closed: v2.6.19-rc1 caszonyi
2006-10-06 18:12 ` Linus Torvalds
2006-10-06 19:05 ` Eric W. Biederman
2006-10-07 18:23 ` Gabor Gombas
2006-10-07 20:29 ` Eric W. Biederman
2006-10-06 22:43 ` Grant Coady
2006-10-06 22:47 ` Jesper Juhl
2006-10-07 2:33 ` Linus Torvalds
2006-10-07 13:16 ` James Bottomley
[not found] ` <20061007214620.GB8810@stusta.de>
2006-10-07 23:02 ` 2.6.19-rc1: known regressions (v2) Prakash Punnoor
2006-10-08 7:12 ` x60 backlight Re: [discuss] " Pavel Machek
2006-10-08 17:38 ` Adrian Bunk
2006-10-08 17:59 ` Michael S. Tsirkin
2006-10-08 19:30 ` Adrian Bunk
2006-10-16 19:39 ` Michael S. Tsirkin
2006-10-08 18:36 ` Pavel Machek
2006-10-08 19:29 ` Adrian Bunk
2006-10-08 23:44 ` Jeremy Fitzhardinge
2006-10-08 11:10 ` [GIT PULL] ieee1394 update (was 2.6.19-rc1: known regressions (v2)) Stefan Richter
2006-10-09 15:32 ` 2.6.19-rc1: known regressions (v2) - xfrm_register_mode Steve Fox
2006-10-09 15:51 ` Mel Gorman
2006-10-08 11:47 ` BUG when doing parallel NFS mounts (WAS: Re: Merge window closed: v2.6.19-rc1) Peter Osterlund
2006-10-08 15:19 ` Peter Osterlund
2006-10-08 18:35 ` Trond Myklebust [this message]
2006-10-08 18:54 ` Peter Osterlund
2006-10-08 19:21 ` Trond Myklebust
2006-10-09 0:31 ` 2.6.19-rc1: DVB frontend selection causes compile errors Adrian Bunk
2006-10-09 7:53 ` [v4l-dvb-maintainer] " Michael Krufky
2006-10-09 8:05 ` Adrian Bunk
2006-10-09 8:27 ` Michael Krufky
2006-10-14 5:23 ` Randy Dunlap
2006-10-14 13:32 ` Trent Piepho
[not found] ` <20061010051019.GB3650@stusta.de>
2006-10-10 5:16 ` 2.6.19-rc1: known regressions (v3) Benjamin Herrenschmidt
2006-10-10 8:41 ` Mel Gorman
[not found] ` <17708.9637.569670.824121@cargo.ozlabs.ibm.com>
2006-10-11 3:08 ` Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1160332545.11233.3.camel@lade.trondhjem.org \
--to=trond.myklebust@fys.uio.no \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=petero2@telia.com \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®