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-users

[Xen-users] Re: Xorg problem with xen

To: xen-users list <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: Xorg problem with xen
From: Ivan Shmakov <oneingray@xxxxxxxxx>
Date: Thu, 08 Jan 2009 01:05:58 +0600
Cc: Ivan Shmakov <oneingray@xxxxxxxxx>, edu gargiulo <egargiulo+lists@xxxxxxxxx>
Delivery-date: Wed, 07 Jan 2009 11:07:21 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:subject:to:cc:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=fufhuaIH/Dfj5j6SJvkc4vl95Z2dWX1jpAidJvYdks0=; b=RycNMo2wAwS9djE72wq52JfFTtExoCtlmQFqiUAQ1Xis83lR6eJfagGnSvnMV7Jrog wXvDjt5fZL/rJHyGBfEXRa7rrpWAC93j8DhKH3ZaTh5+HRtVOrRV25I4Ung/6vPQXz1S ervAL4IXrDCxmKAujlo5buYbfBf71RT1lXtzw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:subject:to:cc:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=TATsOrP+s45DH23ZfCNHcOeUQ3AddqqwW90jt0T5a39X6S8cygDHOLKa4JNeKWVXnE nwv8lXTIOKnjSxGC4pzHtWOVS9h4/JgiULRs46yC334b/RZLQGCr1rCcEp0r54h8b+dr PXqMAve2fhjD4mh44cUceiZ9FCCXdUX4UKKSs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <92afd6540901060628gda8d455jd6754367ee65dc20@xxxxxxxxxxxxxx> (edu gargiulo's message of "Tue\, 6 Jan 2009 11\:28\:25 -0300")
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <92afd6540901060628gda8d455jd6754367ee65dc20@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
>>>>> edu gargiulo <egargiulo+lists@xxxxxxxxx> writes:

 > After install xen-linux-system (2.6.26-1) on a running system, I
 > can't start X.  The X log says

 > xf86MapVidMem: Could not mmap framebuffer (0xfbfd0000,0x4000)
 > (Invalid argument)

        This may be related to Debian Bug#509733 [1] I've filed two
        weeks ago.  (The report also contains a simplistic program with
        an mmap () call triggering this bug.)

        Could you please check /var/log/kern.log (or dmesg(8) output)
        for a kernel call trace similar to the following?

[76187.443823] CPA: called for zero pte. vaddr = ffff880075ea4000 cpa->vaddr = 
ffff880075ea4000
[76187.444428] ------------[ cut here ]------------
[76187.444669] WARNING: at arch/x86/mm/pageattr-xen.c:571 
__change_page_attr_set_clr+0x84/0xad5()
[76187.444989] Modules linked in: tcp_diag inet_diag it87 hwmon_vid eeprom 
i2c_dev bridge nfsd auth_rpcgss exportfs ac battery ipv6 nfs lockd nfs_acl 
sunrpc loop parport_pc parport floppy k8temp pcspkr snd_hda_intel usblp snd_pcm 
snd_timer snd soundcore snd_page_alloc button i2c_nforce2 i2c_core evdev ext3 
jbd mbcache dm_mirror dm_log dm_snapshot dm_mod ide_generic ide_disk ide_cd_mod 
cdrom usb_storage sd_mod usbhid hid ff_memless amd74xx ide_core ata_generic 
ahci libata scsi_mod dock r8169 ehci_hcd via_rhine mii ohci_hcd thermal 
processor fan thermal_sys
[76187.455489] Pid: 28950, comm: Xorg Tainted: G        W 
2.6.26-bpo.1-xen-amd64 #1
[76187.455776] 
[76187.455836] Call Trace:
[76187.456146]  [<ffffffff8022cda7>] warn_on_slowpath+0x51/0x7b
[76187.456621]  [<ffffffff8022d8cd>] printk+0x4e/0x56
[76187.457790]  [<ffffffff8029bc57>] __d_lookup+0xb7/0x131
[76187.458239]  [<ffffffff8021962f>] __change_page_attr_set_clr+0x84/0xad5
[76187.458672]  [<ffffffff8021a95c>] phys_mem_access_prot_allowed+0xdb/0x247
[76187.459021]  [<ffffffff8023db4e>] search_exception_tables+0x1d/0x2f
[76187.459401]  [<ffffffff80218fdb>] fixup_exception+0x10/0x29
[76187.460250]  [<ffffffff8021a142>] change_page_attr_set_clr+0xc2/0x1d6
[76187.461099]  [<ffffffff8021a9af>] phys_mem_access_prot_allowed+0x12e/0x247
[76187.461988]  [<ffffffff80386320>] xen_mmap_mem+0x2f/0x6b
[76187.462376]  [<ffffffff8027a1ba>] mmap_region+0x218/0x425
[76187.463344]  [<ffffffff8027a9e4>] do_mmap_pgoff+0x2e8/0x34d
[76187.464036]  [<ffffffff8020fb39>] sys_mmap+0x8b/0x110
[76187.464548]  [<ffffffff8020b714>] tracesys+0xab/0xb0
[76187.465192] 
[76187.465309] ---[ end trace 19b4f9892ac648e5 ]---
[76187.465766] Xorg:28950 /dev/mem ioremap_change_attr failed write-back for 
e0000000-e1000000

        Apparently, similar issues were reported for GNU/Linux
        distributions other than Debian as well.  For instance, the
        following reports both mention similarly-looking issues:

https://bugzilla.novell.com/show_bug.cgi?id=422081
https://bugzilla.novell.com/show_bug.cgi?id=438610

        Both of the reports are solved, and the latter looks
        particularly close to Debian Bug#509733.  It additionally
        states:

--cut--
   ------- Comment #22 From Jan Beulich 2008-12-02 01:51:39 MST -------
Yes, thanks. So Stephan/Oliver - the bnx2 issue *is* fixed. The GUI issue,
however, will only be after the next Xen patch commit to the kernel cvs.

   ------- Comment #24 From Jan Beulich 2008-12-22 02:30:05 MST -------
Kernel patches to fix the remaining issues here have been committed and will be
available with a future kernel maintenance update.
--cut--

        However, I didn't manage to find these patches.

 > I'm running unstable on amd64 and using nv video card driver. How can
 > I fix this? I need to run X for domUs.

        I'm not sure that X server could be started in a domU when using
        paravirtualization.

[1] http://bugs.debian.org/509733
-- 
FSF associate member #7257

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

<Prev in Thread] Current Thread [Next in Thread>