LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-10-2004, 03:06 AM   #166
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45

Ok, here's my version of depmod and module-init-tools:
Code:
depmod version 2.4.25
module-init-tools 0.9.14
Maybe you need to upgrade your modutils (package withich provide these programs).
 
Old 02-10-2004, 07:43 AM   #167
lethalinjection
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
i followed the instructions in the first page for installing kernel 2.6.2 on redhat 9, however when the kernel loads up it says Kernel Panic and complains about not being able to load EXT3, that's despite i made sure it supports ext3 in xconfig. any help appreciated

edit: now it works after i included ext3 into the kernel
but problem with usb

Last edited by lethalinjection; 02-10-2004 at 09:48 AM.
 
Old 02-10-2004, 12:25 PM   #168
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
You did that as module or into the kernel? you need to have [b}at least[/b] ext2 support compiled into the kernel to be able to mount your ext3 root partition during boot time (if you have any other fs-type then you must make sure its support is compiled into the kernel)
 
Old 02-10-2004, 01:42 PM   #169
lethalinjection
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
yeha i said after i loaded ext3 into the kernel the new kernel started working, however i can't use my mouse or keyboard as they are usb devices, time to play with xconfig again i guess. btw great guide
 
Old 02-10-2004, 04:30 PM   #170
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
You could also re-execute kudzu. It'll find your devices. Try that and xconfig.
 
Old 02-11-2004, 06:24 PM   #171
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
About your mouse and keyboard problem, make sure you have selected the HID interface in the USB section of the configuration (although the recommend you to let those options out, that may be what you need to get it running...
 
Old 02-12-2004, 12:58 AM   #172
ekoome
Member
 
Registered: Sep 2003
Posts: 52

Rep: Reputation: 15
I downloaded and installed mod-init-tools-3.0 which also has depmod but this does not seem to solve the problem.

When i install the modules and the kernel, i still get "depmod:*** Unresolved symbols......" almost in everything. When i re-boot the system with the new Kernel (2.4.24), i get a kernel panic in that it needs the old insmod, depmod ....etc

Eric
 
Old 02-12-2004, 01:44 PM   #173
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Don't get me wrong, it would look like RH 7x simply cannot cope with new utils and kernels, I've seem such problems also in other distros, like Debian Woody, which cannot be upgraded to a 2.6 kernel due to similar problems...
 
Old 03-02-2004, 04:35 PM   #174
Gijet
LQ Newbie
 
Registered: Feb 2004
Posts: 24

Rep: Reputation: 15
I have uncompressed the linux kernel 2.6.3.tar.bz2 to /home/src/kernel and I have copied a config template from Redhat (config-2.4.20-8) from /boot directory to /home/src/kernel/linux-2.6.3.

After that I used “make menuconfig” tool and afterwards, I choose the button/menu entry that reads “load configuration from file”. But I don't know the config-2.4.20-8 file that must I use, what config-2.4.20-8 file in home/src/kernel/linux-2.6.3 direktory or in /boot directory ?????

finally, after I compiling the kernel 2.6.3 and after rebooting my computer, can I delete the /src/kernel/ direktori in /home direktory ??????
 
Old 03-02-2004, 04:45 PM   #175
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by Gijet
I have uncompressed the linux kernel 2.6.3.tar.bz2 to /home/src/kernel and I have copied a config template from Redhat (config-2.4.20-8) from /boot directory to /home/src/kernel/linux-2.6.3.

After that I used “make menuconfig” tool and afterwards, I choose the button/menu entry that reads “load configuration from file”. But I don't know the config-2.4.20-8 file that must I use, what config-2.4.20-8 file in home/src/kernel/linux-2.6.3 direktory or in /boot directory ?????

finally, after I compiling the kernel 2.6.3 and after rebooting my computer, can I delete the /src/kernel/ direktori in /home direktory ??????
Ok, you need name the config file .config (a hidden file) by just:
Code:
# cp config-2.4.20-8 .config
Use the options there as guidelines only, because you will be using a 2.4 template with a 2.6 kernel, and there are fundamental changes in the kernel that are in 2.6 thare are not present in 2.4. For an easier configuration, I'd suggest you gconfig or xconfig, and once you have installed the kernel, it would not be a good idea to remove the kernel sources from the directory where you first built the kenrel, because in the event you install any further drivers (like graphics drivers or the like) the module will require the kernel sources... To overcome this problem, you may choose to move your sources to /usr/src/ and compile and install from there.
 
Old 03-02-2004, 05:23 PM   #176
Gijet
LQ Newbie
 
Registered: Feb 2004
Posts: 24

Rep: Reputation: 15
Ok guys....thanks for your reply...............Because my stupidy i still confuse about your explanation...........................

Code:
# cp config-2.4.20-8 .config
what the command must I use from /boot directory lilke this :
Code:
[root.localhost.boot] # cp config-2.4.20-8 .config /usr/src/linux-2.6.3
I mean....what config-2.4.20-8 .config is file in /boot direktory ?????

Quote:
Use the options there as guidelines only, because you will be using a 2.4 template with a 2.6 kernel, and there are fundamental changes in the kernel that are in 2.6 thare are not present in 2.4. For an easier configuration, I'd suggest you gconfig or xconfig, and once you have installed the kernel, it would not be a good idea to remove the kernel sources from the directory where you first built the kenrel, because in the event you install any further drivers (like graphics drivers or the like) the module will require the kernel sources... To overcome this problem, you may choose to move your sources to /usr/src/ and compile and install from there.
yeah I'll use xconfig and thanks

Last edited by Gijet; 03-02-2004 at 05:26 PM.
 
Old 03-03-2004, 03:54 PM   #177
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Oh... sorry, maybe I did not undertand your question all that good... You mean how do you copy the config from /boot to your /where/the/soureces/are? That would be easy:

Taking the code you posted...
Quote:
[root.localhost.boot] # cp config-2.4.20-8 .config /usr/src/linux-2.6.3
Change it to be like this:
Code:
[root.localhost.boot] # cp config-2.4.20-8 /usr/src/linux-2.6.3/.config
That will copy the file config-2.4.20-8 to your /usr/src/linux-2.6.3 directory and change the name of the file to .config in the process.
 
Old 03-06-2004, 06:08 AM   #178
Gijet
LQ Newbie
 
Registered: Feb 2004
Posts: 24

Rep: Reputation: 15
Error Process Booting After Compiling Kernel 2.6.3

I'm a total newbie.....I'm running RH 9....
after compiling to kernel 2.6.3,I rebooting my computer and in booting procces of redhat 9 default kernel which usually presenting the message like :

Initialing USB Controller (USB uhci) [OK]
Initialing USB Keyboard [OK]
Initialing Mouse {OK]


but in booting proces of kernel 2.6.3, exactly presenting some errors booting process like this :

----------------------------------------------------------------
Initialing USB Controller (USB uhci) : Fatal : Modul usb_uhci not found [Failed]

Initialing USB Keyboard : Fatal : Modul Keybdev not found [Failed]

Initialing Mouse : Fatal : Modul Mousedev not found [Failde]

Applying iptables firewall rules bal bla bla bla............
try IP tables-restore-h or iptables--restore bala bla bla : [Failed]

Flushing all current rules and user defined cain : iptables : v1.7a can't init alize iptables "table" filter bla bla bla [Failed]

clearing all current rules and user defined cain : iptables : v1.7a can't init alize iptables "table" filter bla bla bla [Failed]

--------------------------------------------------------------------

I have activated the kernel USB modul when I run "make menuconfig"

so what the solution for this problem
 
Old 03-06-2004, 12:42 PM   #179
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Re: Error Process Booting After Compiling Kernel 2.6.3

Quote:
Originally posted by Gijet
I'm a total newbie.....I'm running RH 9....
after compiling to kernel 2.6.3,I rebooting my computer and in booting procces of redhat 9 default kernel which usually presenting the message like :

Initialing USB Controller (USB uhci) [OK]
Initialing USB Keyboard [OK]
Initialing Mouse {OK]


but in booting proces of kernel 2.6.3, exactly presenting some errors booting process like this :

----------------------------------------------------------------
Initialing USB Controller (USB uhci) : Fatal : Modul usb_uhci not found [Failed]

Initialing USB Keyboard : Fatal : Modul Keybdev not found [Failed]

Initialing Mouse : Fatal : Modul Mousedev not found [Failde]

Applying iptables firewall rules bal bla bla bla............
try IP tables-restore-h or iptables--restore bala bla bla : [Failed]

Flushing all current rules and user defined cain : iptables : v1.7a can't init alize iptables "table" filter bla bla bla [Failed]

clearing all current rules and user defined cain : iptables : v1.7a can't init alize iptables "table" filter bla bla bla [Failed]

--------------------------------------------------------------------

I have activated the kernel USB modul when I run "make menuconfig"

so what the solution for this problem
That is because some fundamental changes between the 2.4 kernels (which RH9 has by default) and the 2.6 kernel. For instance, in the 2.4 kernel you should load the mouse_dev.o and keyb_dev.o modules to have USB mice and keyboard functinality, in 2.6 this is no needed, you may still compile them, but as the Help tidbits in the kernel will tell you, this will only enable the HID interface minimalistically (just a boot set of options) and thus they don't recommend that. You may safely ignore that. About the IPtables errors, since RH 9 is compatible with both iptables and ipchains (the old firewall software), you may avoid these problems if you compiled everything as modules (included ipchains support) under packet filtering for IPv4, I've never had problems with that.

Unless the USB errors are getting you into trouble (not being able to use your mouse/keyboard) you may safely ignore these error, otherwise post back and I'll post a rather rude workaround.
 
Old 03-09-2004, 02:04 AM   #180
Gijet
LQ Newbie
 
Registered: Feb 2004
Posts: 24

Rep: Reputation: 15
OK guys thanks....my problem about USB and IP Tables has been fixed.....and I have one question again. I have downloaded patch-2.6.3.bz2 and patch-2.6.4-rc2.bz2...........but I don't know how to install it....can you tell me about it and where I can put these patch.....I extracted the linux kernel 2.6.3 in /usr/src/linux-2.6.3
 
  


Reply

Tags
howto, tutorial



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
Red Hat/Fedora ALSA mini-HowTo. Thetargos Red Hat 182 04-01-2006 12:12 PM
red hat 9 kernel compilation b0nd Linux - Newbie 1 08-11-2005 10:05 AM
Kernel compilation (2.4.25 - Red Hat) on DELL Inspiron 2650 rohitmordani Linux - Laptop and Netbook 7 04-05-2004 05:10 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 06:33 PM
Red Hat Update Agent for kernel updates and custom kernels SparceMatrix Linux - General 5 09-03-2002 04:58 PM

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

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