On Wed, 2006-03-22 at 09:08 +1100, Benjamin Herrenschmidt wrote:
> > Well, in that case it looks like a real bug, then. Disassemble
> > i2c_smbus_write_byte_data and try to figure out why it crashes there ...
> 
> I think it crashes because the sound driver is stupid and tries to tap
> an i2c bus before it was bound to one at all, thus dereferences NULL...
> Should work if you make sure the i2c driver is loaded first. The problem
> was introduced in part because of the driver name change (i2c-keywest ->
> i2c-powermac) since the sound driver explicitely tries to load
> i2c-keywest and wasn't properly updated. Thus you need to load
> i2c-powermac yourself or have it built-in (I recommend the later).

The kernel uploaded yesterday to debian archive have indeed the problem.
What should I do to load first the i2c driver ?

By the way, i didn't manage to build a recent softmac+bcm43xx snapshot
with the debian 2.6.16-1-powerpc kernel
Well it builds fine but don't load:

[EMAIL PROTECTED]: sudo modprobe bcm43xx                                [~]
WARNING: Error inserting ieee80211softmac
(/lib/modules/2.6.16-1-powerpc/kernel/net/ieee80211/softmac/ieee80211softmac.ko):
 Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting bcm43xx
(/lib/modules/2.6.16-1-powerpc/kernel/drivers/net/wireless/bcm43xx.ko):
Invalid module format

Dmesg tail:

ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation
<[EMAIL PROTECTED]>
ieee80211softmac: disagrees about version of symbol
ieee80211_wx_get_scan
ieee80211softmac: Unknown symbol ieee80211_wx_get_scan
ieee80211softmac: disagrees about version of symbol free_ieee80211
ieee80211softmac: Unknown symbol free_ieee80211
ieee80211softmac: disagrees about version of symbol ieee80211_tx_frame
ieee80211softmac: Unknown symbol ieee80211_tx_frame
ieee80211softmac: disagrees about version of symbol alloc_ieee80211
ieee80211softmac: Unknown symbol alloc_ieee80211
bcm43xx: no version magic, tainting kernel.
Module doesn't contain .plt or .init.plt sections.


Patching a (vanilla) kernel with a snapshot, everything runs fine, I'll
try to build a debian kernel with my own .config, and see what's going
on.
-- 
Yves-Alexis Perez


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to