Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Virtualbox 5&6 - MX/antiX kernel conflicts [SOLVED]

Report Bugs, Issues and non- package Requests
User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1749
Joined: Sat Jun 30, 2018 6:33 pm

Re: Virtualbox 5&6 - MX/antiX kernel conflicts

#31

Post by manyroads » Mon May 13, 2019 8:55 pm

Stevo wrote:
Mon May 13, 2019 8:54 pm
Yes, is this the Liquorix kernel from our test repo, via the package installer?
Yes!
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1749
Joined: Sat Jun 30, 2018 6:33 pm

Re: Virtualbox 5&6 - MX/antiX kernel conflicts

#32

Post by manyroads » Mon May 13, 2019 8:57 pm

timkb4cq wrote:
Mon May 13, 2019 8:23 pm
That eliminates one possible issue. How about running:

Code: Select all

/usr/src/linux-headers-5.0.0-14.1-liquorix-amd64/scripts/gcc-version.sh -p gcc
Tim I get the following:

Code: Select all

$ /usr/src/linux-headers-5.0.0-14.1-liquorix-amd64/scripts/gcc-version.sh -p gcc
060300
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 5120
Joined: Wed Jul 12, 2006 4:05 pm

Re: Virtualbox 5&6 - MX/antiX kernel conflicts

#33

Post by timkb4cq » Mon May 13, 2019 10:17 pm

That kind of puts me at a loss because your build log has

Code: Select all

./scripts/gcc-version.sh: line 26: gcc: command not found
./scripts/gcc-version.sh: line 27: gcc: command not found
but the script runs fine from the command line.

Only one thing occurs to me now, and it's a long shot, but lets see

Code: Select all

echo $PATH
sudo echo $PATH
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1749
Joined: Sat Jun 30, 2018 6:33 pm

Re: Virtualbox 5&6 - MX/antiX kernel conflicts

#34

Post by manyroads » Tue May 14, 2019 8:17 am

timkb4cq wrote:
Mon May 13, 2019 10:17 pm
That kind of puts me at a loss because your build log has

Code: Select all

./scripts/gcc-version.sh: line 26: gcc: command not found
./scripts/gcc-version.sh: line 27: gcc: command not found
but the script runs fine from the command line.

Only one thing occurs to me now, and it's a long shot, but lets see

Code: Select all

echo $PATH
sudo echo $PATH
Thanks again, Tim.

Here are the results...

Code: Select all

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
mark@mark-dell:~
$ sudo echo $PATH
[sudo] password for mark: 
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
mark@mark-dell:~
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 5120
Joined: Wed Jul 12, 2006 4:05 pm

Re: Virtualbox 5&6 - MX/antiX kernel conflicts

#35

Post by timkb4cq » Tue May 14, 2019 8:45 am

Yup, still at a loss. Unless you installed other gcc versions and messed with the symlinks I can't think how that script works from the terminal but not when dkms calls it.
That same version gcc & virtualbox works properly here.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1749
Joined: Sat Jun 30, 2018 6:33 pm

Re: Virtualbox 5&6 - MX/antiX kernel conflicts

#36

Post by manyroads » Tue May 14, 2019 9:48 am

timkb4cq wrote:
Tue May 14, 2019 8:45 am
Yup, still at a loss. Unless you installed other gcc versions and messed with the symlinks I can't think how that script works from the terminal but not when dkms calls it.
That same version gcc & virtualbox works properly here.
I can say for certain I did not mess with the symlinks (myself, manually). The only symlinks I create are for thunderbid and couple of small apps to get access to my Dropbox folders. Having said that , I almost certainly have a 'collection' of gcc installs.

Here's my listing:

Code: Select all

ii  clang                                           1:3.8-36                          amd64        C, C++ and Objective-C compiler (LLVM based)
ii  clang-3.8                                       1:3.8.1-24                        amd64        C, C++ and Objective-C compiler (LLVM based)
ii  g++                                             4:6.3.0-4                         amd64        GNU C++ compiler
ii  g++-6                                           6.3.0-18+deb9u1                   amd64        GNU C++ compiler
ii  gcc                                             4:6.3.0-4                         amd64        GNU C compiler
ii  gcc-6                                           6.3.0-18+deb9u1                   amd64        GNU C compiler
ii  libllvm3.8:amd64                                1:3.8.1-24                        amd64        Modular compiler and toolchain technologies, runtime library
ii  libllvm7:amd64                                  1:7-6~mx17+1                      amd64        Modular compiler and toolchain technologies, runtime library
ii  libxkbcommon0:amd64                             0.7.1-2~deb9u1                    amd64        library interface to the XKB compiler - shared library
ii  linux-compiler-gcc-6-x86                        4.20-2~mx17+1                     amd64        Compiler for Linux on x86 (meta-package)
Perhaps one of these broke something.
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1749
Joined: Sat Jun 30, 2018 6:33 pm

Re: Virtualbox 5&6 - MX/antiX kernel conflicts

#37

Post by manyroads » Tue May 14, 2019 10:11 am

Another update (good news).

After running the following:

Code: Select all

sudo apt install --reinstall gcc
I used MXPI to install several of the previous kernels that failed dkms earlier.

They all work without error now. The reinstall seems to have 'fixed' whatever was broken.

I'll mark the problem [solved].
Pax vobiscum,
Mark Rabideau - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

Post Reply

Return to “Bugs and Non-Package Requests Forum”