LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-16-2024, 12:33 AM   #4561
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,016

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678

Quote:
Originally Posted by glennmcc View Post
[ installed ] - kernel-firmware-20240510_b9d2bf2-noarch-1
[ installed ] - kernel-generic-6.9.0-x86_64-2
[ installed ] - kernel-headers-6.9.0-x86-2
[ installed ] - kernel-modules-6.9.0-x86_64-2
[uninstalled] - kernel-source-6.9.0-noarch-2
I know that you are a long time slacker and confident in building your own kernels. Still, just to make sure, if you do:

Code:
cat /proc/version
Does the output indicate that the kernel was built recently. A common mistake when upgrading kernel packages is to forget to manually updating the bootloader. I don't think you made that mistake, but just to make sure...

Otherwise, maybe there are some more instructions disabled in the 6.9 kernel?

regards Henrik
 
Old 05-16-2024, 12:56 AM   #4562
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,610

Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481
I for one I have NO issues with the stock 6.9.0 kernel on fancy and modern CPUs like Intel Core2 Duo P8600 on my laptop, and Intel i5-3570s on my mini-PC HP Elite 8300 USDT.

BUT, I use since loong time the parameter "mitigations=off" on the kernel command line, as I do NOT believe on the chimerical hardware security issues from where some smart people earn honest moneys.

BTW, did you noticed that the discovery of these hardware flaws had become a sport after the Google, Intel and AMD started to pay royally for them?

Guys, stop biting on that academic crap before your CPUs will arrive to have the computation power of a Z80 and a ZX Spectrum will start challenging the performances of your fancy box.

My honest suggestion for you is just to add "mitigations=off" on the kernel command line, reboot the box and call a day.

PS. The kernel config can have a nice CONFIG_CPU_MITIGATIONS=n for cutting this crap from its very root. Anyway, the ones skilled enough to be really concerned by these mythical hardware flaws, also are skilled enough to build and deploy their own kernel packages.

Last edited by LuckyCyborg; 05-16-2024 at 02:39 AM.
 
5 members found this post helpful.
Old 05-16-2024, 03:41 AM   #4563
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,348

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
After disable mitigations on kernel , all fine here.
 
2 members found this post helpful.
Old 05-16-2024, 03:50 AM   #4564
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,060

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
A few weeks ago I participated in a Linux meeting, where one of the speakers practically demonstrated that the overall impact of Linux mitigations on the current computing power is about 50%.

So, by disabling mitigations, the computing power of your computer doubles.

I believe that the impact of the mitigations is already so great that their general usefulness is questionable. Anyway, today most of the computers that are hacked happen through Social Engineering. Probably 99.99% of them.

Last edited by ZhaoLin1457; 05-16-2024 at 03:57 AM.
 
4 members found this post helpful.
Old 05-16-2024, 04:38 AM   #4565
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,309

Rep: Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097
For Pat, i have compiled qt6-6.7.1 on same git version, this version compil fine without problem, with 'ninja-1.12.1' and also qtwebengine without the ninja patch.

new date for the qt6.6.7.1 release, is here:

https://wiki.qt.io/Qt_6.7_Release
 
4 members found this post helpful.
Old 05-16-2024, 08:45 AM   #4566
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,201

Rep: Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777
Quote:
Originally Posted by Gerard Lally View Post
On the advice of 0XBF, am requesting the inclusion of bcachefs-tools, so that the bcachefs file system, now in the mainline Linux kernel, can be used and managed on Slackware.

https://evilpiepirate.org/git/bcachefs-tools.git
Thank you Pat for the prompt response.
 
1 members found this post helpful.
Old 05-16-2024, 10:11 AM   #4567
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 587

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Quote:
Originally Posted by henca View Post
I know that you are a long time slacker and confident in building your own kernels. Still, just to make sure, if you do:

Code:
cat /proc/version
Does the output indicate that the kernel was built recently. A common mistake when upgrading kernel packages is to forget to manually updating the bootloader. I don't think you made that mistake, but just to make sure...

Otherwise, maybe there are some more instructions disabled in the 6.9 kernel?

regards Henrik
Yes, lilo was re-run after the upgrade to kernel-generic-6.9.0-x86_64-2

Here's a fresh boot-up to that that system.

cat /proc/version shows that the system is booted to Patrick's new kernel.

And as we see on the startx messages, I added mitigations=off at the lilo boot prompt.

But still, X will not start.

Code:
Welcome to Linux 6.9.0 x86_64 (tty1)

glennmcc-i7 login: root
Password:
Last login: Thu May 16 00:46:56 on tty1
Linux 6.9.0.

You don't have to know how the computer
works, just how to work the computer.


root@glennmcc-i7:~# cat /proc/version
Linux version 6.9.0 (root@z-mp.slackware.lan) (gcc (GCC) 14.1.0, GNU ld version 2.42-slack151) #1 SMP PREEMPT_DYNAMIC Wed May 15 15:18:37 CDT 2024



root@glennmcc-i7:~# startx
xauth:  file /root/.serverauth.1162 does not exist


X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
Current Operating System: Linux glennmcc-i7.net 6.9.0 #1 SMP PREEMPT_DYNAMIC Wed May 15 15:18:37 CDT 2024 x86_64
Kernel command line: BOOT_IMAGE=SlackWare64b ro root=811 vt.default_utf8=0 mitigations=off

Current version of pixman: 0.43.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 16 11:00:10 2024
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
 additional information.(EE) (EE) Server terminated with error (1). Closing log file.oundation support   at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" forxinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
These are the startx messages from before the upgrade to kernel-generic-6.9.0-x86_64-2
but rather while booted to the kernel I built.

Code:
root@glennmcc-i7:~# startx
xauth: file /root/.serverauth.1240 does not exist


X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
Current Operating System: Linux glennmcc-i7.net 6.8.9 #2 SMP PREEMPT_DYNAMIC Wed May 15 17:57:30 EDT 2024 x86_64
Kernel command line: BOOT_IMAGE=SlackWare64b ro root=811 vt.default_utf8=0

Current version of pixman: 0.43.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed May 15 18:24:55 2024
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.erver lostp.DisplayManager.AccountsService?libEGL warning: DRI2: failed to authenticateMESA: error: ZINK: fa
As we see, my fresh build of 6.8.9 works fine.

However, my fresh build of 6.9.0 does not.

Code:
root@glennmcc-server:~# startx
xauth: file /root/.serverauth.1203 does not exist


X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
Current Operating System: Linux glennmcc-server.net 6.9.0 #1 SMP PREEMPT_DYNAMIC Wed May 15 17:12:46 EDT 2024 x86_64
Kernel command line: BOOT_IMAGE=SlackWare64b ro root=811 vt.default_utf8=0

Current version of pixman: 0.43.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed May 15 17:59:38 2024
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
additional information.(EE) (EE) Server terminated with error (1). Closing log file.oundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" forxinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Last edited by glennmcc; 05-16-2024 at 10:26 AM.
 
Old 05-16-2024, 10:34 AM   #4568
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 587

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Just now created a slackware64-current install DVD from the full tree.

I'll now boot the i7 machine to that DVD, reformat that partition in question and do a complete install.

If one or more of the 3rd party packages installed here was causing these problems...
it won't happen on the new install.

Be back later.

Installation now underway.

Chose the expert mode and un-checked only one item... the huge kernel.

________

Had to take a photograph of the screen to show what happens when attempting to boot this fresh install.

It will not boot.. says that the superblock can't be read.

And that partition was formatted by the install DVD

So it looks like booting to the 6.9 kernel on the install DVD is then not correctly formatting the HDD
Attached Thumbnails
Click image for larger version

Name:	IMG_0086.jpg
Views:	43
Size:	245.3 KB
ID:	42815  

Last edited by glennmcc; 05-16-2024 at 11:39 AM.
 
Old 05-16-2024, 11:33 AM   #4569
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 587

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Have now reformatted that partition while booted to slackware64-15.0 on the other HDD

New install underway without choosing to format during the install.

Again... everything except the huge kernel is being installed.
_____________

OK, now it boots but X still will not start
even with mitigations=off added at the lilo boot prompt.

Code:
Welcome to Linux 6.9.0 x86_64 (tty1)

glennmcc-i7-fresh login: root
Password:
Last login: Thu May 16 12:58:27 on tty1
Linux 6.9.0.

The more he talked of his honor the faster we counted our spoons.
                -- Ralph Waldo Emerson

root@glennmcc-i7-fresh:~# startx
xauth:  file /root/.serverauth.998 does not exist


X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
Current Operating System: Linux glennmcc-i7-fresh.net 6.9.0 #1 SMP PREEMPT_DYNAMIC Wed May 15 15:18:37 CDT 2024 x86_64
Kernel command line: BOOT_IMAGE=SlackWare64b ro root=811 vt.default_utf8=0 mitigations=off

Current version of pixman: 0.43.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 16 13:00:10 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
ase also check the log file at "/var/log/Xorg.0.log" for additional information.(EE) (EE) Server terminated with error (1). Closing log file.oundation support   at http://wiki.x.org for help. (EE) Plexinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Removed the generic kernel, installed the huge kernel, re-ran lilo, rebooted.

Code:
Welcome to Linux 6.9.0 x86_64 (tty1)

glennmcc-i7-fresh login: root
Password:
Last login: Thu May 16 13:00:05 on tty1
Linux 6.9.0.

What fools these mortals be.
                -- Lucius Annaeus Seneca

root@glennmcc-i7-fresh:~# startx
xauth:  file /root/.serverauth.1021 does not exist


X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
Current Operating System: Linux glennmcc-i7-fresh.net 6.9.0 #1 SMP PREEMPT_DYNAMIC Wed May 15 15:17:07 CDT 2024 x86_64
Kernel command line: BOOT_IMAGE=SlackWare64b ro root=811 vt.default_utf8=0

Current version of pixman: 0.43.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 16 13:10:34 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
ase also check the log file at "/var/log/Xorg.0.log" for additional information.(EE) (EE) Server terminated with error (1). Closing log file.oundation support   at http://wiki.x.org for help. (EE) Plexinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error


root@glennmcc-i7-fresh:~# ls -l /boot/vmlinuz
lrwxrwxrwx 1 root root 18 May 16 13:08 /boot/vmlinuz -> vmlinuz-huge-6.9.0

Last edited by glennmcc; 05-16-2024 at 12:16 PM.
 
Old 05-16-2024, 11:47 AM   #4570
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,613

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
The times I've had x not start, my root partition was full, or there was a problem with the hard disk. Did your drive die?
 
Old 05-16-2024, 12:16 PM   #4571
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,939

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by glennmcc View Post
Code:
also check the log file at "/var/log/Xorg.0.log" for additional information.
What is there in /var/log/Xorg.0.log ? With working X (kernel < 6.9), what is the output of 'inxi -G' ?
 
Old 05-16-2024, 12:29 PM   #4572
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 587

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Quote:
Originally Posted by Petri Kaukasoina View Post
What is there in /var/log/Xorg.0.log ? With working X (kernel < 6.9), what is the output of 'inxi -G' ?
Here on 15.0
http://glennmcc.org/Xorg.0.log-15.0-txt

And the failed attempt on current
http://glennmcc.org/Xorg.0.log-current-6.9.txt

Will check 'inxi -G' after rebooting into current.
____

OK, here it is...

Code:
root@glennmcc-i7-fresh:~# inxi -G
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: N/A
  Display: server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.7 driver: X: loaded: vesa
    unloaded: modesetting gpu: N/A tty: 200x75
  API: EGL v: 1.5 drivers: swrast platforms: surfaceless,device
  API: OpenGL Message: GL data unavailable in console for root.
  API: Vulkan v: 1.3.275 drivers: N/A surfaces: N/A
And in 15.0...

Code:
root@glennmcc-i7:~# inxi -G
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: N/A
  Display: server: X.org 1.20.14 driver: loaded: N/A unloaded: fbdev tty: 200x75
  Message: Advanced graphics data unavailable in console for root.

Last edited by glennmcc; 05-16-2024 at 12:39 PM.
 
Old 05-16-2024, 12:42 PM   #4573
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,939

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
According to your 15.0 Xorg.0.log, you load /usr/lib64/xorg/modules/drivers/fbdev_drv.so. What does this tell in 15.0:
Code:
grep fbdev_drv.so /var/adm/packages/*
I don't have that file in 15.0 or current. Have you installed it separately?
 
Old 05-16-2024, 12:47 PM   #4574
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,939

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
OK, found it. It's in extra: You need to install
https://mirrors.slackware.com/slackw...0-x86_64-2.txz

Last edited by Petri Kaukasoina; 05-16-2024 at 12:58 PM.
 
Old 05-16-2024, 12:48 PM   #4575
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,016

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Quote:
Originally Posted by LuckyCyborg View Post
BUT, I use since loong time the parameter "mitigations=off" on the kernel command line, as I do NOT believe on the chimerical hardware security issues from where some smart people earn honest moneys.
Yes, for a PC running Linux where there is only one configured normal user account there is no need to care about those mitigations.

However, for systems with multiple users supposed to have secrets they want to keep for themselves those mitigations should be considered. Examples of such systems are web hotels.

regards Henrik
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration