LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-17-2003, 11:51 AM   #1
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
Unhappy Does anyone have a working 2.4.20 kernel ?


If so, could you go through the steps that you used in compiling it. Maybe I'm just an idiot, but I have followed the directions of several web pages and have yet to end up with a working kernel. I don't get any errors during compilation, I just get a kernel panic when I try to boot the new kernel. I may be screwing something up in the config when it comes to the file system settings. I see when it tries to boot that it can't mount the file system.

JC

BTW, my distro is Suse 8.1 pro.

Last edited by lostboy; 03-17-2003 at 11:54 AM.
 
Old 03-17-2003, 11:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the information in the kernel howto should contain all you need (and the fact that it's 2.4.20 won't affect a thing) you're presumably just not choosing correct values. the best way to learn is often to use an existing configuration from your distribution (often stored in /boot/config-2.4.20 or similar) and then personalise it only a little.
 
Old 03-17-2003, 12:15 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I am on my 10th compile. All my attempts so far result in kernel panic.

I think I will revert to 2.4.19
 
Old 03-17-2003, 12:24 PM   #4
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
I feel your pain. I am on my 4th compile I believe.

JC
 
Old 03-17-2003, 01:19 PM   #5
Hcman
Member
 
Registered: Jan 2003
Location: Holland
Distribution: OpenBSD 3.6 - Arch Linux 0.7
Posts: 210

Rep: Reputation: 30
Re: Does anyone have a working 2.4.20 kernel ?

yeah, slack 9 (rc3) and kernel 2.4.20.
I ran 2.4.20 in slack 8.1 too. I have had no problems with it.

Are you using a ram disk?
Which file system can't it mount?

HC
 
Old 03-17-2003, 01:50 PM   #6
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Here's what my screen looks like when the system freezes up :
***************************************************************

RAMDISK: Compressed image found at block 0
Freeing initrd memory: 246K freed
VFS: Mounted root(ext2 filesystem).
Loading module reiserfs . . .
insmod: reiserfs: no module by that name found
Loading module ide-scsi . . .
insmod: ide-scsi: no module by that name found
kernel panic: VFS: Unable to mount root fs on 16:02

****************************************************************


JC
 
Old 03-17-2003, 02:20 PM   #7
Hcman
Member
 
Registered: Jan 2003
Location: Holland
Distribution: OpenBSD 3.6 - Arch Linux 0.7
Posts: 210

Rep: Reputation: 30
ehm....I'm no guru meself but why don't you try compiling reiserfs support and ide-scsi support into the kernel.

Do you use reiserfs at all? If you don't you can leave it out of course.

HC
 
Old 03-17-2003, 02:24 PM   #8
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
If your root partition is reiser you need to compile it into the kernel or make a initrd.
 
Old 03-17-2003, 03:07 PM   #9
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Ok, thanks. I did initially compile reiser into the kernel, and I got that kernel to boot. But then I got an error during boot that said something about too many mounted file systems (or something like that, I can't be sure). So I thought to try reiser as a module as the default config had it that way. But it seems obvious as to why that won't work. The kernel can't load modules if it can't load itself (or that's what my thoughts are and they could very well be wrong).

What are the neccesities as far as File System config if I am using reiser and fat 32 partitions ?

JC
 
Old 03-17-2003, 03:26 PM   #10
Hcman
Member
 
Registered: Jan 2003
Location: Holland
Distribution: OpenBSD 3.6 - Arch Linux 0.7
Posts: 210

Rep: Reputation: 30
Quote:
Originally posted by lostboy


What are the neccesities as far as File System config if I am using reiser and fat 32 partitions ?
Reiserfs and vfat (also fat but that is only for old DOS file systems)
Win95 or newer uses vfat I believe.

HC
 
Old 03-17-2003, 03:32 PM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I like to compile filesystem types support into the kernel rather than as modules.

In your /etc/fstab file, you should use the notail option for your boot partition if you chose to create a ReiserFS filesystem on it. If you only created / as ReiserFS, your /boot is part of /.

I make a separate ext3 filesystem /boot partition as it is considered more mature than ReiserFS.

Last edited by fancypiper; 03-17-2003 at 03:38 PM.
 
  


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-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Trying to get a new kernel working. muxman Debian 9 11-05-2004 06:57 AM
Upgrade from working kernel-source-2.6.7-1 & -2 to kernel paniced -3 & -4 Outabux Debian 6 08-15-2004 01:36 PM
I've got Kernel 2.6.6 working nebloof LinuxQuestions.org Member Success Stories 1 05-30-2004 09:48 AM
why X not working in 2.6.3 kernel mardanian Linux - General 6 03-07-2004 10:13 PM

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

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