Jump to content
xisto Community
Sign in to follow this  
abhiram

Gentoo Networking Problem New to Gentoo....need help desperately

Recommended Posts

Well... I've finally done it! I've completely erased my slackware installation and embarked on installing gentoo for the first time after deliberating for a long time :blink:. I must say, the installation handbook is great. It covers almost everything. I followed the handbook word for word and starting with a stage2 installation (where the heck is stage1? All the mirrors only had stage2 and stage3), and everything went great. I rebooted and it actually worked... I got a login prompt and everything :mellow:.But while booting, I noticed a message that said 'eth0 not found'. I've tried to start it again using /etc/init.d/net.eth0 start ... but it gives me the same error 'eth0 not found'. My motherboard is an Asus A7N8XVM-400 and the ethernet card is built-in on the motherboard itself. Now, my guess is that the kernel doesn't have the drivers for my LAN card compiled in. I used the 'gentoo-sources' kernel during installation (the network works with the liveCD) and it didn't have any driver for nforce or nvnet. I downloaded the NFORCE drivers from nvidia and tried to run them, but it isn't working. It fails with an error. The driver worked in Slackware and Mandriva, but for some reason isn't working in gentoo.Any help would be great... I've spent a day on this installation already, I want to see this thing through. Thanks.

Share this post


Link to post
Share on other sites

That's the problem... it isn't there. The kernel doesn't have the module for nvnet. I downloaded the drivers from nvidia, but it isn't working.

Share this post


Link to post
Share on other sites

Well, I finally got it solved ... after more than 24 hours :blink:. I had to boot from the liveCD again and recompile the kernel. Apparently I had overlooked the driver that was compatible with mine ... the forcedeth module. I tried to compile it into the kernel, but it didn't work. So, had to compile it as a module and add 'forcedeth' to /etc/modules.autoload.d/kernel-2.6 and now it works. In fact, I am typing this from lynx right now :mellow:

Share this post


Link to post
Share on other sites

(where the heck is stage1? All the mirrors only had stage2 and stage3)

stage1's are kept in the x86 folders on the server, (i assume you were looking in i686)
they dont put stage1's in the i686, as in a stage 1, there is no point in optimising, as EVERYTHING is going to be re-compiled.

anyways... glad to hear its all working (especiially after i recomended it so highly :mellow: )

Share this post


Link to post
Share on other sites

Still using lynx :mellow: ... so please bear with me if the formatting isn't good.Actually qwijibow, the reason I even considered gentoo was because you spoke so highly about it :blink:. I've learnt so many things already about Linux ... it's mind boggling. I think installing gentoo is one of the best ways you can get to know about the intricacies of the Linux environment. Right now, I'm in the middle of 'emerge kde' and I think that'll take quite some time. Say... I've just seen inittab, and it doesn't have any runlevel to start X directly. How do I set that?

Share this post


Link to post
Share on other sites

Say... I've just seen inittab, and it doesn't have any runlevel to start X directly. How do I set that?

Nice, now I know why I don't want to try gentoo ! I will stay to Mandrake.

Share this post


Link to post
Share on other sites

Nice, now I know why I don't want to try gentoo ! I will stay to Mandrake.

Well... actually it's kinda fun :mellow:. It's not the kinda thing you want to do every week, but a one-time experience is pretty good.

Well, I'm up against another wall now. For some reason, when i try 'emerge kdebase-startkde' it installs some of the files, but when it comes to 'arts' it exits with a 'segmentation fault'. I didn't really pay much attention to this, but it's been happening quite a bit till now. When I did 'emerge mplayer' also, I got a segmentation fault for 'gtk'.

Any ideas why? Is the OS corrupted? I installed it from the minimal install disk burnt onto a RW disk. Is it possible for the OS to get corrupted inspite of getting installed if the RW disk gets corrupted?

Share this post


Link to post
Share on other sites

emerge kde will emerge every kde package :mellow:
I usually go with "emerge kdebase kdenetwork kdemultimedia kdeartwork"

anyways.....

Say... I've just seen inittab, and it doesn't have any runlevel to start X directly. How do I set that?

There's non of that silly numbers thing in gentoo...

You get 2 different run-levels to start with "boot" and "default"

boot always runs first, then default (or some other run-level) will run.

you maniplulate what services run at which run-levels with the command "rc-update"

so for example, to add X to your default run-level you would run the command

rc-update add xdm default

you have probably used rc-update dureing the install for things like starting your network interfaces.

if you have not done so yet, you should also edit /etc/rc.conf and set

#set kde as default login manager
DISPLAYMANAGER="kdm"

#set kde as default desktop
XSESSION="kde"



Well, I'm up against another wall now. For some reason, when i try 'emerge kdebase-startkde' it installs some of the files, but when it comes to 'arts' it exits with a 'segmentation fault'. I didn't really pay much attention to this, but it's been happening quite a bit till now. When I did 'emerge mplayer' also, I got a segmentation fault for 'gtk'.

righty...

in portage, there are alot of symbolic ebuilds...

for example, KDE is made up of lots of components...
when you emerge kde, the kde ebauild tells portage to emerge kdebase kde-network kde-artwork kde-multimedia.. etc etc etc..

and some of those things are symbolic ebuilds.. for example kde-network tells portage to emerge packages like kde-kopete kde-irc kde-ftp etc etc etc.

after you have emerged kde, you dont need to start emerging kde's components, they are already there.

What exactly is the seg fault...

what commands are you trying to run, and what is the error spitted out ???

if somthing is seg-faulting, i think the best thing to do would be to re-emerge it.

Share this post


Link to post
Share on other sites

Well... I've tried re-emerging. But it isn't working. This is the error message I keep getting the minute it tries to install arts:

pipebuffer.h:At global scope:pipebuffer.h:53:internal compiler error:segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/ instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [audiosubsys.lo] Error 1
make[3]: *** Waiting for unfinished jobs...
make[2]: *** [all recursive] Error 1
make[1]: *** [all recursive] Error 1
make: *** [all] Error 2

!!! ERROR: kde-base/arts-3.4.1-r2 failed
!!! Function kde_src_compile, Line 165, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


I get something similar to this for mplayer as well. Any ideas?

Share this post


Link to post
Share on other sites

I just logged into windows and made an iso image with the RW disk I installed from and apparently, it's md5sum doesn't match. So, I've got burnt the image into an unused CD-R and am now installing gentoo again ... from scratch :mellow:Anyways, just ignore my previous post because there was a problem with the disk and it shouldn't happen again this time.

Share this post


Link to post
Share on other sites

ok okay... i was going to surgest you re-compile gcc.but if your md5 sums dont match its definatly an error caused when downloading, or burning the CD.It is actually possable to fix this type of error without re-installing, but i guess you have already started.Its actually a mirrqcle you got as far as you did with corruped install media though :mellow:

Share this post


Link to post
Share on other sites

Hi qwijibow :mellow:. Well...I've finally installed X and ALSA. I'm on my way to installing KDE and now I can atleast listen to songs while it's compiling. But, there still seems to be some problem during the 'emerge'-ing process. While comipiling and 'make'-ing huge installations like KDE, it suddenly stops in between with an error saying: No bug report, it is likely to be a Hardware or OS error. Any ideas why that's happening. It will get installed only if I 'emerge' it 3-4 times. I mean, does this happen to everyone? It's a little annoying because, the error shows up after an hour of compiling. Also, I can't seem to be able to install the nvidia drivers. I've got nvidia geforce4 mx onboard and I've followed all the instructions on the gentoo site for nvidia, but still X doesn't start. It gives some sort of error about 'could not initialise NVIDIA kernel module' or something and exits. It's working if I use the 'nv' driver but not with 'nvidia'. Any ideas?

Share this post


Link to post
Share on other sites

Gentoo has never failed to compile except when i unmask testing / unstable packages on my system.The fact that it sometimes compiles fine is a bit of a worry !Gentoo puts your system under a very high strain, is it possable that your CPU is over-heating ?I have never had a compile error except for when i unmask and delibratly try to install testing / unstable versions !check your md5sums again.if you have hardware monitoring support on your motherboard, keep an eye on tempreture.Because with gentoo, everything is compiled locally, the system is very sencitive to faulty hardware.do you have a memtest86 boot disk ?it may be worth testing your ram too.Are you able to underclock your CPU / RAM on your motherboard bios ?if so, try compiling somthing with an underclocked system, if this works, it may be a sign of faulty hardware.Anouther method of keeping the cpu cool dureing long compiles is to allow it to sleep periodically.for exaple, when the cpu starts to get too warm, hit (ctrl and Z) to put the porcess to sleep..when the cpu cool down, run the command "fg" for i to continue where it left off.please post your /etc/make.confdid you use any unstable optimisation settings ?If all your checksums matchand your hardware is not to blame, then as a last resort, maybe try re-compiling gcc.Ive never ever ever had the "Hardware or OS error." error.Lol, i know i said gentoo was one of the hardest distro's to install... but it shouldnt be this hard.Are you installing from stage 1,2 or 3 ?

Share this post


Link to post
Share on other sites

Actually, I'm starting to think that maybe installing gentoo is not such a good idea. If it's gonna screw up my H/W I'd bettter stick to slack.

I've got an AMD Athlon XP 2600+ and Asus A7N8X-VM/400 Motherboard with 512MB and 160GB HDD.
Been using it for a year now and never had any problem with any other distro nor windows.

Maybe the processor is overheating, but I've removed the side panel to give it some more ventilation.

I've checked the md5sum of the CD image after burning this time before installing and it's ok.

There is hardware monitoring support on my motherboard, but how do I observe it while emerging? Is there any program to let me do that?

I don't have memtest86 boot disk. In fact, I don't even have a floppy drive. Is there any image I can download for a CD to test the memory?

No underclocking my system either, there isn't any provision as such.

Anyway, here's the make.conf file:
 



# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-O2 -mcpu=i686"
CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="3dnow X alsa arts cdr -cups -dvb -dvd -dvdr -dvdread gnome kde
-gphoto2 gstreamer gtk gtk2 java hal mp3 mpeg -pcmcia -scanner
win32codecs wxwindows yahoo"

GENTOO_MIRRORS="http://forums.xisto.com/no_longer_exists/ http://forums.xisto.com/no_longer_exists/ "



I did a complete install from stage1... just for the experience :mellow:.

But tell me, if this thing is going to screw up my hardware, I'll stop installing gentoo right now!



Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.