Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-23 Thread Michael Schmitz
> > I bet it does - I still haven't tried a recent 2.6.16 after hearing so > > many 'doesn't boot' reports here. Color me lazy if you must. > > Doesn't boot ? how so ? because of this sound problem ? I'm very curious > to know if there are any others. I've fixed a lot in the late 2.6.16-rc > stages

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-23 Thread Michael Schmitz
Hi, > For a more elegant way to do it, see the modprobe.conf man page. > > install snd-powermac /sbin/modprobe i2c-powermac; /sbin/modprobe > --ignore-install snd-powermac > > should do what you need. For some odd reason, this does not work for me. A simple alias i2c-keywest i2c-powermac does

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-23 Thread Michael Schmitz
> > I bet it does - I still haven't tried a recent 2.6.16 after hearing so > > many 'doesn't boot' reports here. Color me lazy if you must. > > Doesn't boot ? how so ? because of this sound problem ? I'm very curious Nope, that wouldn't be fatal anyway I guess. I'll dig through my mailbox to see w

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-22 Thread Benjamin Herrenschmidt
> I bet it does - I still haven't tried a recent 2.6.16 after hearing so > many 'doesn't boot' reports here. Color me lazy if you must. Doesn't boot ? how so ? because of this sound problem ? I'm very curious to know if there are any others. I've fixed a lot in the late 2.6.16-rc stages and I exp

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-22 Thread Charles-Edouard Ruault
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 de

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-22 Thread Michael Schmitz
> yeah, I know how to load a module. I mean, in the boot sequence modules > are autoloaded, and i2c-powermac is loaded *after* snd-powermac, so the > oops. Sorry, I wasn't sure what precisely you were asking about. Add i2c-powermac to /etc/modules to force loading the module early in the boot proc

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-22 Thread Antonio-Miguel Corbi Bellot
Yves-Alexis Perez wrote: On Wed, 2006-03-22 at 09:54 +0100, Michael Schmitz wrote: modprobe i2c-powermac (as root). yeah, I know how to load a module. I mean, in the boot sequence modules are autoloaded, and i2c-powermac is loaded *after* snd-powermac, so the oops. You only have to

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-22 Thread Michael Schmitz
> > You Shalt Not Compile Thine Kernel Using The PREEPMT Option On PowerPC. > > Ever. > > Heh... I'm not sure that still holds :) We have fixed a lot of bugs > related to preempt, it may not be that bad anymore... Well, good thing I tried to tickle you a bit there :-) > I think his problem is a d

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-22 Thread Yves-Alexis Perez
On Wed, 2006-03-22 at 09:54 +0100, Michael Schmitz wrote: > modprobe i2c-powermac (as root). yeah, I know how to load a module. I mean, in the boot sequence modules are autoloaded, and i2c-powermac is loaded *after* snd-powermac, so the oops. -- Yves-Alexis Perez -- To UNSUBSCRIBE, email to [

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-22 Thread Michael Schmitz
> > 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-keywe

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-22 Thread Yves-Alexis Perez
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 b

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-21 Thread Benjamin Herrenschmidt
> 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

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-21 Thread Benjamin Herrenschmidt
On Tue, 2006-03-21 at 15:44 +0100, Michael Schmitz wrote: > > Mar 21 11:23:41 kaluha kernel: Oops: Kernel access of bad area, sig: 11 [#1] > > Mar 21 11:23:41 kaluha kernel: PREEMPT > > You Shalt Not Compile Thine Kernel Using The PREEPMT Option On PowerPC. > Ever. Heh... I'm not sure that still

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-21 Thread Michael Schmitz
> Mar 21 16:43:43 kaluha kernel: NIP: C01C20BC LR: F265D7FC CTR: C01C2090 > Mar 21 16:43:43 kaluha kernel: REGS: ef247cc0 TRAP: 0300 Not tainted > (2.6.16) > Mar 21 16:43:43 kaluha kernel: MSR: 9032 CR: > 22008244 XER: 2000 > Mar 21 16:43:43 kaluha kernel: DAR: 0002, DSISR: 400

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-21 Thread Michael Schmitz
> Mar 21 11:23:41 kaluha kernel: Oops: Kernel access of bad area, sig: 11 [#1] > Mar 21 11:23:41 kaluha kernel: PREEMPT You Shalt Not Compile Thine Kernel Using The PREEPMT Option On PowerPC. Ever. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". T

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-21 Thread Charles-Edouard Ruault
Michael Schmitz wrote: >>Mar 21 11:23:41 kaluha kernel: Oops: Kernel access of bad area, sig: 11 [#1] >>Mar 21 11:23:41 kaluha kernel: PREEMPT >> >> > >You Shalt Not Compile Thine Kernel Using The PREEPMT Option On PowerPC. >Ever. > > Michael > > > > Well, it looks like preemption is n

Re: kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-21 Thread Charles-Edouard Ruault
Michael Schmitz wrote: >>Mar 21 11:23:41 kaluha kernel: Oops: Kernel access of bad area, sig: 11 [#1] >>Mar 21 11:23:41 kaluha kernel: PREEMPT >> >> > >You Shalt Not Compile Thine Kernel Using The PREEPMT Option On PowerPC. >Ever. > > Michael > > > > right i had seen that before and fo

kernel 2.6.16 on powerbook G4: Oops when loading sound module

2006-03-21 Thread Charles-Edouard Ruault
Hi All, i've just compiled a vanilla 2.6.16 kernel on my powerbook G4 15" running debian testing. Everything looks fine except that, when the sound module is loaded i'm getting a kernel OOPS: Mar 21 11:23:41 kaluha kernel: Oops: Kernel access of bad area, sig: 11 [#1] Mar 21 11:23:41 kaluha kerne