LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-28-2005, 01:40 AM   #1
zaimor
LQ Newbie
 
Registered: Oct 2005
Location: Fort Drum, NY
Distribution: Slackware 10.2
Posts: 10

Rep: Reputation: 0
SW 10.2 Kernel Version Confused


A few hours ago I posted below about not being able to get my ETH0 interface to work. (See "eth0 (and modules?) missing" thread below.) I've found what I believe to be the issue behind it... Nothing seems to know what version of the Kernel i'm using! I told the install to use the bare.i image, which should have loaded (as far as I know) the 2.4.31 kernel. I have nothing special... IDE HD, 7Gb, ReiserFS. During boot I get this several times:

Code:
modprobe: Can't open dependencies file /lib/modules/2.4.29/modules.dep (No such file or directory)
Indeed, the entire /lib/modules/2.4.29 directory doesnt exist... only /lib/modules/2.4.31.

The login prompt also states

Code:
Welcome to Linux 2.4.29 (tty1)
I also tried installing the 2.6.13 kernel by using installpkg on the generic and modules files, mkinitrd, and telling lilo to use /boot/vmlinuz-generic-2.6.13 and initrd = /boot/initrd.gz, reloaded lilo and restarted. Linux still says I'm using the 2.4.29 kernel.

I'm sure I've missed some stupidly obvious step somewhere, but for the LIFE of me I can't figure it out. Every other linux installation I've ever done I've (basically) just been able to hit enter all the way through it and everything's worked. Even with SW 10.1. Any help will be greatly appreciated... thanks!
 
Old 10-28-2005, 02:30 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Reinstall all kernel packages and run lilo.
 
Old 10-28-2005, 02:36 AM   #3
zaimor
LQ Newbie
 
Registered: Oct 2005
Location: Fort Drum, NY
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
How do I -re-install the kernel? I was kinda hoping installing 2.6 would do that, since in Lilo I over-wrote the init. (the 2.6.13 kernel was the only one lilo had to choose from)
 
Old 10-28-2005, 02:55 AM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Reinstall the packages from the cd or a website in the /slackware/a folder.
Check lilo.conf too.
If you want a 2.6.X, i suggest you to compile yourself a custom kernel.
And please, close your eth0 thread with an new post looking like "solved"!
 
Old 10-28-2005, 05:58 PM   #5
zaimor
LQ Newbie
 
Registered: Oct 2005
Location: Fort Drum, NY
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
That didn't work... it keeps getting worse and worse. After trying to reinstall all the /a packages (which completed without error) and rebooting, I got the same errors. I decided to once again try reinstalling it, this time from -scratch-. I deleted both hard drive partitions (5420mb /dev/hda2, 1028mb swap) and booted from the cd. Previously I had tried the ReiserFS... this time I told it to use Ext3. Full install. Everything worked, no errors... had eth0 up and everything, but upon reboot I get a Kernel panic becuase:

Code:
sh-2006: reiserfs read_super_block: bread failed (dev 03:02, block 64, size 1024)
sh-2021: reiserfs_read_super: can not find reiserfs on ide0(3.2)
Kernel panic: VFS: Unable to mount root fs on 03:02
Why in Linus' name is it looking for any component of reiserfs when I formatted the partition and installed linux using Ext3?
 
Old 10-29-2005, 05:22 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Are you sure lilo is being reinstalled after installing Slackware?
During install in the LILO menu choose Expert mode and then install to MBR.
 
Old 10-30-2005, 12:15 AM   #7
zaimor
LQ Newbie
 
Registered: Oct 2005
Location: Fort Drum, NY
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
fixed!

I guess for some reason Lilo wasn't getting reinstalled like it was supposed to. This time when I reinstalled it I told Lilo to use the MBR and everything worked flawlessly. Thanks millions!
 
  


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
I'm confused. How can I tell which version of Mandrake I have? Ausar Linux - Newbie 1 06-14-2004 01:30 AM
Confused about kernel version - RH9 admanb Red Hat 1 01-28-2004 05:12 AM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 01:40 AM

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

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