From: Boris Derzhavets Subject: Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] Issue resolved Date: Wed, 18 Aug 2010 08:35:30 -0700 (PDT) Message-ID: <63770.18522.qm@web56107.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1981621578==" Return-path: 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 --===============1981621578== Content-Type: multipart/alternative; boundary="0-296790046-1282145730=:18522" --0-296790046-1282145730=:18522 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable .config from Ubuntu instance just copied over to F13 instance. =A02.6.32.19 rebuilt on F13 with minimal initramfs and get 3D on F13. =A0 I also made diff between .configs =A0 Looks like CONFIG_DRM_RADEON=3Dy caused a problem =A0 should be =3Dm. =A0 CONFIG_DRM_RADEON_KMS=3Dy to make modesetting on radeon by =A0 default. =A0Boris. --- 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] F13 vs U 10.04 To: "Konrad Rzeszutek Wilk" , "Pasi K=E4rkk=E4inen"= Cc: xen-devel@lists.xensource.com Date: Wednesday, August 18, 2010, 9:20 AM 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=0A 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=0A 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=0A --make-directories <=0A 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=0A provide the=0A 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? >=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 =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-296790046-1282145730=:18522 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
.config from Ubuntu instance just copied over to F13 instance.=
 2.6.32.19 rebuilt on F13 with minimal initramfs and get 3D on F13= .

  I also made diff between .configs
  Looks like CONF= IG_DRM_RADEON=3Dy caused a problem
  should be =3Dm.
  CONF= IG_DRM_RADEON_KMS=3Dy to make modesetting on radeon by
  default.
 Boris.

--- On Wed, 8/18/10, Boris Derzhavets <b= derzhavets@yahoo.com> wrote:

Fro= m: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [Xen-deve= l] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] F13 vs U 10.04
To: "K= onrad Rzeszutek Wilk" <konrad.wilk@oracle.com>, "Pasi K=E4rkk=E4inen"= <pasik@iki.fi>
Cc: xen-devel@lists.xensource.com
Date: Wednesd= ay, August 18, 2010, 9:20 AM

KMS works  fine on Ubuntu 10.04. Ho= wever , uncompressed initrd.img-2.6.32.19-xen
doesn't contain Radeon fir= mware binaries

Decompressed folder

root@ServerLDX:~/test# ls= -l
total 20804
drwxr-xr-x 2 root root     4096 2= 010-08-18 16:55 bin
drwxr-xr-x 3 root root     4096 = 2010-08-18 16:55 conf
drwxr-xr-x 7 root root     409= 6 2010-08-18 16:55 etc
-rwxr-xr-x 1 root root     51= 45 2010-08-18 16:55 init
-rw-r--r-- 1 root root 21261312 2010-08-18 16:5= 3 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   &n= bsp; 4096 2010-08-18 16:55 sbin
drwxr-xr-x 9 root root   =  =0A 4096 2010-08-18 16:55 scripts
drwxr-xr-x 3 root root &nbs= p;   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 "drac= ut"
does
1.)
root@ServerLDX:~/test/lib/firmware# ls -l
total 86= 4
=3D>  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 aic94= xx-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 roo= t 228056 2010-08-18 16:55 ql2400_fw.bin
-rw-r--r-- 1 root root 199776 20= 10-08-18 16:55=0A ql2500_fw.bin

2.)
root@ServerLDX:~/test/lib/fir= mware/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 e100drwxr-xr-x 2 root root 4096 2010-08-18 16:55 qlogic
drwxr-xr-x 2 root r= oot 4096 2010-08-18 16:55 tigon

Nothing about Radeon FW in initrd.im= g on Ubuntu exactly as on F13.

Boris.



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

From: Boris Derzhavets <bderzhavets@yahoo= .com>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes= -0.5 on RV730 PRO [Radeon HD 4650]
To: "Konrad Rzeszutek Wilk" <konra= d.wilk@oracle.com>, "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
Cc: xe= n-devel@lists.xensource.com
Date: Wednesday, August 18, 2010, 6:47 AM
> C= an 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 r= adeon by default <*>
( otherwise KMS switches to userspace modeset= ting )
Whatever option like --add , --install i tried with dracut. initr= amfs been uncompressed
# cd /root/test
# cp /boot/initramfs-2.6.32.1= 9.img initramfs-2.6.32.19.img.gz
# gunzip initramfs-2.6.32.19.img.gz
# cpi= o -i=0A --make-directories <=0A initramfs-2.6.32.19.img

doesn't c= ontain /lib/firmware/radeon folder at all.
Just=0A :-

[root@fedor= a13 firmware]# pwd
/root/test/lib/firmware
[root@fedora13 firmware]# = ls -l
total 908
-rw-r--r-- 1 root root  76802 Aug 18 13:17 ql210= 0_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=0A 25= 0080 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 ql= ogic

Boris.



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

From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
S= ubject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730= PRO [Radeon HD 4650]
To: "Boris Derzhavets" <bderzhavets@yahoo.com&g= t;
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 wr= ote:
> It hanged during loading Dom0 for 1-1.5 min trying to load mod= ule and went ahead.
> Dmesg reports error to initialize KMS.

Can you=0A provide the=0A serial=0A output? Is the error the s= ame 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 t= he
proper firmware bits?

>
> Boris.


=0A=0A=

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

__________________________________________= _____
Xen-devel mailing list
Xen-devel@lists.xens= ource.com
http://lists.xensource.com/xen-devel

=0A=0A
-----Inli= ne Attachment Follows-----

____= ___________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://list= s.xensource.com/xen-devel

=0A=0A --0-296790046-1282145730=:18522-- --===============1981621578== 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 --===============1981621578==--