LinuxQuestions.org
Help answer threads with 0 replies.
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 07-16-2019, 11:05 PM   #1
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slack_64 14.2
Posts: 226

Rep: Reputation: 29
slackpkg update, now no keyboard or touch pad


After using my wife's old laptop for Slackware 14.2 for a few weeks, I found the battery life was abysmal <1.5 hours. So I decided to dual boot my current laptop, a Lenovo Thinkpad E565. I have 2 SSD's 1 for Windows 10, 1 for Slackware_64 14.2, so far so good.
I did a fresh install from an ISO burned to a DVD. Everything looked to be working well so I decided to update the install. I un-commented one of the mirrors, one I've used many times in the past.
Code:
HTTP://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/
Then I ran the following...
Code:
slackpkg update gpg

slackpkg update

slackpkg upgrade-all
I saw no issues, no errors. When I rebooted, the touch pad and keyboard no longer worked. Thinking I had picked a -current mirror, I reinstalled and did the updates again, this time making sure I picked a 14.2 mirror...same result. I reinstalled again, this time no updates and everything is working.

So, my question is, what packages should I not update?
 
Old 07-16-2019, 11:52 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
did you miss an initrd creation after updating the kernels?
 
Old 07-17-2019, 12:13 AM   #3
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slack_64 14.2
Posts: 226

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by willysr View Post
did you miss an initrd creation after updating the kernels?
This is possibly/probably the issue, although I've never had to do this in the past. This is the first UEFI system I've installed Slackware on, so I'm sure things have changed from all the MBR installs I've done.
 
Old 07-17-2019, 06:23 AM   #4
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Quote:
Originally Posted by ceh383 View Post
Then I ran the following...
Code:
slackpkg update gpg

slackpkg update

slackpkg upgrade-all
Recommended in the documentation is

Code:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
Depending on what iso you started with, install-new might be important so that you get not only upgrades but also vital stuff that's been added.
 
Old 07-17-2019, 10:43 PM   #5
akimmet
Member
 
Registered: Jul 2018
Location: NW Ohio, USA
Distribution: Slackware64 -current
Posts: 62

Rep: Reputation: 62
On a UEFI installation you need to make sure you copy the new kernel to your EFI partition. Slackpkg will not do this for you!
If you forgot, it means you are booting from the old kernel, but it can't find its modules since they were deleted when you upgraded.
This usually manifests as a system booting, but no network, keyboard, or mouse detected.

There are a few simple steps to fix this if that is your problem:

1. Boot from the installation media or some sort of live Linux distro.
2. Mount your root partition and EFI partition.
3. Copy from your root partition boot/vmlinuz to EFI/Slackware/vmlinuz on your EFI partition.
4. Reboot to your Slackware install.

That should be all you need to do if that was your problem. Next time run cp /boot/vmlinuz /boot/efi/EFI/Slackware/vmlinuz before you reboot.
However, it is a good idea to keep a backup kernel and modules installed and added to your /boot/efi/EFI/Slackware/elilo.conf.
Also as another note with upgrading Slackware 14.2, elilo was rebuilt to support larger kernels, but slackpkg won't copy it to your EFI partition when upgraded either. The new elilo is nice to have if you ever decide to build your own kernels.

Last edited by akimmet; 07-17-2019 at 10:45 PM.
 
2 members found this post helpful.
Old 07-17-2019, 10:57 PM   #6
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slack_64 14.2
Posts: 226

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by kgha View Post
Recommended in the documentation is

Code:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
Depending on what iso you started with, install-new might be important so that you get not only upgrades but also vital stuff that's been added.
Since this is a new clean install and there is nothing to lose, I tried the updates again. This time I added the "slackpkg install-new" command, same result, no keyboard or touch pad response.
From the slackware documentation...
Code:
The “clean-system” is technically only needed after you upgrade from one Slackware release to the next (say, from 14.1 to 14.2) and it is meant to remove any Slackware package which is not (or no longer) part of the core distribution.
So I did not use this.

It looks like the drivers are loaded as modules, so the initrd is necessary.
Is it this way because this is a EFI system?
I don't recall ever having this type issue with an MBR system, not even 2 weeks ago on a 10 year old laptop...Same install ISO and update commands.
 
Old 07-17-2019, 11:09 PM   #7
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slack_64 14.2
Posts: 226

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by akimmet View Post
On a UEFI installation you need to make sure you copy the new kernel to your EFI partition. Slackpkg will not do this for you!
If you forgot, it means you are booting from the old kernel, but it can't find its modules since they were deleted when you upgraded.
This usually manifests as a system booting, but no network, keyboard, or mouse detected.
You posted this as I was typing a reply...
I did not know this was required on an UEFI system, all my prior installs were MBR, so I did not forget...I just didn't know in the first place.
This makes perfect sense, thank you
 
Old 07-18-2019, 10:54 AM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ceh383 View Post
You posted this as I was typing a reply...
I did not know this was required on an UEFI system, all my prior installs were MBR, so I did not forget...I just didn't know in the first place.
This makes perfect sense, thank you
You can also just run eliloconfig and it will copy the kernel over for you.
 
Old 07-18-2019, 09:03 PM   #9
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slack_64 14.2
Posts: 226

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by akimmet View Post
On a UEFI installation you need to make sure you copy the new kernel to your EFI partition. Slackpkg will not do this for you!
If you forgot, it means you are booting from the old kernel, but it can't find its modules since they were deleted when you upgraded.
This usually manifests as a system booting, but no network, keyboard, or mouse detected.

There are a few simple steps to fix this if that is your problem:

1. Boot from the installation media or some sort of live Linux distro.
2. Mount your root partition and EFI partition.
3. Copy from your root partition boot/vmlinuz to EFI/Slackware/vmlinuz on your EFI partition.
4. Reboot to your Slackware install.

That should be all you need to do if that was your problem. Next time run cp /boot/vmlinuz /boot/efi/EFI/Slackware/vmlinuz before you reboot.
However, it is a good idea to keep a backup kernel and modules installed and added to your /boot/efi/EFI/Slackware/elilo.conf.
Also as another note with upgrading Slackware 14.2, elilo was rebuilt to support larger kernels, but slackpkg won't copy it to your EFI partition when upgraded either. The new elilo is nice to have if you ever decide to build your own kernels.
This was indeed the issue, thank you for the good information

Quote:
Originally Posted by bassmadrigal View Post
You can also just run eliloconfig and it will copy the kernel over for you.
This made it easy to copy the kernel, thank you for the suggestion.
 
Old 10-17-2021, 05:20 PM   #10
ForestuX
LQ Newbie
 
Registered: Oct 2019
Location: /bin/bash
Distribution: slackware
Posts: 25

Rep: Reputation: Disabled
It works!

Quote:
Originally Posted by akimmet View Post
On a UEFI installation you need to make sure you copy the new kernel to your EFI partition. Slackpkg will not do this for you!
If you forgot, it means you are booting from the old kernel, but it can't find its modules since they were deleted when you upgraded.
This usually manifests as a system booting, but no network, keyboard, or mouse detected.

There are a few simple steps to fix this if that is your problem:

1. Boot from the installation media or some sort of live Linux distro.
2. Mount your root partition and EFI partition.
3. Copy from your root partition boot/vmlinuz to EFI/Slackware/vmlinuz on your EFI partition.
4. Reboot to your Slackware install.

That should be all you need to do if that was your problem. Next time run cp /boot/vmlinuz /boot/efi/EFI/Slackware/vmlinuz before you reboot.
However, it is a good idea to keep a backup kernel and modules installed and added to your /boot/efi/EFI/Slackware/elilo.conf.
Also as another note with upgrading Slackware 14.2, elilo was rebuilt to support larger kernels, but slackpkg won't copy it to your EFI partition when upgraded either. The new elilo is nice to have if you ever decide to build your own kernels.
This solution worked for me too in a HP EliteBook 840.
Another machine running GNU/Linux Slackware
Thank you very much.
 
  


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
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
Synaptic touch pad and keyboard not detected on Toshiba Satellite metalkittykat Linux - Laptop and Netbook 8 11-24-2013 02:31 PM
how do I turn off touch to left click on my touch pad rob.rice Linux - General 5 05-31-2012 09:22 AM
keyboard, touch pad not working an_sush Linux - Hardware 1 12-18-2009 03:42 AM
Error 17 GRUB Loading stage 1.5, please wait. No keyboard/touch pad response, Unable digital8doug Linux - Newbie 9 10-02-2006 03:14 PM

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

All times are GMT -5. The time now is 10:19 AM.

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