Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 9th, 2003, 11:20 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 8
Recompiling my Kernel

Ok, i just installed redhat 8. I want to recompile the kernel to add pcmcia support to it. Does anyone know if or where redhat puts the .config file it used during the installation to configure the kernel? I really dont want to have to go through each option and set it up one by one. If i could just find the current config setup and then simply add pcmcia support to it, it would make my life much much easier. Thanks for the help!

-Mr.K

Reply With Quote
  #2  
Old March 10th, 2003, 10:37 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 8
Ok, then how about this question. lol

I get the following error's during compilation:
Quote:
Boot sector 512 bytes.
Setup is 2533 bytes.
System is 1162 kB
warning: kernel is to big for standalone boot from floppy


Is there some way to make my boot sector bigger? lol. Thanks for the help.

-Mr.K

Reply With Quote
  #3  
Old March 10th, 2003, 11:23 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Too big.

You need to shrink the system by putting things in modules - put as much as you can in modules, make the whole system run on loadable modules! Ok.. maybe that's not possible, but seriously, put as much in modules as you can instead of building it right into the kernel. Also, did you do 'make bzImage' (as opposed to say... 'make zImage')?

[edit]
BTW... you can still boot it from the HDD, you just can't put it on a floppy - that's all the message is saying AFAIK
[/edit]

Last edited by Ctb : March 10th, 2003 at 11:28 PM.

Reply With Quote
  #4  
Old March 11th, 2003, 07:17 AM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
Quote:
Originally posted by Ctb
Too big.

You need to shrink the system by putting things in modules - put as much as you can in modules, make the whole system run on loadable modules! Ok.. maybe that's not possible

It's possible You just have to use an initrd to put some of the more crucial modules (like, your root filesystem) on.

</semi-off-topic>
__________________
Debian - because life's too short for worrying.
Best. (Python.) IRC bot. ever.

Reply With Quote
  #5  
Old March 13th, 2003, 05:12 AM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 10 m 50 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
use # make bzImage instead of make zImage for larger kernels

christo

Reply With Quote
  #6  
Old March 13th, 2003, 07:22 AM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
Quote:
Originally posted by CHR15T0
use # make bzImage instead of make zImage for larger kernels

christo
Just to clear something up even though I'm not sure if this is what you are implying or not, but bzImage doesn't make smaller kernels, it just doesn't have the silly 512KB limit that zImage does. (the "bz" stands for "big zip" not "bzip2" - although it's a common misconception)

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Recompiling my Kernel


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT