Centos7 kernel downgrade failure 7.6 to 7.5

Issues related to applications and software problems
User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos7 kernel downgrade failure 7.6 to 7.5

Post by TrevorH » 2019/01/21 15:46:56

And what errors do you have now in your logs?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cent7
Posts: 13
Joined: 2019/01/20 16:14:59

Re: Centos7 kernel downgrade failure 7.6 to 7.5

Post by cent7 » 2019/01/21 15:54:02

I only got a chance to look at Xorg on /var/log/.

The same complaint/error appeared:

Code: Select all

(EE) failed to load module "vboxvideo"
An suggestion about other diagnostics to run or logs to look at?

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos7 kernel downgrade failure 7.6 to 7.5

Post by TrevorH » 2019/01/21 17:03:00

Hmm, and you rebuilt the Guest Additions on that same kernel? I believe it writes a log to /var/log when you build it, did you check that to makre sure it worked properly?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cent7
Posts: 13
Joined: 2019/01/20 16:14:59

Re: Centos7 kernel downgrade failure 7.6 to 7.5

Post by cent7 » 2019/01/21 19:25:15

Yes, rebuild GA for old kernel. I will check that log and post back.

cent7
Posts: 13
Joined: 2019/01/20 16:14:59

Re: Centos7 kernel downgrade failure 7.6 to 7.5

Post by cent7 » 2019/01/22 22:12:21

In the vboxadd-setup.log only this message:

Code: Select all

mmap: invalid argument
This same message shows on terminal screen during GuestAdditions re-install as well.

cent7
Posts: 13
Joined: 2019/01/20 16:14:59

Re: Centos7 kernel downgrade failure 7.6 to 7.5

Post by cent7 » 2019/01/23 02:38:53

Update

Launching the X server from the terminal (always in recovery mode, aka Ctl+Alt+F2) via:

Code: Select all

$ startx
Gets me beyond the black screen into log-ing mode.

In /var/log/Xorg.0.log all of the following errors are present, BUT the server doesn't crash.

Code: Select all

(EE) Failed to load module "vboxvideo" (module does not exist, 0) 
(EE) open /dev/dri/card0: No such file or directory 
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Unable to find a valid framebuffer device
(EE) Screen 0 deleted because of no matching config section.
..... 
Are these VirtualBox related issues?

Note: GuestAdditions un-installed and re-installed again without errors; except for the message posted previously.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos7 kernel downgrade failure 7.6 to 7.5

Post by TrevorH » 2019/01/23 11:45:49

vboxvideo is the video driver that is built by installing the Guest Additions. If it doesn't exist then it means the build failed so the next point of call is the build log file. Post it if you don't understand it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cent7
Posts: 13
Joined: 2019/01/20 16:14:59

Re: Centos7 kernel downgrade failure 7.6 to 7.5

Post by cent7 » 2019/01/24 01:51:14

In /var/log/vboxadd-install.log

Code: Select all

chcon: can't apply partial context to unlabeled file '/opt/VBoxGuestAdditions-5.2.22/src
/vboxguest-5.22.2/build_in_tmp'
libsemange.semanage_read_policydb: Error while reading kernel policy from /etc/selinux/targeted/active
/policy.linked. (no such file or directory)
OSError: no such file or directory
.... 
The following resolved it for me. Warning: this may not work for all situations nor is a sound solution.

1. Edited grub menu to log-in with selinux=0.
- Gnome, X-server, network connectivity were all functional
- This confirmed: related to SElinux policies. What happened exactly, context relabeling messed-up (?)

2. Reinstalled GuestAdditions. Uninstall
script/folder were absent under /opt. GA install successful but log showed one error related to SElinux.

3. $ shutdown then booted again like in 1.

4. Changed SElinux policy to 'disabled'.

Thanks so much @TrevorH.

Post Reply