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] Issue resolved
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Wed, 18 Aug 2010 08:35:30 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Aug 2010 08:37:13 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1282145731; bh=UPj/1u5MlFKmHZnjUlwKVNi/smFbLPwE/N2xou832c4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=3S4gRI/BUri79rIyY/QbrjHrbjlzL1byAsO6ecgFufa6J5eV7peHcmEfCya5mzgrEDgCxVmEN6aYmAeIpcac4fEAIUn7C3WsLS84mY3s/CkvuxQvfWcSF+SvqsdSTtcdEYYMDTIHz3K26jepKi6qeDGGin7fZvidFwV6eAfNTQY=
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:MIME-Version:Content-Type; b=EVD3MTGdH6iFFv7J5ta1U/bNpDtAhEPxsCvaRdS65yqNXs/G7Q7wbg83xXrXwIFQiZ6pH4VB9jUGuHk5HXMO9vJ2HEaVnvRzRAOue2xrjVHQVCM1M/k6qH8aLkEQDjEHGgtQ2XqL8sZCCi/bsXvYZ0f6oF2NKWan0vK8JquErrM=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
.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 CONFIG_DRM_RADEON=y caused a problem
  should be =m.
  CONFIG_DRM_RADEON_KMS=y to make modesetting on radeon by
  default.

 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] F13 vs U 10.04
To: "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>, "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, August 18, 2010, 9:20 AM

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


-----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
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] Issue resolved, Boris Derzhavets <=