Skip to contentSkip to conversation

[33-stable regression ssb/broadcom]

33-stable regression ssb/broadcom Thomas Backlund 5 participants 10 messages Sep 13, 2010 – Sep 15, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Issue is tracked at:
https://qa.mandriva.com/show_bug.cgi?id=60968

Reverting the commit restores a working lan.

The offending commit is:

--- cut ---
From 6fb037c2ed8378c7ab0c1e00536ba6b2a866503e Mon Sep 17 00:00:00 2001
From: Christoph Fritz <[email protected]>
Date: Sun, 11 Jul 2010 18:26:15 -0500
Subject: [PATCH] ssb: Handle Netbook devices where the SPROM address is changed

For some Netbook computers with Broadcom BCM4312 wireless interfaces, the SPROM has been moved to a new location. When the ssb driver tries to read the old location, the systems hangs when trying to read a non-existent location. Such freezes are particularly bad as they do not log the failure.

This patch is modified from commit da1fdb02d9200ff28b6f3a380d21930335fe5429 with some pieces from other mainline changes so that it can be applied to stable 2.6.34.Y. --- cut ---

--
Thomas

#1 lore raw
Quoted 2 lines · Thomas Backlund

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Did you try the later releases which should have fixed this issue?

thanks,

greg k-h

#2 lore raw

Greg KH skrev 13.9.2010 20:42:

Quoted 6 lines · Thomas Backlund
Quoted 2 lines

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Did you try the later releases which should have fixed this issue?

Well, 33.7 is the latest 2.6.33-stable kernel, wich MDV 2010.1 got based on, and it wont change to anything > 2.6.33.x

We'll have to issue a new kernel with that one reverted, but as I noted on the 2.6.34 regression thread, you dont like "broken trees out there", so I decided to report it even if it's "out of support".

--
Thomas

maintainer
#3 lore raw
In reply to Thomas Backlund

From: Thomas Backlund <[email protected]>
Date: Mon, 13 Sep 2010 20:38:26 +0300

Quoted 9 lines

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Issue is tracked at:
https://qa.mandriva.com/show_bug.cgi?id=60968

Reverting the commit restores a working lan.

The offending commit is:

Please always CC: netdev on networking reports, otherwise you are very unlikely to get any experts looking into your issue.

Quoted 28 lines

--- cut ---
From 6fb037c2ed8378c7ab0c1e00536ba6b2a866503e Mon Sep 17 00:00:00 2001
From: Christoph Fritz <[email protected]>
Date: Sun, 11 Jul 2010 18:26:15 -0500
Subject: [PATCH] ssb: Handle Netbook devices where the SPROM address is changed

For some Netbook computers with Broadcom BCM4312 wireless interfaces, the SPROM has been moved to a new location. When the ssb driver tries to
read the old location, the systems hangs when trying to read a non-existent location. Such freezes are particularly bad as they do not
log the failure.

This patch is modified from commit da1fdb02d9200ff28b6f3a380d21930335fe5429 with some pieces from other mainline changes so that it can be applied to stable 2.6.34.Y. --- cut ---

--
Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
Quoted 9 lines · David Miller

From: Thomas Backlund <[email protected]>
Date: Mon, 13 Sep 2010 20:38:26 +0300

Quoted 6 lines

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Issue is tracked at:
https://qa.mandriva.com/show_bug.cgi?id=60968

Quoted 6 lines
Quoted 3 lines

Reverting the commit restores a working lan.

The offending commit is:

Please always CC: netdev on networking reports, otherwise you are very unlikely to get any experts looking into your issue.

IIRC, there was a bad patch that got sent for the 2.6.33.y series. I thought it had been reverted or fixed already?

John

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
#5 lore raw

John W. Linville skrev 13.9.2010 22:36:

Quoted 12 lines · David Miller
Quoted 11 lines

From: Thomas Backlund<[email protected]>
Date: Mon, 13 Sep 2010 20:38:26 +0300

Quoted 8 lines

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Issue is tracked at:
https://qa.mandriva.com/show_bug.cgi?id=60968

Reverting the commit restores a working lan.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

The offending commit is:

Please always CC: netdev on networking reports, otherwise you are very unlikely to get any experts looking into your issue.

IIRC, there was a bad patch that got sent for the 2.6.33.y series. I thought it had been reverted or fixed already?

Nope.

It got added in 2.6.33.7
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.33.y.git;a=commit;h=6fb037c2ed8378c7ab0c1e00536ba6b2a866503e

--
Thomas

#6 lore raw

Thomas Backlund skrev 13.9.2010 23:34:

Quoted 18 lines

John W. Linville skrev 13.9.2010 22:36:

Quoted 17 lines · David Miller
Quoted 15 lines

From: Thomas Backlund<[email protected]>
Date: Mon, 13 Sep 2010 20:38:26 +0300

Quoted 9 lines

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Issue is tracked at:
https://qa.mandriva.com/show_bug.cgi?id=60968

Reverting the commit restores a working lan.

The offending commit is:

Please always CC: netdev on networking reports, otherwise you are very unlikely to get any experts looking into your issue.

Quoted 9 lines
Quoted 3 lines

IIRC, there was a bad patch that got sent for the 2.6.33.y series. I thought it had been reverted or fixed already?

Nope.

It got added in 2.6.33.7
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.33.y.git;a=commit;h=6fb037c2ed8378c7ab0c1e00536ba6b2a866503e

After checking some more...

I see the revert of the broken patch was done in 2.6.34.3 and a set of ssb patches replacing it...

but it didn't happend for 2.6.33.y

--
Thomas

#7 lore raw
Quoted 29 lines · Thomas Backlund

Thomas Backlund skrev 13.9.2010 23:34:

Quoted 18 lines

John W. Linville skrev 13.9.2010 22:36:

Quoted 17 lines · David Miller
Quoted 15 lines

From: Thomas Backlund<[email protected]>
Date: Mon, 13 Sep 2010 20:38:26 +0300

Quoted 9 lines

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Issue is tracked at:
https://qa.mandriva.com/show_bug.cgi?id=60968

Reverting the commit restores a working lan.

The offending commit is:

Please always CC: netdev on networking reports, otherwise you are very unlikely to get any experts looking into your issue.

Quoted 9 lines
Quoted 3 lines

IIRC, there was a bad patch that got sent for the 2.6.33.y series. I thought it had been reverted or fixed already?

Nope.

It got added in 2.6.33.7
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.33.y.git;a=commit;h=6fb037c2ed8378c7ab0c1e00536ba6b2a866503e

Quoted 6 lines

After checking some more...

I see the revert of the broken patch was done in 2.6.34.3 and a set of ssb patches replacing it...

but it didn't happend for 2.6.33.y

Yeah, I think I "dropped" support for .33 by then and I really didn't care anymore.

Note, I have gotten a few rumblings that I should bring .33 back to life for some loving due to a few distros relying on it, but I need to find the time in my schedule to do so...

thanks,

greg k-h

#8 lore raw

Greg KH skrev 14.9.2010 00:01:

Quoted 32 lines · Thomas Backlund
Quoted 31 lines

Thomas Backlund skrev 13.9.2010 23:34:

Quoted 18 lines

John W. Linville skrev 13.9.2010 22:36:

Quoted 17 lines · David Miller
Quoted 15 lines

From: Thomas Backlund<[email protected]>
Date: Mon, 13 Sep 2010 20:38:26 +0300

Quoted 9 lines

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Issue is tracked at:
https://qa.mandriva.com/show_bug.cgi?id=60968

Reverting the commit restores a working lan.

The offending commit is:

Please always CC: netdev on networking reports, otherwise you are very unlikely to get any experts looking into your issue.

Quoted 9 lines
Quoted 3 lines

IIRC, there was a bad patch that got sent for the 2.6.33.y series. I thought it had been reverted or fixed already?

Nope.

It got added in 2.6.33.7
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.33.y.git;a=commit;h=6fb037c2ed8378c7ab0c1e00536ba6b2a866503e

After checking some more...

Quoted 8 lines
Quoted 4 lines

I see the revert of the broken patch was done in 2.6.34.3 and a set of ssb patches replacing it...

but it didn't happend for 2.6.33.y

Yeah, I think I "dropped" support for .33 by then and I really didn't care anymore.

Yep.
final 2.6.33.7 was released 8 days before 2.6.34.3.

Quoted 4 lines

Note, I have gotten a few rumblings that I should bring .33 back to life for some loving due to a few distros relying on it, but I need to find the time in my schedule to do so...

Well,
if you dont want to really bring it back to life, I'd suggest to simply
released a 2.6.33.8 with only reverting the broken patch as it would "unbreak" the tree and call it a day :-)

Otherwise...
I now have merged the ssb fixes from 26.34.3:
19bfed793ee38ce027326a3c518ff6201f673a8d ssb: do not read SPROM if it does not exist 3ca696ca403b2715018bd5c693ab105c3a3ea888 ssb: Look for SPROM at different offset on higher rev CC a8515c84db1a9c9be19d8d873b059473474b6dab ssb: fix NULL ptr deref when pcihost_wrapper is used 8235ddc2cd7a3367b688e0ed52ab377eac6cfad4 ssb: Handle alternate SSPROM location

into 2.6.33.7 after reverting the broken commit and have confirmation from users that it still works, so thats what I'll do for Mandriva 2010.1

--
Thomas

#9 lore raw
Quoted 66 lines · Thomas Backlund

Greg KH skrev 14.9.2010 00:01:

Quoted 32 lines · Thomas Backlund
Quoted 31 lines

Thomas Backlund skrev 13.9.2010 23:34:

Quoted 18 lines

John W. Linville skrev 13.9.2010 22:36:

Quoted 17 lines · David Miller
Quoted 15 lines

From: Thomas Backlund<[email protected]>
Date: Mon, 13 Sep 2010 20:38:26 +0300

Quoted 9 lines

In Mandriva 2010.1 we noticed that 2.6.33.7 broke ssb/Broadcom lan for several users...

Issue is tracked at:
https://qa.mandriva.com/show_bug.cgi?id=60968

Reverting the commit restores a working lan.

The offending commit is:

Please always CC: netdev on networking reports, otherwise you are very unlikely to get any experts looking into your issue.

Quoted 9 lines
Quoted 3 lines

IIRC, there was a bad patch that got sent for the 2.6.33.y series. I thought it had been reverted or fixed already?

Nope.

It got added in 2.6.33.7
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.33.y.git;a=commit;h=6fb037c2ed8378c7ab0c1e00536ba6b2a866503e

After checking some more...

Quoted 8 lines
Quoted 4 lines

I see the revert of the broken patch was done in 2.6.34.3 and a set of ssb patches replacing it...

but it didn't happend for 2.6.33.y

Yeah, I think I "dropped" support for .33 by then and I really didn't care anymore.

Yep.
final 2.6.33.7 was released 8 days before 2.6.34.3.

Quoted 4 lines

Note, I have gotten a few rumblings that I should bring .33 back to life for some loving due to a few distros relying on it, but I need to find the time in my schedule to do so...

Well,
if you dont want to really bring it back to life, I'd suggest to simply released a 2.6.33.8 with only reverting the broken patch as it would "unbreak" the tree and call it a day :-)

Otherwise...
I now have merged the ssb fixes from 26.34.3:
19bfed793ee38ce027326a3c518ff6201f673a8d ssb: do not read SPROM if it does not exist
3ca696ca403b2715018bd5c693ab105c3a3ea888 ssb: Look for SPROM at different offset on higher rev CC a8515c84db1a9c9be19d8d873b059473474b6dab ssb: fix NULL ptr deref when pcihost_wrapper is used 8235ddc2cd7a3367b688e0ed52ab377eac6cfad4 ssb: Handle alternate SSPROM location

Quoted 2 lines

into 2.6.33.7 after reverting the broken commit and have confirmation from users that it still works, so thats what I'll do for Mandriva 2010.1

If a new 2.6.33-stable kernel is going to be release there is one more important bugfix worth to be backported:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=719f835853a92f6090258114a72ffe41f09155cd

This bug is present in 2.6.33, 2.6.34 and 2.6.35.

Best regards,

Krzysztof Olędzki