[Buildroot] No response after "Freeing init memory"
Zdeněk Materna
zdenek.materna at gmail.com
Wed Feb 23 11:00:00 UTC 2011
Ouch, my mistake! All files in /dev are plain text... I have to mount ext2
rootfs or untar rootfs from output/images on my laptop, than share this over
nfs like rootfs for my board... I'm correct?
Dne 23. února 2011 11:50 Zdeněk Materna <zdenek.materna at gmail.com>napsal(a):
> Hello,
>
> at first thanks for hints.
>
> I tried to do make clean && make without sysvinit. And it's same :-( Also
> tried ttyS0/S0 in inittab... I discovered that init is writing to
> /dev/console like if it's normal file. So I make /dev/console link to
> /dev/ttyS0 and now it writes text to ttyS0... Grrr. What's wrong?
>
> I'm attaching /etc/inittab, /var/log/messages and /dev/ttyS0 (with some log
> in it).
>
> Best regards,
> Zdenek Materna
>
> Here are some of first lines /var/log/messages:
>
> Dec 31 17:00:21 192 syslog.info syslogd started: BusyBox v1.18.3
> Dec 31 17:00:21 192 user.err getty: ttyS0[895]: tcgetattr: Inappropriate
> ioctl for device^M
> Dec 31 17:00:31 192 user.info linuxrc: process '/sbin/getty 115200 tty1'
> (pid 893) exited. Scheduling for restart.
> Dec 31 17:00:31 192 user.info linuxrc: process '/sbin/getty 115200 tty2'
> (pid 894) exited. Scheduling for restart.
> Dec 31 17:00:31 192 user.info linuxrc: starting pid 898, tty '/dev/tty1':
> '/sbin/getty 115200 tty1'
> Dec 31 17:00:31 192 user.info linuxrc: starting pid 899, tty '/dev/tty2':
> '/sbin/getty 115200 tty2'
> Dec 31 17:00:31 192 user.err getty: tty1[898]: tcgetattr: Inappropriate
> ioctl for device^M
> Dec 31 17:00:31 192 user.err getty: tty2[899]: tcgetattr: Inappropriate
> ioctl for device^M
> Dec 31 17:00:32 192 user.info linuxrc: process '/sbin/getty -L ttyS0
> 115200 vt100 ' (pid 895) exited. Scheduling for restart.
> Dec 31 17:00:32 192 user.info linuxrc: starting pid 900, tty '/dev/ttyS0':
> '/sbin/getty -L ttyS0 115200 vt100 '
> Dec 31 17:00:32 192 user.err getty: ttyS0[900]: tcgetattr: Inappropriate
> ioctl for device^M
>
> 2011/2/22 Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>
> On Tue, 22 Feb 2011 09:06:34 +0100
>> Zdeněk Materna <zdenek.materna at gmail.com> wrote:
>>
>> > -------------- inittab
>> ---------------------------------------------------
>> >
>> > # /etc/inittab
>> > #
>> > # This inittab is a basic inittab sample for sysvinit, which mimics
>> > # Buildroot's default inittab for Busybox.
>>
>> Aah, you have enabled sysvinit. Could you disable it, make clean &&
>> make, and retry ?
>>
>> Busybox already contains a default init, and it's the one most of us
>> test and use on a daily basis.
>>
>> I've written this sysvinit inittab not long ago, it was working for me,
>> but it definitely does not receive as much testing as the sysvinit one
>> gets.
>>
>> Thomas
>> --
>> Thomas Petazzoni, Free Electrons
>> Kernel, drivers, real-time and embedded Linux
>> development, consulting, training and support.
>> http://free-electrons.com
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20110223/7d8cd077/attachment-0001.html>
More information about the buildroot
mailing list