Friday, September 30, 2011

screen after fresh install of Debian with Radeon

After base install and reboot, we can type commands but cannot see what we have typed because of missing firmware.
(most parts of the screen cover by white screen)

/var/log/syslog
Sep 29 11:35:25 fusion kernel: [ 6.255126] [drm] radeon defaulting to kernel modesetting.
Sep 29 11:35:25 fusion kernel: [ 6.255133] [drm] radeon kernel modesetting enabled.
Sep 29 11:35:25 fusion kernel: [ 6.255425] VGA switcheroo: detected switching method \_SB_.PCI0.VGA_.ATPX handle
Sep 29 11:35:25 fusion kernel: [ 6.410310] HDMI status: Pin=3 Presence_Detect=0 ELD_Valid=0
Sep 29 11:35:25 fusion kernel: [ 6.410815] input: HD-Audio Generic HDMI/DP as /devices/pci0000:00/0000:00:01.1/sound/card0/input11
Sep 29 11:35:25 fusion kernel: [ 6.411084] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Sep 29 11:35:25 fusion kernel: [ 6.468644] hda_codec: ALC269VB: BIOS auto-probing.
Sep 29 11:35:25 fusion kernel: [ 6.472302] input: HDA ATI SB Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input12
Sep 29 11:35:25 fusion kernel: [ 6.472463] input: HDA ATI SB Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input13
Sep 29 11:35:25 fusion kernel: [ 6.472736] radeon 0000:00:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Sep 29 11:35:25 fusion kernel: [ 6.472746] radeon 0000:00:01.0: setting latency timer to 64
Sep 29 11:35:25 fusion kernel: [ 6.473051] [drm] initializing kernel modesetting (PALM 0x1002:0x9806 0x1043:0x100C).
Sep 29 11:35:25 fusion kernel: [ 6.473190] [drm] register mmio base: 0xFEB00000
Sep 29 11:35:25 fusion kernel: [ 6.473193] [drm] register mmio size: 262144
Sep 29 11:35:25 fusion kernel: [ 6.473481] ATOM BIOS: Asus
Sep 29 11:35:25 fusion kernel: [ 6.473533] radeon 0000:00:01.0: VRAM: 384M 0x0000000000000000 - 0x0000000017FFFFFF (384M used)
Sep 29 11:35:25 fusion kernel: [ 6.473539] radeon 0000:00:01.0: GTT: 512M 0x0000000018000000 - 0x0000000037FFFFFF
Sep 29 11:35:25 fusion kernel: [ 6.473552] mtrr: type mismatch for b0000000,10000000 old: write-back new: write-combining
Sep 29 11:35:25 fusion kernel: [ 6.473557] [drm] Detected VRAM RAM=384M, BAR=256M
Sep 29 11:35:25 fusion kernel: [ 6.473560] [drm] RAM width 32bits DDR
Sep 29 11:35:25 fusion kernel: [ 6.474131] [TTM] Zone kernel: Available graphics memory: 1835316 kiB.
Sep 29 11:35:25 fusion kernel: [ 6.474137] [TTM] Initializing pool allocator.
Sep 29 11:35:25 fusion kernel: [ 6.474199] [drm] radeon: 384M of VRAM memory ready
Sep 29 11:35:25 fusion kernel: [ 6.474203] [drm] radeon: 512M of GTT memory ready.
Sep 29 11:35:25 fusion kernel: [ 6.474238] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Sep 29 11:35:25 fusion kernel: [ 6.474242] [drm] Driver supports precise vblank timestamp query.
Sep 29 11:35:25 fusion kernel: [ 6.474306] radeon 0000:00:01.0: irq 42 for MSI/MSI-X
Sep 29 11:35:25 fusion kernel: [ 6.474315] radeon 0000:00:01.0: radeon: using MSI.
Sep 29 11:35:25 fusion kernel: [ 6.474368] [drm] radeon: irq initialized.
Sep 29 11:35:25 fusion kernel: [ 6.474378] [drm] GART: num cpu pages 131072, num gpu pages 131072
Sep 29 11:35:25 fusion kernel: [ 6.476479] [drm] Loading PALM Microcode
Sep 29 11:35:25 fusion kernel: [ 6.565713] r600_cp: Failed to load firmware "radeon/PALM_pfp.bin"
Sep 29 11:35:25 fusion kernel: [ 6.565771] [drm:evergreen_startup] *ERROR* Failed to load firmware!
Sep 29 11:35:25 fusion kernel: [ 6.565822] radeon 0000:00:01.0: disabling GPU acceleration
Sep 29 11:35:25 fusion kernel: [ 6.566928] radeon 0000:00:01.0: ffff880148920000 unpin not necessary
Sep 29 11:35:25 fusion kernel: [ 6.566934] radeon 0000:00:01.0: ffff880148920000 unpin not necessary
Sep 29 11:35:25 fusion kernel: [ 6.567708] [drm] Radeon Display Connectors
Sep 29 11:35:25 fusion kernel: [ 6.567711] [drm] Connector 0:
Sep 29 11:35:25 fusion kernel: [ 6.567714] [drm] LVDS
Sep 29 11:35:25 fusion kernel: [ 6.567717] [drm] HPD1
Sep 29 11:35:25 fusion kernel: [ 6.567721] [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
Sep 29 11:35:25 fusion kernel: [ 6.567725] [drm] Encoders:
Sep 29 11:35:25 fusion kernel: [ 6.567728] [drm] LCD1: INTERNAL_UNIPHY
Sep 29 11:35:25 fusion kernel: [ 6.567731] [drm] Connector 1:
Sep 29 11:35:25 fusion kernel: [ 6.567733] [drm] HDMI-A
Sep 29 11:35:25 fusion kernel: [ 6.567736] [drm] HPD2
Sep 29 11:35:25 fusion kernel: [ 6.567739] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
Sep 29 11:35:25 fusion kernel: [ 6.567742] [drm] Encoders:
Sep 29 11:35:25 fusion kernel: [ 6.567745] [drm] DFP1: INTERNAL_UNIPHY
Sep 29 11:35:25 fusion kernel: [ 6.567747] [drm] Connector 2:
Sep 29 11:35:25 fusion kernel: [ 6.567750] [drm] VGA
Sep 29 11:35:25 fusion kernel: [ 6.567753] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4
Sep 29 11:35:25 fusion kernel: [ 6.567756] [drm] Encoders:
Sep 29 11:35:25 fusion kernel: [ 6.567759] [drm] CRT1: INTERNAL_KLDSCP_DAC1
Sep 29 11:35:25 fusion kernel: [ 6.624255] [drm] Radeon display connector LVDS-1: Found valid EDID
Sep 29 11:35:25 fusion kernel: [ 6.634361] [drm] Radeon display connector HDMI-A-1: No monitor connected or invalid EDID
Sep 29 11:35:25 fusion kernel: [ 6.644460] [drm] Radeon display connector VGA-1: No monitor connected or invalid EDID
Sep 29 11:35:25 fusion kernel: [ 6.644498] [drm] Internal thermal controller without fan control
Sep 29 11:35:25 fusion kernel: [ 6.644608] [drm] radeon: power management initialized
Sep 29 11:35:25 fusion kernel: [ 7.108965] [drm] fb mappable at 0xB0040000
Sep 29 11:35:25 fusion kernel: [ 7.108969] [drm] vram apper at 0xB0000000
Sep 29 11:35:25 fusion kernel: [ 7.108972] [drm] size 4325376
Sep 29 11:35:25 fusion kernel: [ 7.108975] [drm] fb depth is 24
Sep 29 11:35:25 fusion kernel: [ 7.108978] [drm] pitch is 5632
Sep 29 11:35:25 fusion kernel: [ 7.109124] fbcon: radeondrmfb (fb0) is primary device
Sep 29 11:35:25 fusion kernel: [ 7.662144] Console: switching to colour frame buffer device 170x48
Sep 29 11:35:25 fusion kernel: [ 7.668034] fb0: radeondrmfb frame buffer device
Sep 29 11:35:25 fusion kernel: [ 7.668037] drm: registered panic notifier
Sep 29 11:35:25 fusion kernel: [ 7.668050] [drm] Initialized radeon 2.10.0 20080528 for 0000:00:01.0 on minor 0
Sep 29 11:35:25 fusion kernel: [ 7.668162] radeon 0000:01:00.0: enabling device (0000 -> 0003)
Sep 29 11:35:25 fusion kernel: [ 7.668176] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Sep 29 11:35:25 fusion kernel: [ 7.668187] radeon 0000:01:00.0: setting latency timer to 64
Sep 29 11:35:25 fusion kernel: [ 7.668561] [drm] initializing kernel modesetting (CAICOS 0x1002:0x6760 0x1043:0x100C).
Sep 29 11:35:25 fusion kernel: [ 7.668649] [drm] register mmio base: 0xFEA20000
Sep 29 11:35:25 fusion kernel: [ 7.668652] [drm] register mmio size: 131072
Sep 29 11:35:25 fusion kernel: [ 7.668657] vga_switcheroo: enabled
Sep 29 11:35:25 fusion kernel: [ 7.669047] radeon atpx: version is 1
Sep 29 11:35:25 fusion kernel: [ 7.899023] input: PS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input14
Sep 29 11:35:25 fusion kernel: [ 8.159762] ATOM BIOS: Asus
Sep 29 11:35:25 fusion kernel: [ 8.160188] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
Sep 29 11:35:25 fusion kernel: [ 8.160195] radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
Sep 29 11:35:25 fusion kernel: [ 8.160208] mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combining
Sep 29 11:35:25 fusion kernel: [ 8.160213] [drm] Detected VRAM RAM=1024M, BAR=256M
Sep 29 11:35:25 fusion kernel: [ 8.160217] [drm] RAM width 64bits DDR
Sep 29 11:35:25 fusion kernel: [ 8.160255] [drm] radeon: 1024M of VRAM memory ready
Sep 29 11:35:25 fusion kernel: [ 8.160259] [drm] radeon: 512M of GTT memory ready.
Sep 29 11:35:25 fusion kernel: [ 8.160266] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Sep 29 11:35:25 fusion kernel: [ 8.160269] [drm] Driver supports precise vblank timestamp query.
Sep 29 11:35:25 fusion kernel: [ 8.160342] radeon 0000:01:00.0: irq 42 for MSI/MSI-X
Sep 29 11:35:25 fusion kernel: [ 8.160352] radeon 0000:01:00.0: radeon: using MSI.
Sep 29 11:35:25 fusion kernel: [ 8.160437] [drm] radeon: irq initialized.
Sep 29 11:35:25 fusion kernel: [ 8.160450] [drm] GART: num cpu pages 131072, num gpu pages 131072
Sep 29 11:35:25 fusion kernel: [ 8.162389] [drm] Loading CAICOS Microcode
Sep 29 11:35:25 fusion kernel: [ 8.166859] ni_cp: Failed to load firmware "radeon/CAICOS_pfp.bin"
Sep 29 11:35:25 fusion kernel: [ 8.166942] [drm:evergreen_startup] *ERROR* Failed to load firmware!
Sep 29 11:35:25 fusion kernel: [ 8.167007] radeon 0000:01:00.0: disabling GPU acceleration
Sep 29 11:35:25 fusion kernel: [ 8.168165] radeon 0000:01:00.0: ffff88014a445000 unpin not necessary
Sep 29 11:35:25 fusion kernel: [ 8.168171] radeon 0000:01:00.0: ffff88014a445000 unpin not necessary
Sep 29 11:35:25 fusion kernel: [ 8.168570] [drm] Radeon Display Connectors
Sep 29 11:35:25 fusion kernel: [ 8.168577] [drm] Internal thermal controller with fan control
Sep 29 11:35:25 fusion kernel: [ 8.168645] [drm] radeon: power management initialized
Sep 29 11:35:25 fusion kernel: [ 8.168744] No connectors reported connected with modes
Sep 29 11:35:25 fusion kernel: [ 8.168750] [drm] Cannot find any crtc or sizes - going 1024x768
Sep 29 11:35:25 fusion kernel: [ 8.174014] [drm] fb mappable at 0xC0040000
Sep 29 11:35:25 fusion kernel: [ 8.174017] [drm] vram apper at 0xC0000000
Sep 29 11:35:25 fusion kernel: [ 8.174020] [drm] size 3145728
Sep 29 11:35:25 fusion kernel: [ 8.174023] [drm] fb depth is 24
Sep 29 11:35:25 fusion kernel: [ 8.174025] [drm] pitch is 4096
Sep 29 11:35:25 fusion kernel: [ 8.174154] fb1: radeondrmfb frame buffer device
Sep 29 11:35:25 fusion kernel: [ 8.174167] [drm] Initialized radeon 2.10.0 20080528 for 0000:01:00.0 on minor 1


Solution
=======
I reboot to a live cd (http://www.playoss.com/node/179)
mount internal hdd
download http://packages.debian.org/firmware-linux-nonfree
and extract the radeon to {mount-directory-of-debian-root}/lib/firmware


Useful commands
===============
apt-cache search PALM_pfp.bin

No comments:

Post a Comment