Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo boot CD knows your hardware, but you don't
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
proxy
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 253
Location: Chantilly, VA

PostPosted: Mon Jun 17, 2002 11:33 pm    Post subject: gentoo boot CD knows your hardware, but you don't Reply with quote

I have had many friends ask me why after installing gentoo things like there network card dont work. They make it clear that these devices worked during the installation, but they didn't know what to compile into the kernel because they don't know there exact hardware profile. I have also seen in the suggestions section a request for a utility to help in the kernel config process.

Well, i figured that I would help the newbies by informing you guys of the /proc file system. It is amazingly useful.

for example, if you want to do a PCI prob, simply type:

Code:
cat /proc/pci
:)

also, i find it very useful to do an
Code:
cat /proc/modules
in order to find out what modules the gentoo boot cd chose to load to get my hardware working.

and one more thing :)

if you are unclear as to which CPU related USE flags are appropriate for your computer (mmx, sse, 3dnow, etc) and which kernel options to compile (mtrr, etc)

Code:
cat /proc/cpuinfo


gives a nice view interpretation of all flags your processor has set.


one last thing, PLEASE keep in mind that the /proc file system is equally dangerous as it is useful. if you dont know what you are doing, DON'T write data to it, it should always be safe to read from it, but writting can do bad things :P

hope this is helpful.

proxy

describes all flags
Back to top
View user's profile Send private message
ves
n00b
n00b


Joined: 17 Apr 2002
Posts: 30

PostPosted: Wed Jun 19, 2002 10:30 pm    Post subject: Reply with quote

Code:
cat /proc/ioports


is also fun...
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Jun 22, 2002 2:14 am    Post subject: Reply with quote

A couple more good ones are:
Code:

cat /proc/sys/dev/cdrom/info
cat /proc/scsi/scsi

_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum