From: Ned Ludd <solar@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] mdev problems
Date: Thu, 11 May 2006 15:55:08 -0400 [thread overview]
Message-ID: <1147377308.30754.146.camel@onyx> (raw)
In-Reply-To: <BAY115-F1130662273002D5059B402CBAF0@phx.gbl>
On Thu, 2006-05-11 at 19:37 +0000, Pierre Cassimans wrote:
> Hi,
>
> i would like to use mdev on my device, but got some problems implementing
> it. First of all the device is booted over the network with pxe and the root
> is mounted over nfs read only.
>
> If i use the normal baselayout, i can boot the device and login without
> problems.
>
> I wanted to mount the /dev dir read/write so i can use mdev to populate the
> dir. I tried it with mount -n -t ramfs none /dev in the inittab, but now the
> system hangs right after "Freeing unused kernel memory".
>
> Here are my config files:
>
> /etc/inittab:
> =======
> # Startup the system
> #null::sysinit:/bin/mount -o remount,rw /
> null::sysinit:/bin/mount -t proc none /proc
> null::sysinit:/bin/mount -t sysfs none /sys
> null::sysinit:/bin/mount -n -t ramfs none /dev
> null::sysinit:/bin/mkdir /dev/pts
> null::sysinit:/bin/mount -t devpts -o gid=4,mode=620 none /dev/pts
> null::sysinit:/bin/mount -t tmpfs none /dev/shm
> null::sysinit:/bin/mount -a
> null::sysinit:/sbin/mdev -s
> null::sysinit:/bin/hostname -F /etc/hostname
> null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
> null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
> # now run any rc scripts
> ::sysinit:/etc/init.d/rcS
>
> # Set up a couple of getty's
> tty1::respawn:/sbin/getty 38400 tty1
> #tty2::respawn:/sbin/getty 38400 tty2
>
> # Put a getty on the serial port
> #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
>
> # Logging junk
> null::sysinit:/bin/touch /var/log/messages
> #null::respawn:/sbin/syslogd -n -m 0
> null::respawn:/sbin/klogd -n
> #tty3::respawn:/bin/tail -f /var/log/messages
>
> # Stuff to do for the 3-finger salute
> ::ctrlaltdel:/sbin/reboot
>
> # Stuff to do before rebooting
> null::shutdown:/etc/init.d/rcK
> null::shutdown:/bin/killall klogd
> null::shutdown:/bin/killall syslogd
> null::shutdown:/bin/umount -a -r
> null::shutdown:/sbin/swapoff -a
>
>
> /etc/mdev.conf
> =========
> SLEEP=10
That line is a debug line. Does not exist or do anything.
>
> MAKEDEV -> ../sbin/MAKEDEV
> /proc/core -> kcore
> fd -> /proc/self/fd
> ram -> ram1
> stderr -> fd/2
> stdin -> fd/0
> stdout -> fd/1
> vbi -> vbi0
> video -> video0
>
> null 0:0 777
> zero 0:0 666
>
> urandom 0:0 444
> console 0:5 0600
> fd0 0:11 0660
> kmem 0:9 000
> mem 0:9 0640
> port 0:9 0640
> ptmx 0:5 0660
>
> tty 0:5 0660
>
> tty0* 0:5 0660
> tty1* 0:5 0660
> tty2* 0:5 0660
>
> ttyS* 0:20 640
>
>
> i'm using Busybox-1.1.2 and uclibc-0.9.28
there might be a bug in 0.9.28 with getdents(). Mike would know best.
>
> Any help would be appriciated :)
>
> Pierre
>
>
--
Ned Ludd <solar@gentoo.org>
Gentoo Linux
--
gentoo-embedded@gentoo.org mailing list
next prev parent reply other threads:[~2006-05-11 19:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-11 19:37 [gentoo-embedded] mdev problems Pierre Cassimans
2006-05-11 19:55 ` Ned Ludd [this message]
2006-05-12 2:53 ` Mike Frysinger
2006-05-15 19:17 ` Pierre Cassimans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1147377308.30754.146.camel@onyx \
--to=solar@gentoo.org \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox