All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Olaf Hering <olaf@aepfle.de>
Cc: linuxppc-dev@ozlabs.org, alsa-devel@alsa-project.org
Subject: Re: oops in snd-powermac due to snd-aoa
Date: Thu, 07 Sep 2006 14:58:21 +0200	[thread overview]
Message-ID: <1157633901.2857.61.camel@ux156> (raw)
In-Reply-To: <20060907124256.GA22928@aepfle.de>

On Thu, 2006-09-07 at 14:42 +0200, Olaf Hering wrote:
> I was playing with snd-aoa, maybe the driver would work on a G4/466.

Does it have a layout-id property in the device tree? :)

> mv /lib/modules/*/kernel/sound/ppc/snd-powermac.ko .
> reboot
> $insmod /lib/modules/*/kernel/sound/aoa/*/*.ko
> alsamixer finds nothing.
> mv snd-powermac.ko /lib/modules/*/kernel/sound/ppc/
> $insmod snd-powermac.ko -> oops
> TASK = c291d930[4987] 'modprobe' THREAD: c6b68000
> GPR00: D219CC8C C6B69CF0 C291D930 00000000 00000001 00000068 00000000 00000001 
> GPR08: 00000002 00000000 00000070 C0244AD8 00000000 1002F308 0000000D D2191214 
> GPR16: 0000001C D218FBE4 C1000300 D218FBBC 00000163 D218FB94 00000000 0000001E 
> GPR24: D218F639 00000000 CD6D40AC CD6D4000 C66E30C0 0000000A D21A3F24 D219E714 
> NIP [C0244AF8] i2c_smbus_write_byte_data+0x20/0x44
> LR [D219CC8C] send_init_client+0x30/0x8c [snd_powermac]
> Call Trace:
> [C6B69CF0] [C005B2FC] setup_irq+0x1e4/0x22c (unreliable)
> [C6B69D30] [D219CC8C] send_init_client+0x30/0x8c [snd_powermac]
> [C6B69D50] [D213BDA8] snd_pmac_tumbler_post_init+0x28/0x6c [snd_powermac]
> [C6B69D60] [D213A1F4] snd_pmac_probe+0x19c/0x2f0 [snd_powermac]
> [C6B69D90] [C01F2788] platform_drv_probe+0x20/0x30
> [C6B69DA0] [C01F0AD0] driver_probe_device+0x8c/0xf4
> [C6B69DC0] [C01F0270] bus_for_each_drv+0x50/0x98
> [C6B69DF0] [C01F0BAC] device_attach+0x70/0xac
> [C6B69E10] [C01EFF24] bus_attach_device+0x24/0x44
> [C6B69E20] [C01EEC14] device_add+0x1ec/0x314
> [C6B69E50] [C01F2C00] platform_device_add+0x118/0x160
> [C6B69E70] [C01F2E78] platform_device_register_simple+0x4c/0x78
> [C6B69E90] [D213A038] alsa_card_pmac_init+0x38/0x58 [snd_powermac]
> [C6B69EA0] [C004EB14] sys_init_module+0x1368/0x14f8
> [C6B69F40] [C00125A4] ret_from_syscall+0x0/0x40
> --- Exception: c01 at 0xff698a4
>     LR = 0x100039d0

I fail to see how this is related to aoa since, well, aoa shouldn't do
anything on your machine at all... And for those machines where aoa does
something, snd-powermac blocks its own operation.

johannes

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

WARNING: multiple messages have this Message-ID (diff)
From: Johannes Berg <johannes@sipsolutions.net>
To: Olaf Hering <olaf@aepfle.de>
Cc: linuxppc-dev@ozlabs.org, alsa-devel@alsa-project.org
Subject: Re: oops in snd-powermac due to snd-aoa
Date: Thu, 07 Sep 2006 14:58:21 +0200	[thread overview]
Message-ID: <1157633901.2857.61.camel@ux156> (raw)
In-Reply-To: <20060907124256.GA22928@aepfle.de>

On Thu, 2006-09-07 at 14:42 +0200, Olaf Hering wrote:
> I was playing with snd-aoa, maybe the driver would work on a G4/466.

Does it have a layout-id property in the device tree? :)

> mv /lib/modules/*/kernel/sound/ppc/snd-powermac.ko .
> reboot
> $insmod /lib/modules/*/kernel/sound/aoa/*/*.ko
> alsamixer finds nothing.
> mv snd-powermac.ko /lib/modules/*/kernel/sound/ppc/
> $insmod snd-powermac.ko -> oops
> TASK = c291d930[4987] 'modprobe' THREAD: c6b68000
> GPR00: D219CC8C C6B69CF0 C291D930 00000000 00000001 00000068 00000000 00000001 
> GPR08: 00000002 00000000 00000070 C0244AD8 00000000 1002F308 0000000D D2191214 
> GPR16: 0000001C D218FBE4 C1000300 D218FBBC 00000163 D218FB94 00000000 0000001E 
> GPR24: D218F639 00000000 CD6D40AC CD6D4000 C66E30C0 0000000A D21A3F24 D219E714 
> NIP [C0244AF8] i2c_smbus_write_byte_data+0x20/0x44
> LR [D219CC8C] send_init_client+0x30/0x8c [snd_powermac]
> Call Trace:
> [C6B69CF0] [C005B2FC] setup_irq+0x1e4/0x22c (unreliable)
> [C6B69D30] [D219CC8C] send_init_client+0x30/0x8c [snd_powermac]
> [C6B69D50] [D213BDA8] snd_pmac_tumbler_post_init+0x28/0x6c [snd_powermac]
> [C6B69D60] [D213A1F4] snd_pmac_probe+0x19c/0x2f0 [snd_powermac]
> [C6B69D90] [C01F2788] platform_drv_probe+0x20/0x30
> [C6B69DA0] [C01F0AD0] driver_probe_device+0x8c/0xf4
> [C6B69DC0] [C01F0270] bus_for_each_drv+0x50/0x98
> [C6B69DF0] [C01F0BAC] device_attach+0x70/0xac
> [C6B69E10] [C01EFF24] bus_attach_device+0x24/0x44
> [C6B69E20] [C01EEC14] device_add+0x1ec/0x314
> [C6B69E50] [C01F2C00] platform_device_add+0x118/0x160
> [C6B69E70] [C01F2E78] platform_device_register_simple+0x4c/0x78
> [C6B69E90] [D213A038] alsa_card_pmac_init+0x38/0x58 [snd_powermac]
> [C6B69EA0] [C004EB14] sys_init_module+0x1368/0x14f8
> [C6B69F40] [C00125A4] ret_from_syscall+0x0/0x40
> --- Exception: c01 at 0xff698a4
>     LR = 0x100039d0

I fail to see how this is related to aoa since, well, aoa shouldn't do
anything on your machine at all... And for those machines where aoa does
something, snd-powermac blocks its own operation.

johannes

  parent reply	other threads:[~2006-09-07 12:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-07 12:42 oops in snd-powermac due to snd-aoa Olaf Hering
2006-09-07 12:42 ` Olaf Hering
2006-09-07 12:52 ` Takashi Iwai
2006-09-07 12:52   ` [Alsa-devel] " Takashi Iwai
2006-09-07 13:02   ` Johannes Berg
2006-09-07 13:02     ` [Alsa-devel] " Johannes Berg
2006-09-07 13:05     ` Takashi Iwai
2006-09-07 13:05       ` [Alsa-devel] " Takashi Iwai
2006-09-07 13:08       ` Johannes Berg
2006-09-07 13:08         ` [Alsa-devel] " Johannes Berg
2006-09-16  9:56   ` Olaf Hering
2006-09-16  9:56     ` [Alsa-devel] " Olaf Hering
2006-09-19  9:31     ` Takashi Iwai
2006-09-19  9:31       ` [Alsa-devel] " Takashi Iwai
2006-09-07 12:58 ` Johannes Berg [this message]
2006-09-07 12:58   ` Johannes Berg
2006-09-08  0:13 ` Benjamin Herrenschmidt
2006-09-08  0:13   ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1157633901.2857.61.camel@ux156 \
    --to=johannes@sipsolutions.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=olaf@aepfle.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.