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] Re: ATI radeon fails with "iommu=soft swiotlb=force" (se

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . DRM for Radeon 4650 on F11
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sun, 4 Oct 2009 03:36:09 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Sun, 04 Oct 2009 03:36:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1254652570; bh=U49628Cs1dZhizkcY0xcIhTgZvTwor2BvcCmEmASpUE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=JODo9IMC0yURg6ntoOasERQF4jTas9hC2kBzfkGsedwcU5S6wnx/q3X5XOSMx1Tfd81GZt9JehqhwxwJ84zL62d34ZELnApgq0XK0pcw/X9t92RdW//t3xBeC/cpe0IA86yU9KIe5rcDbcvPWGTLisUJDhVwrYvXSIuGTDR/YO4=
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=UJGikhd6RlW7E1fPadVNMFCjrwYwr9+V6uqRHnYsd4NUNjyoILpvWBEtXWTLcc+Lbu1zV73H+oziMi8FmIxWRHkk9k207CowImP1d4p4tiiPMHnLohkpz+EzTrdtydREYbKhuBBMMPFu4+Mhwd7Go/Zv6/np4q075w/R3yZPppU=;
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
Cannot reproduce issue on F11. Seems to be working OK.
Dmesg log :-

. . . . . . . . . . . . . . .

[drm] Initialized radeon 1.31.0 20080528 for 0000:01:00.0 on minor 0
mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
[drm] Setting GART location based on new memory map
[drm] Loading RV730/RV740 PFP Microcode
[drm] Loading RV730/RV740 CP Microcode
[drm] Resetting GPU
[drm] writeback test succeeded in 1 usecs
fuse init (API version 7.12)
CPU0 attaching NULL sched-domain.
CPU1 attaching NULL sched-domain.
CPU0 attaching sched-domain:
 domain 0: span 0-1 level CPU
  groups: 0 1
CPU1 attaching sched-domain:
 domain 0: span 0-1 level CPU
  groups: 1 0
eth0: no IPv6 routers present
ALSA sound/pci/hda/hda_intel.c:1179: Too big adjustment 32
hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.

--- On Sat, 10/3/09, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . DRM for Radeon 4650 on F11
To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
Date: Saturday, October 3, 2009, 5:26 AM

I've  also attempted to activate DRM for Radeon in kernel 2.6.31.1 ( the most recent) under Xen 3.4.1 & Libvirt 0.7.1-8 on top of F11 and lost GDM login at all.
Switching /etc/inittab to initdefault 3 also doesn't allow to login in text mode.
Disabling DRM ( rescue mode kernel rebuild) brings things back to usual behaviour.  X-Server just starts , no matter of DRM status ( vs Ubuntu 9.04 Server)

Boris.

--- On Sat, 10/3/09, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, JBeulich@xxxxxxxxxx, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
Date: Saturday, October 3, 2009, 3:20 AM

Yes, it works.

root@ServerXen35:~# cat /proc/mtrr
reg00: base=0x0d0000000 ( 3328MB), size=  256MB, count=1: uncachable
reg01: base=0x0e0000000 ( 3584MB), size=  512MB, count=1: uncachable
reg02: base=0x000000000 (    0MB), size= 8192MB, count=1: write-back
reg03: base=0x200000000 ( 8192MB), size=  512MB, count=1: write-back
reg04: base=0x220000000 ( 8704MB), size=  256MB, count=1: write-back

Boris.

--- On Fri, 10/2/09, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, JBeulich@xxxxxxxxxx, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
Date: Friday, October 2, 2009, 5:07 PM

On 10/02/09 12:50, Boris Derzhavets wrote:
> Done via "git pull" for another close enough "linux-2.6-xen" clone :-
> # git pull
> # git checkout xen/master
> # git log
>

So you're saying it works?  I didn't see anything bad in the dmesg output.

If it is working, what does /proc/mtrr say?

Thanks,
    J


_______________________________________________
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


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

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

Attachment: dmesg.10-04-09.gz
Description: GNU Zip compressed data

Attachment: config.10-04-09.gz
Description: GNU Zip compressed data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . DRM for Radeon 4650 on F11, Boris Derzhavets <=