LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-20-2022, 11:58 AM   #1
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Rep: Reputation: 3
Exclamation Startx broken


I installed slackpkg plus and unchecked unchecked nearly every mirror and copied alienbobs suggested config for slackpkgplus. Ran several update,upgrade and gpg commands to get it working and then I saw a new kernel was installed. So I replaced the old file with the new one and now start x is broken again and won't start. I am using /X11/xorg.conf.d as my as xorg path. I receive a "
Code:
nal information. (EE) (EE) Server terminated with error (1). Closing lof file.tio
Xinit: giving up
Xinit: unable to connect to X server: Bad file discriptor
Xinit: server error
(II) LOADMODULE: 'FBDEV'
...WARNING COULDN'T LOAD 'FBDEV'
...(WW) WARNING, COULDN'T OPEN MODULE FBDEV
....vesa: driver for modsetting
.... (EE) open /dev/dri/card0: no such file or directory
(WW) Falling back to old prove method for modsetting
(EE) OPEN /dev/dri/card0: no file or directory
vesa: Refusing to run on UEFI
(EE) Screen 0 deleted because of no matching config setting
I know it has to do with the kernel and xorg conf files. What should i do?

Last edited by naarter; 04-20-2022 at 12:19 PM.
 
Old 04-20-2022, 12:22 PM   #2
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
I think it has something to do with the kernel and files in /etc/x11/xinit
 
Old 04-20-2022, 12:30 PM   #3
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Rep: Reputation: 60
Who makes your GPU? At least Nvidia requires a rebuild to run with a new kernel...
 
Old 04-20-2022, 12:37 PM   #4
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,791

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
Code:
  Be sure to upgrade your initrd after upgrading the kernel packages.
  If you use lilo to boot your machine, be sure lilo.conf points to the correct
  kernel and initrd and run lilo as root to update the bootloader.
  If you use elilo to boot your machine, you should run eliloconfig to copy the
  kernel and initrd to the EFI System Partition.
 
Old 04-20-2022, 01:12 PM   #5
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Petri Kaukasoina View Post
Code:
  Be sure to upgrade your initrd after upgrading the kernel packages.
  If you use lilo to boot your machine, be sure lilo.conf points to the correct
  kernel and initrd and run lilo as root to update the bootloader.
  If you use elilo to boot your machine, you should run eliloconfig to copy the
  kernel and initrd to the EFI System Partition.
initrd -- command not found
Eliloconfig -- no EFI system partition mounted on /boot/EFI

My /boot/efi is empty and in /boot there is config-generic-5.15.27.x86 and the respective huge keenel

Last edited by naarter; 04-20-2022 at 01:35 PM. Reason: I am trying
 
Old 04-20-2022, 01:23 PM   #6
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
I am also thinking of using efibootmgr.
 
Old 04-20-2022, 01:52 PM   #7
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,791

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
What does
Code:
uname -r
tell you? My guess is it's not 5.15.27. The primary problem is that you upgraded stuff without reading the ChangeLog.txt first. The text in post #4 was from ChangeLog.txt. Because of that you did not run eliloconfig. Now you are probably running an old kernel (5.15.19 ?) but without corresponding modules.

Last edited by Petri Kaukasoina; 04-20-2022 at 01:57 PM.
 
Old 04-20-2022, 02:08 PM   #8
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Petri Kaukasoina View Post
What does
Code:
uname -r
tell you? My guess is it's not 5.15.27. The primary problem is that you upgraded stuff without reading the ChangeLog.txt first. The text in post #4 was from ChangeLog.txt. Because of that you did not run eliloconfig. Now you are probably running an old kernel (5.15.19 ?) but without corresponding modules.
5.15.19

Can I fix this?
 
Old 04-20-2022, 02:25 PM   #9
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,791

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
Quote:
Originally Posted by naarter View Post
initrd -- command not found
This is the Slackware Security Advisory for the kernel 5.15.27 update: http://www.slackware.com/security/vi...ecurity.691827 You can find the command line to rebuild the initrd there, in the "Installation instructions".
 
Old 04-20-2022, 02:27 PM   #10
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,791

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
Quote:
Originally Posted by naarter View Post
5.15.19

Can I fix this?
Try to mount /boot/efi and then run eliloconfig (if you are using elilo).
 
Old 04-20-2022, 02:37 PM   #11
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,791

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
It it does not work out, you could fetch the original modules package and downgrade to that:
Code:
wget https://mirrors.slackware.com/slackware/slackware64-15.0/slackware64/a/kernel-modules-5.15.19-x86_64-2.txz
upgradepkg kernel-modules-5.15.19-x86_64-2.txz
The reboot and do the upgrade again according to instructions.
 
Old 04-20-2022, 04:05 PM   #12
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
I changed certain options on my bios and now it's not booting. I have a t460, what are some issues related to this? UEFI?
 
Old 04-20-2022, 04:07 PM   #13
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
I tried addressing the bios by changing some settings and now I camt boot into the OS. I MADE a few changes to the UEFI and boot settings. What are some issues that could contribute to this?
 
Old 04-20-2022, 05:36 PM   #14
scuzzy_dog
Member
 
Registered: Apr 2021
Location: Free State of Texas (somewhat free)
Posts: 108

Rep: Reputation: Disabled
Before going any further get your machine to boot.

Try setting, in BIOS, to use Legacy Mode. Or if that's already set then don't use it.

If you have to just reset the BIOS to Defaults - most have that ability.

Once you can boot again try deleting your xorg.conf. Make a backup first. I haven't had to make my own in a long time. It mostly just works.

You didn't answer the question - are you running nvidia?

Also - did you install using lilo, elilo, grub?
 
  


Reply

Tags
kernel, slackpkg bite again!, startx, xinit, xorg



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
(nvidia) First startx = blank screen, second startx = works ?!? BuckRogers01 Linux - Hardware 2 04-07-2006 05:26 PM
WHY should I type startx twice to startx? hiux Debian 6 09-09-2005 09:12 AM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 12:11 PM

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

All times are GMT -5. The time now is 09:40 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