[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:51953] [upgrade to lenny] don't work X on Xen dom0



飛田ã§ã™ã€‚

etch ã ã£ãŸãƒ‡ãƒ¢ç”¨ãƒžã‚·ãƒ³(AthlonX2 3800+ 2G, A8N-VM CSM, memory 1.5G,
amd64)ã‚’ lenny 㸠aptitude dist-upgrade ã—ã¦ã¿ã¾ã—ãŸã€‚

当åˆã€Xen 関連ã€xen-hypervisor ã‚„ xen-utils ㌠3.0.3 ã®ã¾ã¾æ®‹ã£ã¦ã—ã¾ã„ã€
Xen ã§èµ·å‹•ã§ããªããªã‚Šã¾ã—ãŸãŒã€ä¸€æ—¦ã€ linux-image-2.6.18 ã§èµ·å‹•ã—ã¦
xen-hypervisor ãªã©é–¢é€£ãƒ—ログラムを 3.2-1 ã¸ã‚ã’る事㧠Xen カーãƒãƒ«ã§èµ·
å‹•ã¯ã§ãるよã†ã«ãªã‚Šã¾ã—ãŸã€‚

Xen カーãƒãƒ«ã® dom0 ㌠X (kdm) ã§èµ·å‹•ã™ã‚‹è¨­å®šã ã£ãŸã®ã§ã™ãŒã€X ãŒèµ·å‹•ã§
ãã¾ã›ã‚“。内容ã¯ã™ã§ã«ãƒªãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã‚‹ #509733 ã¨ã¾ã£ãŸãåŒã˜ã§ã™ã€‚

cf. http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;bug=509733

ã¡ãªã¿ã« X ãŒèµ·å‹•ã§ããªã„ã ã‘ã§ã€ã‚³ãƒ³ã‚½ãƒ¼ãƒ«ã§ã¯å…¥ã‚Œã¾ã™ã—ã€
/etc/xen/xend-config.sxp を修正ã™ã‚‹ (network-bridge ㌠network-dummy ã«
書ãæ›ãˆã‚‰ã‚Œã¦ãŸ) ã“ã¨ã§ã€domU ã®èµ·å‹•ã€ãŠã‚ˆã³ vncviewer 経由ã§ã®ãƒ­ã‚°ã‚¤
ンã¯å¯èƒ½ã¨ãªã£ã¦ã„ã¾ã™ã€‚

;; 当方㮠kernel 㯠686 ã§ã¯ãªã amd64 ã§ã™ãŒã€‚

== dmesg 末尾より抜粋 ==

[  145.210016] Pid: 7399, comm: Xorg Tainted: G        W 2.6.26-1-xen-amd64 #1
[  145.210019] 
[  145.210019] Call Trace:
[  145.210031]  [<ffffffff8022cba2>] warn_on_slowpath+0x51/0x78
[  145.210038]  [<ffffffff8022d6ae>] printk+0x4e/0x56
[  145.210053]  [<ffffffff802654c4>] generic_file_buffered_write+0x206/0x63c
[  145.210060]  [<ffffffff8029b43e>] __d_lookup+0xba/0x134
[  145.210066]  [<ffffffff8021950b>] __change_page_attr_set_clr+0x84/0xa7f
[  145.210072]  [<ffffffff8021a7dc>] phys_mem_access_prot_allowed+0xdb/0x247
[  145.210076]  [<ffffffff8023d7ca>] search_exception_tables+0x1d/0x2f
[  145.210081]  [<ffffffff80218eb3>] fixup_exception+0x10/0x29
[  145.210086]  [<ffffffff8029aa34>] dput+0x21/0x13e
[  145.210098]  [<ffffffff80219fc2>] change_page_attr_set_clr+0xbc/0x1d0
[  145.210110]  [<ffffffff8021a82f>] phys_mem_access_prot_allowed+0x12e/0x247
[  145.210137]  [<ffffffff80384f5c>] xen_mmap_mem+0x2f/0x6b
[  145.210142]  [<ffffffff80279b4c>] mmap_region+0x218/0x425
[  145.210157]  [<ffffffff8027a376>] do_mmap_pgoff+0x2e8/0x34d
[  145.210168]  [<ffffffff8020fb10>] sys_mmap+0x8b/0x110
[  145.210175]  [<ffffffff8020b528>] system_call+0x68/0x6d
[  145.210182]  [<ffffffff8020b4c0>] system_call+0x0/0x6d
[  145.210189] 
[  145.210191] ---[ end trace 19b48d58024a8774 ]---
[  145.210196] Xorg:7399 /dev/mem ioremap_change_attr failed write-back for d0000000-d0010000

== /var/log/Xorg.0.log 末尾より抜粋 ==

(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0x00000000d0000000: size 64KB

Fatal server error:
xf86MapVidMem: Could not mmap framebuffer (0xd0000000,0x10000) (Invalid argument)


ã¡ãªã¿ã«ã€ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚«ãƒ¼ãƒ‰ã¯ ATI Radeon X1600 (RV530) ã§ã€fglrx,
radeon 両方ã®ãƒ‰ãƒ©ã‚¤ãƒã§åŒã˜ç—‡çŠ¶ãŒå‡ºã¾ã™ã€‚

;; オンボード㮠nVidia 6150 ã¯ãƒ†ã‚¹ãƒˆã—ã¦ã„ã¾ã›ã‚“。

Xen ã§ã¯ãªã„カーãƒãƒ« (lenny ã®åŠã—ã® 2.6.26-1-amd64) ã§ã¯ã¾ã£ãŸãåŒã˜è¨­
定ã§ã€fglrx, radeon ã¨ã‚‚普通㫠X ãŒèµ·å‹•ã—ã¾ã™ã®ã§ã€Xen カーãƒãƒ«ã®å•é¡Œã 
ã¨æ€ã„ã¾ã™ã€‚

Xen ã® dom0 ㌠X ã§èµ·å‹•ã™ã‚‹è¨­å®šã®æ–¹ (Xen 使ã†äººã¯æ™®é€šã“ã‚“ãªè¨­å®šã¯ã—ã¾ã›
ã‚“ã‹..) 㯠何ã‹å¯¾ç­–ãŒã§ã‚‹ã¾ã§æ§˜å­ã‚’見ãŸæ–¹ãŒè‰¯ã„ã‹ã‚‚知れã¾ã›ã‚“。



-- 
  Shinichiro HIDA  shinichiro@xxxxxxxxxxxxx
  GPG fingerprint = BD22 BAE5 43BA 5E70 9F1B  7627 1D81 E567 6912 F09D