From: Boris Derzhavets Subject: Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] F13 vs U 10.04 Date: Wed, 18 Aug 2010 06:20:06 -0700 (PDT) Message-ID: <963509.3148.qm@web56104.mail.re3.yahoo.com> References: <11479.41057.qm@web56106.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0393872043==" Return-path: In-Reply-To: <11479.41057.qm@web56106.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk , =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0393872043== Content-Type: multipart/alternative; boundary="0-105089687-1282137606=:3148" --0-105089687-1282137606=:3148 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable KMS works=A0 fine on Ubuntu 10.04. However , uncompressed initrd.img-2.6.32= .19-xen doesn't contain Radeon firmware binaries Decompressed folder=20 root@ServerLDX:~/test# ls -l total 20804 drwxr-xr-x 2 root root=A0=A0=A0=A0 4096 2010-08-18 16:55 bin drwxr-xr-x 3 root root=A0=A0=A0=A0 4096 2010-08-18 16:55 conf drwxr-xr-x 7 root root=A0=A0=A0=A0 4096 2010-08-18 16:55 etc -rwxr-xr-x 1 root root=A0=A0=A0=A0 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=A0=A0=A0=A0 4096 2010-08-18 16:55 lib drwxr-xr-x 2 root root=A0=A0=A0=A0 4096 2010-08-18 16:55 lib64 drwxr-xr-x 2 root root=A0=A0=A0=A0 4096 2010-08-18 16:55 sbin drwxr-xr-x 9 root root=A0=A0=A0=A0 4096 2010-08-18 16:55 scripts drwxr-xr-x 3 root root=A0=A0=A0=A0 4096 2010-08-18 16:55 var root@ServerLDX:~/test# find . -name RV730_pfp.bin -print root@ServerLDX:~/test#=20 However , ./lib/firmware structure in decompressed folder is different from= what "dracut" does 1.) root@ServerLDX:~/test/lib/firmware# ls -l total 864 =3D>=A0 drwxr-xr-x 6 root root=A0=A0 4096 2010-08-18 16:55 2.6.32.19-xen -rw-r--r-- 1 root root=A0 22622 2010-08-18 16:55 aic94xx-seq.fw -rw-r--r-- 1 root root=A0 76802 2010-08-18 16:55 ql2100_fw.bin -rw-r--r-- 1 root root=A0 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 wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV73= 0 PRO [Radeon HD 4650] To: "Konrad Rzeszutek Wilk" , "Pasi K=E4rkk=E4inen"= Cc: xen-devel@lists.xensource.com Date: Wednesday, August 18, 2010, 6:47 AM > Can you try fiddling with the dracut options to force it include the > proper firmware bits? Build kernel 2.6.32.19 with=20 1. CONFIG_DRM_RADEON=3Dy=20 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=20 # 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=0A :- [root@fedora13 firmware]# pwd /root/test/lib/firmware [root@fedora13 firmware]# ls -l total 908 -rw-r--r-- 1 root root=A0 76802 Aug 18 13:17 ql2100_fw.bin -rw-r--r-- 1 root root=A0 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=0A 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=A0=A0 4096 Aug 18 13:17 qlogic Boris. --- On Mon, 8/16/10, Konrad Rzeszutek Wilk wrote: From: Konrad Rzeszutek Wilk Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV73= 0 PRO [Radeon HD 4650] To: "Boris Derzhavets" Cc: xen-devel@lists.xensource.com Date: Monday, August 16, 2010, 1:39 PM On Mon, Aug 16, 2010 at 10:22:35AM -0700, Boris Derzhavets wrote: > It hanged during loading Dom0 for 1-1.5 min trying to load module and wen= t ahead. > Dmesg reports error to initialize KMS. Can you provide the serial=0A output? Is the error the same as=0A you repor= ted 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? >=20 > Boris. =0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-105089687-1282137606=:3148 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
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 -ltotal 20804
drwxr-xr-x 2 root root     4096 2010-0= 8-18 16:55 bin
drwxr-xr-x 3 root root     4096 2010-= 08-18 16:55 conf
drwxr-xr-x 7 root root     4096 201= 0-08-18 16:55 etc
-rwxr-xr-x 1 root root     5145 20= 10-08-18 16:55 init
-rw-r--r-- 1 root root 21261312 2010-08-18 16:53 ini= trd.img-2.6.32.19-xen
drwxr-xr-x 5 root root     409= 6 2010-08-18 16:55 lib
drwxr-xr-x 2 root root     40= 96 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   &nbs= p; 4096 2010-08-18 16:55 scripts
drwxr-xr-x 3 root root   &= nbsp; 4096 2010-08-18 16:55 var

root@ServerLDX:~/test# find . -name = RV730_pfp.bin -print
root@ServerLDX:~/test#

However , ./lib/firm= ware structure in decompressed folder is different from what "dracut"
do= es
1.)
root@ServerLDX:~/test/lib/firmware# ls -l
total 864
=3D&= gt;  drwxr-xr-x 6 root root   4096 2010-08-18 16:55 2.6.32.1= 9-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
-r= w-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 r= oot 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-x= en# ls -l
total 16
drwxr-xr-x 2 root root 4096 2010-08-18 16:55 adapt= ec
drwxr-xr-x 2 root root 4096 2010-08-18 16:55 e100
drwxr-xr-x 2 roo= t 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 exact= ly as on F13.

Boris.



--- On Wed, 8/18/10, Boris De= rzhavets <bderzhavets@yahoo.com> wrote:

From: Boris Derzhavets <bderzhavets@yahoo.com>
Subje= ct: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO= [Radeon HD 4650]
To: "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com= >, "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
Cc: xen-devel@lists.xen= source.com
Date: Wednesday, August 18, 2010, 6:47 AM

> 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=3Dy
2. Drivers->Staging Drivers-= > Enable modesetting on radeon by default <*>
( otherwise KMS s= witches to userspace modesetting )
Whatever option like --add , --instal= l 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 in= itramfs-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=0A :-

[root@fedora13 firmware]# pwd
/root/test/l= ib/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 Au= g 18 13:17 ql2300_fw.bin
-rw-r--r-- 1 root root 136038 Aug 18 13:17 ql23= 22_fw.bin
-rw-r--r-- 1 root root=0A 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 r= oot root   4096 Aug 18 13:17 qlogic

Boris.



= --- On Mon, 8/16/10, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com= > wrote:

From: Konrad Rzeszutek = Wilk <konrad.wilk@oracle.com>
Subject: Re: [Xen-devel] [GIT PULL] = devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris= Derzhavets" <bderzhavets@yahoo.com>
Cc: xen-devel@lists.xensource= .com
Date: Monday, August 16, 2010, 1:39 PM

On Mon, Aug 16, 2010 at 10:22:35AM -0700, Bor= is Derzhavets wrote:
> It hanged during loading Dom0 for 1-1.5 min tr= ying to load module and went ahead.
> Dmesg reports error to initiali= ze KMS.

Can you provide the serial=0A output? Is the error the same as=0A 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?

>= ;
> Boris.


=0A=0A

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

_____________________________= __________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel=

=0A=0A --0-105089687-1282137606=:3148-- --===============0393872043== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0393872043==--