Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 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

4.15.5 Kernel - Ryzen System smiling

Message
Author
User avatar
namida12
Forum Guide
Forum Guide
Posts: 1805
Joined: Sun Apr 01, 2007 4:54 pm

4.15.5 Kernel - Ryzen System smiling

#1 Post by namida12 » Wed Mar 07, 2018 1:34 pm

I have sensors temps with this Kernel - Just loaded the patched versions -

Still being reported as a Laptop but the new kernel has some added a visible update for my Ryzen System...
GPU seems a bit warm for RV670 will need to check the specifications, but nice to see the CPU is @ 32 on idling with web browser open.

JR

Code: Select all

green250@antix250:~
$ inxi -F
System:    Host: antix250 Kernel: 4.15.5-antix.1-amd64-smp x86_64 bits: 64 Desktop: IceWM 1.4.2
           Distro: antiX-17_x64-full Heather Heyer 24 October 2017
Machine:   Device: laptop Mobo: MSI model: B350M GAMING PRO (MS-7A39) v: 1.0 serial: N/A
           UEFI [Legacy]: American Megatrends v: 2.30 date: 03/24/2017
CPU:       Quad core AMD Ryzen 5 1500X (-MT-MCP-) cache: 2048 KB
           clock speeds: max: 3500 MHz 1: 1374 MHz 2: 1374 MHz 3: 1373 MHz 4: 1373 MHz 5: 1333 MHz 6: 1336 MHz
           7: 2489 MHz 8: 1842 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV670 [Radeon HD 3690/3850]
           Display Server: X.Org 1.19.2 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Gallium 0.4 on AMD RV670 (DRM 2.50.0 / 4.15.5-antix.1-amd64-smp, LLVM 3.9.1)
           version: 3.3 Mesa 13.0.6
Audio:     Card-1 Advanced Micro Devices [AMD] Device 1457 driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] RV670/680 HDMI Audio [Radeon HD 3690/3800 Series]
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.5-antix.1-amd64-smp
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 18:d6:c7:06:f9:4a
Drives:    HDD Total Size: 250.1GB (43.3% used)
           ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB
Partition: ID-1: / size: 14G used: 7.8G (60%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 206G used: 90G (46%) fs: ext4 dev: /dev/sda3
           ID-3: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors:   System Temperatures: cpu: 32.4C mobo: N/A gpu: 74.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 195 Uptime: 2 min Memory: 257.4/16057.9MB Client: Shell (bash) inxi: 2.3.54 

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16582
Joined: Fri Dec 15, 2006 8:07 pm

Re: 4.15.5 Kernel - Ryzen System smiling

#2 Post by Stevo » Wed Mar 07, 2018 3:07 pm

What patches did anti add?

User avatar
entropyfoe
Forum Regular
Forum Regular
Posts: 808
Joined: Thu Apr 19, 2007 11:42 am

Re: 4.15.5 Kernel - Ryzen System smiling

#3 Post by entropyfoe » Wed Mar 07, 2018 3:13 pm

namida
Yes, I also got the CPU temperature monitoring to work, kind of, with the patched 4.15.3-antix.

I thought it was not working, but caprea noticed in my inxi output, it listed a CPU temp.

I have confirmed it is the real temp (it goes up when I run more processes).
But sensors-lm and sensors do not give the output. They do show the GPU and MB temp.

Does anyone know what command inxi uses to get that temperature reading?
That way I could monitor it without running inxi. (Or maybe get it into conky).
Asus Prime 370X-Pro
AMD Ryzen 1600X (6 cores @ 3.6 GHz)
16 Gig DDR4 3200 (G Skill)
Nvidia -MSI GeForce GT 710 fanless
Samsung 960 NVMe SSD nvme0n1 P1,P2, and P3=MX-17.1, P4=antiX-17
1TB SSD sda1= Data, 2TB WD =backups
on-board ethernet & sound

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 5737
Joined: Sat Jul 15, 2006 10:40 am

Re: 4.15.5 Kernel - Ryzen System smiling

#4 Post by anticapitalista » Wed Mar 07, 2018 3:16 pm

Stevo wrote:What patches did anti add?
Only the fbcondecor one.
antiX kernels are built directly from kernel.org kernels.
Basically it is vanilla.

Our patches are here: http://download.tuxfamily.org/antix/Testing/
Last edited by anticapitalista on Wed Mar 07, 2018 3:17 pm, edited 1 time in total.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-17 "Heather Heyer" - lean and mean.
https://antixlinux.com

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16582
Joined: Fri Dec 15, 2006 8:07 pm

Re: 4.15.5 Kernel - Ryzen System smiling

#5 Post by Stevo » Wed Mar 07, 2018 3:16 pm

entropyfoe wrote:namida
Yes, I also got the CPU temperature monitoring to work, kind of, with the patched 4.15.3-antix.

I thought it was not working, but caprea noticed in my inxi output, it listed a CPU temp.

I have confirmed it is the real temp (it goes up when I run more processes).
But sensors-lm and sensors do not give the output. They do show the GPU and MB temp.

Does anyone know what command inxi uses to get that temperature reading?
That way I could monitor it without running inxi. (Or maybe get it into conky).
h-2, the inxi developer, is a forum member, so I'm sure he knows!

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16582
Joined: Fri Dec 15, 2006 8:07 pm

Re: 4.15.5 Kernel - Ryzen System smiling

#6 Post by Stevo » Wed Mar 07, 2018 3:18 pm

anticapitalista wrote:
Stevo wrote:What patches did anti add?
Only the fbcondecor one.
antiX kernels are built directly from kernel.org kernels.

Our patches are here: http://download.tuxfamily.org/antix/Testing/
OK, so the Ryzen improvements are part of the vanilla 4.15 kernel. as advertised. I was thrown off by the OP referring to the "patched kernel" like something else special was done to it.

User avatar
namida12
Forum Guide
Forum Guide
Posts: 1805
Joined: Sun Apr 01, 2007 4:54 pm

Re: 4.15.5 Kernel - Ryzen System smiling

#7 Post by namida12 » Thu Mar 08, 2018 8:29 am

Not smiling now it, system seems to crash, when I leave it alone only running qBittorrent seeding AntiX and Mx-17.

Was running @ 11pm and just found system with power light on, assumed it was running, but only power light was on, no screen out put @ 4:15 am this morning. I had to hold power button to get it the close down.
Is there any way to keep a log, or find a log I could post to help dev team determine why this kernel crashed my system?


JR
Last edited by namida12 on Thu Mar 08, 2018 2:01 pm, edited 1 time in total.

User avatar
entropyfoe
Forum Regular
Forum Regular
Posts: 808
Joined: Thu Apr 19, 2007 11:42 am

Re: 4.15.5 Kernel - Ryzen System smiling

#8 Post by entropyfoe » Thu Mar 08, 2018 9:40 am

crash at idle, that is the problem I had.
caprea helped debug this, you might have the kernel bug.

If you have the right kernel, you can add a kernel parameter to the boot that fixes it.


See this thread... from beginning to end, all about kernels and Ryzen stability.
viewtopic.php?f=104&t=43958&start=115
Asus Prime 370X-Pro
AMD Ryzen 1600X (6 cores @ 3.6 GHz)
16 Gig DDR4 3200 (G Skill)
Nvidia -MSI GeForce GT 710 fanless
Samsung 960 NVMe SSD nvme0n1 P1,P2, and P3=MX-17.1, P4=antiX-17
1TB SSD sda1= Data, 2TB WD =backups
on-board ethernet & sound

caprea
Forum Regular
Forum Regular
Posts: 118
Joined: Sat Aug 23, 2014 7:01 am

Re: 4.15.5 Kernel - Ryzen System smiling

#9 Post by caprea » Thu Mar 08, 2018 12:10 pm

It sure worth a try to add the bootparameter described in the link above

But anyway I'm curious if there are any helpfull logs
So you can look at with the terminal

Code: Select all

sudo cat /var/log/syslog

Code: Select all

sudo cat /var/log/kern.log
The output is arranged in chronological order
and maybe

Code: Select all

 sudo cat /var/log/Xorg.0.log
if there are errors.

caprea
Forum Regular
Forum Regular
Posts: 118
Joined: Sat Aug 23, 2014 7:01 am

Re: 4.15.5 Kernel - Ryzen System smiling

#10 Post by caprea » Thu Mar 08, 2018 11:40 pm

If you want to try the bootparameter, it's pretty easy on antix

Boot into the 4.15.5-antix-kernel
type in terminal

Code: Select all

echo rcu_nocbs=0-$(($(nproc)-1))
The output will probably look like this for your cpu
rcu_nocbs=0-7


Whatever comes out, this you have to add to your grub-line

Then type in terminal

Code: Select all

sudo leafpad /etc/default/grub
This will open the grub-file with the following lines

Code: Select all

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="vga=791 quiet"
GRUB_CMDLINE_LINUX=""
Add the output of the above command rcu_nocbs=0-7 (or whatever) to the GRUB_CMDLINE_LINUX_DEFAULT - line
should look like this

Code: Select all

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="vga=791 quiet rcu_nocbs=0-7"
GRUB_CMDLINE_LINUX=""
Close the file and save it.

Then

Code: Select all

sudo update-grub
Reboot

Look if the parameter is active with

Code: Select all

cat /proc/cmdline 
That's it!

Test if your system is stable, leave it in idle or whatever.

The rcu_nocbs=x-x bootparameter just replaces the CONFIG_RCU_NOCB_CPU_ALL=y configuration, which was active on the working 4.10-kernels
and was removed sometime later during kernel-developement.Maybe it's a bug for the ryzen.

If that should not work for you, the bootparameter can easily be removed again.
Give it a try!

Post Reply

Return to “antiX”