LinuxQuestions.org
Review your favorite Linux distribution.
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 03-22-2016, 01:27 PM   #1
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Rep: Reputation: Disabled
Question Slackware-current depmod can't find lib/modules


Hello Everyone,

I tried install slackware-current 32bit 3-21-2016. When i try
to log on i get depmod can't find /lib/modules/kernel-4.4.4
which is odd because, i have kernel-4.4.6.
 
Old 03-22-2016, 01:49 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Install kernel-modules-4.4.6. You need the modules that correspond to your running kernel.

EDIT: that's maybe not the issue, what says: "ls -l /var/log/pacakages/kmod*"?
And what says "uname -r"?

Last edited by Didier Spaier; 03-22-2016 at 01:54 PM.
 
Old 03-22-2016, 02:04 PM   #3
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Original Poster
Rep: Reputation: Disabled
Question

Hello Didier Spaier,

Can't log on to print out ls -l /var/log/pacakages/kmod*. This is the package in my
slackware-currecnt/a

kernel-modules-smp-4.4.6_smp-i686-1.txz

This the kernel files i have
a
kernel-firmware-20160310git-noarch-1.txt
kernel-firmware-20160310git-noarch-1.txz
kernel-firmware-20160310git-noarch-1.txz.asc
kernel-generic-4.4.6-i586-1.txt
kernel-generic-4.4.6-i586-1.txz
kernel-generic-4.4.6-i586-1.txz.asc
kernel-generic-smp-4.4.6_smp-i686-1.txt
kernel-generic-smp-4.4.6_smp-i686-1.txz
kernel-generic-smp-4.4.6_smp-i686-1.txz.asc
kernel-huge-4.4.6-i586-1.txt
kernel-huge-4.4.6-i586-1.txz
kernel-huge-4.4.6-i586-1.txz.asc
kernel-huge-smp-4.4.6_smp-i686-1.txt
kernel-huge-smp-4.4.6_smp-i686-1.txz
kernel-huge-smp-4.4.6_smp-i686-1.txz.asc
kernel-modules-4.4.6-i586-1.txt
kernel-modules-4.4.6-i586-1.txz
kernel-modules-4.4.6-i586-1.txz.asc
kernel-modules-smp-4.4.6_smp-i686-1.txt
kernel-modules-smp-4.4.6_smp-i686-1.txz
kernel-modules-smp-4.4.6_smp-i686-1.txz.asc

k
kernel-source-4.4.6_smp-noarch-1.txt maketag.ez
kernel-source-4.4.6_smp-noarch-1.txz tagfile

Last edited by GreenFireFly; 03-22-2016 at 02:10 PM.
 
Old 03-22-2016, 02:09 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by GreenFireFly View Post
Hello Didier Spaier,

Can't log on to print out ls -l /var/log/pacakages/kmod*. This is the package in my
slackware-currecnt/a

kernel-modules-smp-4.4.6_smp-i686-1.txz
Still, I need the output of the two commands I indicated to investigate further. If you can't log in I do not know what we could do... Also, that you have a package in the distribution media does not tell if it is installed.

Last edited by Didier Spaier; 03-22-2016 at 03:12 PM.
 
Old 03-22-2016, 02:30 PM   #5
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Rep: Reputation: Disabled
if you cant log in that simply means you didn`t install system properly at all, if you new to linux/slackware get on with full install, i tried to be smart as a debian refuge and i started with minimal install but finally my system weights 8.1 GB
 
Old 03-22-2016, 03:06 PM   #6
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
Check your current kernel. It looks like you're still running 4.4.4, which could mean you never ran lilo after updating the kernel.
 
Old 03-22-2016, 04:20 PM   #7
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Original Poster
Rep: Reputation: Disabled
Hello Everyone,

@bassmadrigal I have slackware64 and slackware32 installed but when i updated the new i did not updated lilo i just keep the old entry. Which had a slackware32 bit entry.

So is it possible to have to different slackware's on the same system with lilo?
 
Old 03-22-2016, 04:31 PM   #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 GreenFireFly View Post
Hello Everyone,

@bassmadrigal I have slackware64 and slackware32 installed but when i updated the new i did not updated lilo i just keep the old entry. Which had a slackware32 bit entry.

So is it possible to have to different slackware's on the same system with lilo?
You would just need boot entries for each Slackware version along with linking the correct kernel. Then run lilo afterward to save your entry.

Code:
image = /boot/vmlinuz-generic-4.4.6
  initrd = /boot/initrd-4.4.6.gz
  root = /dev/sda1
  label = Slack-4.4.6
  read-only

image = /boot/vmlinuz-generic-4.4.4
  initrd = /boot/initrd-4.4.4.gz
  root = /dev/sdb1
  label = Slack-4.4.4
  read-only
 
Old 03-22-2016, 05:46 PM   #9
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Rep: Reputation: Disabled
as far as i am aware he did update (upgrade) the system from 32bit-current to 64bit-current
i understand all of this mess is on one /root partition????


"So is it possible to have to different slackware's on the same system with lilo?"

does anyone understand that statement???

you can have 2,3,4.... as many as you want kernels on the same system, also you can have many systems on different / partitions - but you cannot have different system on the system,

get live cd boot it and print:

#fdisk -l
#cat /etc/lilo.conf (im not sure i have grub)

you can chroot your slackware and install kernel and lilo

Last edited by przemo; 03-22-2016 at 05:48 PM.
 
Old 06-15-2016, 08:33 PM   #10
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Original Poster
Rep: Reputation: Disabled
Hello Everyone,

@przemo Yes you can have a 32bit slackware and 64bit slackware on the same system with lilo.

When you have both 32bit and 64bit versions of slackware installed
edit the lilo config. One of the 2 linux images is going to need a
/mnt/sda? infront of it then run lilo to update it.


# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda5
label = Slackware64
read-only
# Linux bootable partition config ends

# Linux bootable partition config begins
image = /mnt/sda6/boot/vmlinuz
root = /dev/sda6
label = Slackware32
read-only
# Linux bootable partition config ends

# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends

Last edited by GreenFireFly; 06-15-2016 at 08:35 PM.
 
Old 06-16-2016, 06:39 AM   #11
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 GreenFireFly View Post
One of the 2 linux images is going to need a
/mnt/sda? infront of it then run lilo to update it.
This isn't necessarily true. It all just depends on where you put your kernel. You can have all your kernels for multiple Slackware versions -- or even different distros -- in one folder as long as they're named differently. So if you had put your 32bit vmlinuz file in your 64bit /boot directory and just called it vmlinuz32 (I always base the name off the kernel itself to keep them easily organized -- e.g. vmlinuz-huge-3.10.17, vmlinuz-generic-3.18.24, etc -- you could just add a 32 or 64 somewhere in there to distinguish between the two). Then you just use the correct name in your lilo.conf.

The main thing to make sure is that the root is set to the correct partition for the system and that the kernel (and initrd) are available when you run lilo to save your configuration.
 
  


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
Cannot find /lib/modules/2.6.23.1custom1 fakie_flip Linux - Kernel 2 11-19-2007 03:12 PM
What does this mean: depmod: *** Unresolved symbols in /lib/modules... ? atheist Linux - Software 4 07-20-2004 02:30 PM
modprobe cant find modules but they are in /lib/modules/'uname blanny Linux - General 15 09-10-2003 11:05 AM
depmod: *** Unresolved symbols in /lib/modules/2.2.14-5.0/scsi/megaraid.o rich_d_thomas Red Hat 0 09-01-2003 06:18 AM
depmod -a: *** Unresolved symbols in /lib/ .... qanopus Linux - General 11 01-20-2003 01:26 PM

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

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