LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 12-01-2004, 12:29 PM   #361
Carpaurion
LQ Newbie
 
Registered: Nov 2004
Location: Canada
Posts: 5

Rep: Reputation: 0

thanks that was very helpful

Last edited by Carpaurion; 12-15-2004 at 08:27 AM.
 
Old 12-15-2004, 03:00 AM   #362
septanla
Member
 
Registered: Sep 2003
Posts: 69

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

Quote:
Originally posted by Thetargos
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.

Hi, Thetargos:
I would like to know your rude way to workaround the USB problem.

Thank you!

Septanla
 
Old 12-15-2004, 02:26 PM   #363
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Before I post the workaround, please tell me if the problems you are having are related to a series of [ ERROR!! ] error messages when loading the USB devices and/or mounting the USB filesystem. I will have to look at my FC1 machine (virutally identical to RH9) to dig out the solution I came up with... In the mean time, please just confirm these (errors regarding mouse_dev and keyb_dev modules, plus general USB module problems)
 
Old 12-20-2004, 04:56 AM   #364
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Someone please see this! I should have posted it here.

http://www.linuxquestions.org/questi...hreadid=268304

Thanks
 
Old 12-20-2004, 02:22 PM   #365
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 whipermr5
Someone please see this! I should have posted it here.

http://www.linuxquestions.org/questi...hreadid=268304

Thanks
What does it happen when you simply do:

Code:
make dep modules modules_install install
In that post you wen't straight to the bzImage (the actual kernel), and you configured the driver as a module

Another thing, under /usr/src/linux-2.4.20-31.9/include, asm should be a link to asm-i386, something like this:
Code:
ls -l /usr/src/linux-2.4.20-31.9/include/asm
lrwxr-xr-x    1 root root     8 dic 16 21:29 asm -> asm-i386
If it is an acutal directory, I suggest you to remove it (making sure the ams-i386 directory exists!!) and then link to the asm-i386 directory.
 
Old 12-21-2004, 01:39 AM   #366
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Thanks Thetargos, normally I compile bzImage before the others, and the others does not have a problem.

I checked, and /usr/src/linux-2.4.20-31.9/include/asm is really a link to /usr/src/linux-2.4.20-31.9/include/asm-i386. So what is the problem now?
 
Old 12-21-2004, 01:43 AM   #367
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Especially in RH 9 for some strange, and obscure reason, I've always had problems when I try to recompile their stock kernel source, however, in my case they usually seem to fail about the crypto libraries (a reason I always rebuild a stock RH9 source without those).
 
Old 12-21-2004, 01:50 AM   #368
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Maybe I'll install the 2.6 kernel then. What are crypto libraries?
 
Old 12-21-2004, 01:54 AM   #369
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
The Crypto libraries are algorithms to encrypt data, I don't know exactly how are they implemented at kernel level, maybe to provide some sort of speed up, but they're there, and RH kenrels (and FC's for that matter) usually include them.
 
Old 12-21-2004, 02:00 AM   #370
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
"I've always had problems when I try to recompile their stock kernel source"

Did you ever manage to recompile the kernel?
 
Old 12-21-2004, 02:04 AM   #371
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Yes, if I de-select the crypto libraries... Or by going through compilation errors, find out to what config option it belongs and de-select that.
 
Old 12-21-2004, 02:06 AM   #372
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
What do you think my problem is? And what's all the sched.c errors?
 
Old 12-21-2004, 02:10 AM   #373
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
sched.c may refer to the kernel's internal scheduler, an algorithm to asign precedence and priority to processes... Maybe what you have is a faulty gcc?? Or do you have your CPU overclocked? Overclocking may have quite adverse effects on compiling (when it is too high, or poorly done)
 
Old 12-21-2004, 02:19 AM   #374
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
I don't see how my gcc can get corrupted, but maybe I'll reinstall it. Anyway, my cpu cannot have been overclocked, 'cause I tried doing it with no applications running and no X server too, but it still failed.
 
Old 12-21-2004, 02:29 AM   #375
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
HAve you tried re-compiling a "pure" stock kernel, i.e without NTFS support? Another suggestion is to try out a plain vanilla kernel source tree, using your stock .config and then enabling NTFS on that... other than what I've already said, I really don't know what may be the problem.
 
  


Reply

Tags
howto, tutorial


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 06:57 PM.

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
Open Source Consulting | Domain Registration