kvm_amd does not load on 4.16.4, worked in 4.15.18

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

 



Ryzen 1600X with Asrock X370 Taichi.

15:38:43.566088 openat(AT_FDCWD, "/sys/module/kvm_amd/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000016>
15:38:43.566176 stat("/sys/module/kvm_amd", 0x7ffc15fb9c40) = -1 ENOENT (No such file or directory) <0.000008>
15:38:43.566247 openat(AT_FDCWD, "/sys/module/irqbypass/initstate", O_RDONLY|O_CLOEXEC) = 3 <0.000013>
15:38:43.566308 read(3, "live\n", 31)   = 5 <0.000009>
15:38:43.566373 read(3, "", 26)         = 0 <0.000005>
15:38:43.566429 close(3)                = 0 <0.000007>
15:38:43.566479 openat(AT_FDCWD, "/sys/module/kvm/initstate", O_RDONLY|O_CLOEXEC) = 3 <0.000011>
15:38:43.566536 read(3, "live\n", 31)   = 5 <0.000007>
15:38:43.566594 read(3, "", 26)         = 0 <0.000006>
15:38:43.566649 close(3)                = 0 <0.000007>
15:38:43.566696 openat(AT_FDCWD, "/sys/module/ccp/initstate", O_RDONLY|O_CLOEXEC) = 3 <0.000010>
15:38:43.566757 read(3, "coming\n", 31) = 7 <0.000007>
15:38:43.566815 read(3, "", 24)         = 0 <0.000005>
15:38:43.566874 close(3)                = 0 <0.000006>
15:38:43.566919 openat(AT_FDCWD, "/lib/modules/4.16.4+/kernel/drivers/crypto/ccp/ccp.ko", O_RDONLY|O_CLOEXEC) = 3 <0.000008>
15:38:43.566971 read(3, "\177ELF\2\1", 6) = 6 <0.000010>
15:38:43.567031 lseek(3, 0, SEEK_SET)   = 0 <0.000008>
15:38:43.567089 fstat(3, {st_dev=makedev(252, 0), st_ino=1614865234, st_mode=S_IFREG|0664, st_nlink=1, st_uid=500, st_gid=500, st_blksize=4096, st_blocks=6216, st_size=3182528, st_atime=1524558318 /* 2018-04-24T11:25:18.977426911+0300 */, st_atime_nsec=977426911, st_mtime=1524558318 /* 2018-04-24T11:25:18.978426900+0300 */, st_mtime_nsec=978426900, st_ctime=1524558318 /* 2018-04-24T11:25:18.978426900+0300 */, st_ctime_nsec=978426900}) = 0 <0.000008>
15:38:43.567254 mmap(NULL, 3182528, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8cd033b000 <0.000009>
15:38:43.567338 finit_module(3, "", 0

there it stays.

4.15.18 dmesg:
[   40.294626] kvm: Nested Virtualization enabled
[   40.294634] kvm: Nested Paging enabled

4.16.4 has no "kvm" in dmesg.  I didn't disable virtualization in BIOS meanwhile.

I boot with mem_encrypt=off because otherwise system crashes on boot because I also use amdgpu.
(at least with 4.15.18, didn't try mem_encrypt=on with 4.16.4 yet.)

I tried 4.16.4 also with "options kvm_amd sev=0"...

/sys/module/kvm/parameters # grep . *
halt_poll_ns:200000
halt_poll_ns_grow:2
halt_poll_ns_shrink:0
ignore_msrs:N
kvmclock_periodic_sync:Y
lapic_timer_advance_ns:0
min_timer_period_us:500
report_ignored_msrs:Y
tsc_tolerance_ppm:250
vector_hashing:Y
#



processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 23
model		: 1
model name	: AMD Ryzen 5 1600X Six-Core Processor
stepping	: 1
microcode	: 0x8001136
cpu MHz		: 3352.600
cache size	: 512 KB
physical id	: 0
siblings	: 12
core id		: 0
cpu cores	: 6
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme sev vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca
bugs		: sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips	: 7201.02
TLB size	: 2560 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]



-- 



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux