Skip to contentSkip to conversation

Kernel panic with the b44 driver in 2.6.35-rc1

DISCUSSION news.gmane.org 2 participants 3 messages May 31, 2010 – Jun 1, 2010

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

Hello everybody,

I have a kernel panic at startup with the b44 driver with the 2.6.35-rc1 kernel. I have submitted a bug report (see
https://bugzilla.kernel.org/show_bug.cgi?id=16074) but until know, I din't get any answer yet. Does anybody knows what's happening. I have tried several git-bisect run but I didn't find any conclusive result. The first bad-commit was different each time and if I revert it, the problem still occurs anyway.

Thanks in advance for your help,
François Valenduc

#1 lore raw
Quoted 7 lines · news.gmane.org

I have a kernel panic at startup with the b44 driver with the 2.6.35-rc1 kernel. I have submitted a bug report (see
https://bugzilla.kernel.org/show_bug.cgi?id=16074) but until know, I din't get any answer yet. Does anybody knows what's happening. I have tried several git-bisect run but I didn't find any conclusive result. The first bad-commit was different each time and if I revert it, the problem still occurs anyway.

This patch is already on its way to Linus -- it should fix the problem you are seeing:

commit da1fdb02d9200ff28b6f3a380d21930335fe5429

Author: Christoph Fritz <[email protected]>
Date:   Fri May 28 10:45:59 2010 +0200

ssb: fix NULL ptr deref when pcihost_wrapper is used

Ethernet driver b44 does register ssb by it's pcihost_wrapper and doesn't set ssb_chipcommon. A check on this value introduced with commit d53cdbb94a52a920d5420ed64d986c3523a56743 and ea2db495f92ad2cf3301623e60cb95b4062bc484 triggers:

BUG: unable to handle kernel NULL pointer dereference at 00000010
IP: [<c1266c36>] ssb_is_sprom_available+0x16/0x30

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

I have a kernel panic at startup with the b44 driver with the 2.6.35-rc1 kernel. I have submitted a bug report (see
https://bugzilla.kernel.org/show_bug.cgi?id=16074) but until know, I din't get any answer yet. Does anybody knows what's happening. I have tried several git-bisect run but I didn't find any conclusive result. The first bad-commit was different each time and if I revert it, the problem still occurs anyway.

This patch is already on its way to Linus -- it should fix the problem you are seeing:

commit da1fdb02d9200ff28b6f3a380d21930335fe5429

Author: Christoph Fritz <[email protected]>
Date:   Fri May 28 10:45:59 2010 +0200

ssb: fix NULL ptr deref when pcihost_wrapper is used

Ethernet driver b44 does register ssb by it's pcihost_wrapper and doesn't set ssb_chipcommon. A check on this value introduced with commit d53cdbb94a52a920d5420ed64d986c3523a56743 and ea2db495f92ad2cf3301623e60cb95b4062bc484 triggers:

Quoted 6 lines

BUG: unable to handle kernel NULL pointer dereference at 00000010
IP: [<c1266c36>] ssb_is_sprom_available+0x16/0x30

This patch indeed solve my problem.

Thanks for your help,
François Valenduc