Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-11-2012, 12:49 AM
|
#1
|
LQ Newbie
Registered: Feb 2012
Posts: 3
Rep:
|
What creates /dev/pts, /dev/loopx, and other /dev devices - Fedora Core 2
I have just completed a P2V migration over to VMware 4.1 platform. After the migration the VM was booted. Once logged in, there were numerous /dev/ devices that were not created. Like, /dev/pts directory, /dev/loopx (loop devices), /dev/shm, an d others. If I manually create those directories, after a reboot all the devices that I created are gone. I am trying to troubleshoot what is the process, during the boot process, that is in charge of discovering the devices and creating the device files under /dev. Let me describe the effects of not having these files created.
1. Without the /dev/pts directory, when you attempt to ssh into this server from a remote machine, you are prompted for password, then you enter the password, then the process hangs. Once I create the /dev/pts directory, and then mount it as devpts, remote user can ssh into the server. Once you reboot the server, the /dev/pts directory is gone again.
2. Without the /dev/loopx devices, when I attempt to create a new initrd file using mkinitrd command it fails because there is no loop devices available.
Any help in trying to troubleshoot this problem I sure would appreciate it.
Also, I cannot upgrade to a newer version at this time.
Thank you
Rick
|
|
|
02-11-2012, 04:14 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
I thinks it's udev that handles making all the device nodes under /dev directory
|
|
|
02-11-2012, 04:47 AM
|
#3
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,645
|
Quote:
Also, I cannot upgrade to a newer version at this time.
|
so you are aware that there has been NO new software or security patches for fedora 2 since April 2005
you will not even be able to use firefox 3
you are stuck with ff1
as to the devices not being made
that might be a VMware issue
or a fedora 2
(There were many many MANY problems in 1,2 )
SELinux was included in fedora 2
or a new hardware issue
fedora 2 is very OLD
Is the hardware from 2000 to 2004 ?
|
|
|
02-11-2012, 08:46 PM
|
#4
|
LQ Newbie
Registered: Feb 2012
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by fotoguy
I thinks it's udev that handles making all the device nodes under /dev directory
|
Thank you for your reply. This version of Linux is a little old for udev. Meaning, udev is not installed and is not controlling the device creation during the boot process.
thank you
Rick
|
|
|
02-11-2012, 08:53 PM
|
#5
|
LQ Newbie
Registered: Feb 2012
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
so you are aware that there has been NO new software or security patches for fedora 2 since April 2005
you will not even be able to use firefox 3
you are stuck with ff1
as to the devices not being made
that might be a VMware issue
or a fedora 2
(There were many many MANY problems in 1,2 )
SELinux was included in fedora 2
or a new hardware issue
fedora 2 is very OLD
Is the hardware from 2000 to 2004 ?
|
John, thank you for your reply. As I mentioned, I cannot upgrade this server at this time. I know that this version of Linux is old, but it will still work in a VMware environment. One test that I did yesterday, was that I found a iso of Fedora Core 2 on the web, it was hard to find, and I did a fresh installation onto a VMware virtual machine. After it was installed, everything was working just fine. It had all the devices in /dev/ create correctly. The /dev/pts, the /dev/shm, and the /dev/loopx files and directories where all there. So I know that it works fine on VMware. I also created another VM in VMware and assigned the vmdk files from the conversion to this new machine hoping that it might be a VMware configuration issue. Wrong, it still did not create all the /dev devices. So, something within Linux is not creating the /dev/ devices as it should. I am looking for suggestions as to how I might troubleshoot this problem. This is the reason for me asking if anyone knows the boot process of this version of the OS to give me some guidance as to where to look for the possible problem.
Thank you again.
Rick
|
|
|
All times are GMT -5. The time now is 02:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|