linux-3.3-rc2 and radeon kms failure on ppc32 with Radeon 9250 pci

acrux acrux_it at libero.it
Sat Feb 4 15:41:35 PST 2012


unable to have a working radeon kms framebuffer with linux-3.3-rc2 on ppc
video card: Radeon 9250 PCI

here the boot log:

Using Canyonlands machine description
Initializing cgroup subsys cpu
Linux version 3.3.0-rc2 (root at sam460) (gcc version 4.5.3 (CRUX PPC) ) #2 Sat Feb 4 20:34:21 CET 2012
Zone PFN ranges:
  DMA      0x00000000 -> 0x00030000
  Normal   empty
  HighMem  0x00030000 -> 0x00080000
Movable zone start PFN for each node
Early memory PFN ranges
    0: 0x00000000 -> 0x00080000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 520192
Kernel command line: root=/dev/sda3 ro video=800x600 console=tty0 console=ttyS0,115200 udbg-immortal
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2072736k/2097152k available (6772k kernel code, 24416k reserved, 188k data, 143k bss, 196k init)
Kernel virtual memory layout:
  * 0xfffcf000..0xfffff000  : fixmap
  * 0xffc00000..0xffe00000  : highmem PTEs
  * 0xffa00000..0xffc00000  : consistent mem
  * 0xffa00000..0xffa00000  : early ioremap
  * 0xf1000000..0xffa00000  : vmalloc & ioremap
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:512 nr_irqs:512 16
UIC0 (32 IRQ sources) at DCR 0xc0
UIC1 (32 IRQ sources) at DCR 0xd0
UIC2 (32 IRQ sources) at DCR 0xe0
UIC3 (32 IRQ sources) at DCR 0xf0
clocksource: timebase mult[db6db7] shift[24] registered
Console: colour dummy device 80x25
console [tty0] enabled
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16
256k L2-cache enabled
PCIE0: Port disabled via device-tree
PCIE1: Checking link...
PCIE1: No device detected.
PCI host bridge /plb/pciex at d20000000 (primary) ranges:
 MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000
 MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000
  IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
 Removing ISA hole at 0x0000000f00100000
4xx PCI DMA offset set to 0x00000000
4xx PCI DMA window base to 0x0000000000000000
DMA window size 0x0000000080000000
/plb/pciex at d20000000: Legacy ISA memory support enabled
PCIE1: successfully set as root-complex
PCI host bridge /plb/pci at c0ec00000 (primary) ranges:
 MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000
 MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000
  IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
 Removing ISA hole at 0x0000000c0ee00000
4xx PCI DMA offset set to 0x00000000
4xx PCI DMA window base to 0x0000000000000000
DMA window size 0x0000000080000000
/plb/pci at c0ec00000: Legacy ISA memory support enabled
gpiochip_add: registered GPIOs 224 to 255 on device: /plb/opb/gpio at ef600b00
PCI: Probing PCI hardware
PCI host bridge to bus 0000:80
pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff]
pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff]
PCI: Hiding 4xx host bridge resources 0000:80:00.0
pci 0000:80:00.0: PCI bridge to [bus 81-bf]
PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff]
pci 0000:80:00.0: PCI bridge to [bus 81-bf]
pci 0001:00:04.0: BAR 0: assigned [mem 0xd80000000-0xd87ffffff pref]
pci 0001:00:04.1: BAR 0: assigned [mem 0xd88000000-0xd8fffffff pref]
pci 0001:00:06.0: BAR 0: assigned [mem 0xd90000000-0xd93ffffff]
pci 0001:00:06.0: BAR 1: assigned [mem 0xd94000000-0xd941fffff]
pci 0001:00:04.0: BAR 6: assigned [mem 0xd94200000-0xd9421ffff pref]
pci 0001:00:04.0: BAR 2: assigned [mem 0xd94220000-0xd9422ffff]
pci 0001:00:04.1: BAR 1: assigned [mem 0xd94230000-0xd9423ffff]
pci 0001:00:04.0: BAR 1: assigned [io  0x1000-0x10ff]
bio: create slab <bio-0> at 0
vgaarb: device added: PCI:0001:00:04.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0001:00:04.0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Could not remap bcsr
setting trigger mode 3 for irq 43 failed (uic_set_irq_type+0x0/0x164)
setting trigger mode 3 for irq 43 failed (uic_set_irq_type+0x0/0x164)
highmem bounce pool size: 64 pages
JFS: nTxBlock = 8192, nTxLock = 65536
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
Btrfs loaded
msgmni has been set to 1488
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 20) is a U6_16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 21) is a U6_16550A
4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 20) is a 16550
4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 21) is a 16550
Generic non-volatile memory driver v1.1
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV280 0x1002:0x5960 0x174B:0x0250).
[drm] register mmio base: 0x94220000
[drm] register mmio size: 65536
[drm] Generation 2 PCI interface, using max accessible memory
radeon 0001:00:04.0: VRAM: 128M 0x0000000D80000000 - 0x0000000D87FFFFFF (128M used)
radeon 0001:00:04.0: GTT: 512M 0x0000000D88000000 - 0x0000000DA7FFFFFF
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
[drm] radeon: irq initialized.
[drm] Detected VRAM RAM=128M, BAR=128M
[drm] RAM width 64bits DDR
[TTM] Zone  kernel: Available graphics memory: 381008 kiB.
[TTM] Zone highmem: Available graphics memory: 1036368 kiB.
[TTM] Initializing pool allocator.
[TTM] Initializing DMA pool allocator.
[drm] radeon: 128M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] radeon: ib pool ready.
[drm] PCIE GART of 512M enabled (table at 0x000000002F100000).
radeon 0001:00:04.0: WB disabled
[drm] fence driver on ring 0 use gpu addr 0x88000000 and cpu addr 0xefb04000
[drm] Loading R200 Microcode
radeon_cp: Failed to load firmware "radeon/R200_cp.bin"
[drm:r100_cp_init] *ERROR* Failed to load firmware!
radeon 0001:00:04.0: failed initializing CP (-2).
radeon 0001:00:04.0: Disabling GPU acceleration
[drm] radeon: cp finalized
radeon 0001:00:04.0: ef9ff800 unpin not necessary
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   VGA
[drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[drm]   Encoders:
[drm]     CRT1: INTERNAL_DAC1
[drm] Connector 1:
[drm]   DVI-I
[drm]   HPD1
[drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[drm]   Encoders:
[drm]     CRT2: INTERNAL_DAC2
[drm]     DFP1: INTERNAL_TMDS1
No connectors reported connected with modes
[drm] Cannot find any crtc or sizes - going 1024x768
Machine check in kernel mode.
Data Write PLB Error
Machine Check exception is imprecise
Oops: Machine check, sig: 7 [#1]
Canyonlands
Modules linked in:
NIP: c000a580 LR: c0399084 CTR: 000bfffb
REGS: efff7f10 TRAP: 0214   Not tainted  (3.3.0-rc2)
MSR: 00029000 <CE,EE,ME>  CR: 24714222  XER: 00000000
TASK = ef830000[1] 'swapper' THREAD: ef834000
GPR00: 00000000 ef835c30 ef830000 f5500000 00000000 00300000 ef835bd8 00000000
GPR08: ef835b38 f5500014 00000000 000c0001 24714284 8500682f ef8f7800 ef17c1c0
GPR16: 00000020 c05f0000 c06105de 00000000 ef835d08 c0610351 c056a6f0 c0610600
GPR24: fffffff4 ef8ca47c ef9ffe00 ef9fff38 ef9e7c00 ef835cb8 ef8ea000 ef8ca400
NIP [c000a580] _memset_io+0x54/0x90
LR [c0399084] radeon_fb_find_or_create_single+0x234/0x42c
Call Trace:
[ef835c30] [c0399068] radeon_fb_find_or_create_single+0x218/0x42c (unreliable)
[ef835cb0] [c033e294] drm_fb_helper_single_fb_probe+0x1e8/0x2dc
[ef835cf0] [c033e550] drm_fb_helper_initial_config+0x1c8/0x1dc
[ef835d70] [c03993e4] radeon_fbdev_init+0xd4/0xe0
[ef835d90] [c03953e0] radeon_modeset_init+0x7e0/0x7f4
[ef835df0] [c0378be4] radeon_driver_load_kms+0xd4/0x104
[ef835e10] [c034a18c] drm_get_pci_dev+0x148/0x218
[ef835e30] [c054911c] radeon_pci_probe+0xd4/0xdc
[ef835e50] [c02fb63c] local_pci_probe+0x5c/0xac
[ef835e70] [c02fc1e4] pci_device_probe+0x68/0x94
[ef835ea0] [c03d91f0] driver_probe_device+0xe4/0x198
[ef835ec0] [c03d9314] __driver_attach+0x70/0x98
[ef835ee0] [c03d7b50] bus_for_each_dev+0x60/0x90
[ef835f10] [c03d8e48] driver_attach+0x24/0x34
[ef835f20] [c03d8a14] bus_add_driver+0xbc/0x23c
[ef835f40] [c03d992c] driver_register+0xb8/0x144
[ef835f60] [c02fc41c] __pci_register_driver+0x4c/0xc8
[ef835f80] [c034a2d8] drm_pci_init+0x7c/0xf8
[ef835fa0] [c0685030] radeon_init+0xc8/0xd0
[ef835fb0] [c0001608] do_one_initcall+0xe0/0x1b8
[ef835fe0] [c066c798] kernel_init+0x88/0x120
[ef835ff0] [c000b0f0] kernel_thread+0x4c/0x68
Instruction dump:
99230000 38a5ffff 38630001 42000018 54abf0be 7c691b78 396b0001 7d6903a6
48000018 706b0003 4082ffd8 4bffffe4
 39290004 4200fff8 54a907be
---[ end trace e979fa5cf34ad798 ]---

Kernel panic - not syncing: Attempted to kill init!


More information about the dri-devel mailing list