SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(which is the one I read when I was trying to figure it out, IIRC), then you should NOT update headers until you update glibc. This is my dilemma - I'm getting conflicting answers. My memory says, always update headers when updating kernel. This page says no... So, are they confused too?
BTW, I always install the matching headers when installing a new kernel. Why would someone
not do this?
Back in the 10.0 through 11.0 era, when Slackware came with the 2.4 kernel and had the 2.6 kernel available in testing/ there was this warning.
Code:
...As a general rule, installing kernel headers
that are newer than the kernel glibc was compiled with *may* cause problems,
so unless you need these for a particular reason it's best to stick with the
2.4.x kernel-headers package for now.
...
I think upgrading headers has the slight possibility of issues, but it isn't very common. I think most compiling will use the headers in /usr/src/linux-$VERSION/ (which is strictly from the kernel source), but if you compile glibc, it uses /usr/include/, which is where the kernel-headers package places its files. But I'm certainly no authority on the matter.
That being said, I've done a mix of both. When I use pre-compiled kernel packages, I'll update kernel-headers, but when I build my own, the old ones stay in place. I've never run into any compatibility issues with either method. This included upgrading the headers when I ran the 2.6 kernel when Slackware was default with the 2.4.
I had problems with that in my new machine FX-8320E/Gigabyte 970A-DS3P (not so 'new' ) I assembled in September last year.
Boot was stuck for ~20 seconds at those messages. I found the solution was adding iommu=soft at the append line in lilo.conf.
Also, there is an option in BIOS 'IOMMU Controller', it must be enabled.
Thanks, this solved my own issue perfectly!! Same motherboard but USB 3 working and USB 2 failed...
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Rep:
I have a ryzen5 2400G as well, on an asus B350 board. (with 32g 2400mhz ram), a 1TB evo970 M.2 nvme ssd, 1TB SATA SSD, 2G SATA SSD and 8TB spinning drive. I'm running slackware 14.2 (64bit) but with 4.19.10 kernel (huge, modules, source, and 20181218 firmware) taken from current. I have root on the 1tb sata ssd to avoid having to run the "current" installer for the nvme drive, and am booting in legacy mode rather than uefi mode.
I have a peculiar problem in that although if I reboot the system, it reboots just fine, if I run
Code:
shutdown -h now
it appears to shutdown linux/slackware, but the pc (PSU) and cpu fan continues to run. I have to press the physical power button, or reset to start up, but it is concerning that shutdown doesn't work properly.
(I also have some issues with A8 9700 am4 cpus on asrock A320M-HDV boards as well, but that that is off the ryzen topic)
I have a ryzen5 2400G as well, on an asus B350 board. (with 32g 2400mhz ram), a 1TB evo970 M.2 nvme ssd, 1TB SATA SSD, 2G SATA SSD and 8TB spinning drive. I'm running slackware 14.2 (64bit) but with 4.19.10 kernel (huge, modules, source, and 20181218 firmware) taken from current. I have root on the 1tb sata ssd to avoid having to run the "current" installer for the nvme drive, and am booting in legacy mode rather than uefi mode.
I have a peculiar problem in that although if I reboot the system, it reboots just fine, if I run
Code:
shutdown -h now
it appears to shutdown linux/slackware, but the pc (PSU) and cpu fan continues to run. I have to press the physical power button, or reset to start up, but it is concerning that shutdown doesn't work properly.
(I also have some issues with A8 9700 am4 cpus on asrock A320M-HDV boards as well, but that that is off the ryzen topic)
I had a similar problem on my system (Asus B350M-A and Ryzen 2400G). It appeared when 4.19.0 first came out, 4.18 was fine.
I found if I disabled the AMDGPU drivers from loading, my system would then then power off properly. Unfortunately I haven't bothered to troubleshoot any further, since 4.19.2 and newer appeared to fix things for my system.
Do you have the latest BIOS for your boards? Most AM4 motherboards got an update about a month ago.
I have a peculiar problem in that although if I reboot the system, it reboots just fine, if I run
Code:
shutdown -h now
it appears to shutdown linux/slackware, but the pc (PSU) and cpu fan continues to run. I have to press the physical power button, or reset to start up, but it is concerning that shutdown doesn't work properly.
I had the "no power-off" issue also for a while on 4.18 & early 4.19. I don't recall which one, but a later 4.19 kernel update fixed it. 4.19.13 & 4.19.14 work fine for me.
I had problems with that in my new machine FX-8320E/Gigabyte 970A-DS3P (not so 'new' ) I assembled in September last year.
Boot was stuck for ~20 seconds at those messages. I found the solution was adding iommu=soft at the append line in lilo.conf.
Also, there is an option in BIOS 'IOMMU Controller', it must be enabled.
Try "iommu=pt" (if your kernel supports it), which might give better performance - particularly with Virtualisation. pt = passthrough
As I understand it; this allows for some hardware acceleration, rather than using the pure software (SWIOTLB) iommu.
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Rep:
the latest bios is 4207 (13th dec 2018 )which I have already, and my kernel is more recent than 19.2. I've raise a tech support query with asus and will report back what they have to say. how did you disable amdgpu drivers from loading?
te output of lsmod is
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 932
Rep:
Quote:
Originally Posted by MarcT
Try "iommu=pt" (if your kernel supports it), which might give better performance - particularly with Virtualisation. pt = passthrough
As I understand it; this allows for some hardware acceleration, rather than using the pure software (SWIOTLB) iommu.
Thanks for the hint. I tested it but couldn't see any difference, maybe it does difference
in a more heavy loaded system than mine.
I think that for passthrough works it should be enable in kernel, or not?
Code:
zgrep IOMMU /proc/config.gz
CONFIG_GART_IOMMU=y
# CONFIG_CALGARY_IOMMU is not set
CONFIG_VFIO_IOMMU_TYPE1=m
# CONFIG_VFIO_NOIOMMU is not set
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y
# Generic IOMMU Pagetable Support
# CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
CONFIG_IOMMU_IOVA=y
CONFIG_AMD_IOMMU=y
CONFIG_AMD_IOMMU_V2=m
CONFIG_INTEL_IOMMU=y
CONFIG_INTEL_IOMMU_SVM=y
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
CONFIG_IOMMU_HELPER=y
# CONFIG_IOMMU_DEBUG is not set
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495
Rep:
asus recommended the following..
Quote:
In this case I recommend you make a CMOS reset of the BIOS by taking out the CMOS battery for 3-5 minutes while the PSU is unplugged. While the power cord from the PSU is still unplugged, press the power button down for 30 seconds to power discharge the unit. Then place the CMOS battery back in, plug in the PSU and try again.
After this go into the BIOS > Advanced Menu > APM Configuration, from here set the ERP Ready to Enabled S4 + S5 or Enabled S5 and set the Restore AC Power Loss to Last State and test the motherboard again.
I won't get access to the machine till monday, so will report how it works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.