spawning too fast disabled for 5 minutes
I'm learning to make a lfs with 2 disk boot/root
I'm made it with the kernel and lilo. It can boot up, ask me to enter the root disk. But after the init starts, it print messages ld 1 : spawning too fast disabled for 5 minutes ld 2 : spawning too fast disabled for 5 minutes No more processes in this run level Then nothing's happen. It can't start the virtual console What's wrong ?? Can anyone help me ? pleaze I'm using The Linux Bootdisk howto by Tom Fawcett as reference to make this lfs inittab: -------- id:2:initdefault si::sysinit:/etc/rc 1:2345:respawn:/sbin/getty 9600 tty1 2:23:respawn:/sbin/getty 9600 tty2 Thank you :) |
Well the process you defined for 1 and 2 are dying constantly. Kinda hard to see why from only the information you provided. Here is a list of things you might want to check:
- Any descriptive error messages in the log files? - Can the /sbin/getty executable be run properly (permissions + x bit) - Can the /sbin/getty executable find and load any shared libraries it uses. Might wanna run 'ldd /sbin/getty' to find out. - I use agetty and the parameters on that are the other way around, first tty1 then 9600. Might need to check the manpage on that. - Is the /dev/tty1 present and has the proper permissions - Is the /bin/login executable present and able to run Well that's about all I can think of for now. Might want to read the man pages of getty and login to find out if you have everything setup properly for them to run. |
Thank you for your respon. :D
There are some question in my head from your answer. Where can I find the error log because the disk I used for the root can't be mounted ?? :( I made the root disk with the command dd if=rootfs.gz of=/dev/fdo bs=1k in this case rootfs.gz is the commpresed root I made for this purpose. I already check all the library needed, and the permission, but still ..... Oh yeah I forget, this is the exact message : INIT: Entering runlevel: 2 INIT: Id "1" respawning too fast : disabled for 5 minutes INIT: Id "2" respawning too fast : disabled for 5 minutes INIT: no more processes left in this run level PS: I don't use the PAM and NSS Thanx:newbie: |
Ok well you got me on the logging one, it's just something I always tell people to do.
If logging will go anywhere it's probably gonna be to a ramdisk anyways so you will lose it after a reboot. Well anyways the next thing I would try doing is to change the first line to: 1:2345:respawn:/bin/bash </dev/tty1 >/dev/tty1 Or whatever other shell you are using. That should get init to start a shell on tty1 without having to login. You can try to start the other programs from there if it gets that far. |
Sorry, I haven't had time to try it. Your answer is the same as the answer from my friends, they suggest me to change the getty with the shell, except without the "</dev/tty1 >/dev/tty1".
It works but there was an error message : "#sh: can't access tty; job control turned off" but anyway thx. :) |
spawning too fast
we can solve the problem by recreating the terminals
the command is /dev/makedev /dev/tty1 same for all other terminals just put 2,3,4,5,6,7 instead of 1 then restart the system :Pengy: srini |
All times are GMT -5. The time now is 11:06 PM. |