Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> problem setting up KVM: 9p filesystem shared from KVM host to KVM guest
spottyrover
 Posted: Sep 24 2014, 04:52 PM
Quote Post


SLF Junior
**

Group: Members
Posts: 40
Member No.: 98
Joined: 25-April 11









I am getting this error when making a VM via virt-manager

CODE
Unable to complete install: 'internal error: process exited while connecting to monitor: qemu: could not load PC BIOS 'bios-256k.bin'

google suggest it is related to seabios ( I do not know what to do about it, as it is installed)

I have done a fresh install of centos7
CODE
sudo yum update
sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
sudo rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
sudo yum update
download pyxdg, yumex    from li.nux.ro/download/nux/dextop/el7Workstation/x86_64/
sudo yum localinstall pyxdg-0.25-2.el7.nux.noarch.rpm
sudo yum localinstall yumex-3.0.15-1.el7.nux.noarch.rpm


install kernel-ml from elrepo-kernel

I am trying the ml kernel from elrepo-kernel ( without helikaon modifications )
uname -r 3.16.3-1.el7.elrepo.x86_64


Check hardware
CODE
lscpu
Virtualization:        AMD-V
L1d cache:             16K
L1i cache:             64K
L2 cache:              2048K
L3 cache:              8192K
NUMA node0 CPU(s):     0-5



CODE
grep -E "(vmx|svm|0xc0f)" --color=always /proc/cpuinfo

Worked

CODE
lsmod | grep kvm
kvm_amd                59131  0
kvm                   413027  1 kvm_amd


Hardware looks ok


lsmod | grep virtio
empty

I added modules to sudo kwrite /etc/modules-load.d/virtio.conf

CODE
# Load virtio-net.ko at boot
virtio-net
#load    block device (virtio-blk)
virtio-blk
#Load    controller device (virtio-scsi)
virtio-scsi
#load    balloon device (virtio-balloon)
virtio-balloon
virtio-pci
virtio


reboot

CODE
lsmod | grep virtio
virtio_pci             17746  0
virtio_balloon         13540  0
virtio_scsi            18381  0
virtio_blk             18129  0
virtio_net             28256  0
virtio_ring            21225  5 virtio_blk,virtio_net,virtio_pci,virtio_balloon,virtio_scsi
virtio                 14474  5 virtio_blk,virtio_net,virtio_pci,virtio_balloon,virtio_scsi


Also done
find . -name "*9p*" -print
to make sure modules are available
CODE
./kernel/net/9p
./kernel/net/9p/9pnet_virtio.ko
./kernel/net/9p/9pnet_rdma.ko
./kernel/net/9p/9pnet.ko




sudo yum install gcc ncurses ncurses-devel yum-utils rpm-build redhat-rpm-config rpmdevtools

CODE
download qemu-2.0.0-1.el7.1.src.rpm from EPEL repo for RHEL 7
rpm -ivh qemu-2.0.0-1.el7.1.src.rpm

edit qemu.spec
cd /home/david/rpmbuild/SPECS/
cp qemu.spec qemu-2.0.epel.src.rpm.orig.spec (make backup of original)


vi qemu.spec

%if 0%{?rhel}
# RHEL-specific defaults:
%bcond_with    kvmonly          # enabled
%bcond_with    exclusive_x86_64 # enabled for my install -> i changed this 'without' -> 'with'
%bcond_with    rbd              # disabled
%bcond_without spice            # enabled
%bcond_without seccomp          # enabled
%bcond_without xfsprogs         # disabled
%bcond_with    separate_kvm     # disabled for EPEL but enabled for my install -> i changed this 'without' -> 'with'
%bcond_without gtk              # disabled
%else


rpmbuild -ba qemu.spec /opt/epel-src/qemu-2.0.0-1.el7.1.src.rpm

I did not do this after the reinstall. I used the results from last time.


yum list all | grep -i qemu

CODE
yum remove qemu-guest-agent.x86_64 qemu-img.x86_64 qemu-kvm.x86_64 qemu-kvm-common.x86_64 qemu-kvm-tools.x86_64
yum remove libcacard-1.5.3-60.el7.x86_64


Did not seem to do anything

CODE
yum list all | grep -i qemu

qemu-guest-agent.x86_64                 10:1.5.3-60.el7_0.7.0.1        @updates
ipxe-roms-qemu.noarch                   20130517-5.gitc4bce43.el7      base    
libvirt-daemon-driver-qemu.x86_64       1.1.1-29.el7_0.1               updates  
qemu-img.x86_64                         10:1.5.3-60.el7_0.7.0.1        updates  
qemu-kvm.x86_64                         10:1.5.3-60.el7_0.7.0.1        updates  
qemu-kvm-common.x86_64                  10:1.5.3-60.el7_0.7.0.1        updates  
qemu-kvm-tools.x86_64                   10:1.5.3-60.el7_0.7.0.1        updates  

sudo yum remove qemu-guest-agent.x86_64 qemu-img.x86_64 qemu-kvm.x86_64 qemu-kvm-common.x86_64 qemu-kvm-tools.x86_64

Loaded plugins: fastestmirror, langpacks
No Match for argument: qemu-img.x86_64
No Match for argument: qemu-kvm.x86_64
No Match for argument: qemu-kvm-common.x86_64
No Match for argument: qemu-kvm-tools.x86_64
Removing:
qemu-guest-agent

yum list all | grep -i qemu
ipxe-roms-qemu.noarch                   20130517-5.gitc4bce43.el7      base    
libvirt-daemon-driver-qemu.x86_64       1.1.1-29.el7_0.1               updates  
qemu-guest-agent.x86_64                 10:1.5.3-60.el7_0.7.0.1        updates  
qemu-img.x86_64                         10:1.5.3-60.el7_0.7.0.1        updates  
qemu-kvm.x86_64                         10:1.5.3-60.el7_0.7.0.1        updates  
qemu-kvm-common.x86_64                  10:1.5.3-60.el7_0.7.0.1        updates  
qemu-kvm-tools.x86_64                   10:1.5.3-60.el7_0.7.0.1        updates  


all still there


Install qemu using rpm's made from the last try

CODE
sudo yum localinstall qemu* ksm*

Installing:
ksm                                x86_64             2:2.0.0-1.el7.centos.1                   /ksm-2.0.0-1.el7.centos.1.x86_64                                 12 k
qemu                               x86_64             2:2.0.0-1.el7.centos.1                   /qemu-2.0.0-1.el7.centos.1.x86_64                               0.0  
qemu-common                        x86_64             2:2.0.0-1.el7.centos.1                   /qemu-common-2.0.0-1.el7.centos.1.x86_64                        715 k
qemu-debuginfo                     x86_64             2:2.0.0-1.el7.centos.1                   /qemu-debuginfo-2.0.0-1.el7.centos.1.x86_64                     438 M
qemu-guest-agent                   x86_64             2:2.0.0-1.el7.centos.1                   /qemu-guest-agent-2.0.0-1.el7.centos.1.x86_64                   338 k
qemu-img                           x86_64             2:2.0.0-1.el7.centos.1                   /qemu-img-2.0.0-1.el7.centos.1.x86_64                           2.3 M
qemu-kvm                           x86_64             2:2.0.0-1.el7.centos.1                   /qemu-kvm-2.0.0-1.el7.centos.1.x86_64                           0.0  
qemu-kvm-tools                     x86_64             2:2.0.0-1.el7.centos.1                   /qemu-kvm-tools-2.0.0-1.el7.centos.1.x86_64                      15 k
qemu-system-alpha                  x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-alpha-2.0.0-1.el7.centos.1.x86_64                  5.0 M
qemu-system-arm                    x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-arm-2.0.0-1.el7.centos.1.x86_64                    6.3 M
qemu-system-cris                   x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-cris-2.0.0-1.el7.centos.1.x86_64                   3.1 M
qemu-system-lm32                   x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-lm32-2.0.0-1.el7.centos.1.x86_64                   3.0 M
qemu-system-m68k                   x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-m68k-2.0.0-1.el7.centos.1.x86_64                   4.8 M
qemu-system-microblaze             x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-microblaze-2.0.0-1.el7.centos.1.x86_64             6.2 M
qemu-system-mips                   x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-mips-2.0.0-1.el7.centos.1.x86_64                    23 M
qemu-system-moxie                  x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-moxie-2.0.0-1.el7.centos.1.x86_64                  3.0 M
qemu-system-or32                   x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-or32-2.0.0-1.el7.centos.1.x86_64                   3.0 M
qemu-system-s390x                  x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-s390x-2.0.0-1.el7.centos.1.x86_64                  3.4 M
qemu-system-sh4                    x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-sh4-2.0.0-1.el7.centos.1.x86_64                    9.5 M
qemu-system-unicore32              x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-unicore32-2.0.0-1.el7.centos.1.x86_64              3.0 M
qemu-system-x86                    x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-x86-2.0.0-1.el7.centos.1.x86_64                     12 M
qemu-system-xtensa                 x86_64             2:2.0.0-1.el7.centos.1                   /qemu-system-xtensa-2.0.0-1.el7.centos.1.x86_64                 6.1 M
qemu-user                          x86_64             2:2.0.0-1.el7.centos.1                   /qemu-user-2.0.0-1.el7.centos.1.x86_64                           46 M
Installing for dependencies:
brlapi                             x86_64             0.6.0-8.el7                              base                                                            113 k
brltty                             x86_64             4.5-8.el7                                base                                                            926 k
celt051                            x86_64             0.5.1.3-8.el7                            base                                                             53 k
ipxe-roms-qemu                     noarch             20130517-5.gitc4bce43.el7                base                                                            267 k
libibverbs                         x86_64             1.1.7-6.el7                              base                                                             55 k
libiscsi                           x86_64             1.9.0-6.el7                              base                                                             60 k
librdmacm                          x86_64             1.0.17.1-1.el7                           base                                                             58 k
libseccomp                         x86_64             2.1.1-2.el7                              base                                                             40 k
seavgabios-bin                     x86_64             1.7.2.2-12.el7_0.1                       updates                                                          30 k
sgabios-bin                        noarch             1:0.20110622svn-4.el7                    base                                                            7.1 k
spice-server                       x86_64             0.12.4-5.el7                             base                                                            377 k
usbredir                           x86_64             0.6-7.el7                                base                                                             44 k
vte3                               x86_64             0.34.6-3.el7                             base        



Problem these 3 do not seem to be installed when looking in yumex
qemu-guest-agent
qemu-img
qemu-kvm

I checked this by
CODE
sudo yum remove qemu-guest-agent*
Loaded plugins: fastestmirror, langpacks
No Match for argument: qemu-guest-agent-2.0.0-1.el7.centos.1.x86_64.rpm
No Packages marked for removal

sudo yum localinstall qemu-guest*
Loaded plugins: fastestmirror, langpacks
Examining qemu-guest-agent-2.0.0-1.el7.centos.1.x86_64.rpm: 2:qemu-guest-agent-2.0.0-1.el7.centos.1.x86_64
qemu-guest-agent-2.0.0-1.el7.centos.1.x86_64.rpm: does not update installed package.
Nothing to do


It does not want to remove or install them?? unsure.gif



sudo yum localinstall libcacard-2.0.0-1.el7.centos.1.x86_64.rpm
sudo yum localinstall libcacard-*


sudo yum install spice-gtk3 spice-glib vinagre

sudo yum install libvirt libvirt-daemon-kvm libvirt-java.noarch libvirt-docs.x86_64 libvirt-cim.x86_64

sudo yum install virt-manager


##############
configure system

sudo groupadd libvirt
sudo gpasswd -a david libvirt
sudo systemctl start libvirtd
sudo systemctl enable libvirtd



in sudo kwrite /etc/libvirt/libvirtd.conf
uncomment the following
#unix_sock_group = "libvirt"
#unix_sock_ro_perms = "0777"
#unix_sock_rw_perms = "0770"
#auth_unix_ro = "none"
#auth_unix_rw = "none"



Thanks for your help

Dave
PM
^
helikaon
 Posted: Sep 25 2014, 07:09 AM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









Hi,
CODE

yum remove qemu-guest-agent.x86_64 qemu-img.x86_64 qemu-kvm.x86_64 qemu-kvm-common.x86_64 qemu-kvm-tools.x86_64
yum remove libcacard-1.5.3-60.el7.x86_64

QUOTE

Did not seem to do anything


which is right, it was not installed at all - check with (example from my laptop):

CODE


[root@orionis ~]# yum list all | grep -i qemu
gpxe-roms-qemu.noarch               0.9.7-6.10.el6              @sl
qemu-img.x86_64                     2:0.12.1.2-2.415.el6_5.14   @sl-security
qemu-kvm.x86_64                     2:0.12.1.2-2.415.el6_5.14   @sl-security
qemu-kvm-tools.x86_64               2:0.12.1.2-2.415.el6_5.14   @sl-security
qemu-guest-agent.x86_64             2:0.12.1.2-2.415.el6_5.14   sl-security

[root@orionis ~]# yum list installed | grep -i qemu
gpxe-roms-qemu.noarch                 0.9.7-6.10.el6            @sl
qemu-img.x86_64                       2:0.12.1.2-2.415.el6_5.14 @sl-security
qemu-kvm.x86_64                       2:0.12.1.2-2.415.el6_5.14 @sl-security
qemu-kvm-tools.x86_64                 2:0.12.1.2-2.415.el6_5.14 @sl-security


first say 'list all' and the "@" indicate installed packages the row without "@" indicated not installed, second command 'list installed' will list only installed (indicated again by '@')

So no mistake there

QUOTE

Problem these 3 do not seem to be installed when looking in yumex
qemu-guest-agent
qemu-img
qemu-kvm


CAn you post what is installed -
CODE

yum list installed | grep -i qemu


cheers, :]

--------------------
PMEmail Poster
^
spottyrover
 Posted: Sep 25 2014, 09:19 AM
Quote Post


SLF Junior
**

Group: Members
Posts: 40
Member No.: 98
Joined: 25-April 11









I did not even notice the @ sign, never alone knew what it meant
As long as I keep learning wink.gif

uname -r
3.16.3-1.el7.elrepo.x86_64

yum list installed | grep -i qemu
ipxe-roms-qemu.noarch 20130517-5.gitc4bce43.el7 @base
libvirt-daemon-driver-qemu.x86_64 1.1.1-29.el7_0.1 @updates
qemu.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-2.0.0-1.el7.centos.1.x86_64
qemu-common.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-common-2.0.0-1.el7.centos.1.x86_64
qemu-debuginfo.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-debuginfo-2.0.0-1.el7.centos.1.x86_64
qemu-guest-agent.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-guest-agent-2.0.0-1.el7.centos.1.x86_64
qemu-img.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-img-2.0.0-1.el7.centos.1.x86_64
qemu-kvm.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-kvm-2.0.0-1.el7.centos.1.x86_64
qemu-kvm-tools.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-kvm-tools-2.0.0-1.el7.centos.1.x86_64
qemu-system-alpha.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-alpha-2.0.0-1.el7.centos.1.x86_64
qemu-system-arm.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-arm-2.0.0-1.el7.centos.1.x86_64
qemu-system-cris.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-cris-2.0.0-1.el7.centos.1.x86_64
qemu-system-lm32.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-lm32-2.0.0-1.el7.centos.1.x86_64
qemu-system-m68k.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-m68k-2.0.0-1.el7.centos.1.x86_64
qemu-system-microblaze.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-microblaze-2.0.0-1.el7.centos.1.x86_64
qemu-system-mips.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-mips-2.0.0-1.el7.centos.1.x86_64
qemu-system-moxie.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-moxie-2.0.0-1.el7.centos.1.x86_64
qemu-system-or32.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-or32-2.0.0-1.el7.centos.1.x86_64
qemu-system-s390x.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-s390x-2.0.0-1.el7.centos.1.x86_64
qemu-system-sh4.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-sh4-2.0.0-1.el7.centos.1.x86_64
qemu-system-unicore32.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-unicore32-2.0.0-1.el7.centos.1.x86_64
qemu-system-x86.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-x86-2.0.0-1.el7.centos.1.x86_64
qemu-system-xtensa.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-system-xtensa-2.0.0-1.el7.centos.1.x86_64
qemu-user.x86_64 2:2.0.0-1.el7.centos.1 @/qemu-user-2.0.0-1.el7.centos.1.x86_64


Could it be a permission thing?

Thanks for your help

Dave


PM
^
spottyrover
 Posted: Sep 25 2014, 01:09 PM
Quote Post


SLF Junior
**

Group: Members
Posts: 40
Member No.: 98
Joined: 25-April 11










Solved by installing everything with bios in it

sgabios, seabios and seabios.bin

I will work out which one fixed the problem when I reinstall next week.

Thanks

Dave

ps helikaon would you mind if I email you direct re- kvm/qemu?

thanks again for your help
PM
^
spottyrover
 Posted: Sep 27 2014, 02:36 PM
Quote Post


SLF Junior
**

Group: Members
Posts: 40
Member No.: 98
Joined: 25-April 11









Just tried to use the VM I had setup and try out the 9p file system

I had 2 problems
1. VM unstable
fixed by reducing the ram down from 4g to 3g. I don't even remember where I read this over the past weeks

2. In the guest when I try to mount the share I am getting an error of
unknown filesystem type "9p"

in fstab I have added
david-video /home/david/Videos 9p trans=virtio,version=9p2000.L,rw,posixacl,access=user 0 0

sudo mount -a shows the error unknown filesystem type "9p"

According to the kernel-ml doc 9p file system is included

however
CODE
cat /boot/config-3.16.3-1.el7.elrepo.x86_64 | grep -i 9p
CONFIG_NET_9P=m
CONFIG_NET_9P_VIRTIO=m
CONFIG_NET_9P_RDMA=m
# CONFIG_NET_9P_DEBUG is not set
# CONFIG_9P_FS is not set


CONFIG_9P_FS is not set Could this be the problem?


any ideas?

thanks

Dave
PM
^
helikaon
 Posted: Sep 27 2014, 08:21 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









QUOTE (spottyrover @ Sep 27 2014, 02:36 PM)
Just tried to use the VM  I had setup and try out the 9p file system

I had 2 problems
1. VM unstable
      fixed by reducing the ram down from 4g to 3g.  I don't even remember where I read this over the past weeks

2. In the guest  when I try to mount the share I am getting an error of
    unknown filesystem type "9p"

in fstab I have added
david-video  /home/david/Videos  9p  trans=virtio,version=9p2000.L,rw,posixacl,access=user  0 0

sudo mount -a  shows the error unknown filesystem type "9p"

According to the kernel-ml doc 9p file system is included

however
CODE
cat /boot/config-3.16.3-1.el7.elrepo.x86_64 | grep -i 9p
CONFIG_NET_9P=m
CONFIG_NET_9P_VIRTIO=m
CONFIG_NET_9P_RDMA=m
# CONFIG_NET_9P_DEBUG is not set
# CONFIG_9P_FS is not set


CONFIG_9P_FS is not set    Could this be the problem?


any ideas?

thanks

Dave


Hi Dave,
this is definitely problem -> the CONFIG_9P_FS module is the 'keystone' of the whole 9p thing, you need to have this module enabled in kernel on both - host and virtual guest too.

cheers

--------------------
PMEmail Poster
^
helikaon
 Posted: Sep 27 2014, 08:26 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









QUOTE (spottyrover @ Sep 25 2014, 01:09 PM)
Solved by installing everything with bios in it

sgabios, seabios and seabios.bin

I will work out which one fixed the problem when I reinstall next week.

Thanks
Dave

ps helikaon would you mind if I email you direct re- kvm/qemu?

thanks again for your help


Good you got it :]
and sure send email, np, if i know, i'm not gonna keep it back :]

--------------------
PMEmail Poster
^
burakkucat
 Posted: Sep 28 2014, 10:26 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 207
Member No.: 14
Joined: 10-April 11









An RFE has been opened in the ELRepo Project's bug tracker [1] asking for all relevant "9P" kernel configuration options to be enabled in all the kernel-{lt|ml} packages.

[1] http://elrepo.org/bugs/view.php?id=510

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
spottyrover
 Posted: Sep 29 2014, 12:56 PM
Quote Post


SLF Junior
**

Group: Members
Posts: 40
Member No.: 98
Joined: 25-April 11









Thanks for creating the RFE for me.
As far as I can work out it is meant to be enabled (by their documents).
I assumed I was doing some thing wrong.



The part that is working is I can now create a VM

I still have not got the 9pfs working

In the guest when I try to mount the share I am getting an error of
unknown filesystem type "9p"

Trying to recompile the kernel from scratch but I am having problems booting .
I will try again tomorrow.


Thanks

Dave

PM
^
burakkucat
 Posted: Sep 29 2014, 01:51 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 207
Member No.: 14
Joined: 10-April 11









If you would like to try the very latest 3.17-rc7 kernel package, you can download it from the following directory:

http://elrepo.org/people/ajb/devel/kernel-ml/el7/x86_64/RPMS/

So far, that is the only kernel-ml package with CONFIG_9P_FS currently enabled.

CODE

[Build64R7 config-3.17.0]$ grep 9P config*
CONFIG_NET_9P=m
CONFIG_NET_9P_VIRTIO=m
CONFIG_NET_9P_RDMA=m
# CONFIG_NET_9P_DEBUG is not set
CONFIG_9P_FS=m
CONFIG_9P_FSCACHE=y
CONFIG_9P_FS_POSIX_ACL=y
# CONFIG_9P_FS_SECURITY is not set
[Build64R7 config-3.17.0]$


The other kernels will be reconfigured when they are rebuilt (as a result of the release of a new source tarball).

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
spottyrover
 Posted: Sep 30 2014, 01:00 PM
Quote Post


SLF Junior
**

Group: Members
Posts: 40
Member No.: 98
Joined: 25-April 11









I downloaded the elrepo kernel and installed it in both the host and guest
The host works fine but the guest locks up after a few minutes.
CODE
[david@viv-dmt Downloads]$ sudo yum localinstall kernel-ml-3.17.0-0.rc7.el7.elrepo.x86_64.rpm


Do I need to install headers or anything else?


I will reinstall and start agin tomorrow

Thanks

Dave

PM
^
burakkucat
 Posted: Sep 30 2014, 02:31 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 207
Member No.: 14
Joined: 10-April 11









QUOTE (spottyrover @ Sep 30 2014, 01:00 PM)
I downloaded the elrepo kernel and installed it in both the host and guest
The host works fine but the guest locks up after a few minutes.
CODE
[david@viv-dmt Downloads]$ sudo yum localinstall kernel-ml-3.17.0-0.rc7.el7.elrepo.x86_64.rpm


Do I need to  install headers or anything else?

Thank you for reporting the good news regarding the host. smile.gif

As for the guest "locking up", I suspect it is not due to the (guest's) kernel package.

You should not need to install the kernel-ml-headers package . . . but that said, it might just be worth trying it on the guest. (Please be aware that it is not possible to have both the distro kernel-headers package and the kernel-ml-headers package installed, due to file space conflicts.)

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
helikaon
 Posted: Sep 30 2014, 07:31 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









QUOTE (spottyrover @ Sep 30 2014, 01:00 PM)
I downloaded the elrepo kernel and installed it in both the host and guest
The host works fine but the guest locks up after a few minutes.
CODE
[david@viv-dmt Downloads]$ sudo yum localinstall kernel-ml-3.17.0-0.rc7.el7.elrepo.x86_64.rpm


Do I need to  install headers or anything else?


I will reinstall and start agin tomorrow

Thanks

Dave


Hi Dave,
thumbs up, you're almost there :]

Could be the guest locking due to problems with SELinux? When does it freeze? During boot or after full booted up?

Btw - now if you have the kernel with 9p enabled, you should already be able to create the 9pfs mountpoint on the host machine - can you?

cheers,

--------------------
PMEmail Poster
^
spottyrover
 Posted: Oct 2 2014, 03:46 AM
Quote Post


SLF Junior
**

Group: Members
Posts: 40
Member No.: 98
Joined: 25-April 11









Been testing
with the Host Centos7 3.17 kernel and qemu 2 compiled as per instructions
Guest Centos7 kernel standard (3.10) upgrade.
Crash occurs when using cut and paste (from either kwrite or gedit to either kde terminal or gnome terminal) to install packages.
It does not crash when you type straight into a terminal (sudo yum install smplayer)

I would be surprised if selinux is the cause because it works when you directly type into the terminal.

By the way I have not used 9pfs yet. Figured better to find the cause of the crashing first.


Can I use this in the centos/SL ver 6.5?

Dave
PM
^
helikaon
 Posted: Oct 2 2014, 05:00 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









Hi,
unfortunatelly hardly.
the kernel in 6.5 has the 9p but because the RH doesnt care about it, it is not patched and has known bugs - i tried to recompile 6.5 kernel with 9p but i was not able to mount 9p FS from RHEL7.0 host to SL 6.5 guest

You'd have to patch the 9p module yourself. I didn't have the time / courage start with this .. :]

cheers,

--------------------
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll