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

acrux acrux_it at libero.it
Thu Feb 2 17:56:15 PST 2012


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

here the boot log:

U-Boot 2010.06.05 (Jul 05 2011 - 17:53:34)

CPU:   AMCC PowerPC 460EX Rev. B at 1166.667 MHz (PLB=233 OPB=116 EBC=116)
       No Security/Kasumi support
       Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
       Internal PCI arbiter enabled
       32 kB I-Cache 32 kB D-Cache
Board: Sam460ex, PCIe 4x + SATA-2
I2C:   ready
DRAM:  2 GiB (ECC not enabled, 466 MHz, CL4)
PCI:   Bus Dev VenId DevId Class Int
        00  04  1002  5960  0300  ff
        00  04  1002  5940  0380  ff
        00  06  126f  0501  0380  00
PCIE1: link is not up.
Net:   ppc_4xx_eth0
FPGA:  Revision 03 (2010-10-07)
SM502: found
VGA:   1
VESA:  OK
Using Canyonlands machine description
Cannot reserve gpages without hugetlb enabled
Initializing cgroup subsys cpu
Linux version 3.2.2 (root at sam460) (gcc version 4.5.3 (CRUX PPC) ) #3 Fri Feb 3 0
2:20:16 CET 2012
Zone PFN ranges:
  DMA      0x00000000 -> 0x00030000
  Normal   empty
  HighMem  0x00030000 -> 0x00080000
Movable zone start PFN for each node
early_node_map[1] active 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: 2072768k/2097152k available (6732k kernel code, 24384k reserved, 196k da
ta, 141k bss, 200k 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[36db6e] shift[22] 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
/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
/plb/pci at c0ec00000: Legacy ISA memory support enabled
PCI: Probing PCI hardware
PCI: Hiding 4xx host bridge resources 0000:80:00.0
pci 0000:80:00.0: PCI bridge to [bus 81-bf]
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.0: BAR 0: set to [mem 0xd80000000-0xd87ffffff pref] (PCI address
[0x80000000-0x87ffffff])
pci 0001:00:04.1: BAR 0: assigned [mem 0xd88000000-0xd8fffffff pref]
pci 0001:00:04.1: BAR 0: set to [mem 0xd88000000-0xd8fffffff pref] (PCI address
[0x88000000-0x8fffffff])
pci 0001:00:06.0: BAR 0: assigned [mem 0xd90000000-0xd93ffffff]
pci 0001:00:06.0: BAR 0: set to [mem 0xd90000000-0xd93ffffff] (PCI address [0x90
000000-0x93ffffff])
pci 0001:00:06.0: BAR 1: assigned [mem 0xd94000000-0xd941fffff]
pci 0001:00:06.0: BAR 1: set to [mem 0xd94000000-0xd941fffff] (PCI address [0x94
000000-0x941fffff])
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.0: BAR 2: set to [mem 0xd94220000-0xd9422ffff] (PCI address [0x94
220000-0x9422ffff])
pci 0001:00:04.1: BAR 1: assigned [mem 0xd94230000-0xd9423ffff]
pci 0001:00:04.1: BAR 1: set to [mem 0xd94230000-0xd9423ffff] (PCI address [0x94
230000-0x9423ffff])
pci 0001:00:04.0: BAR 1: assigned [io  0x1000-0x10ff]
pci 0001:00:04.0: BAR 1: set to [io  0x1000-0x10ff] (PCI address [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 enab
led
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 us
ed)
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: 381024 kiB.
[TTM] Zone highmem: Available graphics memory: 1036384 kiB.
[TTM] Initializing 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] PCIE GART of 512M enabled (table at 0x000000002F200000).
radeon 0001:00:04.0: WB disabled
[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
[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: c000a5d0 LR: c038f4d8 CTR: 000bfffb
REGS: efff7f10 TRAP: 0214   Not tainted  (3.2.2)
MSR: 00029000 <EE,ME,CE>  CR: 247f4e24  XER: 00000000
TASK = ef830000[1] 'swapper' THREAD: ef834000
GPR00: 00000000 ef835c60 ef830000 f5500000 00000000 00300000 ef835c08 00000000
GPR08: ef835b68 f5500014 00000000 000c0001 247f4e84 8400682f ef024400 ef013ee0
GPR16: 00000020 c05f0000 c060700d 00000000 ef835d08 c0606d80 c0564bc0 c060702f
GPR24: fffffff4 ef016d30 ef8c657c ef016c00 ef024800 ef835cb8 ef80d000 ef8c6500
NIP [c000a5d0] _memset_io+0x54/0x90
LR [c038f4d8] radeon_fb_find_or_create_single+0x21c/0x3f8
Call Trace:
[ef835c60] [c038f4bc] radeon_fb_find_or_create_single+0x200/0x3f8 (unreliable)
[ef835cb0] [c0337b88] drm_fb_helper_single_fb_probe+0x1e8/0x2dc
[ef835cf0] [c0337e44] drm_fb_helper_initial_config+0x1c8/0x1dc
[ef835d70] [c038f81c] radeon_fbdev_init+0xd4/0xe0
[ef835d90] [c038b89c] radeon_modeset_init+0x7dc/0x7f0
[ef835df0] [c037063c] radeon_driver_load_kms+0xd4/0x104
[ef835e10] [c0343778] drm_get_pci_dev+0x148/0x218
[ef835e30] [c0541904] radeon_pci_probe+0xd4/0xdc
[ef835e50] [c02f32c4] local_pci_probe+0x5c/0xac
[ef835e70] [c02f387c] pci_device_probe+0x68/0x94
[ef835ea0] [c03cc330] driver_probe_device+0xe4/0x198
[ef835ec0] [c03cc454] __driver_attach+0x70/0x98
[ef835ee0] [c03cb3cc] bus_for_each_dev+0x60/0x90
[ef835f10] [c03cbf88] driver_attach+0x24/0x34
[ef835f20] [c03cbb54] bus_add_driver+0xbc/0x23c
[ef835f40] [c03cca6c] driver_register+0xb8/0x144
[ef835f60] [c02f3ab4] __pci_register_driver+0x4c/0xc8
[ef835f80] [c03438c4] drm_pci_init+0x7c/0xf8
[ef835fa0] [c067aa88] radeon_init+0xc8/0xd0
[ef835fb0] [c0001608] do_one_initcall+0xe0/0x1b8
[ef835fe0] [c0661798] kernel_init+0x88/0x120
[ef835ff0] [c000b140] kernel_thread+0x4c/0x68
Instruction dump:
99230000 38a5ffff 38630001 42000018 54abf0be 7c691b78 396b0001 7d6903a6
48000018 706b0003 4082ffd8 4bffffe4
 39290004 4200fff8 54a907be
---[ end trace a97f9099d7d670b8 ]---
Kernel panic - not syncing: Attempted to kill init!
Call Trace:
Rebooting in 180 seconds..


-- 
acrux <acrux at cruxppc.org>


More information about the dri-devel mailing list