Boris Derzhavets
2010-Feb-18 13:09 UTC
[Xen-devel] Failure to initialize Radeon loading 2.6.32 ( been built on xen/next) under Xen 4.0
dmesg output :- [ 5.522413] [drm] radeon kernel modesetting enabled. [ 5.522501] xen: registering gsi 16 triggering 0 polarity 1 [ 5.522505] xen_allocate_pirq: returning irq 16 for gsi 16 [ 5.522514] xen: --> irq=16 [ 5.522545] Already setup the GSI :16 [ 5.522576] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 5.522610] radeon 0000:01:00.0: setting latency timer to 64 [ 5.527098] [drm] radeon: Initializing kernel modesetting. [ 5.527169] [drm] register mmio base: 0xFE8E0000 [ 5.527198] [drm] register mmio size: 65536 [ 5.527268] ATOM BIOS: 11X [ 5.527298] [drm] Clocks initialized ! [ 5.527349] mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining [ 5.527385] [drm] Detected VRAM RAM=256M, BAR=256M [ 5.527414] [drm] RAM width 128bits DDR [ 5.527513] [TTM] Zone kernel: Available graphics memory: 4077656 kiB. [ 5.527543] [TTM] Zone dma32: Available graphics memory: 2097152 kiB. [ 5.527591] [drm] radeon: 256M of VRAM memory ready [ 5.527620] [drm] radeon: 512M of GTT memory ready. [ 5.527691] [drm] Loading RV730 CP Microcode [ 5.527724] platform radeon_cp.0: firmware: requesting radeon/RV730_pfp.bin [ 5.533326] r600_cp: Failed to load firmware "radeon/RV730_pfp.bin" [ 5.533359] [drm:rv770_init] *ERROR* Failed to load firmware! [ 5.533390] [drm:radeon_driver_load_kms] *ERROR* Fatal error while trying to initialize radeon. [ 5.533583] radeon 0000:01:00.0: PCI INT A disabled [ 5.533621] radeon: probe of 0000:01:00.0 failed with error -2 When running mkinitramfs -o /boot/initrd-2.6.32.img 2.6.32 root@ServerKoala:/usr/src/linux-2.6-xen# mkinitramfs -o /boot/initrd-2.6.32.img 2.6.32 W: Possible missing firmware /lib/firmware/2.6.32/radeon/R520_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RS600_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RS690_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R420_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R300_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R200_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R100_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV710_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV710_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV730_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV730_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV770_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV770_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RS780_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RS780_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV670_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV670_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV635_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV635_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV620_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV620_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV630_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV630_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV610_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV610_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R600_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R600_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R520_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RS600_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RS690_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R420_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R300_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R200_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R100_cp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV710_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV710_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV730_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV730_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV770_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV770_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RS780_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RS780_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV670_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV670_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV635_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV635_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV620_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV620_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV630_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV630_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV610_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/RV610_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R600_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.32/radeon/R600_pfp.bin for module radeon Fix :- root@ServerKoala:/lib/firmware# mkdir 2.6.32 root@ServerKoala:/lib/firmware# cp -R radeon ./2.6.32 root@ServerKoala:/lib/firmware# cd 2.6.32 root@ServerKoala:/lib/firmware/2.6.32# ls -l total 4 drwxr-xr-x 2 root root 4096 2010-02-18 15:34 radeon However, with KMS initialized X-Server doesn''t start on Ubuntu 9.10 Server Boris. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Hurenkamp
2010-Feb-18 14:44 UTC
Re: [Xen-devel] Failure to initialize Radeon loading 2.6.32 ( been built on xen/next) under Xen 4.0
Hi,> [ 5.527724] platform radeon_cp.0: firmware: requesting > radeon/RV730_pfp.bin > [ 5.533326] r600_cp: Failed to load firmware "radeon/RV730_pfp.bin" > [ 5.533359] [drm:rv770_init] *ERROR* Failed to load > firmware! > [ 5.533390] [drm:radeon_driver_load_kms] *ERROR* Fatal error while > trying to initialize radeon. > [ 5.533583] radeon 0000:01:00.0: PCI INT A disabled > [ 5.533621] radeon: probe of 0000:01:00.0 failed with error -2I happened to run into this yesterday as well, but i don''t think the kernel is at fault here, you are simply missing the radeon firmware... I solved it by creating a symlink from the /lib/firmware/2.6.32mh5 (the version of the kernel i built) to /lib/firmware/2.6.32-41-xen (kernel pre-installed by ubuntu karmic). After that, recreate the initrd, and reboot. For me the driver loads properly now, and i can run X. It does however not enable MSI on my device (which i had hoped, since that would resolve an IRQ conflicht I''m having with some PCI devices). Regards, Mark. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2010-Feb-18 15:21 UTC
Re: [Xen-devel] Failure to initialize Radeon loading 2.6.32 ( been built on xen/next) under Xen 4.0
/lib/firmware/2.6.32-41-xen (kernel pre-installed by ubuntu karmic) from where did you get this ? Actually, is it something providing by Ubuntu or you applied some special patches ? Thanks. Boris. --- On Thu, 2/18/10, Mark Hurenkamp <mark.hurenkamp@xs4all.nl> wrote: From: Mark Hurenkamp <mark.hurenkamp@xs4all.nl> Subject: Re: [Xen-devel] Failure to initialize Radeon loading 2.6.32 ( been built on xen/next) under Xen 4.0 To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>, xen-devel@lists.xensource.com, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com> Date: Thursday, February 18, 2010, 9:44 AM Hi,> [ 5.527724] platform radeon_cp.0: firmware: requesting > radeon/RV730_pfp.bin > [ 5.533326] r600_cp: Failed to load firmware "radeon/RV730_pfp.bin" > [ 5.533359] [drm:rv770_init] *ERROR* Failed to load > firmware! > [ 5.533390] [drm:radeon_driver_load_kms] *ERROR* Fatal error while > trying to initialize radeon. > [ 5.533583] radeon 0000:01:00.0: PCI INT A disabled > [ 5.533621] radeon: probe of 0000:01:00.0 failed with error -2I happened to run into this yesterday as well, but i don''t think the kernel is at fault here, you are simply missing the radeon firmware... I solved it by creating a symlink from the /lib/firmware/2.6.32mh5 (the version of the kernel i built) to /lib/firmware/2.6.32-41-xen (kernel pre-installed by ubuntu karmic). After that, recreate the initrd, and reboot. For me the driver loads properly now, and i can run X. It does however not enable MSI on my device (which i had hoped, since that would resolve an IRQ conflicht I''m having with some PCI devices). Regards, Mark. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2010-Feb-18 23:10 UTC
[Xen-devel] Re: Failure to initialize Radeon loading 2.6.32 ( been built on xen/next) under Xen 4.0
On 02/18/2010 05:09 AM, Boris Derzhavets wrote:> dmesg output :- > > [ 5.522413] [drm] radeon kernel modesetting enabled. > [ 5.522501] xen: registering gsi 16 triggering 0 polarity 1 > [ 5.522505] xen_allocate_pirq: returning irq 16 for gsi 16 > [ 5.522514] xen: --> irq=16 > [ 5.522545] Already setup the GSI :16 > [ 5.522576] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) > -> IRQ 16 > [ 5.522610] radeon 0000:01:00.0: setting latency timer to 64 > [ 5.527098] [drm] radeon: Initializing kernel modesetting. > [ 5.527169] [drm] register mmio base: 0xFE8E0000 > [ 5.527198] [drm] register mmio size: 65536 > [ 5.527268] ATOM BIOS: 11X > [ 5.527298] [drm] Clocks initialized ! > [ 5.527349] mtrr: type mismatch for d0000000,10000000 old: > write-back new: write-combining > [ 5.527385] [drm] Detected VRAM RAM=256M, BAR=256M > [ 5.527414] [drm] RAM width 128bits DDR > [ 5.527513] [TTM] Zone kernel: Available graphics memory: 4077656 kiB. > [ 5.527543] [TTM] Zone dma32: Available graphics memory: 2097152 kiB. > [ 5.527591] [drm] radeon: 256M of VRAM memory ready > [ 5.527620] [drm] radeon: 512M of GTT memory ready. > [ 5.527691] [drm] Loading RV730 CP Microcode > [ 5.527724] platform radeon_cp.0: firmware: requesting > radeon/RV730_pfp.bin > [ 5.533326] r600_cp: Failed to load firmware "radeon/RV730_pfp.bin" > [ 5.533359] [drm:rv770_init] *ERROR* Failed to load firmware! > [ 5.533390] [drm:radeon_driver_load_kms] *ERROR* Fatal error while > trying to initialize radeon. > [ 5.533583] radeon 0000:01:00.0: PCI INT A disabled > [ 5.533621] radeon: probe of 0000:01:00.0 failed with error -2 >Hm, aside from the firmware issue, DRM isn''t expected to work yet. J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel