[Buildroot] Login exited

Steven Woody narkewoody at gmail.com
Tue Sep 2 15:09:25 UTC 2008


On Tue, Sep 2, 2008 at 9:07 PM, Hamish Moffatt <hamish at cloud.net.au> wrote:
> On Tue, Sep 02, 2008 at 07:26:44PM +0800, Steven Woody wrote:
>> I think the origin of the "can't open /dev/ttySxxx" problem is differ
>> with the origin of the "getty exited" problem.  And, for the former, I
>> think it has nothing to do with my device_table.txt,  since if I
>> comment out the following line in etc/inittab:
>>    ::sysinit:/bin/mount -t tmpfs -o size=64k,mode=0755 none /dev
>> and replace it with
>>    ::sysinit:/bin/mount -t tmpfs -o size=64k,mode=0755 none /dev
>> then, the "can't open /dev/ttySxxx" problem gone away.  so I think,
>
> What is the difference between these two lines? I don't see one.

Sorry for the careless.  The correct one should be:
   ::sysinit:/bin/mount -t tmpfs none /dev
That is, without any option.

>
>> But, as you know, this problem had been resoved, I finally get the
>> login problem and the system is waiting for me to login.  My new
>> problem is that I can not login.  When I type in user name 'root' at
>> the prompt, I got the on-console log message:
>>     Dec 31 17:24:45 ffcplus daemon.info init: init: process
>> '/usr/bin/tail -f /var/log/messages' (pid 7568) exited. Scheduling for
>> restart.
>
> Maybe you could boot your system with the command line "init=/bin/sh" so
> that it skips all start up scripts and see what happens?

Okay, I will try next when I go office.

>
>> > And, I got see a suspicious messages just after the kernel booted:
>> > ---
>> > VFS: Mounted root (cramfs filesystem) readonly.
>> > Freeing init memory: 84K
>> > Error -3 while decompressing!
>> > c0925384(-7384812)->c3e38000(4096)
>> > ---
>
> Yes I wonder if your root image has not loaded properly by the boot
> loader and hence your root file system is incomplete.

I will put an eye to the decompressing error, but by far I have not
figure out why the root files system is possibly incomplete.

-
narke



More information about the buildroot mailing list