View previous topic :: View next topic |
Author |
Message |
sewm n00b
Joined: 24 Jun 2003 Posts: 22
|
Posted: Mon Apr 26, 2004 10:30 am Post subject: 2.6 Kernel and devfs |
|
|
Hello,
I'm installing from the 2004.0 minimal live CD, I've done my bootstrap and emerge system and I am configuring my kernel.
I've decided to use 2.6 and so emerged gentoo-dev-sources. I have a question about the kernel config settings mentioned in the install docs specifically under section 7c of the Gentoo Handbook, it says:
Code: | File systems --->
[*] Virtual memory file system support (former shm fs)
[*] /proc file system support
[*] /dev file system support (EXPERIMENTAL)
[*] Automatically mount at boot
(Deselect the following unless you have a 2.6 kernel)
[ ] /dev/pts file system for Unix98 PTYs |
In the File Systems->Pseudo Filesystems in the kernel config it says that /dev file system support is obsolete. Should I enable it anyways? I am confused because I thought 2.6 didn't need it.
Also I can't find the entry for /dev/pts file system for Unix98 PTYs, however the notes at the end of emerge gentoo-dev-sources say I should enable Device Drivers -> Character devices -> Legacy (BSD) PTY Support. which I have done, are these two things the same? If not where is /dev/pts file system for Unix98 PTYs?
Thanks for any help..
-Sam[/code] |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Mon Apr 26, 2004 10:40 am Post subject: |
|
|
Yes, you should enable it - Gentoo won't boot correctly without it.
If you don't get the dev/pts entries then you haven't compiled dev/pts support - like the Handbook says, select this if using 2.6+ _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Ard Righ Guru
Joined: 24 Jun 2002 Posts: 337 Location: Wellington, NZ
|
Posted: Mon Apr 26, 2004 1:17 pm Post subject: |
|
|
You should refer to the Gentoo udev guide which is rather clear in what you require for 2.6 kernels and the udev system in Gentoo.
I also highly recommend Decibel's Udev Primer for a more thorough read.
Whatever you do, make sure you do NOT enable DevFS automount, if you are going to use UDEV. Enabling DevFS appears to be ok, but if you set it to automount, you will have no-end of problems |
|
Back to top |
|
|
Su-34 Tux's lil' helper
Joined: 27 Jan 2004 Posts: 110 Location: Sky
|
Posted: Mon Apr 26, 2004 7:14 pm Post subject: |
|
|
adaptr wrote: | Yes, you should enable it - Gentoo won't boot correctly without it.
If you don't get the dev/pts entries then you haven't compiled dev/pts support - like the Handbook says, select this if using 2.6+ |
yes.... i had not compile devs in my 2.6 and when i rebooted....... bad stuff |
|
Back to top |
|
|
sewm n00b
Joined: 24 Jun 2003 Posts: 22
|
Posted: Mon Apr 26, 2004 8:06 pm Post subject: |
|
|
Thanks everyone!
I read through the Gentoo UDEV guide and took the advice you gave.
Should I emerge udev before I compile the kernel or does it matter?
Under File Systems ->Psuedo Systems I now have:
Code: |
[*] /proc file system support
[*] /dev file system support (OBSOLETE)
[ ] Automatically mount at boot
[ ] Debug devfs
[ ] /dev/pts Extended Attributes
[ ] Virtual memory file system support (former shm fs)
[ ] HugeTLB file system support
< > Supermount removable media support
|
Adaptr I am a little confused by what you said:
adaptr wrote: | Yes, you should enable it - Gentoo won't boot correctly without it.
If you don't get the dev/pts entries then you haven't compiled dev/pts support - like the Handbook says, select this if using 2.6+ |
Don't I compile the dev/pts support in the kernel? Or do I have to do something else outside the kernel first in order to see this option listed in the kernel config?
Thanks again..
-Sam |
|
Back to top |
|
|
sewm n00b
Joined: 24 Jun 2003 Posts: 22
|
Posted: Mon Apr 26, 2004 10:45 pm Post subject: |
|
|
Found the answer to my question about the /dev/pts file system support.
In Decibels UDEV setup it says that as of 2.6.4 that this option is not available, that it is "enabled in kernel" which I am assuming means enabled automatically. Since I am using a 2.6.5 kernel I guess I am covered here.
-Sam |
|
Back to top |
|
|
Su-34 Tux's lil' helper
Joined: 27 Jan 2004 Posts: 110 Location: Sky
|
Posted: Tue Apr 27, 2004 9:44 am Post subject: |
|
|
sewm wrote: | Found the answer to my question about the /dev/pts file system support.
In Decibels UDEV setup it says that as of 2.6.4 that this option is not available, that it is "enabled in kernel" which I am assuming means enabled automatically. Since I am using a 2.6.5 kernel I guess I am covered here.
-Sam |
However, how is it going???
did you pass your first boot?? |
|
Back to top |
|
|
sewm n00b
Joined: 24 Jun 2003 Posts: 22
|
Posted: Tue Apr 27, 2004 12:49 pm Post subject: |
|
|
Su-34 wrote: | However, how is it going???
did you pass your first boot?? |
Yes I did!!
I was really suprised too because I didn't really expect that it would work the first time. I am already emerging stuff and I'm close to having my system fully functional again.
Thanks again for all the help. |
|
Back to top |
|
|
Su-34 Tux's lil' helper
Joined: 27 Jan 2004 Posts: 110 Location: Sky
|
Posted: Tue Apr 27, 2004 1:07 pm Post subject: |
|
|
sewm wrote: | Su-34 wrote: | However, how is it going???
did you pass your first boot?? |
Yes I did!!
I was really suprised too because I didn't really expect that it would work the first time. I am already emerging stuff and I'm close to having my system fully functional again.
Thanks again for all the help. |
bye
|
|
Back to top |
|
|
|