読者です 読者をやめる 読者になる 読者になる

はわわーっ

はわわわわっ

VGAパススルーしたい

kvm

このへんみつつやってみる。

とりあえず簡単にできそうなUSBコントローラから。

yomi@haku02% lspci -nn                                                                     00:00.0 Host bridge [0600]: Intel Corporation Haswell DRAM Controller [8086:0c00] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell Integrated Graphics Controller [8086:0412] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Haswell HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:8cb1]
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:8cba]
00:19.0 Ethernet controller [0200]: Intel Corporation Device [8086:15a1]
00:1a.0 USB controller [0c03]: Intel Corporation Device [8086:8cad]
00:1b.0 Audio device [0403]: Intel Corporation Device [8086:8ca0]
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:8c90] (rev d0)
00:1c.3 PCI bridge [0604]: Intel Corporation Device [8086:8c96] (rev d0)
00:1c.6 PCI bridge [0604]: Intel Corporation Device [8086:8c9c] (rev d0)
00:1d.0 USB controller [0c03]: Intel Corporation Device [8086:8ca6]
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:8cc4]
00:1f.3 SMBus [0c05]: Intel Corporation Device [8086:8ca2]
02:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)
03:00.0 USB controller [0c03]: ASMedia Technology Inc. Device [1b21:1142]

00:1a.0と00:1d.0がUSBコントローラ。元々のドライバから外してpci-stubにバインド。

yomi@haku02% echo 8086 8cad | sudo tee /sys/bus/pci/drivers/pci-stub/new_id
yomi@haku02% echo 0000:00:1a.0 | sudo tee /sys/bus/pci/drivers/ehci-pci/unbind
yomi@haku02% echo 0000:00:1a.0 | sudo tee /sys/bus/pci/drivers/pci-stub/bind
yomi@haku02% echo 8086 8ca6 | sudo tee /sys/bus/pci/drivers/pci-stub/new_id
yomi@haku02% echo 0000:00:1d.0 | sudo tee /sys/bus/pci/drivers/ehci-pci/unbind
yomi@haku02% echo 0000:00:1d.0 | sudo tee /sys/bus/pci/drivers/pci-stub/bind

qemu起動。

yomi@haku02% sudo qemu-system-x86_64 -vnc :0 -enable-kvm -smp 2 -m 2048 -hda wheezy.img -device pci-assign,host=00:1a.0 -device pci-assign,host=00:1d.0 -device

これでパススルーできた。
VGAも同じようにやればできるかと思ったけど、i915からunbindしたところでダメっぽい。

[  123.622429] drm_kms_helper: drm: unregistered panic notifier
[  123.697698] ------------[ cut here ]------------
[  123.697711] WARNING: CPU: 2 PID: 1983 at /build/linux-nBoDV9/linux-3.16.3/drivers/gpu/drm/drm_crtc.c:4782 drm_mode_config_cleanup+0x299/0x2c0 [drm]()
[  123.697712] Modules linked in: pci_stub nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc bridge stp llc nls_utf8 nls_cp437 vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp mxm_wmi kvm_intel kvm crct10dif_pclmul crc32_pclmul evdev ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul efi_pstore glue_helper ablk_helper cryptd psmouse snd_hda_intel serio_raw pcspkr snd_hda_controller snd_hda_codec efivars snd_hwdep snd_pcm snd_seq snd_seq_device snd_timer shpchp tpm_tis tpm snd i915 battery wmi i2c_designware_platform drm_kms_helper video i2c_designware_core drm intel_smartconnect mei_me i2c_algo_bit soundcore acpi_pad mei button processor thermal_sys loop autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_common hid_generic usbhid ahci libahci libata crc32c_intel scsi_mod ehci_pci ehci_hcd xhci_hcd e1000e usbcore ptp pps_core usb_common i2c_hid hid sdhci_acpi i2c_core sdhci mmc_core
[  123.697762] CPU: 2 PID: 1983 Comm: tee Not tainted 3.16-0.bpo.2-amd64 #1 Debian 3.16.3-2~bpo70+1
[  123.697763] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z97 Extreme4, BIOS P1.30 05/23/2014
[  123.697764]  0000000000000000 ffffffffa030fbd8 ffffffff8153ff96 0000000000000000
[  123.697765]  ffffffff8106be4c ffff88040be5caf8 ffff88040be5c800 ffff88040be5cc28
[  123.697766]  ffff88040be5cc38 ffffffffffffffed ffffffffa02ef799 ffffffffffffffed
[  123.697768] Call Trace:
[  123.697772]  [<ffffffff8153ff96>] ? dump_stack+0x41/0x51
[  123.697775]  [<ffffffff8106be4c>] ? warn_slowpath_common+0x8c/0xc0
[  123.697780]  [<ffffffffa02ef799>] ? drm_mode_config_cleanup+0x299/0x2c0 [drm]
[  123.697790]  [<ffffffffa03985ce>] ? intel_modeset_cleanup+0xde/0x110 [i915]
[  123.697795]  [<ffffffffa03c5dd0>] ? i915_driver_unload+0x230/0x2f0 [i915]
[  123.697812]  [<ffffffffa02e74f3>] ? drm_dev_unregister+0x23/0xa0 [drm]
[  123.697816]  [<ffffffffa02e7c1f>] ? drm_put_dev+0x1f/0x60 [drm]
[  123.697818]  [<ffffffff81301ba1>] ? pci_device_remove+0x41/0xc0
[  123.697820]  [<ffffffff813c807e>] ? __device_release_driver+0x7e/0x100
[  123.697821]  [<ffffffff813c812a>] ? device_release_driver+0x2a/0x40
[  123.697823]  [<ffffffff813c7029>] ? unbind_store+0xa9/0xc0
[  123.697825]  [<ffffffff8122c8f2>] ? kernfs_fop_write+0x112/0x170
[  123.697827]  [<ffffffff811bab45>] ? vfs_write+0xc5/0x1f0
[  123.697828]  [<ffffffff811bb050>] ? SyS_write+0x50/0xb0
[  123.697830]  [<ffffffff8154646d>] ? system_call_fast_compare_end+0x10/0x15
[  123.697847] ---[ end trace d480acfe0021be45 ]---
[  123.697848] ------------[ cut here ]------------
[  123.697848] ------------[ cut here ]------------
[  123.697852] WARNING: CPU: 2 PID: 1983 at /build/linux-nBoDV9/linux-3.16.3/drivers/gpu/drm/drm_crtc.c:665 drm_framebuffer_remove+0x10b/0x110 [drm]()
[  123.697852] Modules linked in: pci_stub nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc bridge stp llc nls_utf8 nls_cp437 vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp mxm_wmi kvm_intel kvm crct10dif_pclmul crc32_pclmul evdev ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul efi_pstore glue_helper ablk_helper cryptd psmouse snd_hda_intel serio_raw pcspkr snd_hda_controller snd_hda_codec efivars snd_hwdep snd_pcm snd_seq snd_seq_device snd_timer shpchp tpm_tis tpm snd i915 battery wmi i2c_designware_platform drm_kms_helper video i2c_designware_core drm intel_smartconnect mei_me i2c_algo_bit soundcore acpi_pad mei button processor thermal_sys loop autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_common hid_generic usbhid ahci libahci libata crc32c_intel scsi_mod ehci_pci ehci_hcd xhci_hcd e1000e usbcore ptp pps_core usb_common i2c_hid hid sdhci_acpi i2c_core sdhci mmc_core
[  123.697890] CPU: 2 PID: 1983 Comm: tee Tainted: G        W     3.16-0.bpo.2-amd64 #1 Debian 3.16.3-2~bpo70+1
[  123.697891] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z97 Extreme4, BIOS P1.30 05/23/2014
[  123.697891]  0000000000000000 ffffffffa030fbd8 ffffffff8153ff96 0000000000000000
[  123.697893]  ffffffff8106be4c ffff88040be5caf8 ffff88040c015040 ffff88040be5cae8
[  123.697894]  ffff88040be5c800 ffffffffffffffed ffffffffa02ee14b 0000000000000000
[  123.697895] Call Trace:
[  123.697898]  [<ffffffff8153ff96>] ? dump_stack+0x41/0x51
[  123.697899]  [<ffffffff8106be4c>] ? warn_slowpath_common+0x8c/0xc0
[  123.697903]  [<ffffffffa02ee14b>] ? drm_framebuffer_remove+0x10b/0x110 [drm]
[  123.697904]  [<ffffffff8106be55>] ? warn_slowpath_common+0x95/0xc0
[  123.697908]  [<ffffffffa02ef6cb>] ? drm_mode_config_cleanup+0x1cb/0x2c0 [drm]
[  123.697915]  [<ffffffffa03985ce>] ? intel_modeset_cleanup+0xde/0x110 [i915]
[  123.697919]  [<ffffffffa03c5dd0>] ? i915_driver_unload+0x230/0x2f0 [i915]
[  123.697923]  [<ffffffffa02e74f3>] ? drm_dev_unregister+0x23/0xa0 [drm]
[  123.697927]  [<ffffffffa02e7c1f>] ? drm_put_dev+0x1f/0x60 [drm]
[  123.697928]  [<ffffffff81301ba1>] ? pci_device_remove+0x41/0xc0
[  123.697930]  [<ffffffff813c807e>] ? __device_release_driver+0x7e/0x100
[  123.697931]  [<ffffffff813c812a>] ? device_release_driver+0x2a/0x40
[  123.697933]  [<ffffffff813c7029>] ? unbind_store+0xa9/0xc0
[  123.697934]  [<ffffffff8122c8f2>] ? kernfs_fop_write+0x112/0x170
[  123.697936]  [<ffffffff811bab45>] ? vfs_write+0xc5/0x1f0
[  123.697938]  [<ffffffff811bb050>] ? SyS_write+0x50/0xb0
[  123.697939]  [<ffffffff8154646d>] ? system_call_fast_compare_end+0x10/0x15
[  123.697940] ---[ end trace d480acfe0021be46 ]---
[  123.705594] ------------[ cut here ]------------
[  123.705606] WARNING: CPU: 2 PID: 1983 at /build/linux-nBoDV9/linux-3.16.3/drivers/gpu/drm/i915/i915_dma.c:1880 i915_driver_unload+0x2e9/0x2f0 [i915]()
[  123.705606] Modules linked in: pci_stub nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc bridge stp llc nls_utf8 nls_cp437 vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp mxm_wmi kvm_intel kvm crct10dif_pclmul crc32_pclmul evdev ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul efi_pstore glue_helper ablk_helper cryptd psmouse snd_hda_intel serio_raw pcspkr snd_hda_controller snd_hda_codec efivars snd_hwdep snd_pcm snd_seq snd_seq_device snd_timer shpchp tpm_tis tpm snd i915 battery wmi i2c_designware_platform drm_kms_helper video i2c_designware_core drm intel_smartconnect mei_me i2c_algo_bit soundcore acpi_pad mei button processor thermal_sys loop autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_common hid_generic usbhid ahci libahci libata crc32c_intel scsi_mod ehci_pci ehci_hcd xhci_hcd e1000e usbcore ptp pps_core usb_common i2c_hid hid sdhci_acpi i2c_core sdhci mmc_core
[  123.705633] CPU: 2 PID: 1983 Comm: tee Tainted: G        W     3.16-0.bpo.2-amd64 #1 Debian 3.16.3-2~bpo70+1
[  123.705634] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z97 Extreme4, BIOS P1.30 05/23/2014
[  123.705635]  0000000000000000 ffffffffa03e9028 ffffffff8153ff96 0000000000000000
[  123.705636]  ffffffff8106be4c ffff88040e060000 ffff88040be5c800 0000000000000000
[  123.705637]  ffff88040be5c860 ffffffffffffffed ffffffffa03c5e89 ffff88040e8af148
[  123.705639] Call Trace:
[  123.705642]  [<ffffffff8153ff96>] ? dump_stack+0x41/0x51
[  123.705644]  [<ffffffff8106be4c>] ? warn_slowpath_common+0x8c/0xc0
[  123.705649]  [<ffffffffa03c5e89>] ? i915_driver_unload+0x2e9/0x2f0 [i915]
[  123.705653]  [<ffffffffa02e74f3>] ? drm_dev_unregister+0x23/0xa0 [drm]
[  123.705657]  [<ffffffffa02e7c1f>] ? drm_put_dev+0x1f/0x60 [drm]
[  123.705659]  [<ffffffff81301ba1>] ? pci_device_remove+0x41/0xc0
[  123.705661]  [<ffffffff813c807e>] ? __device_release_driver+0x7e/0x100
[  123.705662]  [<ffffffff813c812a>] ? device_release_driver+0x2a/0x40
[  123.705664]  [<ffffffff813c7029>] ? unbind_store+0xa9/0xc0
[  123.705665]  [<ffffffff8122c8f2>] ? kernfs_fop_write+0x112/0x170
[  123.705667]  [<ffffffff811bab45>] ? vfs_write+0xc5/0x1f0
[  123.705669]  [<ffffffff811bb050>] ? SyS_write+0x50/0xb0
[  123.705670]  [<ffffffff8154646d>] ? system_call_fast_compare_end+0x10/0x15
[  123.705671] ---[ end trace d480acfe0021be47 ]---
[  123.705672] ------------[ cut here ]------------
[  123.705677] WARNING: CPU: 2 PID: 1983 at /build/linux-nBoDV9/linux-3.16.3/drivers/gpu/drm/i915/i915_dma.c:1888 i915_driver_unload+0x2bd/0x2f0 [i915]()
[  123.705677] Modules linked in: pci_stub nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc bridge stp llc nls_utf8 nls_cp437 vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp mxm_wmi kvm_intel kvm crct10dif_pclmul crc32_pclmul evdev ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul efi_pstore glue_helper ablk_helper cryptd psmouse snd_hda_intel serio_raw pcspkr snd_hda_controller snd_hda_codec efivars snd_hwdep snd_pcm snd_seq snd_seq_device snd_timer shpchp tpm_tis tpm snd i915 battery wmi i2c_designware_platform drm_kms_helper video i2c_designware_core drm intel_smartconnect mei_me i2c_algo_bit soundcore acpi_pad mei button processor thermal_sys loop autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_common hid_generic usbhid ahci libahci libata crc32c_intel scsi_mod ehci_pci ehci_hcd xhci_hcd e1000e usbcore ptp pps_core usb_common i2c_hid hid sdhci_acpi i2c_core sdhci mmc_core
[  123.705700] CPU: 2 PID: 1983 Comm: tee Tainted: G        W     3.16-0.bpo.2-amd64 #1 Debian 3.16.3-2~bpo70+1
[  123.705701] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z97 Extreme4, BIOS P1.30 05/23/2014
[  123.705701]  0000000000000000 ffffffffa03e9028 ffffffff8153ff96 0000000000000000
[  123.705702]  ffffffff8106be4c ffff88040e060000 ffff88040be5c800 0000000000000000
[  123.705704]  ffff88040be5c860 ffffffffffffffed ffffffffa03c5e5d ffff88040e8af148
[  123.705705] Call Trace:
[  123.705707]  [<ffffffff8153ff96>] ? dump_stack+0x41/0x51
[  123.705708]  [<ffffffff8106be4c>] ? warn_slowpath_common+0x8c/0xc0
[  123.705713]  [<ffffffffa03c5e5d>] ? i915_driver_unload+0x2bd/0x2f0 [i915]
[  123.705716]  [<ffffffffa02e74f3>] ? drm_dev_unregister+0x23/0xa0 [drm]
[  123.705720]  [<ffffffffa02e7c1f>] ? drm_put_dev+0x1f/0x60 [drm]
[  123.705721]  [<ffffffff81301ba1>] ? pci_device_remove+0x41/0xc0
[  123.705723]  [<ffffffff813c807e>] ? __device_release_driver+0x7e/0x100
[  123.705724]  [<ffffffff813c812a>] ? device_release_driver+0x2a/0x40
[  123.705726]  [<ffffffff813c7029>] ? unbind_store+0xa9/0xc0
[  123.705727]  [<ffffffff8122c8f2>] ? kernfs_fop_write+0x112/0x170
[  123.705729]  [<ffffffff811bab45>] ? vfs_write+0xc5/0x1f0
[  123.705730]  [<ffffffff811bb050>] ? SyS_write+0x50/0xb0
[  123.705732]  [<ffffffff8154646d>] ? system_call_fast_compare_end+0x10/0x15
[  123.705732] ---[ end trace d480acfe0021be48 ]---
[  123.705823] ------------[ cut here ]------------
[  123.705828] WARNING: CPU: 2 PID: 1983 at /build/linux-nBoDV9/linux-3.16.3/drivers/gpu/drm/drm_mm.c:765 gen6_gmch_remove+0x25/0x100 [i915]()
[  123.705829] Memory manager not clean during takedown.
[  123.705829] Modules linked in: pci_stub nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc bridge stp llc nls_utf8 nls_cp437 vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp mxm_wmi kvm_intel kvm crct10dif_pclmul crc32_pclmul evdev ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul efi_pstore glue_helper ablk_helper cryptd psmouse snd_hda_intel serio_raw pcspkr snd_hda_controller snd_hda_codec efivars snd_hwdep snd_pcm snd_seq snd_seq_device snd_timer shpchp tpm_tis tpm snd i915 battery wmi i2c_designware_platform drm_kms_helper video i2c_designware_core drm intel_smartconnect mei_me i2c_algo_bit soundcore acpi_pad mei button processor thermal_sys loop autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_common hid_generic usbhid ahci libahci libata crc32c_intel scsi_mod ehci_pci ehci_hcd xhci_hcd e1000e usbcore ptp pps_core usb_common i2c_hid hid sdhci_acpi i2c_core sdhci mmc_core
[  123.705854] CPU: 2 PID: 1983 Comm: tee Tainted: G        W     3.16-0.bpo.2-amd64 #1 Debian 3.16.3-2~bpo70+1
[  123.705854] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z97 Extreme4, BIOS P1.30 05/23/2014
[  123.705855]  0000000000000000 ffffffffa030fa20 ffffffff8153ff96 ffff88040d7e7d68
[  123.705856]  ffffffff8106be4c ffff88040e067a08 ffff88040be5c800 0000000000000000
[  123.705857]  ffff88040be5c860 ffffffffffffffed ffffffff8106bf3a ffffffffa030fa98
[  123.705858] Call Trace:
[  123.705861]  [<ffffffff8153ff96>] ? dump_stack+0x41/0x51
[  123.705863]  [<ffffffff8106be4c>] ? warn_slowpath_common+0x8c/0xc0
[  123.705864]  [<ffffffff8106bf3a>] ? warn_slowpath_fmt+0x4a/0x50
[  123.705869]  [<ffffffffa0356da5>] ? gen6_gmch_remove+0x25/0x100 [i915]
[  123.705874]  [<ffffffffa03c5cdb>] ? i915_driver_unload+0x13b/0x2f0 [i915]
[  123.705878]  [<ffffffffa02e74f3>] ? drm_dev_unregister+0x23/0xa0 [drm]
[  123.705881]  [<ffffffffa02e7c1f>] ? drm_put_dev+0x1f/0x60 [drm]
[  123.705883]  [<ffffffff81301ba1>] ? pci_device_remove+0x41/0xc0
[  123.705885]  [<ffffffff813c807e>] ? __device_release_driver+0x7e/0x100
[  123.705886]  [<ffffffff813c812a>] ? device_release_driver+0x2a/0x40
[  123.705887]  [<ffffffff813c7029>] ? unbind_store+0xa9/0xc0
[  123.705889]  [<ffffffff8122c8f2>] ? kernfs_fop_write+0x112/0x170
[  123.705891]  [<ffffffff811bab45>] ? vfs_write+0xc5/0x1f0
[  123.705893]  [<ffffffff811bb050>] ? SyS_write+0x50/0xb0
[  123.705894]  [<ffffffff8154646d>] ? system_call_fast_compare_end+0x10/0x15
[  123.705894] ---[ end trace d480acfe0021be49 ]---
[  123.705995] kmem_cache_destroy i915_gem_object: Slab cache still has objects
[  123.705997] CPU: 2 PID: 1983 Comm: tee Tainted: G        W     3.16-0.bpo.2-amd64 #1 Debian 3.16.3-2~bpo70+1
[  123.705998] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z97 Extreme4, BIOS P1.30 05/23/2014
[  123.705998]  0000000000000000 ffff88040be5c800 ffffffff8153ff96 ffff88040c26fdc0
[  123.705999]  ffffffff8116de64 ffff88040e060000 ffffffffa03c5d06 ffff88040e8af148
[  123.706000]  ffff88040be5c800 ffff88040be5c800 ffff88040e8af000 ffff88040e8af098
[  123.706002] Call Trace:
[  123.706003]  [<ffffffff8153ff96>] ? dump_stack+0x41/0x51
[  123.706006]  [<ffffffff8116de64>] ? kmem_cache_destroy+0xa4/0xc0
[  123.706012]  [<ffffffffa03c5d06>] ? i915_driver_unload+0x166/0x2f0 [i915]
[  123.706016]  [<ffffffffa02e74f3>] ? drm_dev_unregister+0x23/0xa0 [drm]
[  123.706019]  [<ffffffffa02e7c1f>] ? drm_put_dev+0x1f/0x60 [drm]
[  123.706021]  [<ffffffff81301ba1>] ? pci_device_remove+0x41/0xc0
[  123.706022]  [<ffffffff813c807e>] ? __device_release_driver+0x7e/0x100
[  123.706024]  [<ffffffff813c812a>] ? device_release_driver+0x2a/0x40
[  123.706025]  [<ffffffff813c7029>] ? unbind_store+0xa9/0xc0
[  123.706027]  [<ffffffff8122c8f2>] ? kernfs_fop_write+0x112/0x170
[  123.706028]  [<ffffffff811bab45>] ? vfs_write+0xc5/0x1f0
[  123.706030]  [<ffffffff811bb050>] ? SyS_write+0x50/0xb0
[  123.706031]  [<ffffffff8154646d>] ? system_call_fast_compare_end+0x10/0x15
[  123.824771] dmar: DRHD: handling fault status reg 3
[  123.824774] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe421000 
[  123.824774] DMAR:[fault reason 02] Present bit in context entry is clear
[  124.324102] dmar: DRHD: handling fault status reg 3
[  124.324105] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe412000 
[  124.324105] DMAR:[fault reason 02] Present bit in context entry is clear
[  124.711979] pci-stub 0000:00:02.0: claimed by stub
[  124.823584] dmar: DRHD: handling fault status reg 3
[  124.823593] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe421000 
[  124.823593] DMAR:[fault reason 02] Present bit in context entry is clear
[  125.322984] dmar: DRHD: handling fault status reg 3
[  125.322995] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe412000 
[  125.322995] DMAR:[fault reason 02] Present bit in context entry is clear
[  125.822229] dmar: DRHD: handling fault status reg 3
[  125.822236] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe412000 
[  125.822236] DMAR:[fault reason 02] Present bit in context entry is clear
[  126.321638] dmar: DRHD: handling fault status reg 3
[  126.321646] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe421000 
[  126.321646] DMAR:[fault reason 02] Present bit in context entry is clear
[  126.820939] dmar: DRHD: handling fault status reg 3
[  126.820943] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe421000 
[  126.820943] DMAR:[fault reason 02] Present bit in context entry is clear
[  127.320280] dmar: DRHD: handling fault status reg 3
[  127.320292] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe412000 
[  127.320292] DMAR:[fault reason 02] Present bit in context entry is clear
[  127.819665] dmar: DRHD: handling fault status reg 3
[  127.819669] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe412000 
[  127.819669] DMAR:[fault reason 02] Present bit in context entry is clear
[  128.318976] dmar: DRHD: handling fault status reg 3
[  128.318979] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe412000 
[  128.318979] DMAR:[fault reason 02] Present bit in context entry is clear
[  128.818340] dmar: DRHD: handling fault status reg 3
[  128.818343] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr fe421000 
[  128.818343] DMAR:[fault reason 02] Present bit in context entry is clear

こんな感じにエラーっぽいのがでる。最後あたりのdmar:〜みたいなのがずっと出続けてるしどうしたらいいだろうこれ。