Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel rebuild - problem - RH 7.3

"Anand A Rao" <andy at> writes:

> Hi  ,
>   I just rebuilt my kernel  to add  support for  my  optical mouse.  But  on
> trying to  boot into this new kernel the  systems  hangs on  mounting root
> file system and then gives a message :
> Freeing unused kernel memory: 248k freed
> can any one suggest  any possible reason for this.

Last time I did a kernel upgrade, I discovered an "rpm" target, and when
I used that, the rebuild and installation went very smoothly. I did this
on a Redhat box, so if you're using something else, your mileage may vary.

As I recall, what I did was as follows:

    % make xconfig

    * select the "Load Config From A File" button

    * navigate to /usr/src/linux-2.4/configs and select the config file
      that most closely matched my system

    * save the config and exit from the xconfig dialog

    % make dep ; make rpm

This built the new kernel and placed the rpm file under 
After that I installed the rpm and updated lilo, and it was all set.

To add mouse support like you wanted, you should be able to make the
necessary changes after loading the current settings and before saving
and exiting; that way the config settings are the same as the 
defaults, except for the bits you explicitly changed.

John Abreau / Executive Director, Boston Linux & Unix 
ICQ 28611923 / AIM abreauj / JABBER jabr at / YAHOO abreauj
Email jabr at / WWW / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99

"The early bird catches the worm, but the second mouse gets the cheese."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 344 bytes
Desc: not available
URL: <>

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /