Re: G3 iBook resume kernel oops - help appreciated.
On Mon, 2004-04-19 at 16:50, James Duncan wrote:
> Whenever I resume from sleep on my iBook, I get the folloing error
> message. I am running Debian unstable with pbbuttonsd & powernowd. I
> have searched the archives but can't see anyone with a similar problem.
> Any help would be *very* welcome.
> tumbler: i2c is not initialized
> Oops: kernel access of bad area, sig: 11 [#1]
> NIP: EA159C3C LR: EA3ECE0C SP: E61B7D70 REGS: e61b7cc0 TRAP: 0301 Not
> taintedMSR: 0000b032 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 11
> DAR: 00000006, DSISR: 40000000
> TASK = e6c35640[1438] 'pbbuttonsd' Last syscall: 54
> GPR00: EA3ECE0C E61B7D70 E6C35640 00000000 00000040 00000000 00000000
> 00000040
> GPR08: 00000002 FFFFFFFF E6C35640 00000000 EB649C08
> Call trace:
> [ea3ece0c] snapper_set_capture_source+0x28/0x38 [snd_powermac]
> [ea3ed36c] tumbler_resume+0xa0/0x138 [snd_powermac]
> [ea3ea318] snd_pmac_resume+0xf4/0xf8 [snd_powermac]
> [ea3ea364] snd_pmac_sleep_notify+0x48/0x54 [snd_powermac]
> [c030988c] 0xc030988c
> [c0309fe0] 0xc0309fe0
> [c030a4c4] 0xc030a4c4
> [c030ad2c] 0xc030ad2c
> [c0067b10] sys_ioctl+0xdc/0x2f4
> [c0007600] ret_from_syscall+0x0/0x44
This is apparently a symptom of some other bug where the i2c context of
the mixer gets lost, however, I have a patch that at least stops this
oops:
--- /usr/src/linuxppc-2.5-benh/sound/ppc/tumbler.c 2004-04-01
09:36:25.000000000 -0800
+++ /root/tumbler.c 2004-04-06 22:42:51.000000000 -0700
@@ -684,6 +684,7 @@
static int snapper_set_capture_source(pmac_tumbler_t *mix)
{
+ if (!mix->i2c.client) return -1;
return snd_pmac_keywest_write_byte(&mix->i2c, TAS_REG_ACS,
mix->capture_source ? 2 : 0);
}
Ian
Reply to: