Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel 4.12.12 slower than 4.12.5 and throw bunch of errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 98
Location: Bradford, UK

PostPosted: Wed Sep 27, 2017 1:04 pm    Post subject: kernel 4.12.12 slower than 4.12.5 and throw bunch of errors Reply with quote

Hi my paste link is https://paste.pound-python.org/show/rYjv8ss6tlYg9r03AK6D/
Any one to help
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 409

PostPosted: Wed Sep 27, 2017 1:58 pm    Post subject: Reply with quote

Your config is different.
Try the same config, make oldconfig, recompile, compare again.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13590

PostPosted: Thu Sep 28, 2017 1:03 am    Post subject: Reply with quote

What errors are reported?
Back to top
View user's profile Send private message
Quazil
n00b
n00b


Joined: 08 Jun 2016
Posts: 10

PostPosted: Sat Sep 30, 2017 5:19 am    Post subject: Reply with quote

4.12.12 is unstable for me. I routinely get CPUs hanging in a permanent wait-state.
Machine becomes progressively more unstable and I can't even perform a shutdown; I have to hard power off to reboot.
I didn't grab a log because I was in a hurry to get it working again (I thought I might have a hardware failure).
I use ext4 with raid5 and raid10 LVM volumes. The raid5 volume has heavy use.

I have backed up to my existing 4.12.5 build and it has been stable for days but it's been removed from portage.
On 4.12.5 I am using my i915 IGU but on 4.12.12 I was using my 970 GTX GPU.
I can't rebuild the nvidia module for 4.12.5 because I didn't keep the source around and it's gone from portage ><

I tried 4.13 briefly and also had instability with it.
I guess I'm going back to 4.9
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 98
Location: Bradford, UK

PostPosted: Sat Sep 30, 2017 12:53 pm    Post subject: Reply with quote

me too , 4.9 is LTS with my arch , I want to try it on gentoo too.
I tried something like
Code:
 cp /usr/src/ linux-4.12.5/.config /usr/src/linux/.configW

then
Code:
 cd /usr/src/linux ;  genkernel --menuconfig all

click on load
then type .configW
save
exit
let it compile kernel and see how it behave
then
Code:
 grub-mkconfig -o /boot/grub/grub.cfg

then reboot


Last edited by klas on Sat Sep 30, 2017 4:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Quazil
n00b
n00b


Joined: 08 Jun 2016
Posts: 10

PostPosted: Sat Sep 30, 2017 3:19 pm    Post subject: Reply with quote

@klas: You can run 'make oldconfig' to fix-up config files from other kernel versions and just copy it straight to .config.

I ran 4.13.3 and it is also unstable with the i915 so this rules out nVidia as the culprit.
I made certain to match the kernel config as closely as possible with the working 4.12.5 however I did not have hang-checks enabled ... so no kernel messages are emitted.
The core just hangs in 100% wa and the process that hangs cannot be killed.

The best I got to show the error is a dump from top (cat to view so the ANSI codes play).
http://s000.tinyupload.com/index.php?file_id=49433487445049378299
Firefox is what hung this time.
Machine was not heavily loaded; firefox using plex to play a video downloaded from youtube (from the local disk not from the website, no transcoding).
I built the 4.9 kernel and ran sync out of habit ... because it's written out to a USB device I use for /boot ... and sync never returns and I lost a second core.

I am now back on 4.9.52.

I, at least, am convinced there is another kernel issue with 4.12 (besides the mdadm issue with 4.12.5) and it is not resolved in 4.13.
I checked the SMART status of all my drives and none are reporting errors and things are stable (for me) w/ 4.12.5 so I do not think it is a local hardware issue.
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 98
Location: Bradford, UK

PostPosted: Sat Sep 30, 2017 7:48 pm    Post subject: Reply with quote

Quazil wrote:
@klas: You can run 'make oldconfig' to fix-up config files from other kernel versions and just copy it straight to .config.

I ran 4.13.3 and it is also unstable with the i915 so this rules out nVidia as the culprit.
I made certain to match the kernel config as closely as possible with the working 4.12.5 however I did not have hang-checks enabled ... so no kernel messages are emitted.
The core just hangs in 100% wa and the process that hangs cannot be killed.

The best I got to show the error is a dump from top (cat to view so the ANSI codes play).
http://s000.tinyupload.com/index.php?file_id=49433487445049378299
Firefox is what hung this time.
Machine was not heavily loaded; firefox using plex to play a video downloaded from youtube (from the local disk not from the website, no transcoding).
I built the 4.9 kernel and ran sync out of habit ... because it's written out to a USB device I use for /boot ... and sync never returns and I lost a second core.

I am now back on 4.9.52.

I, at least, am convinced there is another kernel issue with 4.12 (besides the mdadm issue with 4.12.5) and it is not resolved in 4.13.
I checked the SMART status of all my drives and none are reporting errors and things are stable (for me) w/ 4.12.5 so I do not think it is a local hardware issue.


I went for 4.9.49.r1 as it is indicated stable on this https://packages.gentoo.org/packages/sys-kernel/gentoo-sources. Things are fine for me. but the 4.12.12 when compiled with the config of 4.12.5 on my machine work fine.

I am not familiar with nvidia as my machine does not have one, this link might help https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum