LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2003, 07:06 PM   #1
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
gentoo devfs help needed


my gentoo system won't recognize devfs. i've compiled the kernel a bunch of times -- the first time manually, the second time using genkernel when the first one didn't work, a third time using the --config option to make sure the automount at boot option was on -- but each time the system boots to the "no devfs in the kernel" error message.

i then followed the Robbins IBM Guide , taking out the automount at boot, making the shell script for init and changing the old init to init.system, etc., but it boots to some weird init prompt about half way through the boot (it seems like) and that'sit. nothing. so i changed it back, and recompiled the kernel with the automount back in.

i can access files and everything, but my network not only doesn't come up (emerge nforce-net loaded the drivers), but ifconfig eth0 up says "no eth0 device" or something (can get the exact message, right now i'm emerging xfree, tho). so i take it the devfs not being recognized means the system can't see the eth0 device? or what? i'm confused.

help appreciated, i don't know what's up with this. i've followed all the instructions and guides to a T, and all the searches i've done pretty much have been about devfs not having been compiled into the kernel (which mine definitely is!). thx
 
Old 09-16-2003, 10:20 PM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Before doing this, and possibly wasting your time by having used a bad install make sure you've installed it, word for word.. line for line from this:

http://www.gentoo.org/doc/en/gentoo-x86-install.xml

If that doesn't load it:
*Didn't for me, didn't know what driver to put where it tells me to, when you install it from that, you'll understand what I mean. Use hwsetup from below to see what driver you need, and the add that in*

emerge hotpulg

That solves many things, but didn't fix my network card.
My way of finding things out is to use a part of knoppix. hwsetup

emerge hwsetup

Then run

hwsetup -n |less

And look for the network driver

Then run lsmod and make sure it's loaded
If it's not, run, modprobe <driver name>
If it loads fine, meaning now it shows up on lsmod then add it to autoload

/etc/modules.autoload.d

Edit the file of the kernel you are loading, mine is kernel-2.4 (I recommend starting with 2.4 and then going with 2.5-2.6 if you want to have their features, 2.4 is stable)

Add at the end of that file, the name of the driver hwsetup told you to, nothing special, just on a new line.
After that just restart.

If that doesn't work, as in modprobe didn't load it, then what you need to do is look at the logs of your kernel.
Look at /var/log/kernel, or whereever your particular logger keeps it's files.
Post the error message here, and we'll try to help

Good luck! and tell us if it worked
 
Old 09-17-2003, 10:18 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 47
thanks teval, i haven't had time to test your suggestions yet, but i hope to before the weekend.

of course the gentoo.org installation doc has been my bible throughout the whole process but i have not used the hwsetup tool yet. i'll let you know the results in a day or so, thx.
 
Old 09-18-2003, 11:16 AM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 47
anyone have any input on the devfs problem?
 
Old 09-18-2003, 02:42 PM   #5
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 47
*shrugs and heads over to the gentoo forums*
 
  


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
Install rpm on gentoo, /bin/sh needed aeruzcar Linux - Software 3 06-15-2005 01:42 PM
Gentoo configuration issue (missing user groups, alsa messing with emerge, DEVFS) Lechium Linux - Distributions 3 04-06-2005 03:06 AM
is devfs required for a gentoo install? cmario00 Linux - General 3 01-21-2005 07:08 AM
To devfs, or not devfs - advice please JamesM Linux - General 7 08-13-2003 06:59 AM
what is devfs? doublefailure Linux - General 6 03-28-2002 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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