LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-02-2003, 12:41 PM   #1
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
kernel 2.4.22 initrd missing ???


hey guys and girls.

ive compiled my first ever kernel (2.4.22)

and as expectied its gone horribly wrong !!

dureing bootup USB initilisation fails
ext3 is not supported,
nvidia kernel module does not load (do i need to re-install it ?)
and shutdown doesnt actually power off the machine at the end.

one thing ive noticed, is is dont have a initrd img like i did for 2.4.20-8 kernel
do i need one ?

i have no idea what it is, how to compile it, or anything

the kernel compile guides and tutorials do not mention this file.

does it have somthing to do with external madules ???

ohh, and also, modprobe fails to load ip-conntrack, although i enabled this in the kermel config.

is there a way to take the configuration from my 2.4.20-8 kernel, and apply that to my 2.4.22 source ?

2.4.20-8 had everything i needed, but i need the bug-fixes in 2.4.22.

thankyou
 
Old 11-02-2003, 12:54 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
do not worry about the img file. that simple.
nvidia: always need to re-install nvidia after kernel compile
others: recompile kernel and add those things in, hopefully you read the tutorials that tell you to keep your old kernel available.
 
Old 11-02-2003, 12:56 PM   #3
tweakness
LQ Newbie
 
Registered: Aug 2003
Location: Chicago, IL
Distribution: Slackware, LFS
Posts: 12

Rep: Reputation: 0
you using redhat i presume..
1. did you build usb support and the other fails, as modules??

when you do a make install, do it come up with an error about modules?? i bet it does, ive had similar problems. You need to build all the stuff you have as modules now, as modules again. make oldconfig might do the trick. the red had initrd has all the modules that are going to be loaded, but loads them at boot time. thus negating the intire idea behind modules if you ask me, but anyway

ext3, thats easy, set built in support for ext3 in filesystems.


and before you build any red hat kernel, be sure to do a make clean and make mrproper...


and your gonna have to run your nvidia script for every kernel, if you do it as described in the nvidia instructions. but at their ftp you can get the source and build modules for each of your kernels and load them into their respective places in /lib/modules/ so modprobe can get em.

have fun
 
Old 11-02-2003, 01:12 PM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
ThanKs

Yeah, i backed up my old kernel

im having a second go at the config thing..

one thing that surprises me, is how the default values are sooo far off what i need,

for example, defualt says NOT to compile ppp support.

anyway, thanKs.

to be honest, i have no idea what im doing with modprobe...

and where possible, im compiling what i need into the the kernel, rather than making it overly modular the hope of simplifying the whole thing.

anyway, thanX for the reply.
ill prob be back in an hour havng solved my current problems, and created a few more..
 
Old 11-02-2003, 01:13 PM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
it is a standard low kernel compile, not meant for actual use without tweeking (that is after make mrproper)
 
Old 11-02-2003, 07:19 PM   #6
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
boom. yeah im back having fixed those problems and run into a million more !!!

first of all....

i definatly chose YES to the USB Human Interface Devices,
Yes to USB mouse
and YES to usb keyboard.

but during boot up. i get "[FAILED]
next to initilising USB keyboard ( cant load keybdev module)
and initilising USB mouse (cant load mousedev)

this is not currently a problem as im using ps2 mouse and keyboard (which will rpob change in the future (laser mouses are great )

and my main problem,,,
with connexant modem (linuxant now deciding i have to PAY for modem drivers !!!)

and my spare modem, sm25 motorola... well, were all familiar with those posts....
 
Old 11-02-2003, 08:37 PM   #7
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
oh! that is because you have it compiled static not module, as static it is already always loaded, but then on boot it looks to load a module unaware it is static, then it fails, but usb is still active

modems are cheep, buy a new external one for serial.

oh on another note:
for modem/ppp you need the correct ppp option in kernel (duh) but also in character devices you need the "dumb" serial options, not sure which exactly, I just enable them all. hope that helps.
 
  


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
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot MKSrivastava Debian 2 12-02-2005 03:09 PM
Kernel 2.6: I don't want/need initrd ... sundialsvcs Linux - Software 1 08-20-2005 09:25 AM
missing initrd HmmLinux Linux - General 2 11-14-2004 10:40 AM
Missing initrd option in 2.6.4 kernel HokieEngr Linux - Software 8 04-06-2004 01:29 AM
Slack /RH dual boot initrd missing issue FuzzyTheBear Slackware 1 03-06-2003 02:10 PM


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