Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Linux version 4.14.68-xen-stubdom (user@build-fedora4) (gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC)) #1 Tue Oct 2 03:34:17 UTC 2018
Command line: debug console=hvc0
x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
Released 0 page(s)
e820: BIOS-provided physical RAM map:
Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Xen: [mem 0x0000000000100000-0x0000000008ffffff] usable
NX (Execute Disable) protection: active
Hypervisor detected: Xen PV
tsc: Fast TSC calibration failed
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
e820: remove [mem 0x000a0000-0x000fffff] usable
e820: last_pfn = 0x9000 max_arch_pfn = 0x400000000
x86/PAT: Configuration [0-7]: WB WT UC- UC WC WP UC UC
Base memory trampoline at [ffff88000009a000] 9a000 size 24576
BRK [0x01b47000, 0x01b47fff] PGTABLE
RAMDISK: [mem 0x01c00000-0x033b1fff]
Zone ranges:
DMA32 [mem 0x0000000000001000-0x0000000008ffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000001000-0x000000000009ffff]
node 0: [mem 0x0000000000100000-0x0000000008ffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x0000000008ffffff]
On node 0 totalpages: 36767
DMA32 zone: 576 pages used for memmap
DMA32 zone: 21 pages reserved
DMA32 zone: 36767 pages, LIFO batch:7
p2m virtual area at ffffc90000000000, size is 200000
Remapped 0 page(s)
e820: [mem 0x09000000-0xffffffff] available for PCI devices
Booting paravirtualized kernel on Xen
Xen version: 4.8.5-14.fc25 (preserve-AD)
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
random: get_random_bytes called from 0xffffffff81a5e5a1 with crng_init=0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists, mobility grouping on. Total pages: 36170
Kernel command line: debug console=hvc0
PID hash table entries: 1024 (order: 1, 8192 bytes)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Memory: 105912K/147068K available (6152K kernel code, 343K rwdata, 368K rodata, 656K init, 280K bss, 41156K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Using NULL legacy PIC
NR_IRQS: 4352, nr_irqs: 24, preallocated irqs: 0
xen:events: Using FIFO-based ABI
console [hvc0] enabled
clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
Xen: using vcpuop timer interface
installing Xen timer for CPU 0
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
tsc: Detected 2592.156 MHz processor
Calibrating delay loop (skipped), value calculated using timer frequency.. 5184.31 BogoMIPS (lpj=10368624)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
mce: CPU supports 2 MCE banks
Last level iTLB entries: 4KB 128, 2MB 8, 4MB 8
Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
CPU: Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (family: 0x6, model: 0x9e, stepping: 0xd)
Spectre V2 : Mitigation: Full generic retpoline
Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Spectre V2 : Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier
Spectre V2 : Enabling Restricted Speculation for firmware calls
Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
Performance Events: unsupported p6 CPU model 158 no PMU driver, software events only.
Not enabling interrupt remapping due to skipped IO-APIC setup
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100de2e
CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100de2e
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010202
RAX: ffffffff8100de2e RBX: 25e852e41636b197 RCX: ffffffff81a675cd
RDX: 1845987f2a63fd6f RSI: ffffc90000203d44 RDI: 0000000000000000
RBP: ffffc90000203ee8 R08: 000000000000000a R09: ffffffff81b1a57c
R10: 0000000000000005 R11: 0000000000000060 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000040660
Call Trace:
? 0xffffffff81a78e8f
? 0xffffffff81a675cd
? 0xffffffff81a78fdd
? 0xffffffff81a5ed95
? 0xffffffff81217a24
? 0xffffffff81217a29
? 0xffffffff814001b5
Code: c2 48 83 f8 ff 48 0f 45 c2 c3 48 c7 c0 a8 5a 80 81 c3 48 c7 06 ff 00 00 00 c3 48 89 f8 b9 00 04 00 00 48 89 f7 48 89 c6 f3 a5 c3 <0f> 0b 89 f8 c3 89 f8 c1 e8 18 c3 31 c0 c3 31 c0 c3 0f 0b c3 31
---[ end trace 1b53198c41f69ef7 ]---
register: 20, value: 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010286
RAX: 0000000000000016 RBX: 25e852e41636b197 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d44 RDI: 0000000000000200
RBP: ffffc90000203ee8 R08: 000000000000020a R09: ffffffff81b1ac10
R10: 0000000000000005 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000040660
Call Trace:
? 0xffffffff81a78e9b
? 0xffffffff81a675cd
? 0xffffffff81a78fdd
? 0xffffffff81a5ed95
? 0xffffffff81217a24
? 0xffffffff81217a29
? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00
---[ end trace 1b53198c41f69ef8 ]---
pmu_apic_update: pmudata not initialized
register: 80, value: 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000016 RBX: 0000000000278d9c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 0000003a4da60814 R08: 000000000000010a R09: ffffffff81b1b2c0
R10: 0000000000000005 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000001 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000040660
Call Trace:
? 0xffffffff810215a3
? 0xffffffff81a78ec2
? 0xffffffff81a675cd
? 0xffffffff81a78fdd
? 0xffffffff81a5ed95
? 0xffffffff81217a24
? 0xffffffff81217a29
? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00
---[ end trace 1b53198c41f69ef9 ]---
register: f0, value: 1ff
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 0000000000278d9c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 0000003a4da60814 R08: 000000000000000a R09: ffffffff81b1b960
R10: 0000000000000005 R11: 0000000000000038 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 00000000000000f0
FS: 0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000040660
Call Trace:
? 0xffffffff81021687
? 0xffffffff81a78ec2
? 0xffffffff81a675cd
? 0xffffffff81a78fdd
? 0xffffffff81a5ed95
? 0xffffffff81217a24
? 0xffffffff81217a29
? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00
---[ end trace 1b53198c41f69efa ]---
register: 350, value: 700
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203e90 EFLAGS: 00010286
RAX: 0000000000000019 RBX: 0000000000000700 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d04 RDI: 0000000000000200
RBP: 0000003a4da60814 R08: 000000000000010a R09: ffffffff81b1c000
R10: 0000000000000005 R11: 000000000000003c R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 00000000000000f0
FS: 0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000040660
Call Trace:
? 0xffffffff810216ea
? 0xffffffff81a78ec2
? 0xffffffff81a675cd
? 0xffffffff81a78fdd
? 0xffffffff81a5ed95
? 0xffffffff81217a24
? 0xffffffff81217a29
? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00
---[ end trace 1b53198c41f69efb ]---
register: 360, value: 400
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203ed0 EFLAGS: 00010286
RAX: 0000000000000019 RBX: 25e852e41636b197 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d44 RDI: 0000000000000200
RBP: ffffc90000203ee8 R08: 000000000000010a R09: ffffffff81b1c6a4
R10: 0000000000000005 R11: 000000000000003c R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000040660
Call Trace:
? 0xffffffff81a78ec2
? 0xffffffff81a675cd
? 0xffffffff81a78fdd
? 0xffffffff81a5ed95
? 0xffffffff81217a24
? 0xffffffff81217a29
? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00
---[ end trace 1b53198c41f69efc ]---
register: 370, value: fe
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at 0xffffffff8100deb2
CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.14.68-xen-stubdom #1
task: ffff880000025200 task.stack: ffffc90000200000
RIP: e030:0xffffffff8100deb2
RSP: e02b:ffffc90000203eb8 EFLAGS: 00010286
RAX: 0000000000000018 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90000203d2c RDI: 0000000000000200
RBP: 0000000000000000 R08: 000000000000000a R09: ffffffff81b1cd20
R10: 0000000000000005 R11: 0000000000000038 R12: 0000000000000000
R13: 5ca2c32f5e78e9b8 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff81a2a000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000001a12000 CR4: 0000000000040660
Call Trace:
? 0xffffffff81020f9f
? 0xffffffff81a78ed9
? 0xffffffff81a78fdd
? 0xffffffff81a5ed95
? 0xffffffff81217a24
? 0xffffffff81217a29
? 0xffffffff814001b5
Code: c3 48 63 f6 31 c0 48 0f a3 37 0f 92 c0 c3 81 ff 40 03 00 00 75 05 e9 a0 06 00 00 89 f2 89 fe 48 c7 c7 9f 3c 83 81 e8 5f ec 03 00 <0f> 0b c3 55 53 89 f5 89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00
---[ end trace 1b53198c41f69efd ]---
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 16 (order: -4, 384 bytes)
NET: Registered protocol family 16
xen:grant_table: Grant tables using version 1 layout
Grant table initialized
PCI: setting up Xen PCI frontend stub
PCI: pci_cache_line_size set to 64 bytes
xen:balloon: Initialising balloon driver
PCI: System does not support PCI
clocksource: Switched to clocksource xen
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
Unpacking initramfs...
Freeing initrd memory: 24264K
workingset: timestamp_bits=62 max_order=15 bucket_order=0
io scheduler noop registered (default)
xen:xen_evtchn: Event-channel device installed
Invalid max_queues (4), will use default max: 1.
tun: Universal TUN/TAP device driver, 1.6
xen_netfront: Initialising Xen virtual ethernet driver
NET: Registered protocol family 17
sched_clock: Marking stable (15151464, 0)->(96616803467, -96601652003)
random: fast init done
blkfront: xvda: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
xvda: xvda1 xvda2 xvda3
blkfront: xvdb: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
blkfront: xvdc: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
Freeing unused kernel memory: 656K
Write protecting the kernel read-only data: 10240k
Freeing unused kernel memory: 2032K
Freeing unused kernel memory: 1680K
+ mount -t devtmpfs none /dev
+ mount -t sysfs /sys /sys
+ mount -t proc /proc /proc
+ mount -t tmpfs -o 'size=1m,nodev,noexec' /tmp /tmp
+ mount -o remount,ro /
+ echo 1
+ test -e /sys/class/net/eth0
+ echo 'No network interface named eth0.'
No network interface named eth0.
+ ls -l /sys/class/net/
total 0
lrwxrwxrwx 1 0 0 0 Mar 20 04:44 .[1;36mlo.[m -> .[1;34m../../devices/virtual/net/lo.[m
+ /bin/xenstore-read target
+ domid=1
+ xenstore-read /local/domain/1/vm
+ vm_path=/vm/5ce410b8-bd24-4a67-a460-e9ca7e5cab68
+ xenstore-read -R /vm/5ce410b8-bd24-4a67-a460-e9ca7e5cab68/image/dmargs
+ dm_args='-xen-domid.1.-nodefaults.-no-user-config.-name.sys-net.-display.none.-device.VGA,vgamem_mb=16.-boot.order=dc.-device.usb-ehci,id=ehci.-device.usb-tablet,bus=ehci.0.-smp.2,maxcpus=2.-net.none.-display.qubes-gui.-machine.xenfv.-m.384.-device.mptsas1068,id=scsi0.-drive.file=/dev/xvda,if=none,id=disk0,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk0,wwn=0x3525400051756265.-drive.file=/dev/xvdb,if=none,id=disk1,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk1,wwn=0x3525400051756266.-drive.file=/dev/xvdc,if=none,id=disk2,format=host_device,cache=writeback,readonly=off.-device.scsi-hd,bus=scsi0.0,drive=disk2,wwn=0x3525400051756267'
+ mkdir /tmp/qmp
+ mkdir /tmp/qmp/req
+ mkdir /tmp/qmp/res
+ kernel=
+ '[' -b /dev/xvdd ]
+ mkfifo /tmp/qmp/qemu.in /tmp/qmp/qemu.out /tmp/qmp/qemu_res.out
+ IFS='.'
+ set -f
+ set +f
+ unset IFS
+ qemu_pid=35
+ true
+ printf '==== Press enter for shell ====\n'
==== Press enter for shell ====
+ read
+ qemu -sandbox 'on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny' -chardev 'pipe,path=/tmp/qmp/qemu,id=m' -mon 'chardev=m,mode=control' -xen-domid 1 -nodefaults -no-user-config -name sys-net -display none -device 'VGA,vgamem_mb=16' -boot 'order=dc' -device 'usb-ehci,id=ehci' -device 'usb-tablet,bus=ehci.0' -smp '2,maxcpus=2' -net none -display qubes-gui -machine xenfv -m 384 -device 'mptsas1068,id=scsi0' -drive 'file=/dev/xvda,if=none,id=disk0,format=host_device,cache=writeback,readonly=off' -device 'scsi-hd,bus=scsi0.0,drive=disk0,wwn=0x3525400051756265' -drive 'file=/dev/xvdb,if=none,id=disk1,format=host_device,cache=writeback,readonly=off' -device 'scsi-hd,bus=scsi0.0,drive=disk1,wwn=0x3525400051756266' -drive 'file=/dev/xvdc,if=none,id=disk2,format=host_device,cache=writeback,readonly=off' -device 'scsi-hd,bus=scsi0.0,drive=disk2,wwn=0x3525400051756267'
+ set +x
Clearing kmsg buffer...
+ set +x
+ xenstore-read target
+ set +x
+ target=1
+ device_model=device-model/1
+ true
+ xenstore-watch -n 2 device-model/1/command
device-model/1/command
+ set +x
random: qemu: uninitialized urandom read (16 bytes read)
{"QMP": {"version": {"qemu": {"micro": 0, "minor": 0, "major": 3}, "package": ""}, "capabilities": []}}
{"execute": "qmp_capabilities"}
qubes_gui/init: 592
qubes_gui/init: 607
qubes_gui/init: 609
qubes_gui/init[639]: version sent, waiting for xorg conf
{"return": {}}
pcifront pci-0: Installing PCI frontend
xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
software IO TLB [mem 0x02000000-0x02400000] (4MB) mapped at [ffff880002000000-ffff8800023fffff]
pcifront pci-0: Creating PCI Frontend Bus 0000:00
pcifront pci-0: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0x7fffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: [8086:2723] type 00 class 0x028000
pci 0000:00:00.0: reg 0x10: [mem 0xeb200000-0xeb203fff 64bit]
pcifront pci-0: claiming resource 0000:00:00.0/0
device-model/1/command
+ xenstore-read device-model/1/command
+ cmd=pci-ins
+ '[' pci-ins '!=' pci-ins ]
+ xenstore-read device-model/1/parameter
+ para='0000:52:00.0,msitranslate=0,power_mgmt=0'
+ cut -b 1-12
+ printf '%s' '0000:52:00.0,msitranslate=0,power_mgmt=0'
+ dev=0000:52:00.0
+ tr : -
+ printf '%s' 0000:52:00.0
+ qdev_id=xen-pci-pt_0000-52-00.0
+ '[' pci-ins '=' pci-rem ]
+ xenstore-read device/pci/0/backend
+ be=/local/domain/0/backend/pci/2/0
+ xenstore-read /local/domain/0/backend/pci/2/0/num_devs
+ devs=1
+ dev_n=
+ seq 0 0
+ sed 's/\.0\([0-9]\)$/.\1/'
+ xenstore-read /local/domain/0/backend/pci/2/0/dev-0
+ '[' 0000:52:00.0 '=' 0000:52:00.0 ]
+ dev_n=0
+ break
+ '[' -z 0 ]
+ xenstore-read /local/domain/0/backend/pci/2/0/vdev-0
+ vdev=0000:00:00.00
+ addr_arg=
+ xenstore-read /local/domain/0/backend/pci/2/0/vdevfn-0
xenstore-read: couldn't read path /local/domain/0/backend/pci/2/0/vdevfn-0
+ true
+ vdevfn=
+ '[' -n ]
+ permissive=false
+ grep -q '\<permissive=1\>'
+ xenstore-read /local/domain/0/backend/pci/2/0/opts-0
+ cat
+ qmp_req '{"execute": "device_add", "arguments": {"driver": "xen-pci-passthrough", "id": "xen-pci-pt_0000-52-00.0", "hostaddr": "0000:00:00.00", "machine_addr": "0000:52:00.0", "permissive": false}}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=9e32b309-c792-4f01-b6b9-c4e4fa7860f1'
+ echo '{"execute": "device_add", "arguments": {"driver": "xen-pci-passthrough", "id": "xen-pci-pt_0000-52-00.0", "hostaddr": "0000:00:00.00", "machine_addr": "0000:52:00.0", "permissive": false}}'
+ mv /tmp/qmp/new-req_9e32b309-c792-4f01-b6b9-c4e4fa7860f1 /tmp/qmp/req/9e32b309-c792-4f01-b6b9-c4e4fa7860f1
+ '[' -f /tmp/qmp/res/9e32b309-c792-4f01-b6b9-c4e4fa7860f1 ]
+ sleep 0.1
9e32b309-c792-4f01-b6b9-c4e4fa7860f1
[00:06.0] xen_pt_realize: Assigning real physical device 00:00.0 to devfn 0x30
[00:06.0] xen_pt_register_regions: IO region 0 registered (size=0x00004000 base_addr=0xeb200000 type: 0x4)
[00:06.0] xen_pt_config_reg_init: Offset 0x000e mismatch! Emulated=0x0080, host=0x0000, syncing to 0x0000.
{"execute": "device_add", "arguments": {"driver": "xen-pci-passthrough", "id": "xen-pci-pt_0000-52-00.0", "hostaddr": "0000:00:00.00", "machine_addr": "0000:52:00.0", "permissive": false}}
[00:06.0] xen_pt_config_reg_init: Offset 0x0010 mismatch! Emulated=0x0000, host=0xeb200004, syncing to 0xeb200004.
[00:06.0] xen_pt_config_reg_init: Offset 0x00ca mismatch! Emulated=0x0000, host=0x0023, syncing to 0x0023.
[00:06.0] xen_pt_config_reg_init: Offset 0x00d2 mismatch! Emulated=0x0000, host=0x0080, syncing to 0x0080.
[00:06.0] xen_pt_config_reg_init: Offset 0x0044 mismatch! Emulated=0x0000, host=0x10008ec0, syncing to 0x8ec0.
[00:06.0] xen_pt_config_reg_init: Offset 0x004a mismatch! Emulated=0x0000, host=0x0010, syncing to 0x0010.
[00:06.0] xen_pt_config_reg_init: Offset 0x0052 mismatch! Emulated=0x0000, host=0x1012, syncing to 0x1012.
[00:06.0] xen_pt_pci_intx: intx=1
[00:06.0] xen_pt_realize: Real physical device 00:00.0 registered successfully
{"return": {}}
+ '[' -f /tmp/qmp/res/9e32b309-c792-4f01-b6b9-c4e4fa7860f1 ]
+ sleep 0.1
+ '[' -f /tmp/qmp/res/9e32b309-c792-4f01-b6b9-c4e4fa7860f1 ]
+ cat /tmp/qmp/res/9e32b309-c792-4f01-b6b9-c4e4fa7860f1
+ rm /tmp/qmp/res/9e32b309-c792-4f01-b6b9-c4e4fa7860f1
+ sed -n '/"qdev_id": "xen-pci-pt_0000-52-00.0"/{s/.*"slot": \([0-9]\+\),.*"function": \([0-9]\+\),.*/\1,\2/;p}'
+ sed 's/"qdev_id"/\n\0/g'
+ qmp_req '{"execute": "query-pci"}'
+ cat /proc/sys/kernel/random/uuid
+ local 'id=4842b105-fce4-46bb-86ec-5108e5f5b0d8'
+ echo '{"execute": "query-pci"}'
+ mv /tmp/qmp/new-req_4842b105-fce4-46bb-86ec-5108e5f5b0d8 /tmp/qmp/req/4842b105-fce4-46bb-86ec-5108e5f5b0d8
+ '[' -f /tmp/qmp/res/4842b105-fce4-46bb-86ec-5108e5f5b0d8 ]
+ sleep 0.1
4842b105-fce4-46bb-86ec-5108e5f5b0d8
{"execute": "query-pci"}
{"return": [{"bus": 0, "devices": [{"bus": 0, "qdev_id": "", "slot": 0, "class_info": {"class": 1536, "desc": "Host bridge"}, "id": {"device": 4663, "vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, "qdev_id": "", "slot": 1, "class_info": {"class": 1537, "desc": "ISA bridge"}, "id": {"device": 28672, "vendor": 32902}, "function": 0, "regions": []}, {"bus": 0, "qdev_id": "", "slot": 1, "class_info": {"class": 257, "desc": "IDE controller"}, "id": {"device": 28688, "vendor": 32902}, "function": 1, "regions": [{"bar": 4, "size": 16, "address": -1, "type": "io"}]}, {"bus": 0, "qdev_id": "", "irq": 0, "slot": 1, "class_info": {"class": 1664, "desc": "Bridge"}, "id": {"device": 28947, "vendor": 32902}, "function": 3, "regions": []}, {"bus": 0, "qdev_id": "", "irq": 0, "slot": 2, "class_info": {"class": 65408}, "id": {"device": 1, "vendor": 22611}, "function": 0, "regions": [{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": true, "mem_type_64": false, "bar": 1, "size": 16777216, "address": -1, "type": "memory"}]}, {"bus": 0, "qdev_id": "", "slot": 3, "class_info": {"class": 768, "desc": "VGA controller"}, "id": {"device": 4369, "vendor": 4660}, "function": 0, "regions": [{"prefetch": true, "mem_type_64": false, "bar": 0, "size": 16777216, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": false, "bar": 2, "size": 4096, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": false, "bar": 6, "size": 65536, "address": -1, "type": "memory"}]}, {"bus": 0, "qdev_id": "ehci", "irq": 0, "slot": 4, "class_info": {"class": 3075, "desc": "USB controller"}, "id": {"device": 9421, "vendor": 32902}, "function": 0, "regions": [{"prefetch": false, "mem_type_64": false, "bar": 0, "size": 4096, "address": -1, "type": "memory"}]}, {"bus": 0, "qdev_id": "scsi0", "irq": 0, "slot": 5, "class_info": {"class": 256, "desc": "SCSI controller"}, "id": {"device": 84, "vendor": 4096}, "function": 0, "regions": [{"bar": 0, "size": 256, "address": -1, "type": "io"}, {"prefetch": false, "mem_type_64": false, "bar": 1, "size": 16384, "address": -1, "type": "memory"}, {"prefetch": false, "mem_type_64": false, "bar": 2, "size": 65536, "address": -1, "type": "memory"}]}, {"bus": 0, "qdev_id": "xen-pci-pt_0000-52-00.0", "irq": 0, "slot": 6, "class_info": {"class": 0}, "id": {"device": 10019, "vendor": 32902}, "function": 0, "regions": [{"prefetch": false, "mem_type_64": true, "bar": 0, "size": 16384, "address": -1, "type": "memory"}]}]}]}
+ '[' -f /tmp/qmp/res/4842b105-fce4-46bb-86ec-5108e5f5b0d8 ]
+ cat /tmp/qmp/res/4842b105-fce4-46bb-86ec-5108e5f5b0d8
+ rm /tmp/qmp/res/4842b105-fce4-46bb-86ec-5108e5f5b0d8
+ slot_func=6,0
+ cut -d , -f 1
+ printf '%s' 6,0
+ slot=6
+ cut -d , -f 2
+ printf '%s' 6,0
+ func=0
+ vdevfn=48
+ printf '0x%02x' 48
+ xenstore-write device-model/1/parameter 0x30
+ xenstore-write device-model/1/state pci-inserted
+ true
+ xenstore-watch -n 2 device-model/1/command
device-model/1/command
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x255d4a08c73, max_idle_ns: 440795232459 ns
qemu: pin_memory_cacheattr failed: Operation not permitted
random: crng init done
[00:06.0] xen_pt_msgctrl_reg_write: setup MSI (register: 81).
[00:06.0] msi_msix_setup: requested pirq 151 for MSI (vec: 0, entry: 0)
[00:06.0] xen_pt_msi_setup: MSI mapped with pirq 151.
[00:06.0] msi_msix_update: Updating MSI with pirq 151 gvec 0 gflags 0x3097 (entry: 0)
[00:06.0] xen_pt_msi_set_enable: disabling MSI.
[00:06.0] msi_msix_disable: Unbind MSI with pirq 151, gvec 0
[00:06.0] msi_msix_disable: Unmap MSI pirq 151
[00:06.0] xen_pt_msgctrl_reg_write: setup MSI (register: 81).
[00:06.0] msi_msix_setup: requested pirq 151 for MSI (vec: 0, entry: 0)
[00:06.0] xen_pt_msi_setup: MSI mapped with pirq 151.
[00:06.0] msi_msix_update: Updating MSI with pirq 151 gvec 0 gflags 0x3097 (entry: 0)
[00:06.0] xen_pt_msi_set_enable: disabling MSI.
[00:06.0] msi_msix_disable: Unbind MSI with pirq 151, gvec 0
[00:06.0] msi_msix_disable: Unmap MSI pirq 151
[00:06.0] xen_pt_msgctrl_reg_write: setup MSI (register: 81).
[00:06.0] msi_msix_setup: requested pirq 151 for MSI (vec: 0, entry: 0)
[00:06.0] xen_pt_msi_setup: MSI mapped with pirq 151.
[00:06.0] msi_msix_update: Updating MSI with pirq 151 gvec 0 gflags 0x3097 (entry: 0)
[00:06.0] xen_pt_msi_set_enable: disabling MSI.
[00:06.0] msi_msix_disable: Unbind MSI with pirq 151, gvec 0
[00:06.0] msi_msix_disable: Unmap MSI pirq 151
[00:06.0] xen_pt_msgctrl_reg_write: setup MSI (register: 81).
[00:06.0] msi_msix_setup: requested pirq 151 for MSI (vec: 0, entry: 0)
[00:06.0] xen_pt_msi_setup: MSI mapped with pirq 151.
[00:06.0] msi_msix_update: Updating MSI with pirq 151 gvec 0 gflags 0x3097 (entry: 0)
[00:06.0] xen_pt_msi_set_enable: disabling MSI.
[00:06.0] msi_msix_disable: Unbind MSI with pirq 151, gvec 0
[00:06.0] msi_msix_disable: Unmap MSI pirq 151
[00:06.0] xen_pt_msgctrl_reg_write: setup MSI (register: 81).
[00:06.0] msi_msix_setup: requested pirq 151 for MSI (vec: 0, entry: 0)
[00:06.0] xen_pt_msi_setup: MSI mapped with pirq 151.
[00:06.0] msi_msix_update: Updating MSI with pirq 151 gvec 0 gflags 0x3097 (entry: 0)
[00:06.0] xen_pt_msi_set_enable: disabling MSI.
[00:06.0] msi_msix_disable: Unbind MSI with pirq 151, gvec 0
[00:06.0] msi_msix_disable: Unmap MSI pirq 151
[00:06.0] xen_pt_msgctrl_reg_write: setup MSI (register: 81).
[00:06.0] msi_msix_setup: requested pirq 151 for MSI (vec: 0, entry: 0)
[00:06.0] xen_pt_msi_setup: MSI mapped with pirq 151.
[00:06.0] msi_msix_update: Updating MSI with pirq 151 gvec 0 gflags 0x3097 (entry: 0)
[00:06.0] xen_pt_msi_set_enable: disabling MSI.
[00:06.0] msi_msix_disable: Unbind MSI with pirq 151, gvec 0
[00:06.0] msi_msix_disable: Unmap MSI pirq 151
[00:06.0] xen_pt_msgctrl_reg_write: setup MSI (register: 81).
[00:06.0] msi_msix_setup: requested pirq 151 for MSI (vec: 0, entry: 0)
[00:06.0] xen_pt_msi_setup: MSI mapped with pirq 151.
[00:06.0] msi_msix_update: Updating MSI with pirq 151 gvec 0 gflags 0x3097 (entry: 0)
[00:06.0] xen_pt_msi_set_enable: disabling MSI.
[00:06.0] msi_msix_disable: Unbind MSI with pirq 151, gvec 0
[00:06.0] msi_msix_disable: Unmap MSI pirq 151
Issued domain 1 poweroff
u2mfn_release, priv= (null)
pcifront pci-0: Rescanning PCI Frontend Bus 0000:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment