Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

make menuconfig problems[SOLVED]

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
tommy_haaland
Guru
Guru
Posts: 320
Joined: Sat Oct 04, 2003 10:24 pm

make menuconfig problems[SOLVED]

  • Quote

Post by tommy_haaland » Fri Oct 31, 2003 10:58 pm

When I installed gentoo I installed kernel-2.4.22_Pre2-gss. Today I installed kernel 2.4.23_Pre8-gss. From grub I can choose which kernel to load.

Now, when I load kernel-2.4.22, and run 'make menuconfig', it is kernel 2.4.23 menuconfig which is running...how come?
Last edited by tommy_haaland on Sat Nov 01, 2003 7:10 pm, edited 1 time in total.
Top
cripwalk
n00b
n00b
Posts: 59
Joined: Sun Jul 13, 2003 9:20 pm
Location: Socal

  • Quote

Post by cripwalk » Fri Oct 31, 2003 11:44 pm

Are your running make menuconfig from /usr/src/linux? You probably have it symlinked to your new kernel (2.4.23) Even if you boot into your old kernel, the symlink wont change. If you wanted to recompile your old kernel go to /usr/src/ linux-2.4.22_Pre2-gss dir and then run make menuconfig. Or change the /usr/src/linux symlink to your old kernel and try running it again.
Top
tommy_haaland
Guru
Guru
Posts: 320
Joined: Sat Oct 04, 2003 10:24 pm

  • Quote

Post by tommy_haaland » Fri Oct 31, 2003 11:56 pm

hmm, what's the point in making the symlinks anyway? If I want to run 'make menuconfig' from the old kernel, I go into /etc/usr/linux2.4.22 , and if I want to run it from the new menuconfig I go into /etc/usr/linux2.4.23

When I have run make menuconfig, where is the image placed after I have ran make dep && make clean bzImage modules modules_install' ?
Top
Pete_Keller
l33t
l33t
Posts: 664
Joined: Tue Sep 30, 2003 2:32 pm
Location: Norwich, CT USA

  • Quote

Post by Pete_Keller » Sat Nov 01, 2003 3:09 am

tommy,

it is in /usr/src/linux/arch/i386/boot and is called bzImage

Pete
I am a SIGNATURE VIRUS, help me spread - attach me to your signature file.
Top
BillyD
Guru
Guru
User avatar
Posts: 323
Joined: Sun May 05, 2002 2:46 pm
Location: Australia

  • Quote

Post by BillyD » Sat Nov 01, 2003 3:12 am

Having the symlinks also enables other packages (such as alsa or nvidia-drivers to name a couple) to "find" where your kernel sources is. If you don't have it specified as "linux" then you will get errors when trying to install other stuff.
We used to have hominid cousins that were vegetarian. The palæontological record suggests that our ancestors killed them and ate them.
Top
tommy_haaland
Guru
Guru
Posts: 320
Joined: Sat Oct 04, 2003 10:24 pm

  • Quote

Post by tommy_haaland » Sat Nov 01, 2003 8:53 am

Ok. I added this to the end of my /etc/conf.d/local.start:

Code: Select all

 rm /usr/src/linux
ln -s /usr/src/linux-`uname -r` /usr/src/linux
and now it seems like symlinks points to the right kernel sources. But still my network card (have support for it in the kernel config as a module) doesn't work.

Anyone know how to solve this problem?[/code]
Top
tommy_haaland
Guru
Guru
Posts: 320
Joined: Sat Oct 04, 2003 10:24 pm

  • Quote

Post by tommy_haaland » Sat Nov 01, 2003 12:48 pm

When I run

Code: Select all

modprobe 8139too
it says: "can't open dependencies file /lib/modules/2.4.23_pre8-gss/modules.dep"

In /lib/modules 2.4.23_pre8 doesn't exist, so it is logical that I get that error message, but why doesn't I see the new kernel there after running make modules modules_install ????

Please help.
Top
tommy_haaland
Guru
Guru
Posts: 320
Joined: Sat Oct 04, 2003 10:24 pm

  • Quote

Post by tommy_haaland » Sat Nov 01, 2003 7:09 pm

Solved:

instead of running all in one command, I did it like this

Code: Select all

make dep
make clean
make bzImage
make modules
make modules_install

then mounted /boot and copied the bzImage to /boot

then it ALL worked...even my USB ports that didn't work under the 2.4.22 kernel  :D 
Top
Post Reply

8 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy