Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Only amd Linux Kernel available (I'm on Xeon CPU)

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
CaptAm
Posts: 3
Joined: 2017-09-10 18:45

Only amd Linux Kernel available (I'm on Xeon CPU)

#1 Post by CaptAm »

Hello,

I'm running Debian on virtual server (paid hosting). When my virtual server was setup, I choose Debian 8 as my OS.
Today I upgraded Debian to version 9, everything went quite smooth, except that after reboot my kernel is still 2.6:

Code: Select all

root@debian:~# cat /etc/debian_version
9.1
root@debian:~# uname -r
2.6.32-042stab123.9
I googled and found advice:

Code: Select all

root@debian:~# apt-cache search linux-image
linux-headers-4.9.0-3-amd64 - Header files for Linux 4.9.0-3-amd64
linux-headers-4.9.0-3-rt-amd64 - Header files for Linux 4.9.0-3-rt-amd64
linux-image-4.9.0-3-amd64 - Linux 4.9 for 64-bit PCs
linux-image-4.9.0-3-amd64-dbg - Debug symbols for linux-image-4.9.0-3-amd64
linux-image-4.9.0-3-rt-amd64 - Linux 4.9 for 64-bit PCs, PREEMPT_RT
linux-image-4.9.0-3-rt-amd64-dbg - Debug symbols for linux-image-4.9.0-3-rt-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
I installed linux-image-4.9.0-3-amd64 and after reboot I still have kernel 2.6
Then I realised, that kernel I installed is AMD, and my virtual server is on Xeon.
Webmin shows:

Code: Select all

Kernel and CPU 	Linux 2.6.32-042stab123.9 on x86_64
Processor information 	Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 4 cores
Please advise, how should I install 3.x or 4.x kernel.
I suppose I should not use backports, I'd like to stay on "stable" thread.
As it's virtual server, I have no possibility to see console screen while it boots, only after boot I can connect via SSH.

Thanks,
Marius

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Only amd Linux Kernel available (I'm on Xeon CPU)

#2 Post by stevepusser »

The 2.6.32 kernel is the default one from Debian 7 Wheezy. How you got it on Debian 8, which should have had 3.2, is another mystery you need to look into.

Intel 64-bit processors use the architecture that AMD developed for their 64-bit chips. Amd64 is the right architecture.

Try running "update-grub" as root to see if that adds your new kernel to the boot menu.
Last edited by stevepusser on 2017-09-10 20:52, edited 1 time in total.
MX Linux packager and developer

CaptAm
Posts: 3
Joined: 2017-09-10 18:45

Re: Only amd Linux Kernel available (I'm on Xeon CPU)

#3 Post by CaptAm »

Thanks for swift reply, stevepusser!

I tried update-grub without success:

Code: Select all

root@debian:~# update-grub
bash: update-grub: command not found
root@debian:~# update<TAB key>
update-alternatives        update-icon-caches         update-initramfs           update-mime-database       update-rc.d
update-ca-certificates     update-inetd               update-locale              update-mime-database.real  updatedb
update-cracklib            update-info-dir            update-mime                update-passwd              updatedb.mlocate
root@debian:~# grub<TAB key> - nothing pops up.
Seems my machine have no grub at all. I checked /boot directory and it is empty.
How could I get an idea, what I'm using :lol:

Regards,
Marius

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Only amd Linux Kernel available (I'm on Xeon CPU)

#4 Post by Segfault »

Your /boot may seem empty because it is not mounted. It does not need to be mounted for normal operation.

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Only amd Linux Kernel available (I'm on Xeon CPU)

#5 Post by acewiza »

wizard10000 wrote:...check with your hosting provider.
Yes, undoubtedly the only way this gets sorted.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

CaptAm
Posts: 3
Joined: 2017-09-10 18:45

Re: Only amd Linux Kernel available (I'm on Xeon CPU)

#6 Post by CaptAm »

Just want to close this question, as hosting provider confirmed they are using "OpenVZ" virtualization, which shares common kernel between virtual machines (containers).
2.6 is last stable thread for it, so they are stick to it. I have no possibility to upgrade it.

Thanks everyone for help,
Marius

Post Reply