From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-2022-JP?B?GyRCOjRMbhsoQiAbJEI9KEVNGyhC?= Subject: Intel VGA-passthrough to Ubuntu12.04 64bit Dom-U doesn't work Date: Wed, 06 Jun 2012 18:49:18 +0900 Message-ID: <4FCF279E.3050306@alpha.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi, When Ubuntu12.04 64bit domU boot up, Intel VGA-passthrough doesn't work. I used the command "xm create" to boot up Dom-U. Windows7-64bit-SP1 works quite well with same configuration. Boot log is as follows. Dom-U dmesg: [ 1.421858] initcall rfcomm_init+0x0/0xf1 [rfcomm] returned 0 after 2192 usecs [ 1.423021] calling i915_init+0x0/0x8d [i915] @ 387 [ 1.423023] [drm:drm_pci_init], [ 1.423038] [drm:drm_get_pci_dev], [ 1.423157] xen: --> pirq=55 -> irq=24 (gsi=24) [ 1.423159] i915 0000:00:02.0: PCI INT A -> GSI 24 (level, low) -> IRQ 24 [ 1.423224] i915 0000:00:02.0: setting latency timer to 64 [ 1.423315] [drm:drm_get_minor], [ 1.423411] initcall alsa_timer_init+0x0/0x1000 [snd_timer] returned 0 after 1559 usecs [ 1.423528] [drm:drm_get_minor], new minor assigned 64 [ 1.423529] [drm:drm_get_minor], [ 1.423620] [drm:drm_get_minor], new minor assigned 0 [ 1.474532] [drm:intel_opregion_setup], graphic opregion physical addr: 0xfeff5018 [ 1.474545] resource map sanity check conflict: 0xfeff5018 0xfeff7017 0xfeff7000 0xffffffff reserved [ 1.474547] ------------[ cut here ]------------ [ 1.474551] WARNING: at /build/buildd/linux-3.2.0/arch/x86/mm/ioremap.c:171 __ioremap_caller+0x382/0x390() [ 1.474553] Hardware name: HVM domU [ 1.474554] Info: mapping multiple BARs. Your kernel is fine. [ 1.474555] Modules linked in: i915(+) snd_timer snd_seq_device rfcomm drm_kms_helper psmouse snd serio_raw drm mac_hid bnep i2c_algo_bit shpchp soundcore bluetooth video parport_pc ppdev snd_page_alloc i2c_piix4 lp parport floppy [ 1.474568] Pid: 387, comm: modprobe Not tainted 3.2.0-23-generic #36-Ubuntu [ 1.474570] Call Trace: [ 1.474574] [] warn_slowpath_common+0x7f/0xc0 [ 1.474576] [] warn_slowpath_fmt+0x46/0x50 [ 1.474578] [] __ioremap_caller+0x382/0x390 [ 1.474592] [] ? intel_opregion_setup+0x7a/0x220 [i915] [ 1.474594] [] ioremap_cache+0x14/0x20 [ 1.474603] [] intel_opregion_setup+0x7a/0x220 [i915] [ 1.474611] [] i915_driver_load+0x1a4/0x720 [i915] [ 1.474618] [] drm_get_pci_dev+0x199/0x300 [drm] [ 1.474620] [] ? default_spin_lock_flags+0x9/0x10 [ 1.474630] [] i915_pci_probe+0x1b/0x1d [i915] [ 1.474633] [] local_pci_probe+0x5c/0xd0 [ 1.474635] [] __pci_device_probe+0xf9/0x100 [ 1.474638] [] ? kobject_get+0x1a/0x30 [ 1.474640] [] pci_device_probe+0x3a/0x60 [ 1.474643] [] really_probe+0x68/0x190 [ 1.474645] [] driver_probe_device+0x45/0x70 [ 1.474646] [] __driver_attach+0xab/0xb0 [ 1.474648] [] ? driver_probe_device+0x70/0x70 [ 1.474650] [] ? driver_probe_device+0x70/0x70 [ 1.474651] [] bus_for_each_dev+0x5c/0x90 [ 1.474653] [] driver_attach+0x1e/0x20 [ 1.474655] [] bus_add_driver+0x1a0/0x270 [ 1.474657] [] driver_register+0x76/0x140 [ 1.474659] [] __pci_register_driver+0x56/0xd0 [ 1.474664] [] drm_pci_init+0x11a/0x130 [drm] [ 1.474667] [] ? xen_clocksource_get_cycles+0x9/0x10 [ 1.474669] [] ? 0xffffffffa01b8fff [ 1.474675] [] i915_init+0x8b/0x8d [i915] [ 1.474678] [] do_one_initcall+0x12c/0x180 [ 1.474681] [] sys_init_module+0xbe/0x230 [ 1.474683] [] system_call_fastpath+0x16/0x1b [ 1.474685] ---[ end trace 7589c8eed3077f77 ]--- Hardware: Dell Optiplex 990 Core i5 2500 Display connected via VGA Software: dom0 kernel : Linux 3.4.0 64bit domU kernel : Linux 3.2.0-23-generic 64bit(Ubuntu12.04 LTS) xen 4.2-unstable(Latest ChangeSet: Thu May 31 10:18:52 2012 +0200 25432:d7318231cfe3) Dom-U configuration file: # -*- mode: python; -*- kernel = "hvmloader" builder='hvm' name = "domU" vcpus=1 device_model = 'qemu-dm' serial='pty' usb=1 usbdevice='tablet' memory = 2048 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" disk = [ 'file:/etc/xen/ubuntu.img,hda,w' ] vscsi = [ '2:0:0:0, host' ] pci=[ '00:02.0', '00:1b.0', '00:1a.0', '00:1d.0' ] gfx_passthru=1 vif = [ 'type=ioemu, bridge=xenbr0, model=e1000' ] keymap='ja' Thanks, SANO