Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Heads up: segfault with snd-powermac on 2.6.16
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message

Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Fri Mar 24, 2006 10:19 pm    Post subject: Heads up: segfault with snd-powermac on 2.6.16 Reply with quote

This is just a heads up, I managed to find the fix.

When booting, when the kernel loads the snd-powermac module I get a segfault:

Unable to handle kernel paging request for data at address 0x00000002
Faulting instruction address: 0xc01a302c
Oops: Kernel access of bad area, sig: 11 [#1]
Modules linked in: snd_powermac snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc binfmt_misc ipv6 rfcomm l2cap nls_utf8 ext3 jbd mbcache dm_snapshot dm_crypt fuse usblp apm_emu vfat fat hfsplus therm_adt746x sr_mod sbp2 scsi_mod eth1394 hci_usb bluetooth evdev tsdev ohci1394 ieee1394 uninorth_agp agpgart dm_mod xfs exportfs usbhid ehci_hcd sungem sungem_phy ohci_hcd usbcore ide_disk ide_cd cdrom
NIP: C01A302C LR: E45A93F4 CTR: C01A3000
REGS: d999fcc0 TRAP: 0300 Not tainted (2.6.16-rc5-powerpc)
MSR: 00009032 <EE,ME,IR,DR> CR: 22008444 XER: 20000000
DAR: 00000002, DSISR: 40000000
TASK = d9f3c0f0[3587] 'modprobe' THREAD: d999e000
GPR00: E45A93F4 D999FD70 D9F3C0F0 00000000 00000001 00000060 00000000 00000001
GPR08: 00000002 00000000 C0018C2C C01A3000 00000000 1001E638 00000000 00000000
GPR16: 00000000 00000000 100013D0 1001F2B0 3002A000 00000003 00000000 00000000
GPR24: 10021C00 00000000 1001FBAC DFC95800 DD6A1560 0000000A E45B2504 E45AC580
NIP [C01A302C] i2c_smbus_write_byte_data+0x2c/0x50
LR [E45A93F4] send_init_client+0x30/0x90 [snd_powermac]
Call Trace:
[D999FD70] [C0053C80] setup_irq+0x12c/0x148 (unreliable)
[D999FDB0] [E45A93F4] send_init_client+0x30/0x90 [snd_powermac]
[D999FDD0] [E454FF00] snd_pmac_tumbler_post_init+0x30/0x68 [snd_powermac]
[D999FDE0] [E454E228] snd_pmac_probe+0x1a8/0x324 [snd_powermac]
[D999FE10] [C017D740] platform_drv_probe+0x20/0x30
[D999FE20] [C017B734] driver_probe_device+0x98/0x100
[D999FE40] [C017ABD0] bus_for_each_drv+0x50/0x98
[D999FE70] [C017B80C] device_attach+0x6c/0xa8
[D999FE90] [C017AC50] bus_add_device+0x38/0xf4
[D999FEB0] [C0179964] device_add+0xe0/0x174
[D999FED0] [C017D58C] platform_device_add+0x118/0x160
[D999FEF0] [C017DB18] platform_device_register_simple+0x4c/0x78
[D999FF10] [E454E044] alsa_card_pmac_init+0x44/0x80 [snd_powermac]
[D999FF20] [C004BAF0] sys_init_module+0x15c/0x2c0
[D999FF40] [C000FF3C] ret_from_syscall+0x0/0x40
--- Exception: c01 at 0xff6e708
LR = 0x10003e30
Instruction dump:
4e800020 7c0802a6 9421ffc0 7c691b78 7c872378 38c00000 39000002 98a10008
90010044 60000000 60000000 60000000 <a0a30002> a0890004 39210008 80630008

The solution is to load the i2c-powermac before snd-powermac (place it before snd-powermac in /etc/modules.autoload.d/kernel-2.6).
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum