All of lore.kernel.org
 help / color / mirror / Atom feed
* PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
@ 2012-04-23  9:18 Treeve Jelbert
  2012-04-23 10:18 ` Michel Dänzer
  2012-05-03  7:32 ` Treeve Jelbert
  0 siblings, 2 replies; 6+ messages in thread
From: Treeve Jelbert @ 2012-04-23  9:18 UTC (permalink / raw)
  To: dri-devel

[-- Attachment #1: Type: text/plain, Size: 3367 bytes --]

Linux-3.3.3

$ dmesg|grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to userspace modesetting.
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] No driver support for vblank timestamp query.
[drm] Initialized radeon 1.33.0 20080528 for 0000:02:00.0 on minor 0
[drm] Setting GART location based on new memory map
[drm] Loading RV730 CP Microcode
[drm:r600_do_init_cp] *ERROR* Failed to load firmware!



This may be related to udev:
I have udev-182 + kmod-7

$ ls -l /lib/firmware/radeon/RV730*
-rw-r--r-- 1 root root 5440 Apr 23 08:43 /lib/firmware/radeon/RV730_me.bin
-rw-r--r-- 1 root root 3392 Apr 23 08:43 /lib/firmware/radeon/RV730_pfp.bin


# lspci -nn -v -d 1002:
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI 
RV730 PRO [Radeon HD 4650] [1002:9498] (prog-if 00 [VGA controller])
        Subsystem: Hightech Information System Ltd. Device [1787:2269]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f3000000 (64-bit, non-prefetchable) [size=64K]
        I/O ports at a000 [size=256]
        [virtual] Expansion ROM at f2000000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 
<?>

02:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI RV710/730 
HDMI Audio [Radeon HD 4000 series] [1002:aa38]
        Subsystem: Hightech Information System Ltd. Device [1787:aa38]
        Flags: bus master, fast devsel, latency 0, IRQ 41
        Memory at f3010000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 
<?>
        Kernel driver in use: snd_hda_intel


Full config and dmesg files attached










$ sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
Linux Gemini-64 3.3.3 #21 SMP PREEMPT Mon Apr 23 08:43:10 CEST 2012 x86_64 
GNU/Linux
 
Gnu C                  4.7.0
Gnu make               3.82
binutils               2.22
util-linux             2.21.1
mount                  support
module-init-tools      7
e2fsprogs              1.42.2
Linux C Library        2.15
Dynamic linker (ldd)   2.15
Linux C++ Library      6.0.17
Procps                 3.2.8
Net-tools              1.60
Kbd                    1.15.3
Sh-utils               8.16
Modules Loaded         radeon power_supply drm_kms_helper ttm drm i2c_algo_bit 
af_packet it87 hwmon_vid snd_pcm_oss snd_mixer_oss snd_seq_midi 
snd_seq_midi_event snd_seq fuse snd_hda_codec_hdmi snd_hda_codec_realtek 
snd_trident snd_util_mem snd_ac97_codec ac97_bus snd_mpu401_uart snd_rawmidi 
snd_hda_intel snd_hda_codec snd_seq_device snd_pcm snd_page_alloc snd_timer 
snd sr_mod cdrom 8250_pnp soundcore 8250 processor firewire_ohci serial_core 
firewire_core crc_itu_t psmouse i2c_nforce2 i2c_core forcedeth parport_pc 
parport button evdev k8temp

[-- Attachment #2: config-3.3.3.zip --]
[-- Type: application/zip, Size: 15331 bytes --]

[-- Attachment #3: dmesg.zip --]
[-- Type: application/zip, Size: 8673 bytes --]

[-- Attachment #4: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
  2012-04-23  9:18 PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware! Treeve Jelbert
@ 2012-04-23 10:18 ` Michel Dänzer
  2012-04-23 12:26   ` Treeve Jelbert
  2012-05-03  7:32 ` Treeve Jelbert
  1 sibling, 1 reply; 6+ messages in thread
From: Michel Dänzer @ 2012-04-23 10:18 UTC (permalink / raw)
  To: Treeve Jelbert; +Cc: dri-devel

On Mon, 2012-04-23 at 11:18 +0200, Treeve Jelbert wrote: 
> Linux-3.3.3
> 
> $ dmesg|grep drm
> [drm] Initialized drm 1.1.0 20060810
> [drm] radeon defaulting to userspace modesetting.
> [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> [drm] No driver support for vblank timestamp query.
> [drm] Initialized radeon 1.33.0 20080528 for 0000:02:00.0 on minor 0
> [drm] Setting GART location based on new memory map
> [drm] Loading RV730 CP Microcode
> [drm:r600_do_init_cp] *ERROR* Failed to load firmware!

Does disabling CONFIG_FIRMWARE_IN_KERNEL in .config help?


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
  2012-04-23 10:18 ` Michel Dänzer
@ 2012-04-23 12:26   ` Treeve Jelbert
  2012-04-23 20:36     ` Jerome Glisse
  0 siblings, 1 reply; 6+ messages in thread
From: Treeve Jelbert @ 2012-04-23 12:26 UTC (permalink / raw)
  To: dri-devel

On Monday 23 April 2012 12:18:55 Michel Dänzer wrote:
> On Mon, 2012-04-23 at 11:18 +0200, Treeve Jelbert wrote:
> > Linux-3.3.3
> > 
> > $ dmesg|grep drm
> > [drm] Initialized drm 1.1.0 20060810
> > [drm] radeon defaulting to userspace modesetting.
> > [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> > [drm] No driver support for vblank timestamp query.
> > [drm] Initialized radeon 1.33.0 20080528 for 0000:02:00.0 on minor 0
> > [drm] Setting GART location based on new memory map
> > [drm] Loading RV730 CP Microcode
> > [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
> 
> Does disabling CONFIG_FIRMWARE_IN_KERNEL in .config help?

no change

$ grep FIRM .config
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FIRMWARE_EDID=y
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_GOOGLE_FIRMWARE is not set
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
  2012-04-23 12:26   ` Treeve Jelbert
@ 2012-04-23 20:36     ` Jerome Glisse
  0 siblings, 0 replies; 6+ messages in thread
From: Jerome Glisse @ 2012-04-23 20:36 UTC (permalink / raw)
  To: Treeve Jelbert; +Cc: dri-devel

On Mon, Apr 23, 2012 at 8:26 AM, Treeve Jelbert <treeve@scarlet.be> wrote:
> On Monday 23 April 2012 12:18:55 Michel Dänzer wrote:
>> On Mon, 2012-04-23 at 11:18 +0200, Treeve Jelbert wrote:
>> > Linux-3.3.3
>> >
>> > $ dmesg|grep drm
>> > [drm] Initialized drm 1.1.0 20060810
>> > [drm] radeon defaulting to userspace modesetting.
>> > [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
>> > [drm] No driver support for vblank timestamp query.
>> > [drm] Initialized radeon 1.33.0 20080528 for 0000:02:00.0 on minor 0
>> > [drm] Setting GART location based on new memory map
>> > [drm] Loading RV730 CP Microcode
>> > [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
>>
>> Does disabling CONFIG_FIRMWARE_IN_KERNEL in .config help?
>
> no change
>
> $ grep FIRM .config
> # CONFIG_PREVENT_FIRMWARE_BUILD is not set
> # CONFIG_FIRMWARE_IN_KERNEL is not set
> CONFIG_EXTRA_FIRMWARE=""
> CONFIG_FIRMWARE_EDID=y
> CONFIG_FIRMWARE_MEMMAP=y
> # CONFIG_GOOGLE_FIRMWARE is not set
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


Does booting with "radeon.modeset=0 3" and then as root:
modprobe radeon modeset=1
works ?

If so then it's initrd issue

Jerome

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
  2012-04-23  9:18 PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware! Treeve Jelbert
  2012-04-23 10:18 ` Michel Dänzer
@ 2012-05-03  7:32 ` Treeve Jelbert
  2012-05-03 12:55   ` Michel Dänzer
  1 sibling, 1 reply; 6+ messages in thread
From: Treeve Jelbert @ 2012-05-03  7:32 UTC (permalink / raw)
  To: dri-devel

On Monday 23 April 2012 11:18:52 you wrote:
> Linux-3.3.3
> 
> $ dmesg|grep drm
> [drm] Initialized drm 1.1.0 20060810
> [drm] radeon defaulting to userspace modesetting.
> [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> [drm] No driver support for vblank timestamp query.
> [drm] Initialized radeon 1.33.0 20080528 for 0000:02:00.0 on minor 0
> [drm] Setting GART location based on new memory map
> [drm] Loading RV730 CP Microcode
> [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
> 
> 
> 

I have now booted using radeon.modeset=0
and then manually doing 'modprobe radeon  modeset=1'


this gives the following messages on linux-3.3.4. The error message is now 
different, but it still fails.
The file /lib/firmware/radeon/RV730_pfp.bin exists
There are message about rv730/rv770



[drm] Initialized drm 1.1.0 20060810
[drm] radeon kernel modesetting enabled.
ACPI: PCI Interrupt Link [APC5] enabled at IRQ 16
[drm] initializing kernel modesetting (RV730 0x1002:0x9498 0x1787:0x2269).
[drm] register mmio base: 0xF3000000
[drm] register mmio size: 65536
ATOM BIOS: 88209JCA.EFK
radeon 0000:02:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M 
used)
radeon 0000:02:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
[drm] Detected VRAM RAM=512M, BAR=256M
[drm] RAM width 128bits DDR
[TTM] Zone  kernel: Available graphics memory: 2028866 kiB.
[TTM] Initializing pool allocator.
[TTM] Initializing DMA pool allocator.
[drm] radeon: 512M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
radeon 0000:02:00.0: irq 42 for MSI/MSI-X
radeon 0000:02:00.0: radeon: using MSI.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] radeon: ib pool ready.
[drm] Loading RV730 Microcode
r600_cp: Failed to load firmware "radeon/RV730_pfp.bin"
[drm:rv770_startup] *ERROR* Failed to load firmware!
radeon 0000:02:00.0: disabling GPU acceleration
radeon 0000:02:00.0: ffff88011a561000 unpin not necessary
radeon 0000:02:00.0: ffff88011a46c000 unpin not necessary
radeon 0000:02:00.0: ffff88011a46c000 unpin not necessary
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   HDMI-A
[drm]   HPD2
[drm]   DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 0x7f1c 0x7f1c
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY1
[drm] Connector 1:
[drm]   VGA
[drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[drm]   Encoders:
[drm]     CRT2: INTERNAL_KLDSCP_DAC2
[drm] Connector 2:
[drm]   DVI-I
[drm]   HPD1
[drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
[drm]   Encoders:
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm]     DFP1: INTERNAL_UNIPHY
[drm] Internal thermal controller without fan control
[drm] radeon: power management initialized
[drm] fb mappable at 0xE0040000
[drm] vram apper at 0xE0000000
[drm] size 5242880
[drm] fb depth is 24
[drm]    pitch is 5120
bcon: radeondrmfb (fb0) is primary device
Console: switching to colour frame buffer device 160x64
fb0: radeondrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized radeon 2.13.0 20080528 for 0000:02:00.0 on minor 0





> This may be related to udev:
> I have udev-182 + kmod-7
> 
> $ ls -l /lib/firmware/radeon/RV730*
> -rw-r--r-- 1 root root 5440 Apr 23 08:43 /lib/firmware/radeon/RV730_me.bin
> -rw-r--r-- 1 root root 3392 Apr 23 08:43 /lib/firmware/radeon/RV730_pfp.bin
> 
> 
> # lspci -nn -v -d 1002:
> 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee
> ATI RV730 PRO [Radeon HD 4650] [1002:9498] (prog-if 00 [VGA controller])
> Subsystem: Hightech Information System Ltd. Device [1787:2269] Flags: bus
> master, fast devsel, latency 0, IRQ 16
>         Memory at e0000000 (64-bit, prefetchable) [size=256M]
>         Memory at f3000000 (64-bit, non-prefetchable) [size=64K]
>         I/O ports at a000 [size=256]
>         [virtual] Expansion ROM at f2000000 [disabled] [size=128K]
>         Capabilities: [50] Power Management version 3
>         Capabilities: [58] Express Legacy Endpoint, MSI 00
>         Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
>         Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1
> Len=010 <?>
> 
> 02:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI RV710/730
> HDMI Audio [Radeon HD 4000 series] [1002:aa38]
>         Subsystem: Hightech Information System Ltd. Device [1787:aa38]
>         Flags: bus master, fast devsel, latency 0, IRQ 41
>         Memory at f3010000 (64-bit, non-prefetchable) [size=16K]
>         Capabilities: [50] Power Management version 3
>         Capabilities: [58] Express Legacy Endpoint, MSI 00
>         Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>         Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1
> Len=010 <?>
>         Kernel driver in use: snd_hda_intel
> 
> 
> Full config and dmesg files attached
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> $ sh scripts/ver_linux
> If some fields are empty or look unusual you may have an old version.
> Compare to the current minimal requirements in Documentation/Changes.
> 
> Linux Gemini-64 3.3.3 #21 SMP PREEMPT Mon Apr 23 08:43:10 CEST 2012 x86_64
> GNU/Linux
> 
> Gnu C                  4.7.0
> Gnu make               3.82
> binutils               2.22
> util-linux             2.21.1
> mount                  support
> module-init-tools      7
> e2fsprogs              1.42.2
> Linux C Library        2.15
> Dynamic linker (ldd)   2.15
> Linux C++ Library      6.0.17
> Procps                 3.2.8
> Net-tools              1.60
> Kbd                    1.15.3
> Sh-utils               8.16
> Modules Loaded         radeon power_supply drm_kms_helper ttm drm
> i2c_algo_bit af_packet it87 hwmon_vid snd_pcm_oss snd_mixer_oss
> snd_seq_midi
> snd_seq_midi_event snd_seq fuse snd_hda_codec_hdmi snd_hda_codec_realtek
> snd_trident snd_util_mem snd_ac97_codec ac97_bus snd_mpu401_uart snd_rawmidi
> snd_hda_intel snd_hda_codec snd_seq_device snd_pcm snd_page_alloc snd_timer
> snd sr_mod cdrom 8250_pnp soundcore 8250 processor firewire_ohci
> serial_core firewire_core crc_itu_t psmouse i2c_nforce2 i2c_core forcedeth
> parport_pc parport button evdev k8temp

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
  2012-05-03  7:32 ` Treeve Jelbert
@ 2012-05-03 12:55   ` Michel Dänzer
  0 siblings, 0 replies; 6+ messages in thread
From: Michel Dänzer @ 2012-05-03 12:55 UTC (permalink / raw)
  To: Treeve Jelbert; +Cc: dri-devel

On Don, 2012-05-03 at 09:32 +0200, Treeve Jelbert wrote: 
> On Monday 23 April 2012 11:18:52 you wrote:
> > Linux-3.3.3
> > 
> > $ dmesg|grep drm
> > [drm] Initialized drm 1.1.0 20060810
> > [drm] radeon defaulting to userspace modesetting.
> > [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> > [drm] No driver support for vblank timestamp query.
> > [drm] Initialized radeon 1.33.0 20080528 for 0000:02:00.0 on minor 0
> > [drm] Setting GART location based on new memory map
> > [drm] Loading RV730 CP Microcode
> > [drm:r600_do_init_cp] *ERROR* Failed to load firmware!
> > 
> > 
> > 
> 
> I have now booted using radeon.modeset=0
> and then manually doing 'modprobe radeon  modeset=1'
> 
> 
> this gives the following messages on linux-3.3.4. The error message is now 
> different, but it still fails.

Odd. I suppose it really couldn't hurt talking to udev people for
tracking down why it's failing.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-03 12:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-23  9:18 PROBLEM: [drm:r600_do_init_cp] *ERROR* Failed to load firmware! Treeve Jelbert
2012-04-23 10:18 ` Michel Dänzer
2012-04-23 12:26   ` Treeve Jelbert
2012-04-23 20:36     ` Jerome Glisse
2012-05-03  7:32 ` Treeve Jelbert
2012-05-03 12:55   ` Michel Dänzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.