* Re: [2 regressions] Current git cannot find root device on x86-64(HP nx6325), NFS broken
@ 2009-04-07 14:58 Larry Finger
2009-04-07 19:13 ` Rafael J. Wysocki
0 siblings, 1 reply; 10+ messages in thread
From: Larry Finger @ 2009-04-07 14:58 UTC (permalink / raw)
To: LKML; +Cc: Rafael J. Wysocki, Mike Galbraith, Rusty Russell
>On Tue, 2009-04-07 at 00:47 +0200, Rafael J. Wysocki wrote:
>> Hi,
>>
>> Current mainline (commit 22ae77bc7ac115b9d518d5cbc13d39317079b2b0) can't
>> find the root device (it's handled by statically compiled-in sata_sil) and
>> generally causes the "invalid module format" message to appear for all modules
>> loaded from the initrd on my HP nx6325 (the distro is openSUSE 11.1).
>>
>> I don't know which commit might have made this happen, but the breakage was
>> introduced during the last three days (commit
>> 601cc11d054ae4b5e9b5babec3d8e4667a2cb9b5 is certainly good). I'll bisect
>> tomorrow if there are no ideas.
> I bisected "invalid module format" woes to 9cb610d.
My system also fails to load modules from initrd unless 9cb610d is reverted.
Something is wrong with the "module: remove the SHF_ALLOC flag on the __versions
section" patch.
Larry
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [2 regressions] Current git cannot find root device on x86-64(HP nx6325), NFS broken
2009-04-07 14:58 [2 regressions] Current git cannot find root device on x86-64(HP nx6325), NFS broken Larry Finger
@ 2009-04-07 19:13 ` Rafael J. Wysocki
2009-04-07 19:30 ` Larry Finger
0 siblings, 1 reply; 10+ messages in thread
From: Rafael J. Wysocki @ 2009-04-07 19:13 UTC (permalink / raw)
To: Larry Finger; +Cc: LKML, Mike Galbraith, Rusty Russell
On Tuesday 07 April 2009, Larry Finger wrote:
> >On Tue, 2009-04-07 at 00:47 +0200, Rafael J. Wysocki wrote:
> >> Hi,
> >>
> >> Current mainline (commit 22ae77bc7ac115b9d518d5cbc13d39317079b2b0) can't
> >> find the root device (it's handled by statically compiled-in sata_sil) and
> >> generally causes the "invalid module format" message to appear for all modules
> >> loaded from the initrd on my HP nx6325 (the distro is openSUSE 11.1).
> >>
> >> I don't know which commit might have made this happen, but the breakage was
> >> introduced during the last three days (commit
> >> 601cc11d054ae4b5e9b5babec3d8e4667a2cb9b5 is certainly good). I'll bisect
> >> tomorrow if there are no ideas.
>
> > I bisected "invalid module format" woes to 9cb610d.
>
> My system also fails to load modules from initrd unless 9cb610d is reverted.
> Something is wrong with the "module: remove the SHF_ALLOC flag on the __versions
> section" patch.
This is fixed in the current -git, although I had to apply the patch from
http://patchwork.kernel.org/patch/16776/
to fix an Oops on boot.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [2 regressions] Current git cannot find root device on x86-64(HP nx6325), NFS broken
2009-04-07 19:13 ` Rafael J. Wysocki
@ 2009-04-07 19:30 ` Larry Finger
2009-04-07 20:49 ` Rafael J. Wysocki
0 siblings, 1 reply; 10+ messages in thread
From: Larry Finger @ 2009-04-07 19:30 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: LKML, Mike Galbraith, Rusty Russell
Rafael J. Wysocki wrote:
> On Tuesday 07 April 2009, Larry Finger wrote:
>> My system also fails to load modules from initrd unless 9cb610d is reverted.
>> Something is wrong with the "module: remove the SHF_ALLOC flag on the __versions
>> section" patch.
>
> This is fixed in the current -git, although I had to apply the patch from
> http://patchwork.kernel.org/patch/16776/
> to fix an Oops on boot.
Thanks for the heads-up, particularly on the 16776 patch above. I was in the
middle of a bisection to isolate that one.
Do you know anything about a regression that leads to "phy0: Failed to
initialize wep: -2" messages? It is the 3rd one that I'm chasing and seems to
affect all wireless drivers. For this one, removing and reinserting the driver
corrects the problem.
Larry
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [2 regressions] Current git cannot find root device on x86-64(HP nx6325), NFS broken
2009-04-07 19:30 ` Larry Finger
@ 2009-04-07 20:49 ` Rafael J. Wysocki
2009-04-07 20:57 ` Larry Finger
0 siblings, 1 reply; 10+ messages in thread
From: Rafael J. Wysocki @ 2009-04-07 20:49 UTC (permalink / raw)
To: Larry Finger; +Cc: LKML, Mike Galbraith, Rusty Russell
On Tuesday 07 April 2009, Larry Finger wrote:
> Rafael J. Wysocki wrote:
> > On Tuesday 07 April 2009, Larry Finger wrote:
> >> My system also fails to load modules from initrd unless 9cb610d is reverted.
> >> Something is wrong with the "module: remove the SHF_ALLOC flag on the __versions
> >> section" patch.
> >
> > This is fixed in the current -git, although I had to apply the patch from
> > http://patchwork.kernel.org/patch/16776/
> > to fix an Oops on boot.
>
> Thanks for the heads-up, particularly on the 16776 patch above. I was in the
> middle of a bisection to isolate that one.
>
> Do you know anything about a regression that leads to "phy0: Failed to
> initialize wep: -2" messages? It is the 3rd one that I'm chasing and seems to
> affect all wireless drivers. For this one, removing and reinserting the driver
> corrects the problem.
No, I didn't know about this one. Has it been reported anywhere already?
Rafael
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [2 regressions] Current git cannot find root device on x86-64(HP nx6325), NFS broken
2009-04-07 20:49 ` Rafael J. Wysocki
@ 2009-04-07 20:57 ` Larry Finger
2009-04-07 21:10 ` Rafael J. Wysocki
0 siblings, 1 reply; 10+ messages in thread
From: Larry Finger @ 2009-04-07 20:57 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: LKML, Mike Galbraith, Rusty Russell
Rafael J. Wysocki wrote:
> On Tuesday 07 April 2009, Larry Finger wrote:
>>
>> Do you know anything about a regression that leads to "phy0: Failed to
>> initialize wep: -2" messages? It is the 3rd one that I'm chasing and seems to
>> affect all wireless drivers. For this one, removing and reinserting the driver
>> corrects the problem.
>
> No, I didn't know about this one. Has it been reported anywhere already?
Only on the wireless mail list. Once I get the bad commit, I'll post it in LKML.
Larry
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [2 regressions] Current git cannot find root device on x86-64(HP nx6325), NFS broken
2009-04-07 20:57 ` Larry Finger
@ 2009-04-07 21:10 ` Rafael J. Wysocki
0 siblings, 0 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2009-04-07 21:10 UTC (permalink / raw)
To: Larry Finger; +Cc: LKML, Mike Galbraith, Rusty Russell
On Tuesday 07 April 2009, Larry Finger wrote:
> Rafael J. Wysocki wrote:
> > On Tuesday 07 April 2009, Larry Finger wrote:
> >>
> >> Do you know anything about a regression that leads to "phy0: Failed to
> >> initialize wep: -2" messages? It is the 3rd one that I'm chasing and seems to
> >> affect all wireless drivers. For this one, removing and reinserting the driver
> >> corrects the problem.
> >
> > No, I didn't know about this one. Has it been reported anywhere already?
>
> Only on the wireless mail list.
A pointer to the wireless mailing list thread would do too. :-)
> Once I get the bad commit, I'll post it in LKML.
OK, thanks.
Best,
Rafael
^ permalink raw reply [flat|nested] 10+ messages in thread
* [2 regressions] Current git cannot find root device on x86-64 (HP nx6325), NFS broken
@ 2009-04-06 22:47 Rafael J. Wysocki
2009-04-06 23:46 ` Trond Myklebust
2009-04-07 5:39 ` Mike Galbraith
0 siblings, 2 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2009-04-06 22:47 UTC (permalink / raw)
To: LKML; +Cc: Linus Torvalds, Trond Myklebust, Tejun Heo
Hi,
Current mainline (commit 22ae77bc7ac115b9d518d5cbc13d39317079b2b0) can't
find the root device (it's handled by statically compiled-in sata_sil) and
generally causes the "invalid module format" message to appear for all modules
loaded from the initrd on my HP nx6325 (the distro is openSUSE 11.1).
I don't know which commit might have made this happen, but the breakage was
introduced during the last three days (commit
601cc11d054ae4b5e9b5babec3d8e4667a2cb9b5 is certainly good). I'll bisect
tomorrow if there are no ideas.
Also, mounting directories over NFS doesn't work (I think it oopses, but
didn't have the time to look at it more closely).
Thanks,
Rafael
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [2 regressions] Current git cannot find root device on x86-64 (HP nx6325), NFS broken
2009-04-06 22:47 [2 regressions] Current git cannot find root device on x86-64 (HP " Rafael J. Wysocki
@ 2009-04-06 23:46 ` Trond Myklebust
2009-04-07 19:18 ` Rafael J. Wysocki
2009-04-07 5:39 ` Mike Galbraith
1 sibling, 1 reply; 10+ messages in thread
From: Trond Myklebust @ 2009-04-06 23:46 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: LKML, Linus Torvalds, Tejun Heo
On Tue, 2009-04-07 at 00:47 +0200, Rafael J. Wysocki wrote:
> Also, mounting directories over NFS doesn't work (I think it oopses, but
> didn't have the time to look at it more closely).
There is a known double free issue that affects the 'proto=' mount
option (we call kfree(string) twice). Please could you check that the
following patch fixes it for you?
Cheers
Trond
--------------------------------------------------------------------
>From a3e6cc62dce11c75249f01423eb9b41531759d36 Mon Sep 17 00:00:00 2001
From: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Mon, 6 Apr 2009 16:41:35 -0700
Subject: [PATCH] NFS: Fix a double free in nfs_parse_mount_options()
Due to an apparent typo, commit a67d18f89f5782806135aad4ee012ff78d45aae7
(NFS: load the rpc/rdma transport module automatically) lead to the
'proto=' mount option doing a double free, while Opt_mountproto leaks a
string.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
---
fs/nfs/super.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 82eaadb..6717200 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1228,7 +1228,6 @@ static int nfs_parse_mount_options(char *raw,
goto out_nomem;
token = match_token(string,
nfs_xprt_protocol_tokens, args);
- kfree(string);
switch (token) {
case Opt_xprt_udp:
@@ -1258,6 +1257,7 @@ static int nfs_parse_mount_options(char *raw,
goto out_nomem;
token = match_token(string,
nfs_xprt_protocol_tokens, args);
+ kfree(string);
switch (token) {
case Opt_xprt_udp:
--
1.6.0.4
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [2 regressions] Current git cannot find root device on x86-64 (HP nx6325), NFS broken
2009-04-06 23:46 ` Trond Myklebust
@ 2009-04-07 19:18 ` Rafael J. Wysocki
0 siblings, 0 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2009-04-07 19:18 UTC (permalink / raw)
To: Trond Myklebust; +Cc: LKML, Linus Torvalds, Tejun Heo
On Tuesday 07 April 2009, Trond Myklebust wrote:
> On Tue, 2009-04-07 at 00:47 +0200, Rafael J. Wysocki wrote:
> > Also, mounting directories over NFS doesn't work (I think it oopses, but
> > didn't have the time to look at it more closely).
>
> There is a known double free issue that affects the 'proto=' mount
> option (we call kfree(string) twice). Please could you check that the
> following patch fixes it for you?
The problem is fixed in the current -git, so I guess the patch is in there. :-)
Thanks,
Rafael
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [2 regressions] Current git cannot find root device on x86-64 (HP nx6325), NFS broken
2009-04-06 22:47 [2 regressions] Current git cannot find root device on x86-64 (HP " Rafael J. Wysocki
2009-04-06 23:46 ` Trond Myklebust
@ 2009-04-07 5:39 ` Mike Galbraith
1 sibling, 0 replies; 10+ messages in thread
From: Mike Galbraith @ 2009-04-07 5:39 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: LKML, Linus Torvalds, Trond Myklebust, Tejun Heo
On Tue, 2009-04-07 at 00:47 +0200, Rafael J. Wysocki wrote:
> Hi,
>
> Current mainline (commit 22ae77bc7ac115b9d518d5cbc13d39317079b2b0) can't
> find the root device (it's handled by statically compiled-in sata_sil) and
> generally causes the "invalid module format" message to appear for all modules
> loaded from the initrd on my HP nx6325 (the distro is openSUSE 11.1).
>
> I don't know which commit might have made this happen, but the breakage was
> introduced during the last three days (commit
> 601cc11d054ae4b5e9b5babec3d8e4667a2cb9b5 is certainly good). I'll bisect
> tomorrow if there are no ideas.
I bisected "invalid module format" woes to 9cb610d.
-Mike
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-04-07 21:10 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 14:58 [2 regressions] Current git cannot find root device on x86-64(HP nx6325), NFS broken Larry Finger
2009-04-07 19:13 ` Rafael J. Wysocki
2009-04-07 19:30 ` Larry Finger
2009-04-07 20:49 ` Rafael J. Wysocki
2009-04-07 20:57 ` Larry Finger
2009-04-07 21:10 ` Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2009-04-06 22:47 [2 regressions] Current git cannot find root device on x86-64 (HP " Rafael J. Wysocki
2009-04-06 23:46 ` Trond Myklebust
2009-04-07 19:18 ` Rafael J. Wysocki
2009-04-07 5:39 ` Mike Galbraith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox