LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-01-2005, 09:23 AM   #16
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33

Yes, here's what I did. (followed the kernel upgrade steps from About.com) - after downloading and unpacking the new kernel.

1. "make menuconfig"
2. "make dep"
3. "make clean"
4. "make bzImage"
5. "make modules"
6. "make modules_install"

Maybe I missed something in the first step, menuconfig?

A side note. I downloaded and compiled the BCM5700 driver from Broadcom's web site. Now my network cards (seem) to work. However I'm concerned about a lack of modules and some error messages during boot. also, some simple commands that I used to use, such as "ifconfig" for one, don't work any more.

I must be doing something wrong?
 
Old 11-01-2005, 03:37 PM   #17
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
That's certainly strange. The only reason I can think that no modules were installed is that you didn't select any in the configuration process. If you go to the top level kernel source directory and do

grep '=m' .config

you should get a list of all modules to be compiled/installed. Use

grep TIGON .config

to see your selection for the network driver.
 
Old 11-03-2005, 11:27 AM   #18
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
grep "=m" .config results:
CONFIG_DUMMY=m

Maybe I chose to have all the modules built in? Does that even make sense?

Is it too late to re-run the kernel config? How do I erase everything and start over?

And If I start over, will my regular commands like ifconfig work?

Last edited by Avatar; 11-03-2005 at 12:12 PM.
 
Old 11-03-2005, 03:21 PM   #19
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Well grep '=y' will tell you what you have compiled in. Main reason to have modular kernel is that you have flexibility to load/unload modules and try different things.

Maybe you never got into the sublevels of 'menuconfig'. Have you looked at any tutorials on kernel compilation? There are plenty around. Just google 'kernel' 'menuconfig' 'tutorial' and any other likely words to find one at the right level. Unfortunately the 'official' Kernel HOWTO seem well out of date. Also some things have changed 2.4 -> 2.6 and most people will be looking at 2.6.

When you boot your old kernel do you have a file /proc/config.gz? If so that is a compressed copy of your old kernel config which you can use as a basis of a new one.

There are really too many unknowns to figure out exactly what you need step by step. The other possiblity is to see if MDK supply a more up-to-date kernel package, which would save you the trouble.
 
Old 11-04-2005, 11:28 AM   #20
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
Thanks,

I read some howtos and even printed one off and followed it as I was doing it so I thought I knew what I was doing.

Most kernel upgrade stuff I found was for major upgrades like 2.2 -> 2.4 or 2.4 -> 2.6.

I'm just doing 2.4 to a later 2.4. I figured it would be similar to a 2.2 -> 2.4 though.

Sadly, I don't have a /proc/config.gz, that probably would have helped.

So... what I'd like to do is try again. So how do I uninstall the newer kernel so I can try over?
 
Old 11-04-2005, 05:07 PM   #21
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
You can just do the same steps again and overwrite the previous version. It's also possible to add an extre version number or tag each time so you keep the previous versions, but until you have something that works I wouldn't bother. Main thing is to make sure you don't overwrite your original working version. Maybe make a backup copy you can restore with a rescue disk.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a kernel module call the function of another kernel module sceadu Programming 3 05-02-2011 02:22 AM
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 09:37 PM
kernel upgrade and module names incompatibility and /etc/modules.conf concoran Linux - General 2 11-29-2001 07:48 AM
No modem after kernel upgrade: Modprobe can't locate module char-major-4 Rimmer Linux - General 2 05-09-2001 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:11 PM.

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