Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6 Kernel and devfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sewm
n00b
n00b


Joined: 24 Jun 2003
Posts: 22

PostPosted: Mon Apr 26, 2004 10:30 am    Post subject: 2.6 Kernel and devfs Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Apr 26, 2004 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Ard Righ
Guru
Guru


Joined: 24 Jun 2002
Posts: 337
Location: Wellington, NZ

PostPosted: Mon Apr 26, 2004 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Su-34
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 110
Location: Sky

PostPosted: Mon Apr 26, 2004 7:14 pm    Post subject: Reply with quote

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....... :oops: :oops: :oops: :oops: :oops: :oops: bad stuff
Back to top
View user's profile Send private message
sewm
n00b
n00b


Joined: 24 Jun 2003
Posts: 22

PostPosted: Mon Apr 26, 2004 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
sewm
n00b
n00b


Joined: 24 Jun 2003
Posts: 22

PostPosted: Mon Apr 26, 2004 10:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Su-34
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 110
Location: Sky

PostPosted: Tue Apr 27, 2004 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message
sewm
n00b
n00b


Joined: 24 Jun 2003
Posts: 22

PostPosted: Tue Apr 27, 2004 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Su-34
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 110
Location: Sky

PostPosted: Tue Apr 27, 2004 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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