LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-27-2005, 01:03 PM   #1
fincher69
Member
 
Registered: Jan 2005
Location: Tallahassee, FL
Distribution: Kubuntu 13.04
Posts: 69

Rep: Reputation: 15
Question 2.6.13 kernel / initrd conundrum


Howdy,
I recently installed slack 10.2 on my old office computer (Pentium II 300) and I followed the tutorial by Shilo. Eveything went great until I tried to upgrade to the 2.6.13 kernel and now I am having an.....interesting...... issue.

I can still boot up the 2.4 kernel fine. When I first tried to boot up the 2.6 kernel I compiled I got the typical "kernel panic, VFS , unable to mount yada yada" and I remembered that I needed an initrd on my other computer. So I made an initrd (mkinitrd -c -k 2.6.13 -m reiserfs) and added it to my lilo.conf and when lilo pops up and I choose 2.6, it says "Loading Slackware2.6....... BIOS data check OK" then the screen makes it's normal sound where it shuts off then comes back on. Here is where I would usually see all the text about the booting up fly by, but instead nothing. Blank screen. I have left it for a while and nothing happens and it doesn't sound like the computer is doing anything. I tried using the vmlinuz-generic-2.6.13 and had the same issue; kernel panic w/o initrd, blank screen right after lilo w/initrd. Since the error is so early in the process I am lost as to what could be causing it. Any insight would be greatly appreciated!
 
Old 09-27-2005, 01:15 PM   #2
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
Instead of using the ramdisk, I suggest compiling support for reiserfs directly into the kernel.

Under make menuconfig, go to File Systems, then answer Y[*] next to ReiserFS and see if that helps. You always need the filesystem regardless, so compiling it into your kernel always makes sense (you shouldn't need the three suboptions debugmode, /proc/fs or extended attributes though)

Try if that helps and if not, I'm sure I or someone else can twist our heads further

-Y1
 
Old 09-27-2005, 01:24 PM   #3
fincher69
Member
 
Registered: Jan 2005
Location: Tallahassee, FL
Distribution: Kubuntu 13.04
Posts: 69

Original Poster
Rep: Reputation: 15
my bad, I should have mentioned that. when I compiled my kernel I did include support for reiserfs, but I still got the "unable to mount root fs" kernel panic when I tried to start up so I tried the initrd. Thanks for the suggestion though. The thing that gets me the most about this problem is that it is so early on, I have no clue where to start troubleshooting. Luckily I can still run 2.4 while I try to figure this out.
 
Old 09-27-2005, 03:49 PM   #4
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
Build support for your IDE chipset into the kernel.

(for example, mine is piix, so i'd press Y and build that into my kernel, not as a module)

If you don't know which one is yours, you can build in all of them(that is what Pat does.)
 
Old 09-28-2005, 11:07 AM   #5
fincher69
Member
 
Registered: Jan 2005
Location: Tallahassee, FL
Distribution: Kubuntu 13.04
Posts: 69

Original Poster
Rep: Reputation: 15
I use gconfig to set up my config before compiling the kernel, but I'm having a hard time finding where to choose my ide chipset. I looked under device drivers and poked around most everywhere (at least I thought) else. Any pointers would be greatly appreciated.

Oh, and does anyone know which IDE chipsets are supported in the generic kernel? I would have thought it would have included them all. Thanks again.
 
Old 09-29-2005, 05:58 PM   #6
fincher69
Member
 
Registered: Jan 2005
Location: Tallahassee, FL
Distribution: Kubuntu 13.04
Posts: 69

Original Poster
Rep: Reputation: 15
no one has any more ideas?
 
Old 09-29-2005, 06:12 PM   #7
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
copy the existing 2.4 .config kernel file over to the /usr/src/linux-2.6 directory and then make xconfig or make oldconfig.

Be careful not to change too much at once and don't forget to edit the Makefile for 2.6 so that it exports to a different /boot subdir such as /boot/linux-2.6 and also to edit lilo.conf so that it correctly points to the new /boot as well as the existing root /dev/hdax.


Hmmmm,,not that clear....I feel a howto writting session coming on.
 
Old 09-29-2005, 10:18 PM   #8
chasingmytail
LQ Newbie
 
Registered: Jun 2004
Distribution: Slack 10-current
Posts: 23

Rep: Reputation: 15
Try using the 2.6 kernel on the second disk.

Trying to configure a vanilla kernel for my machine was too much work, and wasn't working.

I installed slackware with the 2.4 kernel on my machine, downloaded the latest 2.6 kernel source, copied the config file out of the kernel-*-.tgz (the one with System.map & vmlinuz in it) on the second disk and then compiled & installed it myself.

After that, the 2.6 kernel worked, i went in and trimmed it down and re-compiled.
 
Old 09-30-2005, 04:16 PM   #9
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
Yep, either of those will work just fine...nice use of a second hdd though.
 
Old 09-30-2005, 10:14 PM   #10
chasingmytail
LQ Newbie
 
Registered: Jun 2004
Distribution: Slack 10-current
Posts: 23

Rep: Reputation: 15
... second hdd ... DOH!

Quote:
Originally posted by otchie1
Yep, either of those will work just fine...nice use of a second hdd though.
haha!
I guess i was kinda vauge on that description, I forgot what I was trying to say when I re-read my own post.

I meant the second Slack CD, there's a directory with *.tgz's to install the 2.6 kernel on your machine. I didn't use them, I just extracted the config file provided in there to kickstart my own kernel-flavor.

Sorry for any confusion.
 
  


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
Kernel 2.6: I don't want/need initrd ... sundialsvcs Linux - Software 1 08-20-2005 09:25 AM
Grub, initrd and new kernel (2.6.10) wilu Linux - Newbie 3 02-25-2005 06:28 AM
Problems with Initrd and Kernel 2.6.8 Lycus_adr0 Linux - Software 0 08-23-2004 11:58 AM
New Kernel 2.4.22 won't make initrd jon1591 Linux - Newbie 3 12-13-2003 02:09 PM
kernel compiling conundrum bdp Linux - General 3 12-10-2003 12:02 AM

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

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