KVM and liquorix
notorious
Status: New User - Welcome
Joined: 14 Feb 2017
Posts: 2
Reply Quote
Hi all,

I've installed the Liquorix kernel on Ubuntu 16.10 and i'm getting a lot of errors in dmesg:

71538.435498] CPU: 7 PID: 3523 Comm: CPU 3/KVM Tainted: P O 4.9.0-8.1-liquorix-amd64 #1 liquorix 4.9-9
[71538.435499] Hardware name: System manufacturer System Product Name/PRIME Z270-K, BIOS 0321 12/27/2016
[71538.435500] 0000000000000000 ffffffff813999c2 0000000000000007 ffff880764512880
[71538.435502] ffffffff813c358d ffff880764518000 ffff880764512880 ffffffff810b1c85
[71538.435503] ffffffffa4dc102d ffff880764512880 ffffc90010f5fd18 ffffc90010f5fd18
[71538.435505] Call Trace:
[71538.435507] [<ffffffff813999c2>] ? dump_stack+0x5c/0x7a
[71538.435509] [<ffffffff813c358d>] ? debug_smp_processor_id+0xdd/0xe0
[71538.435510] [<ffffffff810b1c85>] ? single_task_running+0x5/0x30
[71538.435518] [<ffffffffa4dc102d>] ? kvm_vcpu_block+0x1fd/0x310 [kvm]
[71538.435526] [<ffffffffa4de085e>] ? kvm_arch_vcpu_ioctl_run+0x58e/0x1a20 [kvm]
[71538.435535] [<ffffffffa4dda816>] ? kvm_arch_vcpu_load+0x56/0x270 [kvm]
[71538.435541] [<ffffffffa4dc1fc0>] ? kvm_vcpu_ioctl+0x450/0x610 [kvm]
[71538.435542] [<ffffffff8124f1fc>] ? do_vfs_ioctl+0x8c/0x610
[71538.435544] [<ffffffff81189a6d>] ? user_return_notifier_unregister+0x3d/0x70
[71538.435545] [<ffffffff8124f7ef>] ? SyS_ioctl+0x6f/0x80
[71538.435546] [<ffffffff8178033b>] ? entry_SYSCALL_64_fastpath+0x1e/0xad
[71538.435547] CPU: 1 PID: 3522 Comm: CPU 2/KVM Tainted: P O 4.9.0-8.1-liquorix-amd64 #1 liquorix 4.9-9
[71538.435548] Hardware name: System manufacturer System Product Name/PRIME Z270-K, BIOS 0321 12/27/2016
[71538.435548] 0000000000000000 ffffffff813999c2 0000000000000001 ffff880764515e80
[71538.435549] ffffffff813c358d ffff8807644f0000 ffff880764515e80 ffffffff810b1c85
[71538.435550] ffffffffa4dc102d ffff880764515e80 ffffc90009f07d18 ffffc90009f07d18
[71538.435551] Call Trace:
[71538.435552] [<ffffffff813999c2>] ? dump_stack+0x5c/0x7a
[71538.435553] [<ffffffff813c358d>] ? debug_smp_processor_id+0xdd/0xe0
[71538.435554] [<ffffffff810b1c85>] ? single_task_running+0x5/0x30
[71538.435563] [<ffffffffa4dc102d>] ? kvm_vcpu_block+0x1fd/0x310 [kvm]
[71538.435571] [<ffffffffa4de085e>] ? kvm_arch_vcpu_ioctl_run+0x58e/0x1a20 [kvm]
[71538.435572] [<ffffffff810b4577>] ? preempt_count_add+0x97/0xa0
[71538.435580] [<ffffffffa4dda816>] ? kvm_arch_vcpu_load+0x56/0x270 [kvm]
[71538.435588] [<ffffffffa4dc1fc0>] ? kvm_vcpu_ioctl+0x450/0x610 [kvm]
[71538.435589] [<ffffffff8124f1fc>] ? do_vfs_ioctl+0x8c/0x610
[71538.435591] [<ffffffff81189a6d>] ? user_return_notifier_unregister+0x3d/0x70
[71538.435593] [<ffffffff8124f7ef>] ? SyS_ioctl+0x6f/0x80
[71538.435594] [<ffffffff8178033b>] ? entry_SYSCALL_64_fastpath+0x1e/0xad
[71538.435596] BUG: using smp_processor_id() in preemptible [00000000] code: CPU 2/KVM/3522
[71538.435598] caller is single_task_running+0x5/0x30

And so it keeps going and going and going...

Anything I'm doing wrong or is this a bug?

Thanks in advance!
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
Are you running Liquorix in a guest VM? Seems that you might have come across a real bug with KVM, or it's some unusual interaction with KVM.

Also, you say it keeps going - how many times does this stack trace output in roughly a minute?
Back to top
notorious
Status: New User - Welcome
Joined: 14 Feb 2017
Posts: 2
Reply Quote
Liquorix is the Host, Win7 and Linux as guest.

sudo tail -f /var/log/syslog | perl -e 'while (<>) {$l++;if (time > $e+60) {$e=time;$i++;print "$i=> $l\n";$l=0}}'
1=> 1
2=> 2418
3=> 2576

Systems runs ok though, just flooding the log files
Back to top
ds
Status: Curious
Joined: 27 Jan 2017
Posts: 6
Reply Quote
I see this when running Ubuntu 16.04 with Liquorix, when I run the Android device emulators that come with the Android development environment.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours