View previous topic :: View next topic |
Author |
Message |
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 7:20 am Post subject: What is DEVFS and how to install |
|
|
I have installed gentoo whith stage3_i.tbz. Grub starts fine but after that DEVFS is missing. How do i install it.
Can any one help me |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 06, 2002 7:24 am Post subject: |
|
|
Welcome to the forums. Please take the time to read our FAQ, which includes How do I enable devfs?. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 7:30 am Post subject: |
|
|
I have done the things in the faq but it still dont work
"How do I enable devfs?
When recompiling your kernel, turn on 'Prompt for development and/or incomplete code/drivers' under 'Code maturity level options', and then look under 'File systems' for '/dev file system support'." |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 06, 2002 7:32 am Post subject: |
|
|
OK, can you be a little more explicit as to what isn't working? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 7:39 am Post subject: |
|
|
Grub starts-
kernel /boot/bzImage root=/dev/hda3 devfs=mount foo=bar
The system starts BOOT and counting all hard ware
after that i get txt messege DEVFS is not installed
and a 15 sec counter
after that it starts the login |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 06, 2002 7:44 am Post subject: |
|
|
Right under where you selected /dev filesystem, there is an option "Automatically mount at boot". Did you select that too? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 7:50 am Post subject: |
|
|
I was confused by that option and i was on my way to ask shall that option be set to on |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 06, 2002 7:55 am Post subject: |
|
|
Rabidrodent wrote: | I was confused by that option and i was on my way to ask shall that option be set to on |
The gentoo docs used to say to leave it off, and the last time I checked, the gentoo init scripts have some code to mount /dev if it isn't, but I have that option selected on all my Gentoo machines, and it works fine. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 8:00 am Post subject: |
|
|
The way you sad
"Right under where you selected /dev filesystem, there is an option "Automatically mount at boot". Did you select that too?"
I enable it whit "cd /usr/src/linux
make menuconfig
marked Automatically mount at boot shall i enable debugg mode to
Dident work |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 06, 2002 8:03 am Post subject: |
|
|
Can you try taking that "devfs=mount" line out of your kernel boot parameters? Also, not to be rude, but it's not possible that the "unmounted /boot by default" setup of gentoo has bitten you, right? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 8:13 am Post subject: |
|
|
I have taken away "devfs=mount" still dont work
the other thing:
I have red the gentoo manual billions time and followed it step by step
but its not esy to follow the guide when both 1-2-3 stage_i.tbz is on the same guide.
I have done this thingys
Partion
HD1=Boot
HD2=Swap
HD3=Root
swapon /dev/hda2
mkdir /mnt/gentoo
mount /dev/hda3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hda1 /mnt/gentoo/boot
Unpaked stage3_i.tbz
chroot -- env update---source
make menuconfig
make bzImage
cp bzImage to /boot
grub setup
root (hd0,0)
setup (hd0)
quit
nano -w /boot/grub/menu.lst
defult 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=My linux
root (hd0,0)
kernel /boot/bzimage root=/dev/hda3
exit
umount gentoo
restart
Have i missed some stepp |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 06, 2002 8:27 am Post subject: |
|
|
Sorry, this must be frustrating for you. I can't find where the message "DEVFS is not installed" is coming from. Running Code: | $ find ./ -type f | xargs grep -i devfs | grep installed | ...doesn't come up with anything useful either across my 2.4.18-xfs kernel sources or /etc. That's the exact error message, huh? Does running Code: | # /sbin/devfsd /dev | manually mount /dev? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 9:36 am Post subject: |
|
|
the devfs error is
"The gentoo linux system bla bla bla....... build cd installation guide at http://www.gentoo.org/doc/build.html bla bla bla........."
press enter to continue boot
i have 15 secs to writh up and its imposseble to writh the hole screen on a paper in 15 secs |
|
Back to top |
|
|
leber33 n00b
Joined: 04 Sep 2002 Posts: 56
|
Posted: Fri Sep 06, 2002 11:02 am Post subject: error messsage |
|
|
Hi
I have followed your discussion!!!
after the boot process can you read that error message by scrolling upwards by pressing "SHIFT+PAGEUP"
on a german keyboard it's BILD AUF!!!
I ahve the same problem!! Same message
I will recompile my kernel today to turn on devfs( must have forgotten) _________________ On the 8th day god created linux |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 12:10 pm Post subject: |
|
|
Thanks leber33 for the tip "SHIFT+PAGEUP"
Now probely rac can help os
The DEVFS problem
"The Gentoo Linux System installation scripts have detcted that your kernel has been compiled without DEVFS support. Because Gentoo Linux has been desigend to work with DEVFS, it is required that you compile suport for it build into your kernel. Please read the Gentoo Linux from source (build) cd installation guide at www.gentoo/doc/build.html
for more information on how to do this
Hit Enter to continue or wait 15 seconds"
Whit the "SHIFT+PAGEUP" tip a allso saw a strange problem: i use ext3 partition but ther is a proplem in the file system check line ther it stands fsck.ext2 partitions can not load and the superblocks
i have set up my partitions by this command mke2fs -j /dev/hda1
mke2fs -j /dev/hda3
i hope rac can come up whith any solution |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Sep 06, 2002 12:27 pm Post subject: |
|
|
The error message comes from /sbin/rc. It actually does not use the world "installed"...
rac wrote: | ...I can't find where the message "DEVFS is not installed" is coming from. Running Code: | $ find ./ -type f | xargs grep -i devfs | grep installed | ...doesn't come up with anything useful... |
Last edited by Naan Yaar on Fri Sep 06, 2002 12:36 pm; edited 1 time in total |
|
Back to top |
|
|
RagManX Apprentice
Joined: 13 Jul 2002 Posts: 220 Location: Tennessee
|
Posted: Fri Sep 06, 2002 12:30 pm Post subject: |
|
|
Pardon what might seen like dumb questions, but have you done all the following:
- After doing make menuconfig and setting your config to match your system (including enabling devfs), have you run 'make dep && make clean bzImage modules modules_install' to rebuild your kernel?
- After building your kernel, have you changed in to /usr/src/linux/arch/i386/boot and checked the date on your new bzImage?
- After verifying that your date is correct and you indeed have a new kernel, have you copied it into /boot?
- When you copied the new kernel into /boot, did you make sure you had mounted boot ('mount /dev/hda1 /boot') before copying it? By default, /boot is not mounted on a running system, so if you copied your kernel over without explicitly mounting it, it is probably located on /dev/hda3 instead of /dev/hda1.
RagManX _________________ http://www.gamingideas.com/ - an open discussion site for game improvement and new game ideas |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 12:35 pm Post subject: |
|
|
RagManX
I have done all the points you sad
And my system is configured after the gentoo manual |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Sep 06, 2002 12:52 pm Post subject: |
|
|
If you do "uname -a" after logging in, do you see the timestamp of the new kernel? What does "cat /proc/filesystems" give you? |
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 1:05 pm Post subject: |
|
|
Naan Yaar
uname -a gaved
Linu localhost 2.4.19-gentoo-r5 #1 SMP Thu Sep 5 20:44:02 Local time zone must be set--se zic mai686 i686 GenuineIntel
cat /proc/filesystems gaved
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
nodev binfmt_misc
ext2
nodev ramfs
iso9660
nodev nfs
nodev autofs
reiserfs
nodev devpts
xfs |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Sep 06, 2002 1:16 pm Post subject: |
|
|
The kernel time stamp looks a bit old (can't say for sure since you don't seem to have the localtime synlink correct). Are you sure that this is the new kernel?
In your /proc/filesystems list, I do not see ext3 or devfs. From the looks of it, I would tend to think that you are not booting with the right kernel.
Rabidrodent wrote: | Naan Yaar
uname -a gaved
Linu localhost 2.4.19-gentoo-r5 #1 SMP Thu Sep 5 20:44:02 Local time zone must be set--se zic mai686 i686 GenuineIntel
cat /proc/filesystems gaved
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
nodev binfmt_misc
ext2
nodev ramfs
iso9660
nodev nfs
nodev autofs
reiserfs
nodev devpts
xfs |
|
|
Back to top |
|
|
Rabidrodent n00b
Joined: 03 Sep 2002 Posts: 14
|
Posted: Fri Sep 06, 2002 1:32 pm Post subject: |
|
|
Exuse me if i say this
hum then the Gentoo guide must be incorect
i have followed it step by step |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Sep 06, 2002 1:59 pm Post subject: |
|
|
I understand your frustration... however, the install guide has worked perfectly for many others who followed it .
Anyway, in one of your earlier postings, you mention this grub line:
Code: |
kernel /boot/bzimage root=/dev/hda3
|
It says bzimage instead of bzImage. Was it this way in grub too? This could cause problems.
If you do "ls -lrt /boot /usr/src/linux/.config", what does it give you?
Rabidrodent wrote: | Exuse me if i say this
hum then the Gentoo guide must be incorect
i have followed it step by step |
|
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 06, 2002 5:56 pm Post subject: |
|
|
Rabidrodent's fsck question has moved to here. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
splooge l33t
Joined: 30 Aug 2002 Posts: 636
|
Posted: Fri Sep 06, 2002 5:59 pm Post subject: |
|
|
Update your /etc/fstab accordingly. |
|
Back to top |
|
|
|