I will update here if I get something useful from elrepo guys. If I get some time I might try to compile 4.7.0 kernel inside guest instead of using elrepo and kernel-ml rpm's, to see if it makes any difference. Had similar issues with guest tools for Parallels on Mac, since I am building boxes both for VirtualBox and Parallels, with 4.7.0 kernel, had to patch source of Parallels guest additions, and it worked fine afters - it seems there has been some work done inside kernel that was backward incompatible, among others mutex_lock/mutex_unlock has been replaced with inode_lock/inode_unlock, however these seem to be fine in VirtualBox additions as they compile and load fine. If I remember well, earlier versions of my box were running 4.4.5 and 4.5.x at some stage and those have worked fine, it is only the latest 4.7.0 version that is acting up. Have you asked the elrepo folks about this yet? It might help.ĭidn't ask yet, that was on my todo for tomorrow. Bit annoying it won't let me post urls to the exact iso and rest I have used for it.ĭekstroza Posts: 8 Joined: 8. Let me know if I can provide any more details, or you need any more help.Įdit: I have missed the part about linux - that's fine with me, as I can reproduce it both on Mac and Linux VirtualBox, and I am as well more familiar with good old Linux then Mac. As root shutdown -r now (or use VirtualBox to shutdown/reboot) any combination will trigger kernel panic on restart It should install fine and lsmod | grep vb should show two modules, also dmesg will show few lines when they are loadedġ2. On guest as root: mkdir /mnt/cdrom AND mount /dev/cdrom /mnt/cdromġ0. On virtual box select Insert Guest Additions CD Imageĩ. yum remove kernel (remove the only trace of 3.x.x kernel which came with original Centos 7) - this is optional, makes no difference, since at this point you are running 4.7.0 kernel and all kernel sources are 4.7.0Ĩ. At this point rpm -qa | grep kernel should show only running kernel (verson 3.xx) and everything else 4.7.0ħ. yum -enablerepo=elrepo-kernel install kernel-ml kernel-ml-devel kernel-ml-headers kernel-ml-tools-libs gcc bzip2 make dkms perlĥ. yum remove kernel-devel kernel-headers kernel-tools-libsĤ. Then after reboot as root yum localinstall -y .noarch.rpm from kernel-ml (again, it won't let me paste the address).ģ. I will describe second option in details since I have included logs for that one.ġ.Box is installed Centos 7, installed using centos-minimal iso (won't let me post address to it on centos site).Ģ.Once the installation is completed, log into the guest, and do yum -y update and reboot after, Manually with VirtualBox (the usual, create new VM, attach install cdrom with iso) etc. Automated with packer (in case you are familiar with packer): my github account name is dekstroza and repo name is kubernetes-dev-stack see the packer configuration (won't let me paste address here)Ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |