Bug#433236: linux-image-2.6.21-2-powerpc: radeonfb broken with Apple Cinema Display connected via DVI
Package: linux-image-2.6.21-2-powerpc
Version: 2.6.21-6
Severity: important
System: An Apple Mac Mini (G4, 7447A) with an ATI Radeon 9200 onboard
graphics card, connected via a DVI connector to an Apple Cinema Display
(19").
Booting:
/etc/yaboot.conf:
boot=/dev/hda2
device=/pci@f4000000/ata-6@d/disk@0:
partition=3
root=/dev/hda3
timeout=100
delay=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
macosx=/dev/hda4
image=/boot/vmlinux-2.6.18-4-powerpc
label=linux
initrd=/boot/initrd.img-2.6.18-4-powerpc
append="video=radeonfb:1680x1050-32@60"
read-only
image=/boot/vmlinux
label=current
initrd=/boot/initrd.img
append="video=radeonfb:1680x1050-32@60"
read-only
image=/boot/vmlinux-2.6.21-2-powerpc
label=nofb
initrd=/boot/initrd.img-2.6.21-2-powerpc
append="video=ofonly"
read-only
Problem:
Booting "linux", 2.6.18 as above works perfectly. The radeon
framebuffer is initialised and switched to. After boot, I have a fully
working fbcon. The only problem is funny colours in the penguin logo;
possibly a radeonfb or logo endianness bug.
Booting "current", 2.6.21 at present does not work, despite using the
exact same options as "linux". radeonfb is initialised and switched to,
but the difference is that this causes the monitor to be powered off (or
put into a standby mode, I'm not sure exactly what). What I do see is
the framebuffer and penguin logo for a tiny fraction of a second before
the monitor powers off. Now the system continues booting, but is
useless because I can't see anything. It is running, because I can log
into a console "blind" and reboot it.
Lastly, running "nofb" works in that it boots and uses the
OpenFirmware graphics, but as soon as X starts I can't switch back to a
virtual console because it turns off the monitor; Ctrl-Alt-F7 does
however switch back to X.
Diagnosis:
I have tried all kernels after 2.6.18. This is broken from 2.6.19 up
to and including 2.6.21; I haven't tested 2.6.22 yet. This monitor
poweroff was (and is) also a problem with the radeon X driver, but there
is a workaround there (see #389007). From that bug, a relevant quote
from BenH:
> I fixed a problem at one point that
> was causing exactly that behaviour on my Apple Cinema HD display. The
> problem was that the driver was leaving the i2c lines used for DDC in
> the high state. I put them back down at the end of the DDC procedure and
> that fixed it. Now it's possible that this change got lost ...
It's quite possible that radeonfb is making the same mistake with the
I2C lines.
Regards,
Roger
-- Package-specific info:
** Version: Linux version 2.6.21-2-powerpc (Debian 2.6.21-6) (waldi@debian.org) (gcc version 4.1.3 20070629 (prerelease) (Debian 4.1.2-13)) #1 Tue Jul 10 19:09:48 CEST 2007
** Not tainted
** Kernel log:
snd-aoa-fabric-layout: can use this codec
hda: Enabling Ultra DMA 5
hda: cache flushes supported
EXT3 FS on hda3, internal journal
snd-powermac no longer handles any machines with a layout-id property in the device-tree, use snd-aoa.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
usb-storage: device scan complete
scsi 0:0:0:0: Direct-Access KINGSTON USB DRIVE 1.12 PQ: 0 ANSI: 1 CCS
SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
sda: sda1 sda2
sd 0:0:0:0: Attached scsi removable disk sda
fuse init (API version 7.8)
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on dm-6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
hfs: write access to a jounaled filesystem is not supported, use the force option at your own risk, mounting read-only.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-12, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2097144k swap on /dev/mapper/hda_vg-swap0. Priority:2 extents:1 across:2097144k
Adding 2097144k swap on /dev/mapper/hda_vg-swap1. Priority:1 extents:1 across:2097144k
Adding 2097144k swap on /dev/mapper/hda_vg-swap2. Priority:3 extents:1 across:2097144k
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is disabled
eth0: no IPv6 routers present
ip_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: 0xec
hda: drive not ready for command
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: 0xec
hda: drive not ready for command
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: drive not ready for command
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized radeon 1.25.0 20060524 on minor 0
agpgart: Putting AGP V2 device at 0000:00:0b.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:00:10.0 into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R200 Microcode
[drm] writeback test succeeded in 1 usecs
NET: Registered protocol family 4
NET: Registered protocol family 3
NET: Registered protocol family 5
hdb: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
usb 3-1.2: new full speed USB device using ohci_hcd and address 6
usb 3-1.2: not running at top speed; connect to a high speed hub
usb 3-1.2: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usb 3-1.2: USB disconnect, address 6
usb 3-1.2: new full speed USB device using ohci_hcd and address 7
usb 3-1.2: not running at top speed; connect to a high speed hub
usb 3-1.2: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 2:0:0:0: Direct-Access USB Flash DISK 1100 PQ: 0 ANSI: 0 CCS
SCSI device sdb: 506880 512-byte hdwr sectors (260 MB)
sdb: Write Protect is off
sdb: Mode Sense: 43 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 506880 512-byte hdwr sectors (260 MB)
sdb: Write Protect is off
sdb: Mode Sense: 43 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
sd 2:0:0:0: Attached scsi disk sdb
** Loaded modules:
Module Size Used by
nls_iso8859_1 4224 1
nls_cp437 5952 1
vfat 14048 1
fat 59772 1 vfat
ext2 77704 0
appletalk 39068 2
ax25 68296 2
ipx 29976 2
p8023 2176 1 ipx
radeon 141640 2
drm 94328 3 radeon
autofs4 24932 1
tun 12928 0
sit 12680 0
tunnel4 4232 1 sit
iptable_filter 3072 1
ip_tables 13800 1 iptable_filter
x_tables 17444 1 ip_tables
quota_v2 10880 2
nls_utf8 2176 1
hfsplus 87972 1
fuse 51380 1
sd_mod 24688 2
ipv6 287116 28 sit
sr_mod 19972 0
snd_powermac 48160 0
sbp2 24516 0
snd_aoa_codec_toonie 3396 2
snd_aoa_fabric_layout 13832 1
snd_aoa 20576 2 snd_aoa_codec_toonie,snd_aoa_fabric_layout
snd_aoa_i2sbus 24356 1
snd_pcm_oss 52096 0
snd_pcm 92004 3 snd_powermac,snd_aoa_i2sbus,snd_pcm_oss
snd_page_alloc 11208 1 snd_pcm
snd_mixer_oss 20384 1 snd_pcm_oss
snd_seq_oss 39604 0
snd_seq_midi 9664 0
snd_rawmidi 28384 1 snd_seq_midi
snd_seq_midi_event 8064 2 snd_seq_oss,snd_seq_midi
snd_seq 60136 5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 25828 2 snd_pcm,snd_seq
snd_seq_device 9420 4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 67476 15 snd_powermac,snd_aoa_codec_toonie,snd_aoa_fabric_layout,snd_aoa,snd_aoa_i2sbus,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8900 1 snd
usb_storage 91244 1
scsi_mod 177708 4 sd_mod,sr_mod,sbp2,usb_storage
snd_aoa_soundbus 7908 2 snd_aoa_fabric_layout,snd_aoa_i2sbus
uninorth_agp 11724 1
agpgart 40284 2 drm,uninorth_agp
tsdev 9120 0
evdev 12448 3
ext3 152904 8
jbd 67880 1 ext3
mbcache 9540 2 ext2,ext3
usbhid 43364 0
hid 30400 1 usbhid
ff_memless 6152 1 usbhid
dm_mirror 24212 0
dm_snapshot 20320 2
dm_mod 66444 31 dm_mirror,dm_snapshot
sungem 34916 0
sungem_phy 12896 1 sungem
ide_cd 47236 0
cdrom 43164 2 sr_mod,ide_cd
ide_disk 18784 4
ohci1394 41488 0
ieee1394 110672 2 sbp2,ohci1394
ehci_hcd 37196 0
i2c_powermac 5984 0
** PCI devices:
0000:00:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth 2 AGP [106b:0034]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 16, Cache Line Size: 32 bytes
Capabilities: <access denied>
0000:00:10.0 VGA compatible controller [0300]: ATI Technologies Inc RV280 [Radeon 9200] [1002:5962] (rev 01) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc RV280 [Radeon 9200] [1002:5962]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 255 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 48
Region 0: Memory at 98000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 0400 [size=256]
Region 2: Memory at 90000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at f1000000 [disabled] [size=128K]
Capabilities: <access denied>
0001:10:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth 2 PCI [106b:0035]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 16, Cache Line Size: 32 bytes
0001:10:17.0 Unknown class [ff00]: Apple Computer Inc. KeyLargo/Intrepid Mac I/O [106b:003e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16, Cache Line Size: 32 bytes
Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=512K]
0001:10:18.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo/Intrepid USB [106b:003f] (prog-if 10 [OHCI])
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 27
0001:10:19.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo/Intrepid USB [106b:003f] (prog-if 10 [OHCI])
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 28
0001:10:1a.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo/Intrepid USB [106b:003f] (prog-if 10 [OHCI])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16 (750ns min, 21500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 29
Region 0: Memory at 80083000 (32-bit, non-prefetchable) [size=4K]
0001:10:1b.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 43) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus [1033:0035]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16 (250ns min, 10500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 63
Region 0: Memory at 80082000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
0001:10:1b.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 43) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus [1033:0035]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16 (250ns min, 10500ns max), Cache Line Size: 32 bytes
Interrupt: pin B routed to IRQ 63
Region 0: Memory at 80081000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
0001:10:1b.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 04) (prog-if 20 [EHCI])
Subsystem: NEC Corporation USB 2.0 [1033:00e0]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16 (4000ns min, 8500ns max), Cache Line Size: 32 bytes
Interrupt: pin C routed to IRQ 63
Region 0: Memory at 80080000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
0002:20:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth 2 Internal PCI [106b:0036]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 16, Cache Line Size: 32 bytes
0002:20:0d.0 Unknown class [ff00]: Apple Computer Inc. UniNorth/Intrepid ATA/100 [106b:003b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 32, Cache Line Size: 32 bytes
Interrupt: pin ? routed to IRQ 39
Region 0: Memory at f5004000 (32-bit, non-prefetchable) [size=16K]
0002:20:0e.0 FireWire (IEEE 1394) [0c00]: Apple Computer Inc. UniNorth 2 FireWire [106b:0031] (rev 81) (prog-if 10 [OHCI])
Subsystem: Apple Computer Inc. iBook G4 2004 [106b:5811]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (3000ns min, 6000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 40
Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
0002:20:0f.0 Ethernet controller [0200]: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) [106b:0032] (rev 80)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 16 (16000ns min, 16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 41
Region 0: Memory at f5200000 (32-bit, non-prefetchable) [size=2M]
Expansion ROM at f5100000 [disabled] [size=1M]
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.21-2-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-2.6.21-2-powerpc depends on:
ii initramfs-tools [linux-initr 0.89 tools for generating an initramfs
ii mkvmlinuz 33 create a kernel to boot a PowerPC
ii module-init-tools 3.3-pre11-4 tools for managing Linux kernel mo
linux-image-2.6.21-2-powerpc recommends no packages.
-- debconf information:
linux-image-2.6.21-2-powerpc/preinst/abort-overwrite-2.6.21-2-powerpc:
linux-image-2.6.21-2-powerpc/preinst/initrd-2.6.21-2-powerpc:
linux-image-2.6.21-2-powerpc/postinst/depmod-error-initrd-2.6.21-2-powerpc: false
linux-image-2.6.21-2-powerpc/prerm/would-invalidate-boot-loader-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/prerm/removing-running-kernel-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/preinst/bootloader-initrd-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/preinst/abort-install-2.6.21-2-powerpc:
linux-image-2.6.21-2-powerpc/postinst/create-kimage-link-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/postinst/bootloader-error-2.6.21-2-powerpc:
linux-image-2.6.21-2-powerpc/preinst/overwriting-modules-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/preinst/failed-to-move-modules-2.6.21-2-powerpc:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.21-2-powerpc/postinst/old-dir-initrd-link-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/postinst/old-initrd-link-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/postinst/kimage-is-a-directory:
linux-image-2.6.21-2-powerpc/preinst/elilo-initrd-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/preinst/lilo-has-ramdisk:
linux-image-2.6.21-2-powerpc/preinst/lilo-initrd-2.6.21-2-powerpc: true
linux-image-2.6.21-2-powerpc/preinst/already-running-this-2.6.21-2-powerpc:
linux-image-2.6.21-2-powerpc/postinst/depmod-error-2.6.21-2-powerpc: false
linux-image-2.6.21-2-powerpc/postinst/bootloader-test-error-2.6.21-2-powerpc:
linux-image-2.6.21-2-powerpc/postinst/old-system-map-link-2.6.21-2-powerpc: true
Reply to: