You are not logged in.

#1 2016-06-08 12:03:37

GhettoGirl
Member
From: Austria
Registered: 2016-06-05
Posts: 16
Website

[SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

Today pacman offered me to upgrade my Kernel to 4.6.1
The last time I tried that kernel on another distro, I wasn't able to boot anymore, because of a bug Linux wasn't able to find any HDDs or SSDs and timed out waiting for root filesystem.
I'm a bit afraid now to upgrade. Can I downgrade the kernel using the bootstrap (installer) in case something wents wrong?

If this is not the case, I already know how to ignore updates with pacman in /etc/pacman.conf wink

Regards

Last edited by GhettoGirl (2016-06-09 12:48:22)


TUXEDO Book XC1705 CPU: i7-5700HQ, RAM: DDR3 SO-DIMM 32 GB (4x 8192MB) 1866MHz Crucial Ballistix Sport, Storage: 2x HDD, 2x SSD (= 3.7 TB), GPU: Intel HD, NVIDIA GTX 980M (Bumblebee)
Linux 4.6.3 x86_64

Offline

#2 2016-06-08 12:20:28

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

You could install linux-lts before upgrading.
Then you should be able to boot with the lts kernel if 4.6.1 does not work for you.

Offline

#3 2016-06-08 12:30:23

Arup
Member
From: Earth
Registered: 2014-02-20
Posts: 95

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

No issues here, i7 4790 with nvidia 610 using nvidia drivers. Big thing is that finally the i7 Haswell scale again.

Offline

#4 2016-06-08 13:34:04

GhettoGirl
Member
From: Austria
Registered: 2016-06-05
Posts: 16
Website

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

ok, i will install the linux-lts kernel before upgrading to 4.6.1
anyway to go back to 4.5.4 in case 4.6.1 ends up waiting for root device?
can i "backup" or "dump" a installed pacman package?


TUXEDO Book XC1705 CPU: i7-5700HQ, RAM: DDR3 SO-DIMM 32 GB (4x 8192MB) 1866MHz Crucial Ballistix Sport, Storage: 2x HDD, 2x SSD (= 3.7 TB), GPU: Intel HD, NVIDIA GTX 980M (Bumblebee)
Linux 4.6.3 x86_64

Offline

#5 2016-06-08 13:46:11

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

Your package cache is /var/cache/pacman/pkg and all packages you installed (prev or current) are there... note that it is a bad idea to run old kernels as they are not supported upstream.  Also note that partial updates are not officially supported.  If the 4.6 series doesn't work for you, work with upstream to fix it.  If you want to run the 4.5 series, I recommend that you build your own (use ABS) and keep it updated (current stable is 4.5.7 according to https://www.kernel.org but that will go EOL at some point).


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2016-06-08 14:08:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

The answer to your question is yes, you can downgrade if things go awry. You can boot from your install media, set up a chroot, and downgrade using the pacman cache on your system.  I think you will be okay with the 4.6.1 kernel, but you can go back.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2016-06-08 14:11:58

Arup
Member
From: Earth
Registered: 2014-02-20
Posts: 95

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

Rather than use old kernel, I would strongly recommend using LTS one for backup.

Offline

#8 2016-06-08 14:12:56

Arup
Member
From: Earth
Registered: 2014-02-20
Posts: 95

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

graysky wrote:

Your package cache is /var/cache/pacman/pkg and all packages you installed (prev or current) are there... note that it is a bad idea to run old kernels as they are not supported upstream.  Also note that partial updates are not officially supported.  If the 4.6 series doesn't work for you, work with upstream to fix it.  If you want to run the 4.5 series, I recommend that you build your own (use ABS) and keep it updated (current stable is 4.5.7 according to https://www.kernel.org but that will go EOL at some point).


By the way, the CPU scaling issue with Haswell refresh is gone with 4.6, in fact now its scaling better than Ubuntu's 4.4 250MHz kernel.

Offline

#9 2016-06-08 14:13:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

Arup wrote:

Rather than use old kernel, I would strongly recommend using LTS one for backup.

I might add, one can also install an alternate kernel from inside the chroot instead of downgrading,


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2016-06-08 14:42:12

GhettoGirl
Member
From: Austria
Registered: 2016-06-05
Posts: 16
Website

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

thanks guys for the help, i just hope now i can go with 4.6.1.
i am not sure exactly if it really was the 4.6.1 kernel or the 4.6 that caused this problem
but glad to know that i can easily recover


TUXEDO Book XC1705 CPU: i7-5700HQ, RAM: DDR3 SO-DIMM 32 GB (4x 8192MB) 1866MHz Crucial Ballistix Sport, Storage: 2x HDD, 2x SSD (= 3.7 TB), GPU: Intel HD, NVIDIA GTX 980M (Bumblebee)
Linux 4.6.3 x86_64

Offline

#11 2016-06-08 14:57:24

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

So far so good here with i7-6500u + r7 m370, I haven't seen any problems (yet?).

The recommendation to install the LTS kernel is a good one, even if you never use it you will be glad you have it installed if you ever need to use it.

Another thing I recommend is that you create a "rescue usb install" with a DE of your choice and all the utilities you expect to need, basically it is a usb drive with another arch install. Then you wait to update that usb install until you confirm everything is working. You could do it the other way around, update the usb drive first and only then your main system. This applies mostly to kernel or updates that might cause breakage. Again you'll be glad you have a rescue usb drive if you ever need to fix a problem.

Another alternative would be to use btrfs and snapshot your system before the update, if anything goes wrong you can quickly revert all changes, mind you that btrfs might not be as stable as ext4 or other filesystems, although lots of people report they never had problems. In any case a good backup policy is always a good idea.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#12 2016-06-09 12:48:05

GhettoGirl
Member
From: Austria
Registered: 2016-06-05
Posts: 16
Website

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

So, I finally had some free time to create a backup and update the kernel. Everything is still working with 4.6.1, the kernel finds my root device and is able to mount it. nvidia optimus is also still working.
Thanks again for the great help. Better have a backup you don't need as needing a backup you don't have, am I right wink

The only problem now is that VMware Workstation is not working anymore, because it is not compatible with the 4.6.1 kernel (yet) sad
But that's another problem and story.

Regards

EDIT: In case someone is interested: https://communities.vmware.com/thread/5 … 0&tstart=0 a tiny patch to fix the compilation issue on the 4.6.1 and up kernels wink

Last edited by GhettoGirl (2016-06-09 13:01:26)


TUXEDO Book XC1705 CPU: i7-5700HQ, RAM: DDR3 SO-DIMM 32 GB (4x 8192MB) 1866MHz Crucial Ballistix Sport, Storage: 2x HDD, 2x SSD (= 3.7 TB), GPU: Intel HD, NVIDIA GTX 980M (Bumblebee)
Linux 4.6.3 x86_64

Offline

#13 2016-06-09 13:53:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

Did you do a full update?  (Pacman -Syu) 
I do not know about VMware, but VirtualBox uses pacman hooks to rebuild the required kernel modules.  VMware may just need to be reinstalled.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#14 2016-06-09 13:56:48

GhettoGirl
Member
From: Austria
Registered: 2016-06-05
Posts: 16
Website

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

I did a full system upgrade with pacman -Syyu
and VMware rebuilds the kernel modules automatically at startup if they are not installed in the current kernel, but the modules itself are API incompatible with the current kernels and i needed to apply the patches from the link in my previous post

vmware is working very fine with the patched modules, no problems noticed at this time


TUXEDO Book XC1705 CPU: i7-5700HQ, RAM: DDR3 SO-DIMM 32 GB (4x 8192MB) 1866MHz Crucial Ballistix Sport, Storage: 2x HDD, 2x SSD (= 3.7 TB), GPU: Intel HD, NVIDIA GTX 980M (Bumblebee)
Linux 4.6.3 x86_64

Offline

#15 2016-06-09 16:16:21

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [SOLVED] Kernel 4.6.1 Upgrade? Wasn't that a broken Kernel?

GhettoGirl wrote:

can i "backup" or "dump" a installed pacman package?

You can do that with bacman.

bacman (pacman) v5.0.1

Recreate a package using pacman's database and system files

Usage: bacman [--nocolor] [--pacnew] <installed package name>

Example: bacman linux-headers

Last edited by mis (2016-06-09 16:16:53)

Offline

Board footer

Powered by FluxBB