[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#338316: linux-image-2.6.14-1-powerpc64: access to the sound card freezes the Apple iMac G5



Package: linux-image-2.6.14-1-powerpc64
Version: 2.6.14-2
Severity: important

The computer (iMac G5 20" LCD) freezes when a process tries to play a
sound: like a bell from bash or a login sound from gdm.

The computer is not completely dead since the cursor is still blinking
when the crash occurs in console mode but the blinking is faster than
normal. But the mouse cursor does not move, keyboard does not respond
and network access is also broken. The kernel is in a really bad shape.

The problem seems to be common. I added a note to Ubuntu bug 17272
available at http://bugzilla.ubuntu.com/17272

I have to remove the snd_powermac module to avoid the crash.

Some output:
- dmesg

Found initrd at 0xc000000001a00000:0xc00000000202c000
trying to initialize btext ...
U3-DART: table not allocated, using direct DMA
Starting Linux PPC64 #1 SMP Tue Nov 1 16:46:09 JST 2005
-----------------------------------------------------
ppc64_pft_size                = 0x18
ppc64_debug_switch            = 0x0
ppc64_interrupt_controller    = 0x1
systemcfg                     = 0xc00000000036c000
systemcfg->platform           = 0x400
systemcfg->processorCount     = 0x1
systemcfg->physicalMemorySize = 0x40000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0xc00000003e000000
htab_hash_mask                = 0x1ffff
-----------------------------------------------------
[boot]0100 MM Init
[boot]0100 MM Init Done
Linux version 2.6.14-1-powerpc64 (Debian 2.6.14-2) (horms@debian.org)
(gcc version 4.0.2 (Debian 4.0.2-2)) #1 SMP Tue Nov 1 16:46:09 JST
2005
[boot]0012 Setup Arch
Top of RAM: 0x40000000, Total RAM: 0x40000000
Memory hole size: 0MB
Syscall map setup, 248 32 bits and 229 64 bits syscalls
Found U3 memory controller & host bridge, revision: 57
Mapped at 0xd0000800801cc000
Found a K2 mac-io controller, rev: 0, mapped at 0xd00008008020d000
Unknown PowerMac !
SMU driver 0.6 (c) 2005 Benjamin Herrenschmidt, IBM Corp.
nvram: Checking bank 0...
nvram: gen0=273, gen1=272
nvram: Active bank is: 0
Adding PCI host bridge /pci@0,f0000000
Found U3-AGP PCI host bridge. Firmware bus number: 240->255
Adding PCI host bridge /ht@0,f2000000
Can't get bus-range for /ht@0,f2000000, assume bus 0
U3/HT: hole, 0 end at 8fffffff, 1 start at a0000000
Found U3-HT PCI host bridge. Firmware bus number: 0->239
Can't get bus-range for /ht@0,f2000000
PCI Host 0, io start: fffffffffd800000; io end: fffffffffdffffff
PCI Host 1, io start: 0; io end: 3fffff
Using native/NAP idle loop
On node 0 totalpages: 262144
  DMA zone: 262144 pages, LIFO batch:31
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line: root=/dev/sda4 ro ramdisk_size=8192 single
PowerMac using OpenPIC irq controller at 0x80040000
mpic: Setting up MPIC " K2-MPIC  " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 124, shift: 7, mask: 7f
mpic: Initializing for 124 sources
Slave OpenPIC at 0xf8040000 hooked on IRQ 96
mpic: Setting up MPIC " U3-MPIC  " version 1.2 at f8040000, max 4 CPUs
mpic: ISU size: 124, shift: 7, mask: 7f
mpic: Initializing for 124 sources
PID hash table entries: 4096 (order: 12, 131072 bytes)
time_init: decrementer frequency = 33.333333 MHz
Console: colour dummy device 80x25
serial8250_console_init: nothing to do on PowerMac
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
freeing bootmem node 0
Memory: 1002456k/1048576k available (2876k kernel code, 46120k
reserved, 884k data, 322k bss, 244k init)
Calibrating delay loop... 66.30 BogoMIPS (lpj=33152)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 256
PowerMac SMP probe found 1 cpus
Brought up 1 CPUs
checking if image is initramfs... it is
softlockup thread 0 started up.
Freeing initrd memory: 6320k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Probing PCI hardware done
i/pSeries Real Time Clock Driver v1.1
nvram_init: Could not find nvram partition for nvram buffered error logging.
audit: initializing netlink socket (disabled)
audit(1131525052.205:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
PCI: Enabling device: (0000:f0:10.0), cmd 7
radeonfb (0000:f0:10.0): Invalid ROM signature 303 should be 0xaa55
radeonfb: Retreived PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=201.00 Mhz, System=325.00 MHz
radeonfb: PLL min 12000 max 35000
radeonfb: Monitor 1 type DFP found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
Trying to im_free nonexistent area (d000080080000000)
Console: switching to colour frame buffer device 210x65
radeonfb (0000:f0:10.0): ATI Radeon AP
vio_register_driver: driver hvc_console registering
HVSI: registered 0 devices
serial8250_init: nothing to do on PowerMac
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
ttyS0 at MMIO 0x80013020 (irq = 23) is a Z85c30 ESCC - Serial port
ttyS1 at MMIO 0x80013000 (irq = 24) is a Z85c30 ESCC - Serial port
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
MacIO PCI driver attached to K2 chipset
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PCI: Enabling device: (0001:02:0d.0), cmd 2
ide0: Found Apple Shasta ATA-6 controller, bus ID 3, irq 38
Probing IDE interface ide0...
hda: MATSHITADVD-R UJ-845, ATAPI CD/DVD-ROM drive
hda: Enabling Ultra DMA 4
ide0 at 0xd00008008408a000-0xd00008008408a007,0xd00008008408a160 on irq 38
mice: PS/2 mouse device common for all mice
/u3@0,f8000000/i2c@f8001000: Missing interrupt or address !
Found KeyWest i2c on "mac-io", 1 channel, stepping: 4 bits
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 244k freed
SCSI subsystem initialized
libata version 1.12 loaded.
sata_svw version 1.06
ata1: SATA max UDMA/133 cmd 0xD00008008408D000 ctl 0xD00008008408D020
bmdma 0xD00008008408D030 irq 10
ata2: SATA max UDMA/133 cmd 0xD00008008408D100 ctl 0xD00008008408D120
bmdma 0xD00008008408D130 irq 10
ata3: SATA max UDMA/133 cmd 0xD00008008408D200 ctl 0xD00008008408D220
bmdma 0xD00008008408D230 irq 10
ata4: SATA max UDMA/133 cmd 0xD00008008408D300 ctl 0xD00008008408D320
bmdma 0xD00008008408D330 irq 10
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e01 87:4663 88:007f
ata1: dev 0 ATA, max UDMA/133, 490234752 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : sata_svw
ata2: no device found (phy stat 00000004)
scsi1 : sata_svw
ata3: no device found (phy stat 00000000)
scsi2 : sata_svw
ata4: no device found (phy stat 00000000)
scsi3 : sata_svw
  Vendor: ATA       Model: Maxtor 6B250S0    Rev: BANC
  Type:   Direct-Access                      ANSI SCSI revision: 05
hda: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sda: drive cache: write back
 sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sda10
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Enabling device: (0001:01:0b.0), cmd 2
ohci_hcd 0001:01:0b.0: OHCI Host Controller
ohci_hcd 0001:01:0b.0: new USB bus registered, assigned bus number 1
ohci_hcd 0001:01:0b.0: irq 70, io mem 0x80082000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
PCI: Enabling device: (0001:01:0b.1), cmd 2
ohci_hcd 0001:01:0b.1: OHCI Host Controller
ohci_hcd 0001:01:0b.1: new USB bus registered, assigned bus number 2
ohci_hcd 0001:01:0b.1: irq 70, io mem 0x80081000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-2: new full speed USB device using ohci_hcd and address 2
PCI: Enabling device: (0001:01:0b.2), cmd 6
ehci_hcd 0001:01:0b.2: EHCI Host Controller
ehci_hcd 0001:01:0b.2: new USB bus registered, assigned bus number 3
ehci_hcd 0001:01:0b.2: irq 70, io mem 0x80080000
ehci_hcd 0001:01:0b.2: park 0
ehci_hcd 0001:01:0b.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
usb 1-2: device descriptor read/64, error -110
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 5 ports detected
sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com)
PHY ID: 2060d3, addr: 0
eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:11:24:d9:1c:1a
eth0: Found BCM5462-Vesta PHY
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 1-2: new full speed USB device using ohci_hcd and address 3
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 3 ports detected
usb 1-3: new full speed USB device using ohci_hcd and address 4
usb 1-2.1: new low speed USB device using ohci_hcd and address 5
eth0: Link is up at 100 Mbps, full-duplex.
usb 1-2.2: new low speed USB device using ohci_hcd and address 6
usb 1-2.3: new full speed USB device using ohci_hcd and address 7
usbcore: registered new driver hiddev
input: USB HID v1.11 Keyboard [05ac:1000] on usb-0001:01:0b.0-3
input: USB HID v1.11 Mouse [05ac:1000] on usb-0001:01:0b.0-3
input: USB HID v1.10 Mouse [Logitech Apple Optical USB Mouse] on
usb-0001:01:0b.0-2.1
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0001:01:0b.0-2.2
input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB
Keyboard] on usb-0001:01:0b.0-2.3
input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB
Keyboard] on usb-0001:01:0b.0-2.3
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1313 $ Ben Collins <bcollins@debian.org>
PCI: Enabling device: (0001:02:0e.0), cmd 2
ohci1394: fw-host0: Unexpected PCI resource length of 1000!
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[39] 
MMIO=[80100000-801007ff]  Max Packet=[4096]
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected Apple U3L chipset
agpgart: configuring for size idx: 64
agpgart: AGP aperture is 256M @ 0x0
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[001124fffed91c1a]
Adding 2026608k swap on /dev/sda6.  Priority:-1 extents:1 across:2026608k
EXT3 FS on sda4, internal journal
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
ioctl32(evms_activate:2645): Unknown cmd fd(7) cmd(00000330){00}
arg(ffff35b8) on /dev/evms/.nodes/sda
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0000000003c7200(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present


- cd /proc/asound ; find

.
./AWACS
./card0
./card0/oss_mixer
./card0/id
./card0/pcm0c
./card0/pcm0c/oss
./card0/pcm0c/sub0
./card0/pcm0c/sub0/prealloc
./card0/pcm0c/sub0/status
./card0/pcm0c/sub0/sw_params
./card0/pcm0c/sub0/hw_params
./card0/pcm0c/sub0/info
./card0/pcm0c/info
./card0/pcm0p
./card0/pcm0p/oss
./card0/pcm0p/sub0
./card0/pcm0p/sub0/prealloc
./card0/pcm0p/sub0/status
./card0/pcm0p/sub0/sw_params
./card0/pcm0p/sub0/hw_params
./card0/pcm0p/sub0/info
./card0/pcm0p/info
./pcm
./timers
./modules
./cards
./devices
./version
./seq
./oss
./oss/sndstat
./oss/devices

- cat(1) of each of the above files

./card0/oss_mixer
VOLUME "Master" 0
BASS "" 0
TREBLE "" 0
SYNTH "" 0
PCM "" 0
SPEAKER "PC Speaker" 0
LINE "Line" 0
MIC "Mic" 0
CD "CD" 0
IMIX "" 0
ALTPCM "" 0
RECLEV "" 0
IGAIN "Capture" 0
OGAIN "" 0
LINE1 "" 0
LINE2 "" 0
LINE3 "" 0
DIGITAL1 "" 0
DIGITAL2 "" 0
DIGITAL3 "" 0
PHONEIN "" 0
PHONEOUT "" 0
VIDEO "" 0
RADIO "" 0
MONITOR "" 0
./card0/id
AWACS
./card0/pcm0c/oss
./card0/pcm0c/sub0/prealloc
64
./card0/pcm0c/sub0/status
closed
./card0/pcm0c/sub0/sw_params
closed
./card0/pcm0c/sub0/hw_params
closed
./card0/pcm0c/sub0/info
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: PMac AWACS
name: PowerMac AWACS
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
./card0/pcm0c/info
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: PMac AWACS
name: PowerMac AWACS
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
./card0/pcm0p/oss
./card0/pcm0p/sub0/prealloc
64
./card0/pcm0p/sub0/status
closed
./card0/pcm0p/sub0/sw_params
closed
./card0/pcm0p/sub0/hw_params
closed
./card0/pcm0p/sub0/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: PMac AWACS
name: PowerMac AWACS
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
./card0/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: PMac AWACS
name: PowerMac AWACS
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
./pcm
00-00: PMac AWACS : PowerMac AWACS : playback 1 : capture 1
./timers
G0: system timer : 1000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
./modules
0 snd_powermac
./cards
0 [AWACS          ]: PMac AWACS - PowerMac AWACS
                     PowerMac AWACS Rev 0
./devices
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer
./version
Advanced Linux Sound Architecture Driver Version 1.0.10rc1 (Mon Sep 12
08:13:09 2005 UTC).
./oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.10rc1 emulation code)
Kernel: Linux iMacG5 2.6.14-1-powerpc64 #1 SMP Tue Nov 1 16:46:09 JST 2005 ppc64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
PowerMac AWACS Rev 0

Audio devices:
0: PowerMac AWACS (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: PowerMac AWACS
./oss/devices
  3: [0- 3]: digital audio
  0: [0- 0]: mixer

-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-updates
  APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500,
'dapper'), (500, 'breezy-updates'), (500, 'breezy-security'), (490,
'unstable'), (1, 'experimental')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-powerpc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.14-1-powerpc64 depends on:
ii  initramfs-tools        0.36ubuntu1       tools for generating an initramfs
ii  module-init-tools      3.2-pre9-4ubuntu1 tools for managing Linux kernel mo

linux-image-2.6.14-1-powerpc64 recommends no packages.

-- no debconf information
--
 Dr. Ludovic Rousseau
 For private mail use ludovic.rousseau@free.fr and not "big brother" Google



Reply to: