LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-01-2019, 03:05 PM   #1
oddius_oddone
LQ Newbie
 
Registered: Dec 2018
Location: Hawaii
Distribution: Slackware 14.2, Slackware -current, Zorin, Devuan
Posts: 14

Rep: Reputation: Disabled
-current upgrade to 5.4.1, cannot connect to internet and no keyboard/mouse in X


I know there were some other links to similar issues,
https://www.linuxquestions.org/quest...urrent-947120/
https://www.linuxquestions.org/quest...orking-943408/

I checked those and both were caused by not running
Code:
slackpkg install-new
which I did do.

My most recent update/install-new/upgrade-all upgraded my desktop to 5.4.1. I was looking forward to using it, however when I booted my computer I saw several error messages of the form:
Code:
[    4.775853] udevd[699]: ctx=0x16d6d00 path=/lib/modules/5.4.1/kernel/drivers/usb/host/ohci-hcd.ko error=No such file or directory
I had never seen these messages before so I attempted to redo the updates, thinking maybe something didn't install right. Unfortunately when I attempted to run the slackpkg commands I found that my network wasn't working.

Running ifconfig showed only lo, and not eth0. My desktop does not have a wireless adapter, so I didn't expect to see it. I also went to /etc/rc.d/ and checked that rc.inet1 was set to executable. I finally ran netconfig to see if NetworkManager could auto fix it.

I found the second issue when I attempted to startx to check if NetworkManager was working. My cursor was in the middle of the screen and my keyboard and mouse were non-responsive. I couldn't get back to TTY without a hard reboot. I attempted using X with multiple installed Desktop Environments and Window Managers to see if it was just one.

I'm posting this from my laptop since my desktop is mostly unusable. I'm a college student with somewhat limited time, is this something that can be fixed or would my time be better used if I just backup my files and reinstall?

Edit: I did run lilo to update the bootloader

Last edited by oddius_oddone; 12-01-2019 at 04:56 PM.
 
Old 12-01-2019, 03:13 PM   #2
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 779

Rep: Reputation: 173Reputation: 173
here's what I see

Quote:
-rw-r--r-- 1 root root 70616 Nov 30 15:47 /lib/modules/5.4.1/kernel/drivers/usb/host/ohci-hcd.ko
-rw-r--r-- 1 root root 12232 Nov 30 15:47 /lib/modules/5.4.1/kernel/drivers/usb/host/ohci-pci.ko
-rw-r--r-- 1 root root 16488 Nov 30 15:47 /lib/modules/5.4.1/kernel/drivers/usb/host/ohci-platform.ko
maybe something didn't work when you did your most recent update/install-new/upgrade-all?
 
Old 12-01-2019, 03:31 PM   #3
ZhaoLin1457
Member
 
Registered: Jan 2018
Posts: 373

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Most likely the OP do not ran yet LILO to update the bootloader, and probably he uses the huge kernel, then he still uses the previous installed kernel with no modules.
 
1 members found this post helpful.
Old 12-01-2019, 04:54 PM   #4
oddius_oddone
LQ Newbie
 
Registered: Dec 2018
Location: Hawaii
Distribution: Slackware 14.2, Slackware -current, Zorin, Devuan
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ZhaoLin1457 View Post
Most likely the OP do not ran yet LILO to update the bootloader, and probably he uses the huge kernel, then he still uses the previous installed kernel with no modules.
I did run /sbin/lilo. Although I am running the generic huge kernel. I will edit my post to reflect that!

Last edited by oddius_oddone; 12-01-2019 at 04:58 PM.
 
Old 12-01-2019, 04:55 PM   #5
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,673

Rep: Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606
or elilo and didn't copy new kernel to the efi partition
 
Old 12-01-2019, 05:44 PM   #6
oddius_oddone
LQ Newbie
 
Registered: Dec 2018
Location: Hawaii
Distribution: Slackware 14.2, Slackware -current, Zorin, Devuan
Posts: 14

Original Poster
Rep: Reputation: Disabled
Running ls on
Code:
/lib/modules/5.4.1/kernel/
reveals that the folder is empty.

Last edited by oddius_oddone; 12-01-2019 at 05:46 PM.
 
Old 12-01-2019, 05:46 PM   #7
oddius_oddone
LQ Newbie
 
Registered: Dec 2018
Location: Hawaii
Distribution: Slackware 14.2, Slackware -current, Zorin, Devuan
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
or elilo and didn't copy new kernel to the efi partition
I didn't use elilo, I stuck with regular Lilo.
 
Old 12-01-2019, 05:55 PM   #8
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 187

Rep: Reputation: 38
I have been having similar issues after updates with slackpkg, after updates I have needed to run slackpkg install kernel.
 
Old 12-01-2019, 06:05 PM   #9
ZhaoLin1457
Member
 
Registered: Jan 2018
Posts: 373

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Quote:
Originally Posted by oddius_oddone View Post
Running ls on
Code:
/lib/modules/5.4.1/kernel/
reveals that the folder is empty.
Then, you failed the upgrade or you are a victim of some bug on slackpkg.

So, did you use Slackware i586 or x96_64? For the later, you need this package downloaded with another computer:

https://mirrors.slackware.com/slackw...1-x86_64-1.txz

Then, in your computer, to upgrade it manually:
Code:
upgradepkg --reinstall --install-new /path/to/kernel-modules-5.4.1-x86_64-1.txz
Further, you may want to consider other packages with upgrading issues.

And for the future, I recommend you to make a Slackware system on a small USB hard drive, because it is very useful on debugging a failed installation.

That's what I do, with a spare 80GB hard drive from an old laptop, mounted in a cheap USB enclosure and where I have a full installation of slackware-current and a mirror of slackware-current, of course.

It is very handy, but there's a little trick: to use in fstab, lilo.conf and initrd generation instead of absolute devices like /dev/sdd2 instead their UUIDs. This way, the partitions setup from the USB hard drive survive to the movement on whatever computer.

Last edited by ZhaoLin1457; 12-01-2019 at 06:12 PM.
 
1 members found this post helpful.
Old 12-01-2019, 06:11 PM   #10
oddius_oddone
LQ Newbie
 
Registered: Dec 2018
Location: Hawaii
Distribution: Slackware 14.2, Slackware -current, Zorin, Devuan
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ZhaoLin1457 View Post
Then, you failed the upgrade or you are a victim of some bug on slackpkg.

So, did you use Slackware i586 or x96_64? For the later, you need this package downloaded with another computer:

https://mirrors.slackware.com/slackw...1-x86_64-1.txz

Then, in your computer, to upgrade it manually:
Code:
upgradepkg --reinstall --install-new /path/to/kernel-modules-5.4.1-x86_64-1.txz
Further, you may want to consider other packages with upgrading issues.

And for the future, I recommend you to make a Slackware system on a small USB hard drive, because it is very useful on debugging a failed installation.

That's what I do, with a spare 80GB hard drive from an old laptop, mounted in a cheap USB enclosure and where I have a full installation of slackware-current and a mirror of slackware-current, of course. It is very handy.
Thank you, I'm gonna reinstall. I have everything set up so it shouldn't take me too long to reinstall, I guess this is a learning experience.
 
Old 12-07-2019, 09:12 AM   #11
thim
Member
 
Registered: Nov 2013
Location: Greece
Distribution: Slackware64 current
Posts: 63

Rep: Reputation: 29
Had the same problem. Ran lilo (and lilo -v) before the reboot but 1)had not create a new initrd 2)had left the (previous) generic as default option in lilo. To solve this, i "chrooted", comment in lilo.conf the line that sets the default option run lilo and lilo -v and reboot.
(afterwards i create the new initrd etc etc)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mouse not working on Damn Small Linux | Mouse: Omega Optical Mouse (16c Gaming Mouse) AndyDeveloper Linux - Hardware 3 04-09-2017 02:32 PM
hp wireless keyboard & mouse, keyboard works, mouse do not work not working john hughes Linux - Desktop 2 04-04-2016 12:00 PM
[SOLVED] Keyboard and mouse stop working in x after upgrade to current damgar Slackware 2 05-27-2012 01:07 PM
update to current - mouse and keyboard not working lukkon Slackware 37 05-07-2012 08:11 PM
Bluetooth mouse and keyboard connect, mouse doesn't work BallsOfSteel Linux - Hardware 2 05-25-2008 02:09 AM

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

All times are GMT -5. The time now is 03:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration