LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 01-28-2006, 01:57 PM   #1
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Rep: Reputation: 30
Gentoo amd64 Kernel does not compile


After distro hopping for a while, I've finally come to the realization that Gentoo is the best. With a 64bit machine, nothing else really works well. Anyway, I installed Gentoo64 before I had Fedora, and now I'm trying to install again, but when I emerge gentoo-sources, It complains that it can'T make because there is no make file in the gentoo-sources amd64 directory. Actually, I checked, and there is no amd64 directory. I created one and simlinked it to x86_64, and of course when it unzipped the package again, my changes were destroyed. As always, any help greatly appreciated.

Thanks,
-Peter
 
Old 01-28-2006, 02:03 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Did you try and emerge sync and emerge gentoo-sources again.
Dumb ? but you did select yours ;
Processor type and features --->
Processor family (AMD-Opteron/Athlon64) --->
( ) AMD-Opteron/Athlon64
( ) Intel EM64T
( ) Generic-x86-64"

Last edited by comprookie2000; 01-28-2006 at 02:12 PM.
 
Old 01-28-2006, 03:23 PM   #3
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Original Poster
Rep: Reputation: 30
No, can't even get that far. Well, I mean I did emerge --sync and emerge gentoo-sources again, but I got the same error. I can't get into a kernel config though. Any more ideas?

Thanks,
-Peter
 
Old 01-28-2006, 03:36 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
What is in /usr/src
ls /usr/src
 
Old 01-28-2006, 06:02 PM   #5
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Original Poster
Rep: Reputation: 30
Ok, here it is, the result of ls /mnt/gentoo/usr > file.

bin
include
lib
lib32
lib64
libexec
local
portage
sbin
share
src
tmp
x86_64-pc-linux-gnu

Good? Bad? Indifferent?

Thanks,
-Peter
 
Old 01-28-2006, 06:14 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Need to see what is inside /src
if you have a kernel there and linux try
rm linux
ln -s kernel-whatever linux
cd linux
make menuconfig
what happens?
also if you are chrooted you should already be in /mnt/gentoo if not you are on the live cd side and it will not work from there, that may be your problem

Last edited by comprookie2000; 01-28-2006 at 06:17 PM.
 
Old 01-28-2006, 06:31 PM   #7
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Original Poster
Rep: Reputation: 30
There's nothing in /usr/src. Absolutey nothing. I wasn't chrooted because I'm switching in and out of windose as I look at this forum.

Thanks,
-Peter
 
Old 01-28-2006, 06:40 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
You used one of these stages,
http://gentoo.osuosl.org/releases/am...5.1-r1/stages/
Have you emerged anything that worked?
 
Old 01-28-2006, 06:48 PM   #9
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Original Poster
Rep: Reputation: 30
Yes. I emerged slocate so I could find the package, but guess what: no mtab. Come to think of it, if you could give me the directory where portage stores it's archives, or a way to build enough of an mtab for updatedb to work, I think I can fix it.

Thanks,
-Peter
 
Old 01-28-2006, 06:58 PM   #10
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Also you could try;
emerge -pv system or
emerge world --update --deep --newuse -pv
just to see what your missing
All the ebuilds are at /usr/portage
 
Old 01-29-2006, 05:08 PM   #11
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Original Poster
Rep: Reputation: 30
Will do. I'll let you know the results as soon as I try it.

Thanks,
-Peter
 
Old 02-01-2006, 10:18 PM   #12
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Original Poster
Rep: Reputation: 30
Sorry for the delay in information: school. Ok, so the emerge commands told me that I was missing all kinds of stuff, but I still need kernel. The other thing is that I edited the linux-2.6.15.tar.gz archive, and symlinked amd64 to x86_64. Probably a bad idea because I just realized that X86 is intel. Anyway... portage complained at me for the archive not being the same as the original size. Any more ideas? Should I just install the kernel manually? Any ideas on how to do that?

Thanks,
-Peter
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking crashes my machine (amd64, gentoo, kernel 2.6.12) Polygon Linux - Networking 2 08-13-2005 10:07 AM
kernel compile problem in gentoo saif__r Linux - Newbie 5 08-12-2005 06:32 PM
Howto: Compile new 2.6.x kernel for Gentoo? Please help.. :S CrapBag Linux - Newbie 1 07-09-2005 01:41 PM
Gentoo AMD64 Kernel 2.6.xx Adaptec aacraid hanging solved!!! PriceComparison Linux - Hardware 1 04-12-2005 04:05 AM
gentoo kernel compile error zbrox Linux - Software 2 01-27-2004 02:05 AM


All times are GMT -5. The time now is 10:36 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration