seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2018/12/14, 15:19:12


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: [SOLVED] Qemu/KVM issue, kernel 4.19.3-towo.1-siduction-amd64  (Read 319 times)

0 Members and 1 Guest are viewing this topic.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.816
    • Land of the Buckeye
Attempting to start a VM results in this error:

Code: [Select]
Error starting domain: internal error: qemu unexpectedly closed the monitor:2018-11-22T11:13:56.341729Z qemu-system-x86_64:cannot set up guest memory 'pc.ram': Cannot allocate memory

Traceback (most recent call last):
 File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
  callback(asyncjob, *args, **kwargs)
 File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb
  callback(*args, **kwargs)

Same result two times.  VM starts correctly with 4.19.2-towo.2-siduction-amd64.

Code: [Select]
virt-manager:
  Installed: 1:1.5.1-1
  Candidate: 1:1.5.1-1
  Version table:
 *** 1:1.5.1-1 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
qemu:
  Installed: 1:2.12+dfsg-3+b1
  Candidate: 1:2.12+dfsg-3+b1
  Version table:
 *** 1:2.12+dfsg-3+b1 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Code: [Select]
System:    Host: dibl-patience Kernel: 4.19.2-towo.2-siduction-amd64 x86_64 bits: 64
           Desktop: KDE Plasma 5.13.5 Distro: siduction 18.3.0 Patience - kde - (201805132121)
Machine:   Type: Desktop Mobo: ASUSTeK model: ROG STRIX X299-E GAMING v: Rev 1.xx serial: <filter>
           UEFI: American Megatrends v: 1401 date: 05/21/2018
CPU:       Topology: Quad Core model: Intel Core i7-7740X bits: 64 type: MT MCP L2 cache: 8192 KiB
           Speed: 1509 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 1509 2: 2029 3: 1597 4: 2072 5: 2013
           6: 1396 7: 1606 8: 1590
« Last Edit: 2018/11/26, 13:16:56 by dibl »
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.203
Re: Qemu/KVM issue, kernel 4.19.3-towo.1-siduction-amd64
« Reply #1 on: 2018/11/22, 12:43:52 »
That has nothing to do with the kernel, that are pyton errors.
You have seen, there is an ongoing python transition?

And btw, errors from virt-manager have also nothing to do with the function of qemu.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.816
    • Land of the Buckeye
Re: Qemu/KVM issue, kernel 4.19.3-towo.1-siduction-amd64
« Reply #2 on: 2018/11/22, 13:14:31 »
OK, yes I have seen the python transition.  But how is the VM running correctly with 4.19.2, and failing on 4.19.3?
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.203
Re: Qemu/KVM issue, kernel 4.19.3-towo.1-siduction-amd64
« Reply #3 on: 2018/11/22, 13:22:21 »
How much host ram?
Does it work after

Code: [Select]
echo 3 |  tee /proc/sys/vm/drop_caches
??

If not, try the new kernel (towo.2), which is 4.19.4-rc1.
Mabe it was a kernel regression, since that rc was released shortly after the release of 4.19.3.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.816
    • Land of the Buckeye
Re: Qemu/KVM issue, kernel 4.19.3-towo.1-siduction-amd64
« Reply #4 on: 2018/11/22, 14:26:04 »
Code: [Select]
root@dibl-patience:/# free
              total        used        free      shared  buff/cache   available
Mem:       32853120    12834848    17351780      690876     2666492    19161436
Swap:       5242876           0     5242876


Quote from: towo
Does it work after

Code: [Select]
echo 3 |  tee /proc/sys/vm/drop_caches ??

YES.
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.816
    • Land of the Buckeye
This problem does not occur with kernel 4.19.4-towo-1 -- apparently there was a regression. Marking "Solved".
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS