LinuxQuestions.org
Help answer threads with 0 replies.
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 02-09-2004, 02:34 PM   #1
kith
Member
 
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109

Rep: Reputation: 15
Help needed! =)


---- This is more Gentoo specific, but most of it is general info.


Hey guys, I would have asked these following questions in my last thread, however this is a differnt topic. To start with I installed Gentoo useing the 2.6.2 kernel. The install was pretty flawless. My system specs are as follows:

Barton 3200 CPU
Asus Nforce2 Motherboard
One SATA - Hard drive running windows
One IDE On the primary controller - booting Linux
1.5 Gigs of Corsiar 3200
ATI Radeon 9600 Pro

Now onto the problems.....

-----First ISSUE-----

Emergeing - Well it seems that only certain things are able to be complied, for example I can't complie Gnome and some items on my emerge -u system list. I figured It had to be my GCC because my CFLAGS are really, pretty default. So I installed GCC 2.95 and still, the same issue. So I figured well I better upgrade to the newest version 3.3. Well the complie seems to start right, but then after awhile it starts to complie the same line over and over again, this is just form me watching it, it seems to just spit out the same 3 lines over and over. Something along the lins of make: Warning: file' /var/tmp/portage/gcc-3.3.2/work/gcc-3.3.2/makefile.in has had /bin/sh unchanged over and over again...something like that...Also its takeing ALOT longer then the other GCC did so I just stopped it. Here are my CFLAGS and part of my make.conf

CHOST='i686-pc-linux-gnu'
CFLAGS='-mcpu=athlon-xp -pipe -03 -mcpu=i686 -funroll-loops -pipe'


Now I have tryed useing -02 AND -03 and I get the same issues. I am pretty stuck and have NO idea how to fix thses issues. Even when I try to complie the individual ebuilds of the packages I get errors on, I still get the same errors. I would LOVE for this to be fixed heh


-----Second ISSUE-----

X Server! Well I have complied my Kernel following the guides on here for ATI cards. I am positive I have done all that correclty because X starts up with no problems =D! However my USB mouse doesn't work. I have searched all throughout my kernel and have enabled all the HID USB options I could find. I have tryed manually edititing the XFree config with differnt USB settings and still no go. This should be easy to fix I think.


-----Third ISSUE-----

Ahh Grub! Well I set up grub pretty easily and Gentoo boots perfectly. Again, remember looking at my hardware specs I said I had 2 hard drives. One of them being a SATA, which windows is on. Here is my grub config

default 0
timeout 30
splashimage=(hde0,0)/boot/grub/splash.xpm.gz
#Gentoo
title=Gentoo Linux
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda3
#Windows
title=Windows Xp
root (hd4,1)
chainloader (hd4,01)+1


Now... again the Gentoo part works PERFECTLY. However, the Windows does not. I was not sure what Hdx,y my windows parition was so I loaded up Knoppix and had a peek. Knoppix said my Windows parition was hde,1 So I figured ok, in grub that'd be hd4,1) right? Well I set root (hd4,1) and Chainloader (hd4,1)+1... as you can see in the config, and still no go, so I am also stuck there.

Thanks in advaned, I tryed to make this read easy to understand and organaized. Oh and yes, I've used the SEARCH feature on this fourm all day today=)
 
Old 02-09-2004, 03:45 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
We will start with issue number 1, those CFLAGS need to be updated a little bit I am not going to go crazy on you, but here is my suggestion:

CFLAGS='-march=athlon-xp -pipe -03 -fomit-frame-pointer -funroll-loops -mmmx -msse -mfp-math=sse -ffast-math'

It makes no sense to set -mcpu twice the way you are....

Ok, second, isntall the newest GCC 3.3.2-r7 package. Don't stop it, GCC 3.3 is pretty big (much better then gcc 2.95). It'll take a while, but unless it fails with an error and stops let it go and it will finish. Then try installing the rest of your stuff.

Last edited by jtshaw; 02-09-2004 at 03:48 PM.
 
Old 02-09-2004, 03:47 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Issue 3:
Try changing:
#Windows
title=Windows Xp
root (hd4,1)
chainloader (hd4,01)+1
To:
title=Windows Xp
root(hd4,1)
chainloader +1

And you might want to make sure XP isn't actually on hd4,0

Last edited by jtshaw; 02-09-2004 at 03:49 PM.
 
Old 02-09-2004, 03:50 PM   #4
kith
Member
 
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
So I don't need to have CHOST='i686-pc-linux-gnu'? I can comment it out if i have CFLAGS='-mcpu=athlon-xp -pipe -03 -mcpu=i686 -funroll-loops -pipe'?

Also should i use ACCEPT_KEYWORDS='~x86"

Last edited by kith; 02-09-2004 at 03:53 PM.
 
Old 02-09-2004, 04:04 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
no no, you need both CHOST and CFLAGS. But as I said before, at the very least take out the -mcpu=i686 cause it makes no sense to use -mcpu=athlon-xp and then -mcpu=i686. You can use ACCEPT_KEYWORDS="~86" if you would like, I do, but I will warn you that sometimes you have to mess around with this a little more cause they aren't tested as well.
 
Old 02-09-2004, 04:55 PM   #6
kith
Member
 
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
For some reason when I run the Boot strap it fails, prehaps its the CFLAGS?
 
Old 02-09-2004, 05:00 PM   #7
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
perhaps, not sure, I use very aggressive CFLAGS and I have never had a problem with boot strapping, you might want to ask the people on the forums at gentoo.org, they might be able to help you better.
 
Old 02-09-2004, 05:37 PM   #8
kith
Member
 
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
I have!, thats why I came here, there stumped! Its driving my NUTS!!
 
Old 02-09-2004, 05:42 PM   #9
kith
Member
 
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
A hah, it said -mfp-math=sse is not an option, seems to be working now


Also should the first thing I complie after gentoo is installed be GCC rc 7?

or does it matter? I mean whats differnt about it?

Last edited by kith; 02-09-2004 at 05:48 PM.
 
Old 02-09-2004, 06:11 PM   #10
stirling
Member
 
Registered: Feb 2004
Distribution: LFS, Ubuntu
Posts: 52

Rep: Reputation: 16
i had this problem (the repeating message one).
it was because my clock wasn't set correctly.
there's a part in the build process that checks to see if a file has been changed and it'll just keep going and going.

anyway, check your clock.
 
Old 02-09-2004, 06:25 PM   #11
kith
Member
 
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
how do i check my clock? you mean my bios clock?
 
Old 02-09-2004, 06:37 PM   #12
stirling
Member
 
Registered: Feb 2004
Distribution: LFS, Ubuntu
Posts: 52

Rep: Reputation: 16
with 'date' or 'hwclock'

to check: date
to set: date --s "2/9/04 HH:MM:SS"

(this is the 9th isn't it?)
 
Old 02-09-2004, 07:25 PM   #13
kith
Member
 
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
Ah Thanks! this bootstrap should be done soon, after the install I'll complie GCC then my vid card drivers ect... However my next quesiton involves Kernel 2.6.2, I only found two items relation to USB mice, under Device Drivers Are there more options for USB mice? Something like USB- core???






EDIT: Odd, my boot strap is going into 3ish hours, with less cflags it was only 2 =(

Last edited by kith; 02-09-2004 at 08:36 PM.
 
Old 02-10-2004, 08:04 AM   #14
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 35
Did your windows booting work yet? You may need the option "rootnoverify" I think.
As for USB mice, you will need to enable USB in the kernel, which it sounds like you haven't found. I can't remember where it is, although I have a feeling it was something like Device Drivers->USB support, but you should be able to find it if you look through all of the menuconfig options.
 
Old 02-10-2004, 01:44 PM   #15
kith
Member
 
Registered: Jun 2003
Location: Texas - Houston
Distribution: Gentoo/FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
Well everything is going GREAT with the gentoo install seems everything is working, i am conffigureing X as we speak, however I Will let you know on the grub thing in about 20 mins
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed sailu_mvn Programming 2 03-24-2005 07:50 AM
help needed with QT sabeel_ansari Programming 1 01-21-2004 03:14 PM
C++ help needed sabeel Programming 6 11-27-2003 01:19 PM
help needed here... c12ayon Programming 2 10-29-2003 11:59 AM
Needed Help rajesh.s Linux - Hardware 0 12-17-2002 03:18 AM


All times are GMT -5. The time now is 12:19 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration