Skip to contentSkip to conversation

devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]

GIT PULL Boris Derzhavets 1 participant 2 messages Aug 18, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

Can you try fiddling with the dracut options to force it include the proper firmware bits?

Build kernel 2.6.32.19 with
1. CONFIG_DRM_RADEON=y
2. Drivers->Staging Drivers-> Enable modesetting on radeon by default <*> ( otherwise KMS switches to userspace modesetting )
Whatever option like --add , --install i tried with dracut. initramfs been uncompressed

# cd /root/test 
# cp /boot/initramfs-2.6.32.19.img initramfs-2.6.32.19.img.gz
# gunzip initramfs-2.6.32.19.img.gz
# cpio -i --make-directories < initramfs-2.6.32.19.img

doesn't contain /lib/firmware/radeon folder at all. Just :-

[root@fedora13 firmware]# pwd /root/test/lib/firmware
[root@fedora13 firmware]# ls -l
total 908
-rw-r--r-- 1 root root  76802 Aug 18 13:17 ql2100_fw.bin -rw-r--r-- 1 root root  84566 Aug 18 13:17 ql2200_fw.bin -rw-r--r-- 1 root root 125252 Aug 18 13:17 ql2300_fw.bin -rw-r--r-- 1 root root 136038 Aug 18 13:17 ql2322_fw.bin -rw-r--r-- 1 root root
250080 Aug 18 13:17 ql2400_fw.bin
-rw-r--r-- 1 root root 239440 Aug 18 13:17 ql2500_fw.bin drwxr-xr-x 2 root root   4096 Aug 18 13:17 qlogic

Boris.

--- On Mon, 8/16/10, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected]
Date: Monday, August 16, 2010, 1:39 PM

Quoted 2 lines · Boris Derzhavets

It hanged during loading Dom0 for 1-1.5 min trying to load module and went ahead. Dmesg reports error to initialize KMS.

Can you provide the serial output? Is the error the same as
you reported
before (were it could not load the firmware code?)

Can you try fiddling with the dracut options to force it include the proper firmware bits?

Quoted 2 lines

Boris.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] F13 vs U 10.04

KMS works  fine on Ubuntu 10.04. However , uncompressed initrd.img-2.6.32.19-xen doesn't contain Radeon firmware binaries

Decompressed folder

root@ServerLDX:~/test# ls -l
total 20804
drwxr-xr-x 2 root root     4096 2010-08-18 16:55 bin
drwxr-xr-x 3 root root     4096 2010-08-18 16:55 conf
drwxr-xr-x 7 root root     4096 2010-08-18 16:55 etc
-rwxr-xr-x 1 root root     5145 2010-08-18 16:55 init
-rw-r--r-- 1 root root 21261312 2010-08-18 16:53 initrd.img-2.6.32.19-xen
drwxr-xr-x 5 root root     4096 2010-08-18 16:55 lib
drwxr-xr-x 2 root root     4096 2010-08-18 16:55 lib64
drwxr-xr-x 2 root root     4096 2010-08-18 16:55 sbin
drwxr-xr-x 9 root root     4096 2010-08-18 16:55 scripts
drwxr-xr-x 3 root root     4096 2010-08-18 16:55 var
root@ServerLDX:~/test# find . -name RV730_pfp.bin -print
root@ServerLDX:~/test# 

However , ./lib/firmware structure in decompressed folder is different from what "dracut" does
1.)

root@ServerLDX:~/test/lib/firmware# ls -l
total 864
=>  drwxr-xr-x 6 root root   4096 2010-08-18 16:55 2.6.32.19-xen
-rw-r--r-- 1 root root  22622 2010-08-18 16:55 aic94xx-seq.fw
-rw-r--r-- 1 root root  76802 2010-08-18 16:55 ql2100_fw.bin
-rw-r--r-- 1 root root  84566 2010-08-18 16:55 ql2200_fw.bin
-rw-r--r-- 1 root root 123170 2010-08-18 16:55 ql2300_fw.bin
-rw-r--r-- 1 root root 132978 2010-08-18 16:55 ql2322_fw.bin
-rw-r--r-- 1 root root 228056 2010-08-18 16:55 ql2400_fw.bin
-rw-r--r-- 1 root root 199776 2010-08-18 16:55 ql2500_fw.bin

2.)

root@ServerLDX:~/test/lib/firmware/2.6.32.19-xen# ls -l
total 16
drwxr-xr-x 2 root root 4096 2010-08-18 16:55 adaptec
drwxr-xr-x 2 root root 4096 2010-08-18 16:55 e100
drwxr-xr-x 2 root root 4096 2010-08-18 16:55 qlogic
drwxr-xr-x 2 root root 4096 2010-08-18 16:55 tigon

Nothing about Radeon FW in initrd.img on Ubuntu exactly as on F13.

Boris.

--- On Wed, 8/18/10, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Konrad Rzeszutek Wilk" <[email protected]>, "Pasi Kärkkäinen" <[email protected]>
Cc: [email protected]
Date: Wednesday, August 18, 2010, 6:47 AM

Quoted 2 lines

Can you try fiddling with the dracut options to force it include the proper firmware bits?

Build kernel 2.6.32.19 with
1. CONFIG_DRM_RADEON=y
2. Drivers->Staging Drivers-> Enable modesetting on radeon by default <*> ( otherwise KMS switches to userspace modesetting )
Whatever option like --add , --install i tried with dracut. initramfs been uncompressed

# cd /root/test 
# cp /boot/initramfs-2.6.32.19.img initramfs-2.6.32.19.img.gz
# gunzip initramfs-2.6.32.19.img.gz
# cpio -i --make-directories < initramfs-2.6.32.19.img

doesn't contain /lib/firmware/radeon folder at all. Just
:-

[root@fedora13 firmware]# pwd /root/test/lib/firmware
[root@fedora13 firmware]# ls -l
total 908
-rw-r--r-- 1 root root  76802 Aug 18 13:17 ql2100_fw.bin -rw-r--r-- 1 root root  84566 Aug 18 13:17 ql2200_fw.bin -rw-r--r-- 1 root root 125252 Aug 18 13:17 ql2300_fw.bin -rw-r--r-- 1 root root 136038 Aug 18 13:17 ql2322_fw.bin -rw-r--r-- 1 root root
250080 Aug 18 13:17 ql2400_fw.bin
-rw-r--r-- 1 root root 239440 Aug 18 13:17 ql2500_fw.bin drwxr-xr-x 2 root root   4096 Aug 18 13:17 qlogic

Boris.

--- On Mon, 8/16/10, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected]
Date: Monday, August 16, 2010, 1:39 PM

Quoted 2 lines · Boris Derzhavets

It hanged during loading Dom0 for 1-1.5 min trying to load module and went ahead. Dmesg reports error to initialize KMS.

Can you provide the serial
output? Is the error the same as
you reported
before (were it could not load the firmware code?)

Can you try fiddling with the dracut options to force it include the proper firmware bits?

Quoted 2 lines

Boris.

-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel