Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Xerox does it again and again and again and ...


computers / alt.os.linux.slackware / Re: Cannot access KDE after updating kernel

SubjectAuthor
* Cannot access KDE after updating kernelUser
`* Re: Cannot access KDE after updating kernelChris Elvidge
 `* Re: Cannot access KDE after updating kernelUser
  +- Re: Cannot access KDE after updating kernelUser
  `* Re: Cannot access KDE after updating kernelHenrik Carlqvist
   `* Re: Cannot access KDE after updating kernelUser
    `- Re: Cannot access KDE after updating kernelSteve G

1
Cannot access KDE after updating kernel

<t1vldp$4od$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1099&group=alt.os.linux.slackware#1099

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: user@example.net (User)
Newsgroups: alt.os.linux.slackware
Subject: Cannot access KDE after updating kernel
Date: Tue, 29 Mar 2022 15:07:28 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <t1vldp$4od$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 29 Mar 2022 19:07:38 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8b01a2275a73a09c0dbd325056ce6560";
logging-data="4877"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3BboVzTRitM3mNHpgT2rotXMqKEUSK3c="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:cRumFvPsG/yNDO6Qg+5dt2KV+jE=
Content-Language: en-US
 by: User - Tue, 29 Mar 2022 19:07 UTC

Running Slackware15.0 installed to NVME drive on a new laptop using
UEFI/GPT.

After updating the kernel through slackpkg upgrade-all I get the
following warning:

"Your kernel image was updated, and lilo does not appear to be used on
your system. You may need to adjust your boot manager (like GRUB) to
boot the appropriate kernel (after generating an initrd if required).
Press the "Enter" key to continue."

After rebooting I can still log into Slackware but cannot launch KDE. I
get the following messages when typing 'startx'

xinit: giving up
xinit: unable to connect to Xserver: Bad file descriptor
xinit: server error

Re: Cannot access KDE after updating kernel

<t1vuc4$bgr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1100&group=alt.os.linux.slackware#1100

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: chris@mshome.net (Chris Elvidge)
Newsgroups: alt.os.linux.slackware
Subject: Re: Cannot access KDE after updating kernel
Date: Tue, 29 Mar 2022 22:40:00 +0100
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <t1vuc4$bgr$1@dont-email.me>
References: <t1vldp$4od$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 29 Mar 2022 21:40:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bd3638f3c35adf223038c451cb31ccf0";
logging-data="11803"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/63/ohWVLywqwJu3NHB8xJ9zvAFC0fofQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.2.1 Lightning/5.4
Cancel-Lock: sha1:EavhYIW547YGrNTUcgcbAzjoNAM=
In-Reply-To: <t1vldp$4od$1@dont-email.me>
Content-Language: en-GB
 by: Chris Elvidge - Tue, 29 Mar 2022 21:40 UTC

On 29/03/2022 20:07, User wrote:
> Running Slackware15.0 installed to NVME drive on a new laptop using
> UEFI/GPT.
>
> After updating the kernel through slackpkg upgrade-all I get the
> following warning:
>
> "Your kernel image was updated, and lilo does not appear to be used on
> your system. You may need to adjust your boot manager (like GRUB) to
> boot the appropriate kernel (after generating an initrd if required).
> Press the "Enter" key to continue."
>
> After rebooting I can still log into Slackware but cannot launch KDE. I
> get the following messages when typing 'startx'
>
> xinit: giving up
> xinit: unable to connect to Xserver: Bad file descriptor
> xinit: server error
>
>
>
>

Is your kernel (uname -r) the updated kernel?
If not - elilo or grub? Try (as root)
elilo: use pkgtool/setup to update initrd and eliloconfig
grub: try grub-mkconfig -o /boot/grub/grub.cfg to update

--
Chris Elvidge
England

Re: Cannot access KDE after updating kernel

<t21q5t$teb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1103&group=alt.os.linux.slackware#1103

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: user@example.net (User)
Newsgroups: alt.os.linux.slackware
Subject: Re: Cannot access KDE after updating kernel
Date: Wed, 30 Mar 2022 10:40:50 -0400
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <t21q5t$teb$1@dont-email.me>
References: <t1vldp$4od$1@dont-email.me> <t1vuc4$bgr$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 30 Mar 2022 14:41:01 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="54280f50675f67b7f825dae62b9e4f2f";
logging-data="30155"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7F87Q+K3MllyT10+tgNafed82aplHKRs="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:AkMoABOXbwViDv4naMSJQ7F9YHE=
In-Reply-To: <t1vuc4$bgr$1@dont-email.me>
Content-Language: en-US
 by: User - Wed, 30 Mar 2022 14:40 UTC

On 3/29/2022 5:40 PM, Chris Elvidge wrote:
> On 29/03/2022 20:07, User wrote:
>> Running Slackware15.0 installed to NVME drive on a new laptop using
>> UEFI/GPT.
>>
>> After updating the kernel through slackpkg upgrade-all I get the
>> following warning:
>>
>> "Your kernel image was updated, and lilo does not appear to be used on
>> your system.  You may need to adjust your boot manager (like GRUB) to
>> boot the appropriate kernel (after generating an initrd if required).
>> Press the "Enter" key to continue."
>>
>> After rebooting I can still log into Slackware but cannot launch KDE.
>> I get the following messages when typing 'startx'
>>
>> xinit: giving up
>> xinit: unable to connect to Xserver: Bad file descriptor
>> xinit: server error
>>
>>
>>
>>
>
> Is your kernel (uname -r) the updated kernel?
> If not - elilo or grub? Try (as root)
> elilo: use pkgtool/setup to update initrd and eliloconfig
> grub: try grub-mkconfig -o /boot/grub/grub.cfg to update
>
>

Thank you for your help. I figured out how to get it working after
quite a bit of trial and error.

I upgraded from 5.15.19 to 5.15.27. (uname -r) was still showing
5.15.19 after rebooting. It got more complicated because I was no
longer able to mount the /boot/efi partition (unknown filesystem type
'vfat').

Essentially have to run mkinitrd (see /boot/README.initrd) and copy
initrid.gz and vmlinuz into /etc/efi/EFI/Slackware before rebooting.

Guru types lay out more sophisticated solutions here:
https://www.linuxquestions.org/questions/slackware-14/after-slackpkg-upgrade-all-upgrades-kernel-making-a-new-initramfs-is-necessary-but-not-automatic-right-4175709694-print/

Re: Cannot access KDE after updating kernel

<t22662$210$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1105&group=alt.os.linux.slackware#1105

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: user@example.net (User)
Newsgroups: alt.os.linux.slackware
Subject: Re: Cannot access KDE after updating kernel
Date: Wed, 30 Mar 2022 14:05:57 -0400
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <t22662$210$1@dont-email.me>
References: <t1vldp$4od$1@dont-email.me> <t1vuc4$bgr$1@dont-email.me>
<t21q5t$teb$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 30 Mar 2022 18:05:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0a74189ef91ed61f1390ce5ceb97885a";
logging-data="2080"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jCksRU9RCLT3mIiXK51PxCHQxZ4ab0Ww="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:IFfKvNhDDAdYWtRefWwJdvK3upU=
In-Reply-To: <t21q5t$teb$1@dont-email.me>
Content-Language: en-US
 by: User - Wed, 30 Mar 2022 18:05 UTC

On 3/30/2022 10:40 AM, User wrote:
> On 3/29/2022 5:40 PM, Chris Elvidge wrote:
>> On 29/03/2022 20:07, User wrote:
>>> Running Slackware15.0 installed to NVME drive on a new laptop using
>>> UEFI/GPT.
>>>
>>> After updating the kernel through slackpkg upgrade-all I get the
>>> following warning:
>>>
>>> "Your kernel image was updated, and lilo does not appear to be used
>>> on your system.  You may need to adjust your boot manager (like GRUB)
>>> to boot the appropriate kernel (after generating an initrd if
>>> required). Press the "Enter" key to continue."
>>>
>>> After rebooting I can still log into Slackware but cannot launch KDE.
>>> I get the following messages when typing 'startx'
>>>
>>> xinit: giving up
>>> xinit: unable to connect to Xserver: Bad file descriptor
>>> xinit: server error
>>>
>>>
>>>
>>>
>>
>> Is your kernel (uname -r) the updated kernel?
>> If not - elilo or grub? Try (as root)
>> elilo: use pkgtool/setup to update initrd and eliloconfig
>> grub: try grub-mkconfig -o /boot/grub/grub.cfg to update
>>
>>
>
> Thank you for your help.  I figured out how to get it working after
> quite a bit of trial and error.
>
> I upgraded from 5.15.19 to 5.15.27.  (uname -r) was still showing
> 5.15.19 after rebooting.  It got more complicated because I was no
> longer able to mount the /boot/efi partition (unknown filesystem type
> 'vfat').
>
> Essentially have to run mkinitrd (see /boot/README.initrd) and copy
> initrid.gz and vmlinuz into /etc/efi/EFI/Slackware before rebooting.
>
> Guru types lay out more sophisticated solutions here:
> https://www.linuxquestions.org/questions/slackware-14/after-slackpkg-upgrade-all-upgrades-kernel-making-a-new-initramfs-is-necessary-but-not-automatic-right-4175709694-print/
>
>
>
>

/boot/efi/EFI/Slackware

Re: Cannot access KDE after updating kernel

<t23gmm$klk$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1111&group=alt.os.linux.slackware#1111

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Henrik.Carlqvist@deadspam.com (Henrik Carlqvist)
Newsgroups: alt.os.linux.slackware
Subject: Re: Cannot access KDE after updating kernel
Date: Thu, 31 Mar 2022 06:11:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <t23gmm$klk$1@dont-email.me>
References: <t1vldp$4od$1@dont-email.me> <t1vuc4$bgr$1@dont-email.me>
<t21q5t$teb$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 31 Mar 2022 06:11:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="75eeb3d9aeb6c05ba5f749e3d9cce695";
logging-data="21172"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/pGcDRo0Y30b4Qur28YDi"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:Gtu2UnknaX/CUpb7NwRvEzu9i6o=
 by: Henrik Carlqvist - Thu, 31 Mar 2022 06:11 UTC

On Wed, 30 Mar 2022 10:40:50 -0400, User wrote:
> I upgraded from 5.15.19 to 5.15.27. (uname -r) was still showing
> 5.15.19 after rebooting.

The tricky part about upgrading the kernel is that it is not enough to
replace the kernel, you will also have to update the configuration of
your boot loader and different users choose different boot loaders.

Before applying patches it might be a good idea to read the changelog at
http://www.slackware.com/changelog/stable.php?cpu=x86_64

From that text:

-8<---------------------------------------------
+--------------------------+
Wed Mar 9 04:14:08 UTC 2022
patches/packages/linux-5.15.27/*: Upgraded.
These updates fix various bugs and security issues, including the
recently
announced "Dirty Pipe" vulnerability which allows overwriting data in
arbitrary read-only files (CVE-2022-0847).
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.
....
-8<---------------------------------------------

regards Henrik

Re: Cannot access KDE after updating kernel

<t24h30$ddq$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1113&group=alt.os.linux.slackware#1113

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: user@example.net (User)
Newsgroups: alt.os.linux.slackware
Subject: Re: Cannot access KDE after updating kernel
Date: Thu, 31 Mar 2022 11:24:15 -0400
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <t24h30$ddq$1@dont-email.me>
References: <t1vldp$4od$1@dont-email.me> <t1vuc4$bgr$1@dont-email.me>
<t21q5t$teb$1@dont-email.me> <t23gmm$klk$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 31 Mar 2022 15:24:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1f6774702f287195a0f4c207fd7ca7d2";
logging-data="13754"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18c+US3j/onON62DND0+2bqEDIBBjUsgm0="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:hFlqZupRoemQiOvcj7dPsxdS7yQ=
In-Reply-To: <t23gmm$klk$1@dont-email.me>
Content-Language: en-US
 by: User - Thu, 31 Mar 2022 15:24 UTC

On 3/31/2022 2:11 AM, Henrik Carlqvist wrote:
> On Wed, 30 Mar 2022 10:40:50 -0400, User wrote:
>> I upgraded from 5.15.19 to 5.15.27. (uname -r) was still showing
>> 5.15.19 after rebooting.
>
> The tricky part about upgrading the kernel is that it is not enough to
> replace the kernel, you will also have to update the configuration of
> your boot loader and different users choose different boot loaders.
>
> Before applying patches it might be a good idea to read the changelog at
> http://www.slackware.com/changelog/stable.php?cpu=x86_64
>
> From that text:
>
> -8<---------------------------------------------
> +--------------------------+
> Wed Mar 9 04:14:08 UTC 2022
> patches/packages/linux-5.15.27/*: Upgraded.
> These updates fix various bugs and security issues, including the
> recently
> announced "Dirty Pipe" vulnerability which allows overwriting data in
> arbitrary read-only files (CVE-2022-0847).
> 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.
> ...
> -8<---------------------------------------------
>
> regards Henrik

The following worked on lilo/elilo systems

# System running lilo
mkinitrd -c -k 5.15.27 -m ext4
lilo
reboot

# System running elilo
mkinitrd -c -k 5.15.27 -m ext4
eliloconfig
reboot

Re: Cannot access KDE after updating kernel

<87bkxiupxd.fsf@l0ft.tpl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1127&group=alt.os.linux.slackware#1127

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 03 Apr 2022 10:51:05 -0500
From: Sgonedes1977@gmail.com (Steve G)
Newsgroups: alt.os.linux.slackware
Subject: Re: Cannot access KDE after updating kernel
References: <t1vldp$4od$1@dont-email.me> <t1vuc4$bgr$1@dont-email.me>
<t21q5t$teb$1@dont-email.me> <t23gmm$klk$1@dont-email.me>
<t24h30$ddq$1@dont-email.me>
Date: Sun, 03 Apr 2022 11:50:22 -0400
Message-ID: <87bkxiupxd.fsf@l0ft.tpl>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:mkR0Z8c+Lp8P0QznAW4XicZhPsg=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 46
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-Qw1r9r2PZM6trNjZi6hal6WVTwcLzN4o+T1NQ/EAbJQrKMAN2Y5SQg/EJHNeEVHClTTNuDY1dsR+tF1!P6bqZWt71yrFAwqLTu0av+CvBf4f/kT8r5OA/EnHzQL8NROL
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2898
 by: Steve G - Sun, 3 Apr 2022 15:50 UTC

User <user@example.net> writes:

> On 3/31/2022 2:11 AM, Henrik Carlqvist wrote:
>> On Wed, 30 Mar 2022 10:40:50 -0400, User wrote:
>>> I upgraded from 5.15.19 to 5.15.27. (uname -r) was still showing
>>> 5.15.19 after rebooting.
>> The tricky part about upgrading the kernel is that it is not enough to
>> replace the kernel, you will also have to update the configuration of
>> your boot loader and different users choose different boot loaders.
>> Before applying patches it might be a good idea to read the changelog at
>> http://www.slackware.com/changelog/stable.php?cpu=x86_64
>> From that text:
>> -8<---------------------------------------------
>> +--------------------------+
>> Wed Mar 9 04:14:08 UTC 2022
>> patches/packages/linux-5.15.27/*: Upgraded.
>> These updates fix various bugs and security issues, including the
>> recently
>> announced "Dirty Pipe" vulnerability which allows overwriting data in
>> arbitrary read-only files (CVE-2022-0847).
>> 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.
>> ...
>> -8<---------------------------------------------
>> regards Henrik
>
> The following worked on lilo/elilo systems
>
> # System running lilo
> mkinitrd -c -k 5.15.27 -m ext4
> lilo
> reboot
>
> # System running elilo
> mkinitrd -c -k 5.15.27 -m ext4
> eliloconfig
> reboot

Make sure you have DRI selected in the drivers selection for X. I forgot
that one before...

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor