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

Pages: 1, 2, 3
free web hosting

Read Latest Entries..: (Post #27) by abhiram on Oct 12 2005, 10:00 PM. (Line Breaks Removed)
Finally got nvidia to work. Apparently, there is some problem with the current nvidia drivers and kernel-2.6.13. So, I unmasked nvidia-glx, nvidia-kernel and 2 other dependencies that were required for the drivers. After emerging, just edited the xorg.conf file as given in the handbook and restarted X. I'm using the 7676 nvidia drivers. It's working great now. Time to try out some games .Q... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting > Computers & Tech > Operating Systems > Linux

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

abhiram
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 wink.gif.

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 biggrin.gif.

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.

 

 

 


Reply

xboxrulz
try reinstalling the kernel module, or download it off AMD's website or ASUS's website.

xboxrulz

Reply

abhiram
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.

Reply

abhiram
Well, I finally got it solved ... after more than 24 hours biggrin.gif. 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 smile.gif

Reply

qwijibow
QUOTE
(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 smile.gif )

Reply

abhiram
Still using lynx smile.gif ... 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 biggrin.gif. 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?

Reply

yordan
QUOTE
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.

Reply

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


Well... actually it's kinda fun wink.gif. 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?

 

 

 


Reply

qwijibow

emerge kde will emerge every kde package tongue.gif
I usually go with "emerge kdebase kdenetwork kdemultimedia kdeartwork"

anyways.....

QUOTE
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

CODE
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"



QUOTE
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.


Reply

abhiram
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:

QUOTE
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:http://bugs.gentoo.org/>for 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?

Reply

Latest Entries

abhiram
Finally got nvidia to work. Apparently, there is some problem with the current nvidia drivers and kernel-2.6.13. So, I unmasked nvidia-glx, nvidia-kernel and 2 other dependencies that were required for the drivers. After emerging, just edited the xorg.conf file as given in the handbook and restarted X. I'm using the 7676 nvidia drivers. It's working great now. Time to try out some games biggrin.gif.

QUOTE
There are many things you can do to improve the speed further. like using native linux threads insead of the default pthreads, and using kernel's optimised for desktops, and aggressive schedulers etc etc.. but i dont want to ovrload you with Info tongue.gif


I'll get to them as well. After spending so much time with this, I'm not leaving any stone unturned. I'm going to learn this distro down to the basics wink.gif. Thanks for your help.

Reply

qwijibow
your GUI will run alot faster when you get the nvidia driver working.

run "emerge -pv nvidia-kernel"
what nvidia driver version does it report.

I had a problem with some drivers on my AMD64, it turned out to be a driver bug, and i fixed it by changing versions.

to get a list of nvidia driver versions available in portage run

CODE

ls /usr/portage/media-video/nvidia-kernel/


you can cause portage to install a different version of nvidia-driver with the command

CODE

emerge '=media-video/nvidia-kernel-<version>'


be sure that you also change nvidia-glx version to match the nvidia-kernel version.

The latest 1.0.6xxx version would probably work, this is rock stable.

but if you want to go th other way, and try a bleeding edge version which gentoo calls *probably stable but not well tested* (Meaning that nvidia have released the driver as stable, but its new to gentoo, and not tested well amungst gentoo users)

then you can install a version highter that the one gentoo installs by default.

to do this you will need to tell portage that you dont mind using *stable but not well tested* versions of nvidia kernel and lxlike so...

CODE

echo "media-video/nvidia-kernel ~x86" >> /etc/portage/package.keywords
echo "media-video/nvidia-glx ~x86" >> /etc/portage/package.keywords


(basically, add the package name, followed by ~x86 *meaning testing for x86)

then running

CODE

env-update


after you have emerged a different version of nvidia-kernel, unload the nvidia kernel like so "rmmod nvidia"

re-load it "modprobe nvidia"

set Xorg to use nvidia instead of nv

then re-start xdm.

It seems complicated, but after a while, emerge portage becomes second nature.

Gentoo's speed relies on how you install it, what CFLAGS you used, and what USE flags you set.

There are many things you can do to improve the speed further. like using native linux threads insead of the default pthreads, and using kernel's optimised for desktops, and aggressive schedulers etc etc.. but i dont want to ovrload you with Info tongue.gif


Reply

abhiram
Well, I'm done biggrin.gif.

I must say, it was quite easy after I removed the faulty RAM. A straight, simple, by-the-book, easy install. Since I read the handbook 3 times already, it wasn't a big deal. Started the installation at 9PM with a stage 3 and by 1:00 AM, I had X running, and alsa configured and was listening to songs using mpg123 while I was finishing the base configuration. I gave the command 'emerge kdebase-startkde kicker' and went to sleep and in the morning, I had a working KDE installation.

But, in KDE, i realised that konsole wasn't installed biggrin.gif. Back to the console and 'emerge konsole'. Now, I've got a konsole and an empty KDE installation. So, the rest of the morning consisted of emerging Konqueror, amarok, ymessenger, firefox and kate.

Now, it's a pretty neat installation. but a lot of things are missing. So, I decided to have the entire KDE package now, so 'emerge kde-meta'. It might take some time, but I'm in no hurry. The important things are working fine.

But, for some reason, nvidia still doesn't load up. I've tried

CODE
mknod /dev/nvidiactl c 195 255
mknod /dev/nvidia0 c 195 0
chown root.video /dev/nvidia*
chmod 0660 /dev/nvidia*


but it still isn't working. This is the error I got:

QUOTE
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xEC000000
(--) NVIDIA(0): MMIO registers at 0xFD000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
  at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


Any suggestions?

And another thing... gentoo is definitely fast ... it starts up in 40 sec upto kdm and shutdown from KDE to power off is in 20 sec.... but I was kinda hoping for blazing speed biggrin.gif. Of course, the sound in amarok doesn't skip no matter what I do, and the applications and programs open much faster than they did in slackware, but it's not exactly as fast as I expected it to be. I was under the impression that the windows would actually zoom around irrespective of the load. smile.gif

Maybe the lag is because I haven't installed nvidia yet and only have 256MB RAM. Of course gentoo on 256MB RAM is faster than Slackware on 512MB.

I think gentoo is kinda neat. Once you have everything installed and in place, it's a pretty cool distro. I think people are afraid of gentoo (like I was) because of the huge amount of documentation to go through and the long hours to be spent in configuring the system. It loses its purpose if the system on which it is installed doesn't have a decent (atleast a 100kbps download speed) internet connection.

Reply

qwijibow
No problem, answering forum questions is a welcome break from job seeking [ just left university ] :s


It seems that one of the ram sticks was over-clocked, but surviving.

Maybe a gentoo stage 1 full compile for several hours on an over clocked ram slot must have killed it.

Good luck and next time, make sure your ram chips frequency's match tongue.gif


Reply

abhiram
sad.gif Well, I don't know how to say this but ... I guess I've been wrong the whole time. I was under the impression that if slack and winxp were working, there shouldn't be a significant problem with the hardware.

But now, I just checked each RAM individually using memtest and it seems that one of my RAMs is screwed up. I'll have to get it replaced but I don't think that will happen for another 2 months.

Thanks for your help ... I really appreciate you taking your time out for replying so regularly.

I really want to try gentoo out and I'll give one last attempt tonight with my 256MB RAM (I checked it thoroughly and there are no problems). I'll post back on the results.

Thanks once again for your time smile.gif.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2, 3
Recent Queries:-
  1. asus a7n8x-vm ethernet card problem - 3.77 hr back. (1)
  2. asus a7n8x-vm problem network - 4.06 hr back. (1)
  3. died running emake, kde_src_compile - 6.05 hr back. (1)
  4. gentoo "no screens found" - 30.15 hr back. (1)
  5. gentoo "no space left on device" no login kde - 33.57 hr back. (1)
  6. gentoo modprobe module eth0 run level - 58.09 hr back. (1)
  7. "networking command list" - 77.45 hr back. (1)
  8. lynx not found gentoo - 99.28 hr back. (1)
  9. fatal: module nvidia not found gentoo - 132.79 hr back. (1)
  10. emake gentoo - 141.95 hr back. (1)
  11. gentoo networking - 157.28 hr back. (1)
  12. no space left on device gentoo live - 162.25 hr back. (1)
  13. gentoo eth0 device not found - 179.43 hr back. (1)
  14. gentoo post(no connection): failed to initialize monitor device. - 239.04 hr back. (1)
Similar Topics

Keywords : gentoo, networking, problem, gentoo, desperately

  1. Gentoo Cflags & Use
    help needed configuring make.conf (1)
  2. Wireless Networking On Mandrake/Mandriva 2005 Edition
    (6)
    Hi any and all. I recently got a D-link wireless router and my laptop has an internal WLAN card
    which works perfectly under windows so I know the hardware is not the problem. The Distro im using
    is Mandrake/Mandriva (depending on what you call it) limited edition 2005. During bootup I've
    pressed escape to monitor whats going on and it fails to bring up my device, it knows its there but
    it cant bring it up, I dont know if this is because it cant detect the WLAN so it means theres no
    WLAN or if theres a problem with drivers etc and it cant start up the hardware? Ive....
  3. Gentoo Linux 2006.0 Released
    (10)
    QUOTE he Gentoo Release Engineering team proudly announces the release of Gentoo Linux 2006.0.
    Gentoo Linux 2006.0, the first release in the 2006 series, represents improvements across many
    architectures since the 2005.1 release. Major highlights in the release include KDE 3.4.3, GNOME
    2.12.2, XFCE 4.2.2, GCC 3.4.4 and a 2.6.15 kernel. This is also the first release with the Gentoo
    Linux Installer officially debuting on the x86 LiveCD, which will fully replace the Universal and
    PackageCD set. The LiveCD also features a fully-fledged Gnome environment. Later releases....
  4. Considering Switching To Gentoo, But I Have A Couple Questions...
    (29)
    Well, I'm on the verge of doing some major formats/reinstallations on my HD's and I figured
    it's a good time to re-evaluate my OS choices and see if I want to try anything new out. I'm
    heavily considering Gentoo currently. I've always wanted to at least try it out but it always
    seemed kind of daunting so I never got around to it. While I have some linux experience I am far
    from adept in it so I never really got to the point where I just said "alright I'm gonna do it"
    Until now. So I know alot of the linux users here run Gentoo or have used it at....
  5. Dual Boot Question
    future gentoo/xp project (2)
    I am planning to get a second hd drive for my pc and run gentoo as well as xp. Is it possible to
    boot from a secondary drive or should i install gentoo on the end of my primary hd and then mount
    /home on the second one? other questions to follow.....
  6. Gentoo Linux - How Many Users Out There ?
    gentoo linux distro (18)
    How many gentoo users do we have out here? Recently started delving into it, and i am extatic. It
    has the command line cabalities of apt-get (debians source grabber) using emerege. Love how it
    automatically downloads and installs the sources from a source tree. Makes things alot easier.....
  7. Gentoo Install Help
    emerging packages (9)
    hi linux users i've now got a stable gentoo base but i cant seem to install any packages. this
    is on a differnet not internet computer to this one. i have installed quite an old version (kernel
    2.4) 2004.3 but i have the 2005 packages cd. i looked at the online gentoo install handbook 2005 but
    it has the same instructions as the 2004.3 handbook. when is try to emerge the packages the computer
    tried to go online to find the packages instead of going to the cd and looking there. obviously no
    internet makes it fail. it is a p3 so 86x structure. that may not be enough....
  8. Gentoo - Graphical Installer ! All The Power Of
    gentoo, available to newbs ??? (5)
    Gentoo... my most favorite of all linux distro's. Gentoo is possably the most customisable,
    most optimised, and if installed correct,y the most powerfull of all linux distro's. but there
    is one thing holding it back. All the other distro's are easy to install. Doanload an install
    CD... and boot it. With gentoo you needed to boot a live cd, download and extract a minni linux
    system, then chroot into it, and build gentoo from that, all command line. Much too difficult for
    newbs. setting the corrct compiler optimisations, and use flags meant gentoo was for mo....
  9. Gentoo! (windows Device Drivers Running Native
    on Gentoo !!!!) (7)
    Linux used to be too hard for the common user, didnt support enough hardware, and didnt have enough
    desktop tools to replace windows tools. currently the only 2 remaining complaints about linux are
    that (a) rare hardware / winModems and some wireless lan cards dont always support linux. (B) Most
    commercial software is never ported to linux. the wine proect has been working on problem (B) and
    is doeing extremely well. they can even get IE (which is very tightly integrated into windows) to
    run on Linux ! problem (a) can only be sorted with hardware hacking, revers....
  10. Linux Help
    Linux Networking Help (3)
    Hi doesn't anybody know any good tutorials, on linux networking. I know how to use the basics of
    the operation system. However I need to learn more on networking in general, and how to admin a lan
    and wan in unix/linux.....

    1. Looking for gentoo, networking, problem, gentoo, desperately

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for gentoo, networking, problem, gentoo, desperately
advertisement




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



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE