Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] No soundcard w/ ALSA & snd-powermac G4 PowerBook 12
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
GrowlTiger
n00b
n00b


Joined: 26 Jan 2010
Posts: 9

PostPosted: Fri Apr 05, 2013 11:49 pm    Post subject: [SOLVED] No soundcard w/ ALSA & snd-powermac G4 PowerBoo Reply with quote

I'm having a lot of difficulty getting sound up and running on my PowerBook 12 (PowerBook6,1). This is the 12" Aluminum PowerBook G4 with 867 MHz PowerPC 7455 processor originally released January 7, 2003, model number A1010, order number M8760LL/A.

It's a fresh Gentoo installation, still bare bones with no GUI.

I've followed the Gentoo PPC Handbook and FAQ, as well as Gentoo Wiki Archives "HOWTO_Compile_Kernel_with_ALSA." I've read and re-read those documents, and double and triple checked my steps. I've searched and poured over the forums, both PPC and x86. I've attempted multiple installations, including in-kernel and out-of-kernel modules as well as both ALSA options for this machine: snd-powermac and snd-aoa.

None of my attempts produce sound. In addition, with the exception of my current configuration (below), none have shown a module to be recognized by alsaconf. My current configuration (snd-powermac) is recognized by alsaconf, but does not successfully link with the sound card, according to /proc/asound/cards, which reports "No Soundcard." And of course it produces no sound with multiple applications.

[ As a proof of concept, I installed Yellow Dog Linux 6 on the same machine. In YDL ALSA recognizes the sound card as PowerMac Snapper (Dev 31), and produces sound, using the snd-powermac module. YDL is using a 2.6 kernel. ]

In the past I've configured ALSA on multiple Gentoo systems, both PPC and x86, but I've never had this much trouble. Can someone take a look and see what I might be doing wrong?


Here's the log output of the alsa-info.log script found in "HOWTO_Compile_Kernel_with_ALSA":

http://pastebin.com/NeCW4bfY


Message produced after alsaconf quits:
Code:

Running update-modules...
/usr/sbin/alsaconf: line 929: update-modules: command not found
Loading driver...
 * Restoring Mixer Levels ...
 * No mixer config in /var/lib/alsa/asound.state, you have to unmute your card!                                                                                                                                                                                          [ ok ]
Setting default volumes...
amixer: Mixer attach default error: No such file or directory
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1580: No soundcards found...


Upon attempting to run alsamixer the following output is given:
Code:
cannot open mixer: No such file or directory


Result of attempting .mp3 playback with madplay:
Code:

MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
audio: No such file or directory


Result of attempting .mp3 playback with aplay:
Code:

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:682: audio open error: No such file or directory


cat /proc/asound/oss/sndstat
Code:

Sound Driver:3.8.1a-980706 (ALSA emulation code)
Kernel: Linux PB12.gentoo 3.7.10-gentoo #23 Fri Apr 5 12:52:06 CDT 2013 ppc
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
--- no soundcards ---

Audio devices: NOT ENABLED IN CONFIG

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers: NOT ENABLED IN CONFIG


cat /proc/cpuinfo
Code:

processor   : 0
cpu      : 7455, altivec supported
clock      : 867.000000MHz
revision   : 3.3 (pvr 8001 0303)
bogomips   : 108.20
timebase   : 33280414
platform   : PowerMac
model      : PowerBook6,1
machine      : PowerBook6,1
motherboard   : PowerBook6,1 MacRISC3 Power Macintosh
detected as   : 287 (PowerBook G4 12")
pmac flags   : 0000001a
L2 cache   : 256K unified
pmac-generation   : NewWorld
Memory      : 1152 MB


emerge --info
Code:

emerge --info
Portage 2.1.11.55 (default/linux/powerpc/ppc64/13.0/32bit-userland, gcc-4.5.4, glibc-2.15-r3, 3.7.10-gentoo ppc)
=================================================================
System uname: Linux-3.7.10-gentoo-ppc-7455,_altivec_supported-with-gentoo-2.1
KiB Mem:     1159160 total,   1040860 free
KiB Swap:    2040248 total,   2040248 free
Timestamp of tree: Tue, 02 Apr 2013 23:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="acl alsa berkdb bindist bzip2 cdr cli cracklib crypt cxx dri dvd fortran gcc64 gdbm gnome gpm gtk iconv ipv6 modules mudflap ncurses nls nptl openmp pam pcre ppc readline session ssl tcpd unicode zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


dmesg
Code:

[    0.000000] Using PowerMac machine description
[    0.000000] Total memory = 1152MB; using 4096kB for hash table (at c7c00000)
[    0.000000] Linux version 3.7.10-gentoo (root@PB12.gentoo) (gcc version 4.5.4 (Gentoo 4.5.4 p1.1, pie-0.4.7) ) #23 Fri Apr 5 12:52:06 CDT 2013
[    0.000000] Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0xd2
[    0.000000] Mapped at 0xff7c0000
[    0.000000] Found a Intrepid mac-io controller, rev: 0, mapped at 0xff740000
[    0.000000] Processor NAP mode on idle enabled.
[    0.000000] PowerMac motherboard: PowerBook G4 12"
[    0.000000] via-pmu: Server Mode is disabled
[    0.000000] PMU driver v2 initialized for Core99, firmware: 0c
[    0.000000] bootconsole [udbg0] enabled
[    0.000000] Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->0
[    0.000000] PCI host bridge /pci@f0000000  ranges:
[    0.000000]  MEM 0x00000000f1000000..0x00000000f1ffffff -> 0x00000000f1000000
[    0.000000]   IO 0x00000000f0000000..0x00000000f07fffff -> 0x0000000000000000
[    0.000000]  MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
[    0.000000] Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0
[    0.000000] PCI host bridge /pci@f2000000 (primary) ranges:
[    0.000000]  MEM 0x00000000f3000000..0x00000000f3ffffff -> 0x00000000f3000000
[    0.000000]   IO 0x00000000f2000000..0x00000000f27fffff -> 0x0000000000000000
[    0.000000]  MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
[    0.000000] Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->0
[    0.000000] PCI host bridge /pci@f4000000  ranges:
[    0.000000]  MEM 0x00000000f5000000..0x00000000f5ffffff -> 0x00000000f5000000
[    0.000000]   IO 0x00000000f4000000..0x00000000f47fffff -> 0x0000000000000000
[    0.000000] nvram: Checking bank 0...
[    0.000000] nvram: gen0=742, gen1=743
[    0.000000] nvram: Active bank is: 1
[    0.000000] nvram: OF partition at 0x410
[    0.000000] nvram: XP partition at 0x1020
[    0.000000] nvram: NR partition at 0x1120
[    0.000000] Top of RAM: 0x48000000, Total RAM: 0x48000000
[    0.000000] Memory hole size: 0MB
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000-0x2fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x30000000-0x47ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x47ffffff]
[    0.000000] On node 0 totalpages: 294912
[    0.000000] free_area_init_node: node 0, pgdat c05b0ed0, node_mem_map c0890000
[    0.000000]   DMA zone: 1536 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 195072 pages, LIFO batch:31
[    0.000000]   HighMem zone: 768 pages used for memmap
[    0.000000]   HighMem zone: 97536 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 292608
[    0.000000] Kernel command line: root=/dev/sda5 ro
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] High memory: 393216k
[    0.000000] Memory: 1158940k/1179648k available (5692k kernel code, 20708k reserved, 208k data, 242k bss, 220k init)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xff800000..0xffc00000  : highmem PTEs
[    0.000000]   * 0xfde72000..0xff800000  : early ioremap
[    0.000000]   * 0xf1000000..0xfde72000  : vmalloc & ioremap
[    0.000000] SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] mpic: Resetting
[    0.000000] mpic: Setting up MPIC " MPIC 1   " version 1.2 at 80040000, max 1 CPUs
[    0.000000] mpic: ISU size: 64, shift: 6, mask: 3f
[    0.000000] mpic: Initializing for 64 sources
[    0.000000] time_init: decrementer frequency = 33.280414 MHz
[    0.000000] time_init: processor frequency   = 533.333332 MHz
[    0.000000] clocksource: timebase mult[1e0c3646] shift[24] registered
[    0.000000] clockevent: decrementer mult[88510b2] shift[32] cpu[0]
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled, bootconsole disabled
[    0.000889] pid_max: default: 32768 minimum: 301
[    0.001061] Mount-cache hash table entries: 512
[    0.001532] device-tree: Duplicate name in /cpus/PowerPC,G4@0, renamed to "l2-cache#1"
[    0.005524] MPC7450 family performance monitor hardware support registered
[    0.006336] devtmpfs: initialized
[    0.007066] NET: Registered protocol family 16
[    0.008997] KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
[    0.009021]  channel 0 bus <multibus>
[    0.009030]  channel 1 bus <multibus>
[    0.009096] KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
[    0.009110]  channel 0 bus <multibus>
[    0.009135] PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
[    0.009152]  channel 1 bus <multibus>
[    0.009160]  channel 2 bus <multibus>
[    0.009669] PCI: Probing PCI hardware
[    0.009881] PCI host bridge to bus 0000:00
[    0.009910] pci_bus 0000:00: root bus resource [io  0x802000-0x1001fff] (bus address [0x0000-0x7fffff])
[    0.009933] pci_bus 0000:00: root bus resource [mem 0xf1000000-0xf1ffffff]
[    0.009951] pci_bus 0000:00: root bus resource [mem 0x90000000-0x9fffffff]
[    0.009971] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.009990] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.010038] pci 0000:00:0b.0: [106b:0034] type 00 class 0x060000
[    0.010154] pci 0000:00:10.0: [10de:0179] type 00 class 0x030000
[    0.010181] pci 0000:00:10.0: reg 10: [mem 0x91000000-0x91ffffff]
[    0.010196] pci 0000:00:10.0: reg 14: [mem 0x94000000-0x97ffffff pref]
[    0.010212] pci 0000:00:10.0: reg 18: [mem 0x00000000-0x0007ffff pref]
[    0.010245] pci 0000:00:10.0: reg 30: [mem 0x90000000-0x9001ffff pref]
[    0.010363] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.010957] PCI host bridge to bus 0001:10
[    0.010981] pci_bus 0001:10: root bus resource [io  0x0000-0x7fffff]
[    0.010998] pci_bus 0001:10: root bus resource [mem 0xf3000000-0xf3ffffff]
[    0.011029] pci_bus 0001:10: root bus resource [mem 0x80000000-0x8fffffff]
[    0.011053] pci_bus 0001:10: root bus resource [bus 10-ff]
[    0.011077] pci_bus 0001:10: busn_res: [bus 10-ff] end is updated to ff
[    0.011123] pci 0001:10:0b.0: [106b:0035] type 00 class 0x060000
[    0.011215] pci 0001:10:12.0: [14e4:4320] type 00 class 0x028000
[    0.011240] pci 0001:10:12.0: reg 10: [mem 0x80084000-0x80085fff]
[    0.011312] pci 0001:10:12.0: supports D1 D2
[    0.011320] pci 0001:10:12.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.011360] pci 0001:10:17.0: [106b:003e] type 00 class 0xff0000
[    0.011380] pci 0001:10:17.0: reg 10: [mem 0x80000000-0x8007ffff]
[    0.011460] pci 0001:10:18.0: [106b:003f] type 00 class 0x0c0310
[    0.011481] pci 0001:10:18.0: reg 10: [mem 0x80082000-0x80082fff]
[    0.011561] pci 0001:10:19.0: [106b:003f] type 00 class 0x0c0310
[    0.011582] pci 0001:10:19.0: reg 10: [mem 0x80081000-0x80081fff]
[    0.011663] pci 0001:10:1a.0: [106b:003f] type 00 class 0x0c0310
[    0.011683] pci 0001:10:1a.0: reg 10: [mem 0x80080000-0x80080fff]
[    0.011871] pci_bus 0001:10: busn_res: [bus 10-ff] end is updated to 10
[    0.013126] PCI host bridge to bus 0002:20
[    0.013163] pci_bus 0002:20: root bus resource [io  0xff7fe000-0xffffdfff] (bus address [0x0000-0x7fffff])
[    0.013197] pci_bus 0002:20: root bus resource [mem 0xf5000000-0xf5ffffff]
[    0.013221] pci_bus 0002:20: root bus resource [bus 20-ff]
[    0.013244] pci_bus 0002:20: busn_res: [bus 20-ff] end is updated to ff
[    0.013290] pci 0002:20:0b.0: [106b:0036] type 00 class 0x060000
[    0.013368] pci 0002:20:0d.0: [106b:003b] type 00 class 0xff0000
[    0.013387] pci 0002:20:0d.0: reg 10: [mem 0xf5004000-0xf5007fff]
[    0.013460] pci 0002:20:0e.0: [106b:0031] type 00 class 0x0c0010
[    0.013481] pci 0002:20:0e.0: reg 10: [mem 0xf5000000-0xf5000fff]
[    0.013542] pci 0002:20:0e.0: supports D1 D2
[    0.013550] pci 0002:20:0e.0: PME# supported from D0 D1 D2 D3hot
[    0.013581] pci 0002:20:0f.0: [106b:0032] type 00 class 0x020000
[    0.013600] pci 0002:20:0f.0: reg 10: [mem 0xf5200000-0xf53fffff]
[    0.013645] pci 0002:20:0f.0: reg 30: [mem 0xf5100000-0xf51fffff pref]
[    0.013778] pci_bus 0002:20: busn_res: [bus 20-ff] end is updated to 20
[    0.014657] pci 0000:00:10.0: BAR 2: assigned [mem 0xf1000000-0xf107ffff pref]
[    0.014704] pci_bus 0000:00: resource 4 [io  0x802000-0x1001fff]
[    0.014713] pci_bus 0000:00: resource 5 [mem 0xf1000000-0xf1ffffff]
[    0.014722] pci_bus 0000:00: resource 6 [mem 0x90000000-0x9fffffff]
[    0.014731] pci_bus 0001:10: resource 4 [io  0x0000-0x7fffff]
[    0.014740] pci_bus 0001:10: resource 5 [mem 0xf3000000-0xf3ffffff]
[    0.014749] pci_bus 0001:10: resource 6 [mem 0x80000000-0x8fffffff]
[    0.014758] pci_bus 0002:20: resource 4 [io  0xff7fe000-0xffffdfff]
[    0.014767] pci_bus 0002:20: resource 5 [mem 0xf5000000-0xf5ffffff]
[    0.028985] bio: create slab <bio-0> at 0
[    0.029884] vgaarb: device added: PCI:0000:00:10.0,decodes=io+mem,owns=mem,locks=none
[    0.029933] vgaarb: loaded
[    0.029945] vgaarb: bridge control possible 0000:00:10.0
[    0.030672] SCSI subsystem initialized
[    0.031108] libata version 3.00 loaded.
[    0.031519] usbcore: registered new interface driver usbfs
[    0.031686] usbcore: registered new interface driver hub
[    0.031875] usbcore: registered new device driver usb
[    0.033019] Switching to clocksource timebase
[    0.045665] NET: Registered protocol family 2
[    0.046164] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.049257] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[    0.050064] TCP: Hash tables configured (established 131072 bind 65536)
[    0.050301] TCP: reno registered
[    0.050331] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.050374] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.050628] NET: Registered protocol family 1
[    0.050969] RPC: Registered named UNIX socket transport module.
[    0.051001] RPC: Registered udp transport module.
[    0.051016] RPC: Registered tcp transport module.
[    0.051030] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.051124] pci 0001:10:18.0: enabling device (0000 -> 0002)
[    0.105156] pci 0001:10:19.0: enabling device (0000 -> 0002)
[    0.161101] pci 0001:10:1a.0: enabling device (0000 -> 0002)
[    0.217099] PCI: CLS mismatch (32 != 1020), using 32 bytes
[    0.217857] Thermal assist unit not available
[    0.217969] Registering PowerMac CPU frequency driver
[    0.217989] Low: 533 Mhz, High: 867 Mhz, Boot: 533 Mhz
[    0.220284] bounce pool size: 64 pages
[    0.231189] NFS: Registering the id_resolver key type
[    0.231253] Key type id_resolver registered
[    0.231262] Key type id_legacy registered
[    0.231303] msgmni has been set to 1495
[    0.231987] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.232011] io scheduler noop registered
[    0.232020] io scheduler deadline registered
[    0.232215] io scheduler cfq registered (default)
[    0.282510] rivafb: nVidia device/chipset 10DE0179
[    0.282866] rivafb: On a laptop.  Assuming Digital Flat Panel
[    0.282878] rivafb: Detected CRTC controller 1 being used
[    0.283559] rivafb: setting virtual Y resolution to 32768
[    0.283827] riva: Backlight initialized (rivabl0)
[    0.287035] Console: switching to colour frame buffer device 128x48
[    0.290311] rivafb: PCI nVidia NV17 framebuffer ver 0.9.5b (32MB @ 0x94000000)
[    0.290579] prom_parse: Bad cell count for /pci@f0000000/NVDA,Parent@10/NVDA,Display-B@1
[    0.295341] brd: module loaded
[    0.297904] loop: module loaded
[    0.298013] MacIO PCI driver attached to Intrepid chipset
[    0.300800] adb: starting probe task...
[    0.302538] mesh: configured for synchronous 5 MB/s
[    0.303180] pata-pci-macio 0002:20:0d.0: enabling device (0000 -> 0002)
[    0.317114] pata-pci-macio 0002:20:0d.0: Activating pata-macio chipset UniNorth ATA-6, Apple bus ID 3
[    0.317863] scsi0 : pata_macio
[    0.318202] ata1: PATA max UDMA/100 irq 39
[    0.538507] ata1.00: ATA-8: WDC WD2500BEVE-00WZT0, 01.01A01, max UDMA/100
[    0.538559] ata1.00: 488397168 sectors, multi 16: LBA48
[    0.546348] ata1.00: configured for UDMA/100
[    0.546684] scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500BEVE-0 01.0 PQ: 0 ANSI: 5
[    0.548025] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[    0.548460] sd 0:0:0:0: [sda] Write Protect is off
[    0.548491] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.548549] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.551409] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.553611] adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
[    0.558669]  sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13
[    0.560793] ADB keyboard at 2, handler 1
[    0.561729] Detected ADB keyboard, type ANSI.
[    0.563167] input: ADB keyboard as /devices/virtual/input/input0
[    0.564422] input: ADB Powerbook buttons as /devices/virtual/input/input1
[    0.567188] sd 0:0:0:0: [sda] Attached SCSI disk
[    0.580372] ADB mouse at 3, handler set to 4 (trackpad)
[    0.641120] input: ADB mouse as /devices/virtual/input/input2
[    0.642052] adb: finished probe task...
[    1.337072] pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0
[    1.338676] scsi1 : pata_macio
[    1.339890] ata2: PATA max MWDMA2 irq 24
[    1.341794] firewire_ohci 0002:20:0e.0: enabling device (0000 -> 0002)
[    1.397132] firewire_ohci 0002:20:0e.0: added OHCI v1.10 device as card 0, 8 IR + 8 IT contexts, quirks 0x0
[    1.398533] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.399799] ohci_hcd 0001:10:18.0: OHCI Host Controller
[    1.400799] ohci_hcd 0001:10:18.0: new USB bus registered, assigned bus number 1
[    1.401862] ohci_hcd 0001:10:18.0: irq 27, io mem 0x80082000
[    1.477518] hub 1-0:1.0: USB hub found
[    1.478547] hub 1-0:1.0: 2 ports detected
[    1.479689] ohci_hcd 0001:10:19.0: OHCI Host Controller
[    1.480687] ohci_hcd 0001:10:19.0: new USB bus registered, assigned bus number 2
[    1.481755] ohci_hcd 0001:10:19.0: irq 28, io mem 0x80081000
[    1.557514] hub 2-0:1.0: USB hub found
[    1.558525] hub 2-0:1.0: 2 ports detected
[    1.559603] ohci_hcd 0001:10:1a.0: OHCI Host Controller
[    1.560580] ohci_hcd 0001:10:1a.0: new USB bus registered, assigned bus number 3
[    1.561617] ohci_hcd 0001:10:1a.0: irq 29, io mem 0x80080000
[    1.637551] hub 3-0:1.0: USB hub found
[    1.638545] hub 3-0:1.0: 2 ports detected
[    1.639739] Initializing USB Mass Storage driver...
[    1.640874] usbcore: registered new interface driver usb-storage
[    1.641857] USB Mass Storage support registered.
[    1.643253] mousedev: PS/2 mouse device common for all mice
[    1.644778] usbcore: registered new interface driver appletouch
[    1.646114] PowerMac i2c bus pmu 2 registered
[    1.647195] PowerMac i2c bus pmu 1 registered
[    1.648233] PowerMac i2c bus mac-io 0 registered
[    1.649282] i2c i2c-2: No i2c address for /pci@f2000000/mac-io@17/i2c@18000/i2c-modem
[    1.650325] PowerMac i2c bus uni-n 1 registered
[    1.651378] i2c i2c-3: i2c-powermac: modalias failure on /uni-n@f8000000/i2c@f8001000/cereal@1c0
[    1.652425] PowerMac i2c bus uni-n 0 registered
[    1.654187] TCP: cubic registered
[    1.655100] Initializing XFRM netlink socket
[    1.655972] NET: Registered protocol family 17
[    1.656862] NET: Registered protocol family 15
[    1.657807] Key type dns_resolver registered
[    1.660099] input: PMU as /devices/virtual/input/input3
[    1.661419] Registered led device: pmu-led::front
[    1.781431] ata2.00: ATAPI: MATSHITADVD-R   UJ-815, D0CB, max UDMA/66
[    1.797405] ata2.00: configured for MWDMA2
[    1.800814] scsi 1:0:0:0: CD-ROM            MATSHITA DVD-R   UJ-815   D0CB PQ: 0 ANSI: 5
[    1.803820] sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
[    1.804726] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.805707] usb 1-2: new full-speed USB device number 2 using ohci_hcd
[    1.807125] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    1.807625] sr 1:0:0:0: Attached scsi generic sg1 type 5
[    1.875360] kjournald starting.  Commit interval 5 seconds
[    1.876333] EXT3-fs (sda5): mounted filesystem with writeback data mode
[    1.877217] VFS: Mounted root (ext3 filesystem) readonly on device 8:5.
[    1.886528] devtmpfs: mounted
[    1.887817] Freeing unused kernel memory: 220k freed
[    1.925131] firewire_core 0002:20:0e.0: created device fw0: GUID 000393fffeccadb8, S400
[    2.113098] usb 2-1: new low-speed USB device number 2 using ohci_hcd
[    4.117615] systemd-udevd[1195]: starting version 197
[    4.687570] Linux agpgart interface v0.103
[    4.705020] b43-pci-bridge 0001:10:12.0: enabling device (0004 -> 0006)
[    4.705116] ssb: Found chip with id 0x4306, rev 0x02 and package 0x00
[    4.705124] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x02, vendor 0x4243)
[    4.705131] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x04, vendor 0x4243)
[    4.705137] ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x01, vendor 0x4243)
[    4.705144] ssb: Core 3 found: V90 (cc 0x807, rev 0x01, vendor 0x4243)
[    4.705150] ssb: Core 4 found: PCI (cc 0x804, rev 0x07, vendor 0x4243)
[    4.705156] ssb: Core 5 found: IEEE 802.11 (cc 0x812, rev 0x04, vendor 0x4243)
[    4.708520] ssb: Sonics Silicon Backplane found on PCI device 0001:10:12.0
[    4.743892] sungem.c:v1.0 David S. Miller <davem@redhat.com>
[    4.744431] gem 0002:20:0f.0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:03:93:cc:ad:b8
[    4.748773] agpgart-uninorth 0000:00:0b.0: Apple UniNorth 2 chipset
[    4.750144] agpgart-uninorth 0000:00:0b.0: configuring for size idx: 64
[    4.750882] agpgart-uninorth 0000:00:0b.0: AGP aperture is 256M @ 0x0
[    6.390250] cfg80211: Calling CRDA to update world regulatory domain
[    6.803418] b43legacy-phy0: Broadcom 4306 WLAN found (core revision 4)
[    6.825074] b43legacy-phy0 debug: Found PHY: Analog 1, Type 2, Revision 1
[    6.825102] b43legacy-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 2
[    6.849073] b43legacy-phy0 debug: Radio initialized
[    6.849266] Broadcom 43xx-legacy driver loaded [ Features: PLID ]
[    6.849854] b43legacy-phy0: Loading firmware b43legacy/ucode4.fw
[    6.851720] b43legacy-phy0 ERROR: Firmware file "b43legacy/ucode4.fw" not found or load failed.
[    6.851732] b43legacy-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware (version 3).
[    7.313596] Generic RTC Driver v1.07
[    8.936871] fuse init (API version 7.20)
[    9.032447] Generic non-volatile memory driver v1.1
[    9.224697] NET: Registered protocol family 10
[    9.397794] nvram: module license 'unspecified' taints kernel.
[    9.397803] Disabling lock debugging due to kernel taint
[    9.500693] sit: IPv6 over IPv4 tunneling driver
[   10.125725] ALSA sound/ppc/tumbler.c:1115 cannot find device line-output-mute
[   10.125742] ALSA sound/ppc/tumbler.c:1115 cannot find device line-output-mute
[   10.125795] ALSA sound/ppc/tumbler.c:1115 cannot find device line-output-detect
[   10.125803] ALSA sound/ppc/tumbler.c:1115 cannot find device line-output-detect
[   10.537172] i2c i2c-0: PMac Keywest Audio: attach_adapter method is deprecated
[   10.537179] i2c i2c-0: Please use another way to instantiate your i2c_client
[   10.537185] i2c i2c-1: PMac Keywest Audio: attach_adapter method is deprecated
[   10.537189] i2c i2c-1: Please use another way to instantiate your i2c_client
[   10.537194] i2c i2c-2: PMac Keywest Audio: attach_adapter method is deprecated
[   10.537198] i2c i2c-2: Please use another way to instantiate your i2c_client
[   10.537212] i2c i2c-2: Failed to register i2c client keywest at 0x35 (-16)
[   10.537217] i2c i2c-3: PMac Keywest Audio: attach_adapter method is deprecated
[   10.537221] i2c i2c-3: Please use another way to instantiate your i2c_client
[   10.537227] i2c i2c-4: PMac Keywest Audio: attach_adapter method is deprecated
[   10.537231] i2c i2c-4: Please use another way to instantiate your i2c_client
[   10.539881] BUG? (!mix)
[   10.540020] ------------[ cut here ]------------
[   10.540028] WARNING: at sound/ppc/tumbler.c:985
[   10.540030] Modules linked in: snd_powermac snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd_hwdep snd soundcore sit tunnel4 nvram(P) ipv6 generic_nvram fuse arc4 genrtc b43legacy mac80211 cfg80211 uninorth_agp sungem ssb agpgart sungem_phy
[   10.540079] NIP: f4a3a8a8 LR: f4a3a8a8 CTR: 00000000
[   10.540086] REGS: ef117db0 TRAP: 0700   Tainted: P              (3.7.10-gentoo)
[   10.540088] MSR: 00029032 <EE,ME,IR,DR,RI>  CR: 42002082  XER: 00000000
[   10.540101] TASK = ef0cc8d0[1208] 'kworker/0:3' THREAD: ef116000
GPR00: f4a3a8a8 ef117e60 ef0cc8d0 0000000b 0000000c 00000000 c05c7a3e 4255473f
GPR08: 2028216d c05b1fbc 00000143 00000143 00000143 00000000 c004e1e4 ef867e04
GPR16: 00000000 00000000 00000000 00000000 c05b0000 00000001 ef05cb9c ef05cba4
GPR24: 00000001 c059721c c059732c c0597224 f4a3a620 00000000 ef1fd800 00000000
[   10.540172] NIP [f4a3a8a8] device_change_handler+0x288/0x2c8 [snd_powermac]
[   10.540182] LR [f4a3a8a8] device_change_handler+0x288/0x2c8 [snd_powermac]
[   10.540184] Call Trace:
[   10.540194] [ef117e60] [f4a3a8a8] device_change_handler+0x288/0x2c8 [snd_powermac] (unreliable)
[   10.540207] [ef117e80] [c0046df8] process_one_work+0x144/0x3fc
[   10.540214] [ef117eb0] [c0049320] worker_thread+0x184/0x440
[   10.540224] [ef117ef0] [c004e28c] kthread+0xa8/0xac
[   10.540231] [ef117f40] [c0013d30] ret_from_kernel_thread+0x5c/0x64
[   10.540233] Instruction dump:
[   10.540237] 80fe018c 38a00000 4bfffd21 4bfffe18 3860000a 48003025 4bfffef8 3c60f4a4
[   10.540248] 3c80f4a4 3884f350 3863f344 480030ad <0fe00000> 80010024 81810008 7c0803a6
[   10.540260] ---[ end trace bf4c1dfe46b21ba6 ]---
[   12.229343] EXT3-fs (sda5): using internal journal
[   12.534293] Adding 2040248k swap on /dev/sda10.  Priority:-1 extents:1 across:2040248k
[   15.713405] sungem_phy: PHY ID: 4061e4, addr: 0
[   15.713731] gem 0002:20:0f.0 eth0: Found BCM5221 PHY
[   15.713987] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.121192] gem 0002:20:0f.0 eth0: Link is up at 100 Mbps, full-duplex
[   18.121316] gem 0002:20:0f.0 eth0: Pause is disabled
[   18.121348] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


tail -n 200 /var/log/messages
Code:

Apr  5 11:11:04 PB12 kernel: io scheduler cfq registered (default)
Apr  5 11:11:04 PB12 kernel: rivafb: nVidia device/chipset 10DE0179
Apr  5 11:11:04 PB12 kernel: rivafb: On a laptop.  Assuming Digital Flat Panel
Apr  5 11:11:04 PB12 kernel: rivafb: Detected CRTC controller 1 being used
Apr  5 11:11:04 PB12 kernel: rivafb: setting virtual Y resolution to 32768
Apr  5 11:11:04 PB12 kernel: riva: Backlight initialized (rivabl0)
Apr  5 11:11:04 PB12 kernel: Console: switching to colour frame buffer device 128x48
Apr  5 11:11:04 PB12 kernel: rivafb: PCI nVidia NV17 framebuffer ver 0.9.5b (32MB @ 0x94000000)
Apr  5 11:11:04 PB12 kernel: prom_parse: Bad cell count for /pci@f0000000/NVDA,Parent@10/NVDA,Display-B@1
Apr  5 11:11:04 PB12 kernel: brd: module loaded
Apr  5 11:11:04 PB12 kernel: loop: module loaded
Apr  5 11:11:04 PB12 kernel: MacIO PCI driver attached to Intrepid chipset
Apr  5 11:11:04 PB12 kernel: adb: starting probe task...
Apr  5 11:11:04 PB12 kernel: mesh: configured for synchronous 5 MB/s
Apr  5 11:11:04 PB12 kernel: pata-pci-macio 0002:20:0d.0: enabling device (0000 -> 0002)
Apr  5 11:11:04 PB12 kernel: pata-pci-macio 0002:20:0d.0: Activating pata-macio chipset UniNorth ATA-6, Apple bus ID 3
Apr  5 11:11:04 PB12 kernel: scsi0 : pata_macio
Apr  5 11:11:04 PB12 kernel: ata1: PATA max UDMA/100 irq 39
Apr  5 11:11:04 PB12 kernel: ata1.00: ATA-8: WDC WD2500BEVE-00WZT0, 01.01A01, max UDMA/100
Apr  5 11:11:04 PB12 kernel: ata1.00: 488397168 sectors, multi 16: LBA48
Apr  5 11:11:04 PB12 kernel: ata1.00: configured for UDMA/100
Apr  5 11:11:04 PB12 kernel: scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500BEVE-0 01.0 PQ: 0 ANSI: 5
Apr  5 11:11:04 PB12 kernel: sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
Apr  5 11:11:04 PB12 kernel: sd 0:0:0:0: [sda] Write Protect is off
Apr  5 11:11:04 PB12 kernel: sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Apr  5 11:11:04 PB12 kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Apr  5 11:11:04 PB12 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Apr  5 11:11:04 PB12 kernel: adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
Apr  5 11:11:04 PB12 kernel: sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13
Apr  5 11:11:04 PB12 kernel: ADB keyboard at 2, handler 1
Apr  5 11:11:04 PB12 kernel: Detected ADB keyboard, type ANSI.
Apr  5 11:11:04 PB12 kernel: input: ADB keyboard as /devices/virtual/input/input0
Apr  5 11:11:04 PB12 kernel: input: ADB Powerbook buttons as /devices/virtual/input/input1
Apr  5 11:11:04 PB12 kernel: sd 0:0:0:0: [sda] Attached SCSI disk
Apr  5 11:11:04 PB12 kernel: ADB mouse at 3, handler set to 4 (trackpad)
Apr  5 11:11:04 PB12 kernel: input: ADB mouse as /devices/virtual/input/input2
Apr  5 11:11:04 PB12 kernel: adb: finished probe task...
Apr  5 11:11:04 PB12 kernel: pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0
Apr  5 11:11:04 PB12 kernel: scsi1 : pata_macio
Apr  5 11:11:04 PB12 kernel: ata2: PATA max MWDMA2 irq 24
Apr  5 11:11:04 PB12 kernel: firewire_ohci 0002:20:0e.0: enabling device (0000 -> 0002)
Apr  5 11:11:04 PB12 kernel: firewire_ohci 0002:20:0e.0: added OHCI v1.10 device as card 0, 8 IR + 8 IT contexts, quirks 0x0
Apr  5 11:11:04 PB12 kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:18.0: OHCI Host Controller
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:18.0: new USB bus registered, assigned bus number 1
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:18.0: irq 27, io mem 0x80082000
Apr  5 11:11:04 PB12 kernel: hub 1-0:1.0: USB hub found
Apr  5 11:11:04 PB12 kernel: hub 1-0:1.0: 2 ports detected
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:19.0: OHCI Host Controller
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:19.0: new USB bus registered, assigned bus number 2
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:19.0: irq 28, io mem 0x80081000
Apr  5 11:11:04 PB12 kernel: hub 2-0:1.0: USB hub found
Apr  5 11:11:04 PB12 kernel: hub 2-0:1.0: 2 ports detected
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:1a.0: OHCI Host Controller
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:1a.0: new USB bus registered, assigned bus number 3
Apr  5 11:11:04 PB12 kernel: ohci_hcd 0001:10:1a.0: irq 29, io mem 0x80080000
Apr  5 11:11:04 PB12 kernel: hub 3-0:1.0: USB hub found
Apr  5 11:11:04 PB12 kernel: hub 3-0:1.0: 2 ports detected
Apr  5 11:11:04 PB12 kernel: Initializing USB Mass Storage driver...
Apr  5 11:11:04 PB12 kernel: usbcore: registered new interface driver usb-storage
Apr  5 11:11:04 PB12 kernel: USB Mass Storage support registered.
Apr  5 11:11:04 PB12 kernel: mousedev: PS/2 mouse device common for all mice
Apr  5 11:11:04 PB12 kernel: usbcore: registered new interface driver appletouch
Apr  5 11:11:04 PB12 kernel: PowerMac i2c bus pmu 2 registered
Apr  5 11:11:04 PB12 kernel: PowerMac i2c bus pmu 1 registered
Apr  5 11:11:04 PB12 kernel: PowerMac i2c bus mac-io 0 registered
Apr  5 11:11:04 PB12 kernel: i2c i2c-2: No i2c address for /pci@f2000000/mac-io@17/i2c@18000/i2c-modem
Apr  5 11:11:04 PB12 kernel: PowerMac i2c bus uni-n 1 registered
Apr  5 11:11:04 PB12 kernel: i2c i2c-3: i2c-powermac: modalias failure on /uni-n@f8000000/i2c@f8001000/cereal@1c0
Apr  5 11:11:04 PB12 kernel: PowerMac i2c bus uni-n 0 registered
Apr  5 11:11:04 PB12 kernel: TCP: cubic registered
Apr  5 11:11:04 PB12 kernel: Initializing XFRM netlink socket
Apr  5 11:11:04 PB12 kernel: NET: Registered protocol family 17
Apr  5 11:11:04 PB12 kernel: NET: Registered protocol family 15
Apr  5 11:11:04 PB12 kernel: Key type dns_resolver registered
Apr  5 11:11:04 PB12 kernel: input: PMU as /devices/virtual/input/input3
Apr  5 11:11:04 PB12 kernel: Registered led device: pmu-led::front
Apr  5 11:11:04 PB12 kernel: ata2.00: ATAPI: MATSHITADVD-R   UJ-815, D0CB, max UDMA/66
Apr  5 11:11:04 PB12 kernel: ata2.00: configured for MWDMA2
Apr  5 11:11:04 PB12 kernel: scsi 1:0:0:0: CD-ROM            MATSHITA DVD-R   UJ-815   D0CB PQ: 0 ANSI: 5
Apr  5 11:11:04 PB12 kernel: sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Apr  5 11:11:04 PB12 kernel: cdrom: Uniform CD-ROM driver Revision: 3.20
Apr  5 11:11:04 PB12 kernel: usb 1-2: new full-speed USB device number 2 using ohci_hcd
Apr  5 11:11:04 PB12 kernel: sr 1:0:0:0: Attached scsi CD-ROM sr0
Apr  5 11:11:04 PB12 kernel: sr 1:0:0:0: Attached scsi generic sg1 type 5
Apr  5 11:11:04 PB12 kernel: kjournald starting.  Commit interval 5 seconds
Apr  5 11:11:04 PB12 kernel: EXT3-fs (sda5): mounted filesystem with writeback data mode
Apr  5 11:11:04 PB12 kernel: VFS: Mounted root (ext3 filesystem) readonly on device 8:5.
Apr  5 11:11:04 PB12 kernel: devtmpfs: mounted
Apr  5 11:11:04 PB12 kernel: Freeing unused kernel memory: 220k freed
Apr  5 11:11:04 PB12 kernel: firewire_core 0002:20:0e.0: created device fw0: GUID 000393fffeccadb8, S400
Apr  5 11:11:04 PB12 kernel: usb 2-1: new low-speed USB device number 2 using ohci_hcd
Apr  5 11:11:04 PB12 systemd-udevd[1195]: starting version 197
Apr  5 11:11:04 PB12 kernel: Linux agpgart interface v0.103
Apr  5 11:11:04 PB12 kernel: b43-pci-bridge 0001:10:12.0: enabling device (0004 -> 0006)
Apr  5 11:11:04 PB12 kernel: ssb: Found chip with id 0x4306, rev 0x02 and package 0x00
Apr  5 11:11:04 PB12 kernel: ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x02, vendor 0x4243)
Apr  5 11:11:04 PB12 kernel: ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x04, vendor 0x4243)
Apr  5 11:11:04 PB12 kernel: ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x01, vendor 0x4243)
Apr  5 11:11:04 PB12 kernel: ssb: Core 3 found: V90 (cc 0x807, rev 0x01, vendor 0x4243)
Apr  5 11:11:04 PB12 kernel: ssb: Core 4 found: PCI (cc 0x804, rev 0x07, vendor 0x4243)
Apr  5 11:11:04 PB12 kernel: ssb: Core 5 found: IEEE 802.11 (cc 0x812, rev 0x04, vendor 0x4243)
Apr  5 11:11:04 PB12 kernel: ssb: Sonics Silicon Backplane found on PCI device 0001:10:12.0
Apr  5 11:11:04 PB12 kernel: sungem.c:v1.0 David S. Miller <davem@redhat.com>
Apr  5 11:11:04 PB12 kernel: gem 0002:20:0f.0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:03:93:cc:ad:b8
Apr  5 11:11:04 PB12 kernel: agpgart-uninorth 0000:00:0b.0: Apple UniNorth 2 chipset
Apr  5 11:11:04 PB12 kernel: agpgart-uninorth 0000:00:0b.0: configuring for size idx: 64
Apr  5 11:11:04 PB12 kernel: agpgart-uninorth 0000:00:0b.0: AGP aperture is 256M @ 0x0
Apr  5 11:11:04 PB12 kernel: cfg80211: Calling CRDA to update world regulatory domain
Apr  5 11:11:04 PB12 kernel: b43legacy-phy0: Broadcom 4306 WLAN found (core revision 4)
Apr  5 11:11:04 PB12 kernel: b43legacy-phy0 debug: Found PHY: Analog 1, Type 2, Revision 1
Apr  5 11:11:04 PB12 kernel: b43legacy-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 2
Apr  5 11:11:04 PB12 kernel: b43legacy-phy0 debug: Radio initialized
Apr  5 11:11:04 PB12 kernel: Broadcom 43xx-legacy driver loaded [ Features: PLID ]
Apr  5 11:11:04 PB12 kernel: b43legacy-phy0: Loading firmware b43legacy/ucode4.fw
Apr  5 11:11:04 PB12 kernel: b43legacy-phy0 ERROR: Firmware file "b43legacy/ucode4.fw" not found or load failed.
Apr  5 11:11:04 PB12 kernel: b43legacy-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware (version 3).
Apr  5 11:11:04 PB12 kernel: Generic RTC Driver v1.07
Apr  5 11:11:04 PB12 kernel: fuse init (API version 7.20)
Apr  5 11:11:04 PB12 kernel: Generic non-volatile memory driver v1.1
Apr  5 11:11:04 PB12 kernel: NET: Registered protocol family 10
Apr  5 11:11:04 PB12 kernel: nvram: module license 'unspecified' taints kernel.
Apr  5 11:11:04 PB12 kernel: Disabling lock debugging due to kernel taint
Apr  5 11:11:04 PB12 kernel: sit: IPv6 over IPv4 tunneling driver
Apr  5 11:11:04 PB12 kernel: ALSA sound/ppc/tumbler.c:1115 cannot find device line-output-mute
Apr  5 11:11:04 PB12 kernel: ALSA sound/ppc/tumbler.c:1115 cannot find device line-output-mute
Apr  5 11:11:04 PB12 kernel: ALSA sound/ppc/tumbler.c:1115 cannot find device line-output-detect
Apr  5 11:11:04 PB12 kernel: ALSA sound/ppc/tumbler.c:1115 cannot find device line-output-detect
Apr  5 11:11:04 PB12 kernel: i2c i2c-0: PMac Keywest Audio: attach_adapter method is deprecated
Apr  5 11:11:04 PB12 kernel: i2c i2c-0: Please use another way to instantiate your i2c_client
Apr  5 11:11:04 PB12 kernel: i2c i2c-1: PMac Keywest Audio: attach_adapter method is deprecated
Apr  5 11:11:04 PB12 kernel: i2c i2c-1: Please use another way to instantiate your i2c_client
Apr  5 11:11:04 PB12 kernel: i2c i2c-2: PMac Keywest Audio: attach_adapter method is deprecated
Apr  5 11:11:04 PB12 kernel: i2c i2c-2: Please use another way to instantiate your i2c_client
Apr  5 11:11:04 PB12 kernel: i2c i2c-2: Failed to register i2c client keywest at 0x35 (-16)
Apr  5 11:11:04 PB12 kernel: i2c i2c-3: PMac Keywest Audio: attach_adapter method is deprecated
Apr  5 11:11:04 PB12 kernel: i2c i2c-3: Please use another way to instantiate your i2c_client
Apr  5 11:11:04 PB12 kernel: i2c i2c-4: PMac Keywest Audio: attach_adapter method is deprecated
Apr  5 11:11:04 PB12 kernel: i2c i2c-4: Please use another way to instantiate your i2c_client
Apr  5 11:11:04 PB12 kernel: BUG? (!mix)
Apr  5 11:11:04 PB12 kernel: ------------[ cut here ]------------
Apr  5 11:11:04 PB12 kernel: WARNING: at sound/ppc/tumbler.c:985
Apr  5 11:11:04 PB12 kernel: Modules linked in: snd_powermac snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd_hwdep snd soundcore sit tunnel4 nvram(P) ipv6 generic_nvram fuse arc4 genrtc b43legacy mac80211 cfg80211 uninorth_agp sungem ssb agpgart sungem_phy
Apr  5 11:11:04 PB12 kernel: NIP: f4a3a8a8 LR: f4a3a8a8 CTR: 00000000
Apr  5 11:11:04 PB12 kernel: REGS: ef117db0 TRAP: 0700   Tainted: P              (3.7.10-gentoo)
Apr  5 11:11:04 PB12 kernel: MSR: 00029032 <EE,ME,IR,DR,RI>  CR: 42002082  XER: 00000000
Apr  5 11:11:04 PB12 kernel: TASK = ef0cc8d0[1208] 'kworker/0:3' THREAD: ef116000
Apr  5 11:11:04 PB12 kernel: GPR00: f4a3a8a8 ef117e60 ef0cc8d0 0000000b 0000000c 00000000 c05c7a3e 4255473f
Apr  5 11:11:04 PB12 kernel: GPR08: 2028216d c05b1fbc 00000143 00000143 00000143 00000000 c004e1e4 ef867e04
Apr  5 11:11:04 PB12 kernel: GPR16: 00000000 00000000 00000000 00000000 c05b0000 00000001 ef05cb9c ef05cba4
Apr  5 11:11:04 PB12 kernel: GPR24: 00000001 c059721c c059732c c0597224 f4a3a620 00000000 ef1fd800 00000000
Apr  5 11:11:04 PB12 kernel: NIP [f4a3a8a8] device_change_handler+0x288/0x2c8 [snd_powermac]
Apr  5 11:11:04 PB12 kernel: LR [f4a3a8a8] device_change_handler+0x288/0x2c8 [snd_powermac]
Apr  5 11:11:04 PB12 kernel: Call Trace:
Apr  5 11:11:04 PB12 kernel: [ef117e60] [f4a3a8a8] device_change_handler+0x288/0x2c8 [snd_powermac] (unreliable)
Apr  5 11:11:04 PB12 kernel: [ef117e80] [c0046df8] process_one_work+0x144/0x3fc
Apr  5 11:11:04 PB12 kernel: [ef117eb0] [c0049320] worker_thread+0x184/0x440
Apr  5 11:11:04 PB12 kernel: [ef117ef0] [c004e28c] kthread+0xa8/0xac
Apr  5 11:11:04 PB12 kernel: [ef117f40] [c0013d30] ret_from_kernel_thread+0x5c/0x64
Apr  5 11:11:04 PB12 kernel: Instruction dump:
Apr  5 11:11:04 PB12 kernel: 80fe018c 38a00000 4bfffd21 4bfffe18 3860000a 48003025 4bfffef8 3c60f4a4
Apr  5 11:11:04 PB12 kernel: 3c80f4a4 3884f350 3863f344 480030ad <0fe00000> 80010024 81810008 7c0803a6
Apr  5 11:11:04 PB12 kernel: ---[ end trace bf4c1dfe46b21ba6 ]---
Apr  5 11:11:04 PB12 kernel: EXT3-fs (sda5): using internal journal
Apr  5 11:11:04 PB12 kernel: Adding 2040248k swap on /dev/sda10.  Priority:-1 extents:1 across:2040248k
Apr  5 11:11:04 PB12 kernel: sungem_phy: PHY ID: 4061e4, addr: 0
Apr  5 11:11:04 PB12 kernel: gem 0002:20:0f.0 eth0: Found BCM5221 PHY
Apr  5 11:11:04 PB12 kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr  5 11:11:04 PB12 kernel: gem 0002:20:0f.0 eth0: Link is up at 100 Mbps, full-duplex
Apr  5 11:11:04 PB12 kernel: gem 0002:20:0f.0 eth0: Pause is disabled
Apr  5 11:11:04 PB12 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Apr  5 11:11:04 PB12 sshd[2238]: Server listening on 0.0.0.0 port 22.
Apr  5 11:11:04 PB12 sshd[2238]: Server listening on :: port 22.
Apr  5 11:11:05 PB12 cron[2251]: (CRON) STARTUP (V5.0)
Apr  5 11:11:05 PB12 dhcpcd[2172]: eth0: sending IPv6 Router Solicitation
Apr  5 11:11:09 PB12 dhcpcd[2172]: eth0: sending IPv6 Router Solicitation
Apr  5 11:11:09 PB12 dhcpcd[2172]: eth0: no IPv6 Routers available
Apr  5 11:20:01 PB12 cron[2272]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 11:30:01 PB12 cron[2285]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 11:40:01 PB12 cron[2298]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 11:50:01 PB12 cron[2310]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 11:59:01 PB12 cron[2322]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Apr  5 12:00:01 PB12 cron[2324]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 12:04:56 PB12 sshd[2335]: SSH: Server;Ltype: Version;Remote: 192.168.1.108-55785;Protocol: 2.0;Client: OpenSSH_5.6
Apr  5 12:04:56 PB12 sshd[2335]: SSH: Server;Ltype: Kex;Remote: 192.168.1.108-55785;Enc: aes128-ctr;MAC: hmac-md5;Comp: none [preauth]
Apr  5 12:04:56 PB12 sshd[2335]: SSH: Server;Ltype: Authname;Remote: 192.168.1.108-55785;Name: root [preauth]
Apr  5 12:04:56 PB12 sshd[2335]: Address 192.168.1.108 maps to nehalem, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr  5 12:04:58 PB12 sshd[2335]: Accepted keyboard-interactive/pam for root from 192.168.1.108 port 55785 ssh2
Apr  5 12:04:58 PB12 sshd[2335]: pam_unix(sshd:session): session opened for user root by (uid=0)
Apr  5 12:10:01 PB12 cron[2363]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 12:20:01 PB12 cron[2406]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 12:30:01 PB12 cron[2419]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 12:40:01 PB12 cron[2435]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 12:50:01 PB12 cron[2451]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 12:59:01 PB12 cron[2464]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Apr  5 13:00:01 PB12 cron[2466]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr  5 13:08:01 PB12 /etc/init.d/alsasound[2488]: WARNING: you are stopping a boot service
Apr  5 13:08:01 PB12 /etc/init.d/alsasound[2497]: alsasound: unknown function `unload'
Apr  5 13:08:10 PB12 /etc/init.d/alsasound[2571]: No mixer config in /var/lib/alsa/asound.state, you have to unmute your card!
Apr  5 13:10:01 PB12 cron[2585]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)


cat /etc/conf.d/modules
Code:

modules_3_7="agpgart arc4 b43legacy cfg80211 fuse generic_nvram genrtc ipv6 mac80211 nvram sit snd snd-hwdep snd-mixer-oss snd-page-alloc snd-pcm snd-pcm-oss snd-powermac snd-rawmidi snd-seq snd-seq-device snd-seq-dummy snd-seq-oss snd-timer soundcore ssb sungem sungem_phy tunnel4 uninorth-agp xfrm6_mode_beet xfrm6_mode_transport xfrm6_mode_tunnel"


References: Gentoo Wiki Archives | HOWTO_Compile_Kernel_with_ALSA http://www.gentoo-wiki.info/HOWTO_Compile_Kernel_with_ALSA


Last edited by GrowlTiger on Thu Apr 11, 2013 2:24 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Apr 07, 2013 6:18 am    Post subject: Reply with quote

Code:

[   10.537194] i2c i2c-2: PMac Keywest Audio: attach_adapter method is deprecated
[   10.537198] i2c i2c-2: Please use another way to instantiate your i2c_client
[   10.537212] i2c i2c-2: Failed to register i2c client keywest at 0x35 (-16)


I'm not sure why it's failing, but this is the problem. It looks like you're using a 3.7.x kernel, have you tried with other kernel versions? There could be a regression in the I2C configuration routines.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
GrowlTiger
n00b
n00b


Joined: 26 Jan 2010
Posts: 9

PostPosted: Mon Apr 08, 2013 6:58 pm    Post subject: Reply with quote

JoseJX wrote:

It looks like you're using a 3.7.x kernel, have you tried with other kernel versions? There could be a regression in the I2C configuration routines.


JoseJX,

Thank you for your help. I will compile a couple of older kernels and report back. Perhaps gentoo-sources 3.4.34 and 3.0.35 (both from the stable tree).
Back to top
View user's profile Send private message
GrowlTiger
n00b
n00b


Joined: 26 Jan 2010
Posts: 9

PostPosted: Thu Apr 11, 2013 2:19 am    Post subject: Reply with quote

JoseJX,

You were spot on regarding the problem. I emerged the previous stable kernel sources, gentoo-kernel 3.4.34. I then proceeded to compile the kernel with the exact same configuration settings as I had in the 3.7.10 kernel.

Problem gone! Soundcard is reported by /proc/asound/cards and alsamixer is now working. Audio is working. Played my favorite .mp3 using madplay and it sounds great!

Here are the relevant lines from dmesg for the this successful trial:
Code:

i2c i2c-0: PMac Keywest Audio: attach_adapter method is deprecated
i2c i2c-0: Please use another way to instantiate your i2c_client
i2c i2c-1: PMac Keywest Audio: attach_adapter method is deprecated
i2c i2c-1: Please use another way to instantiate your i2c_client
i2c i2c-2: PMac Keywest Audio: attach_adapter method is deprecated
i2c i2c-2: Please use another way to instantiate your i2c_client
i2c i2c-3: PMac Keywest Audio: attach_adapter method is deprecated
i2c i2c-3: Please use another way to instantiate your i2c_client
i2c i2c-4: PMac Keywest Audio: attach_adapter method is deprecated
i2c i2c-4: Please use another way to instantiate your i2c_client
input: PowerMac Beep as /devices/pci0001:10/0001:10:17.0/input/input4
usbcore: registered new interface driver snd-usb-audio


The "i2c i2c-2: Failed to register i2c client keywest at 0x35 (-16)" error message which was produced by the 3.7.10 kernel is gone.

So as you said, it appears a regression in the I2C configuration routines has occurred in the 3.7.10 kernel.

Is this something that should be reported upstream as having broken the snd-powermac driver? What would be the most effective way of reporting the bug in I2C configuration routines of the 3.7.10 kernel?

Also, just for my education, would you mind explaining what a regression is, and how it may have occurred?

Thanks again for your sage advice and kind help. It's appreciated much! :wink:

(I've marked this topic SOLVED.)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Apr 11, 2013 4:53 am    Post subject: Reply with quote

I can't say what the problem is exactly, otherwise it could get fixed! A regression just means that something was broken due to changes made to the kernel, usually unintentionally. To find the problem, one generally follows these steps:

1. Test the latest version, does it still have the problem (in this case, try 3.8.x, does it also exhibit the problem?)
2. If the latest version also doesn't work, the next step is to determine what change caused the problem using a bisect: http://blog.evan.pro/getting-started-with-git-bisect-in-60-seconds
3. Once we have the change that broke the kernel, we can fix the problem (hopefully!)

Hope that helps!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
GrowlTiger
n00b
n00b


Joined: 26 Jan 2010
Posts: 9

PostPosted: Fri Apr 19, 2013 9:35 pm    Post subject: Reply with quote

Jose, I followed your advice and used git-bisect to isolate the problem.

The issue first appeared in the 3.5.0-rc6+ kernel, and all subsequent kernels have the problem.
Code:

Bisecting: 0 revisions left to test after this (roughly 0 steps)
[3a3dd0186f619b74e61e6f29dddcaf59af7d3cac] i2c/powermac: Improve detection of devices from device-tree
3a3dd0186f619b74e61e6f29dddcaf59af7d3cac is the first bad commit
commit 3a3dd0186f619b74e61e6f29dddcaf59af7d3cac
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date:   Mon Jun 18 12:00:50 2012 +1000

    i2c/powermac: Improve detection of devices from device-tree
   
    This patch adds a number of workarounds for broken Apple device-trees
    mostly around sound chips. It handles creating the missing audio codec
    devices and works around various issues with missing addresses or
    missing compatible properties.
   
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

:040000 040000 849b9ecd549338cf00f024c15aaa01d5217e1806 90e49b5143a97c43b4f07040b56dc6002ad51f9b M   drivers


I'd be glad to submit a report to bugs.gentoo.org. Would that be the next appropriate step?

Should it go in the "Gentoo Linux: The Gentoo Linux Distribution – Ebuilds and System related issues" section of bugzilla?


Thanks again for your help,

-=GT=-
Back to top
View user's profile Send private message
GrowlTiger
n00b
n00b


Joined: 26 Jan 2010
Posts: 9

PostPosted: Thu May 09, 2013 3:08 am    Post subject: Reply with quote

JoseJX,

I submitted this bug to the Gentoo Bugzilla. It's listed as bug number 469132 and can be found at:

https://bugs.gentoo.org/show_bug.cgi?id=469132

I appreciate all your help!

:)
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