ssb_is_sprom_available
Subsystems (3)
Last known good: 2.6.34
Failing kernel: 2.6.35-rc1
subsystem: PCI, USB(?)
Kernel dies during booting on message "ssb_is_sprom_available", see picture:
http://www.unixy.pl/maciek/download/kernel/2.6.35-rc1/gumis/DSC_0011.JPG
Config:
http://www.unixy.pl/maciek/download/kernel/2.6.35-rc1/gumis/config-2.6.35-rc1
Regards
Signature · 2 lines
Maciej Rutecki http://www.maciek.unixy.pl
Quoted 7 lines · Maciej Rutecki
Last known good: 2.6.34
Failing kernel: 2.6.35-rc1subsystem: PCI, USB(?)
Kernel dies during booting on message "
ssb_is_sprom_available", see picture:
http://www.unixy.pl/maciek/download/kernel/2.6.35-rc1/gumis/DSC_0011.JPG
Um, looks like it's something to do with the Sonics Silicon Backplane, not PCI, nor USB.
Signature · 4 lines
Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."
Quoted 5 lines · Maciej Rutecki
Last known good: 2.6.34
Failing kernel: 2.6.35-rc1subsystem: PCI, USB(?)
Quoted 7 lines
Kernel dies during booting on message "
ssb_is_sprom_available", see picture:
http://www.unixy.pl/maciek/download/kernel/2.6.35-rc1/gumis/DSC_0011.JPGConfig:
http://www.unixy.pl/maciek/download/kernel/2.6.35-rc1/gumis/config-2.6.35-rc1Regards
You could try following patch :
Followup of commit d53cdbb94a52a920d5420ed64d986c3523a56743 (ssb: do not read SPROM if it does not exist)
drivers/ssb/sprom.c +1 -0
@@ -185,6 +185,7 @@ bool ssb_is_sprom_available(struct ssb_bus *bus)/* this routine differs from specs as we do not access SPROM directly on PCMCIA */ if (bus->bustype ==SSB_BUSTYPE_PCI && + bus->chipco.dev && bus->chipco.dev->id.revision >=31 )return bus->chipco.capabilities &SSB_CHIPCO_CAP_SPROM ;
Quoted 11 lines · Matthew Wilcox
Quoted 7 lines · Maciej Rutecki
Last known good: 2.6.34
Failing kernel: 2.6.35-rc1subsystem: PCI, USB(?)
Kernel dies during booting on message "
ssb_is_sprom_available", see picture:
http://www.unixy.pl/maciek/download/kernel/2.6.35-rc1/gumis/DSC_0011.JPGUm, looks like it's something to do with the Sonics Silicon Backplane, not PCI, nor USB.
Fix is on its way...
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.
Maciej Rutecki
Tested-byQuoted 28 lines · On wtorek, 1 czerwca 2010 o 15:34:02 John W. Linville wrote:
Quoted 6 lines · Matthew Wilcox
Quoted 5 lines · Maciej Rutecki
Last known good: 2.6.34
Failing kernel: 2.6.35-rc1subsystem: PCI, USB(?)
Quoted 7 lines
Quoted 4 lines
Kernel dies during booting on message "
ssb_is_sprom_available", see picture:
http://www.unixy.pl/maciek/download/kernel/2.6.35-rc1/gumis/DSC_0011.JP
GUm, looks like it's something to do with the Sonics Silicon Backplane, not PCI, nor USB.
Fix is on its way...
commit
da1fdb02d9200ff28b6f3a380d21930335fe5429Author: Christoph Fritz <[email protected]> Date: Fri May 28 10:45:59 2010 +0200ssb: fix NULL ptr deref when
pcihost_wrapperis usedEthernet driver b44 does register ssb by it's
pcihost_wrapperand doesn't setssb_chipcommon. A check on this value introduced with commitd53cdbb94a52a920d5420ed64d986c3523a56743andea2db495f92ad2cf3301623e60cb95b4062bc484triggers:
Quoted 6 lines
BUG: unable to handle kernel NULL pointer dereference at 00000010
IP: [<c1266c36>]ssb_is_sprom_available+0x16/0x30Signed-off-by Christoph Fritz <[email protected]>Signed-off-by John W. Linville <[email protected]>
Yes this commit solves problem. Thanks
Signature · 2 lines
Maciej Rutecki http://www.maciek.unixy.pl