Resolving mysterious kernel/firmware problems via apt-get install firmware-linux

If you recently upgraded your kernel to the 2.6.29 Debian package, you might have noticed some (e.g. graphics) drivers stopped working or are working slower. In my case, this was the radeon driver, which inexplicably seemed to cause lots of slowdowns in some applications and games. A quick look into dmesg revealed the reason:

  [drm] Initialized radeon 1.29.0 20080528 on minor 0
  agpgart-intel 0000:00:00.0: AGP 2.0 bridge
  agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode
  pci 0000:01:00.0: putting AGP V2 device into 4x mode
  [drm] Setting GART location based on new memory map
  [drm] Loading R200 Microcode
  platform radeon_cp.0: firmware: requesting radeon/R200_cp.bin
  radeon_cp: Failed to load firmware "radeon/R200_cp.bin"
  [drm:radeon_do_init_cp] *ERROR* Failed to load firmware!

As noted in the changelog file, the radeon firmware R200_cp.bin has been removed from the kernel, and is now available in the separate firmware-linux Debian package. So the simple fix for this issues is:

  $ apt-get install firmware-linux
  $ dpkg -L firmware-linux | grep R200_cp.bin
  /lib/firmware/radeon/R200_cp.bin

After restarting X, the dmesg output looks more sane again:

  agpgart-intel 0000:00:00.0: AGP 2.0 bridge
  agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode
  pci 0000:01:00.0: putting AGP V2 device into 4x mode
  [drm] Setting GART location based on new memory map
  [drm] Loading R200 Microcode
  platform radeon_cp.0: firmware: requesting radeon/R200_cp.bin
  [drm] writeback test succeeded in 2 usecs

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

radeon_cp: Failed to load firmware "radeon/R300_cp.bin"

Last recently i've updates my sidux kernel, after a very long time. After that was impossible to switch into full screen mode in kaffeine. It seems that the radeon/R300_cp.bin was moved into firmware-linux-nonfree too.

dmesg output:
platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin
radeon_cp: Failed to load firmware "radeon/R300_cp.bin"
[drm:r100_cp_init] *ERROR* Failed to load firmware!
radeon 0000:01:00.0: failled initializing CP (-2).
radeon 0000:01:00.0: Disabling GPU acceleration

After applying your proposed solution kaffeine became usable again.
Thank you very much for sharing it.

+1

Thank you so mutch, You've saved my day!
Denian rocks.
Greetings from Germany and Russia!

thanks!

thanks!

ThankYou very much for

ThankYou very much for posting this.