LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-19-2004, 10:41 PM   #1
intersidereal
Newbie
 
Registered: Jun 2003
Posts: 9

Rep: Reputation: 0
slackware 10.0RC1 - trying to get the testing 2.6.7 kerenl to work


I've upgraded to slackware 10.0RC1. I then installed the 2.6.7 kernel out of the testing packages(and all the files contained in the 2.6.7 folder, mkinitrd, kerenel-modules everything except the source).

It of course made a link to vmlinuz. I then changed my lilo.conf so that I had an entry for the vmlinuz(the 2.6.7 kerenl) and vmlinuz.old(the 2.4.26 kerenl). and ran /sbin/lilo.

I have no problems booting the 2.4.26 kernel but the 2.6.7 kernels shows a kerenl panic:cannot mount root filesystem(which is reiserfs of course). Is anyone useing this set up(booting both 2.4.26 and 2.6.7 on slack 10RC1)? What might I have missed that would cause this? I think a more or less official kernel would go off without a hitch.

Thanks Intersidereal
 
Old 06-19-2004, 11:41 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You need to use the 'mkinitrd' script and copy the /lib/modules/2.6.7/kernel/fs/reiser.ko module (or something like that - I'm in 9.1 at the moment) and put it in the ramdisk. The generic kernel doesn't have reiser built in. Anyway - once you've got that good to go, edit lilo.conf to point to the ramdisk and it'll go great.
 
Old 06-20-2004, 09:14 AM   #3
intersidereal
Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Ok sounds good... Hmmm... how do I do that exactly or at least where do I start.


Thanks intersidereal
 
Old 06-20-2004, 01:27 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I'm just gonna give the fish instead of teaching to fish because, to me, it should be thoroughly documented for the install and, as far as I could see, isn't. 2.6.7 should be an alternate choice in the initial setup instead of having to upgrade immediately post-install, anyway, and I didn't see that, either.

cd /boot
./mkinitrd
cd /boot/initrd-tree/lib/modules/2.6.7
cp /lib/modules/2.6.7/kernel/fs/reiserfs/reiserfs.ko .
$EDITOR /etc/lilo.conf
Code:
image = /boot/vmlinuz-generic-2.6.7
  label = myLabel
  root = myRoot
  initrd = /boot/initrd.gz
  read-only
If you need anything else, just copy anything else to the initrd-tree. Good luck.
 
Old 06-20-2004, 03:15 PM   #5
intersidereal
Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks I appreciate it. Just for the record, I did look for info to get it going and like you, couldn't really find anything. So thanks. Got everything going finally except I don't have internet or network access with 2.6 at present(wondering if this is a simptom of my onboard nforce2 ethernet controller that I could not use with the 2.4 kernel but now is seen by the 2.6 and somehow messing with the pci connected dlink configuration?)
oh well somthing else to work on


Thanks Intersidereal
 
Old 06-20-2004, 03:53 PM   #6
sad jackal
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
i got this same panic error after insalled my new kernel, that was cuz i forget make modules and make modules_install
 
Old 06-23-2004, 02:16 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Just an update - rc2 includes 'mkinitrd 1.0.1' which obsoletes a lot of this with good documentation and a slightly different process. Just in case anybody reads this thread later and tries to follow this description.
 
  


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
contents of /testing/source/linux-2.6.x on slackware install cd 2 [LAG] Prude Slackware 3 03-30-2005 09:26 PM
Removing a Kerenl Module from Startup revof11 Linux - General 2 11-14-2004 02:47 PM
Slackware 10 and testing kernel 2.6.7 cb951303 Slackware 2 08-21-2004 04:20 PM
Where can I download 2.6 kerenl source? Jestrik Linux - General 1 01-06-2004 08:06 AM
libfontconfig - 9.0rc1# gazurtoids Slackware 2 03-14-2003 07:34 PM


All times are GMT -5. The time now is 03:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration