WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] F13 vs U 10.04
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Wed, 18 Aug 2010 06:20:06 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Aug 2010 06:20:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1282137606; bh=4QAW5HRKlEppPd8AXekXSa+OypaFFlj13x3IUWJDAqE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=f69dv1w1y2qfTO1dGhXF+BVbKYtDfrOKZo7Da+vSpQWx2Gx8qFjniwIh5Lg98rnvTunp8OOIOEa6DiIHKwGlQDl/WyyLhXMmlAXOUxWZHMtZOyyeycQQsAGy0iITdIZbuZSw0FiGS867MK4kFVStGr+1xbDQV/QrjXVAqjE4aGU=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=xf2yOoHGyWDBfmeKiNqe6DtgjZaBxjKenq0B4W7jRtKPaP/Hg2bjGUrSV7UrR5dWutdh4VFoxRJywufJTlOUbRMkaZmUNM0YyDD4DBsmXuwhieV7VLIHqRjjJPIoBuBFN68OBaTBcd8IVFAdojRFiuDMJ65rcwAo+BbxMw6Ftw0=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <11479.41057.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>, "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
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=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 <konrad.wilk@xxxxxxxxxx> wrote:

From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
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 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?

>
> Boris.



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel