No ttys, no login shell

paul.rogers at juno.com paul.rogers at juno.com
Thu Oct 25 15:35:14 PDT 2007


> That is a significant error.  You don't say which version of the
>book you are using, so I'll assume 6.3.  Go back to section 6.55.1
>and make sure you created all the things for /lib/udev/devices (and
>that you installed udev-config).

> If you are using an earlier book, the correct fix may be different.
>I think we used to create /mnt/lfs/dev/null as a node before
>populating /dev for chroot (so, if you are doing that, ensure
>nothing is mounted on /mnt/lfs/dev when you create the missing
>node(s) there).

Ken, I'm still back on 6.1, which ain't broke, as far as my usage.  
When I built it I did deviate from the book as far as putting a few
essential devices in the root's /dev mount point, so if something
wierd happened I could hopefully get up.  Nothing ever has, udev's
been fine, but I just felt better knowing it's there.  I remember 
wondering if that mightn't be a good failsafe for the book.

Paul Rogers  (paul.rogers at juno.com)
http://www.xprt.net/~pgrogers/
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)


-- lfs-support-request at linuxfromscratch.org wrote:
Send lfs-support mailing list submissions to
	lfs-support at linuxfromscratch.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://linuxfromscratch.org/mailman/listinfo/lfs-support
or, via email, send a message with subject or body 'help' to
	lfs-support-request at linuxfromscratch.org

You can reach the person managing the list at
	lfs-support-owner at linuxfromscratch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lfs-support digest..."


Today's Topics:

   1. No ttys, no login shell (Marius Meinert)
   2. Re: No ttys, no login shell (Ken Moffat)
   3.  (Juergen Beisert)


----------------------------------------------------------------------

Message: 1
Date: Wed, 24 Oct 2007 12:41:39 +0200
From: Marius Meinert <mariusmeinert at monroebrothers.org>
Subject: No ttys, no login shell
To: lfs-support at linuxfromscratch.org
Message-ID: <4FA66CFB-D4CA-4294-8F1B-F91AF04D5D36 at monroebrothers.org>
Content-Type: text/plain; charset="us-ascii"

Hi,
after building my first LFS system as described in the book I have a  
problem with the boot process. It doesn't start a shell. The last  
messages are:
INIT: version 2.86 booting
/etc/rc.d/init.d/rc: line:97: /dev/null: No such device or address
INIT: Entering runlevel: 3
/etc/rc.d/init.d/rc: line:97: /dev/null: No such device or address
INIT: ld "2" respawning too fast: disabled for 5 minutes
INIT: ld "1" respawning too fast: disabled for 5 minutes
INIT: ld "3" respawning too fast: disabled for 5 minutes
INIT: ld "4" respawning too fast: disabled for 5 minutes
INIT: ld "5" respawning too fast: disabled for 5 minutes
INIT: ld "6" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
There was the same problem on this mailinglist in 2002, but it wasnt  
solved. The problem seems to be, that there are no ttys (ld 1-6 are  
the ttys), but I don't know, how to fix this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linuxfromscratch.org/pipermail/lfs-support/attachments/20071024/c65a417a/attachment-0001.html 

------------------------------

Message: 2
Date: Wed, 24 Oct 2007 18:04:28 +0100
From: Ken Moffat <ken at linuxfromscratch.org>
Subject: Re: No ttys, no login shell
To: LFS Support List <lfs-support at linuxfromscratch.org>
Message-ID: <20071024170428.GA27437 at deepthought>
Content-Type: text/plain; charset=utf-8

On Wed, Oct 24, 2007 at 12:41:39PM +0200, Marius Meinert wrote:
> Hi,
> after building my first LFS system as described in the book I have a  
> problem with the boot process. It doesn't start a shell. The last  
> messages are:
> INIT: version 2.86 booting
> /etc/rc.d/init.d/rc: line:97: /dev/null: No such device or address

 Possibly, there might be a further problem - it isn't immediately
clear why init is respawning too fast (i.e. dieing immediately each
time it is invoked).  I guess it is likely that /dev doesn't exist
(otherwise /dev/null could have been created as a regular file), so
you might need to check everything to do with udev in the book.

 Alternatively, people have seen that with invalid instructions in
the code (e.g. compiled on a i686 and used on i586 or earlier, or
compiled on an early via C3 processor with older compilers that
thought it was a pukka i686 and used an instruction it doesn't
have).

?en
-- 
das eine Mal als Trag?die, das andere Mal als Farce


------------------------------

Message: 3
Date: Wed, 24 Oct 2007 21:24:33 +0200
From: Juergen Beisert <juergen127 at kreuzholzen.de>
Subject: Re: No ttys, no login shell
To: lfs-support at linuxfromscratch.org
Message-ID: <200710242124.33461.juergen127 at kreuzholzen.de>
Content-Type: text/plain;  charset="iso-8859-1"

On Wednesday 24 October 2007 12:41, Marius Meinert wrote:
> Hi,
> after building my first LFS system as described in the book I have a
> problem with the boot process. It doesn't start a shell. The last
> messages are:
> INIT: version 2.86 booting
> /etc/rc.d/init.d/rc: line:97: /dev/null: No such device or address
> INIT: Entering runlevel: 3
> /etc/rc.d/init.d/rc: line:97: /dev/null: No such device or address
> INIT: ld "2" respawning too fast: disabled for 5 minutes
> INIT: ld "1" respawning too fast: disabled for 5 minutes
> INIT: ld "3" respawning too fast: disabled for 5 minutes
> INIT: ld "4" respawning too fast: disabled for 5 minutes
> INIT: ld "5" respawning too fast: disabled for 5 minutes
> INIT: ld "6" respawning too fast: disabled for 5 minutes
> INIT: no more processes left in this runlevel
> There was the same problem on this mailinglist in 2002, but it wasnt
> solved. The problem seems to be, that there are no ttys (ld 1-6 are
> the ttys), but I don't know, how to fix this.

I guess udev fails on your system.

Juergen


------------------------------

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


End of lfs-support Digest, Vol 1321, Issue 1
********************************************





More information about the lfs-support mailing list