From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FeGzn-0007do-Qr for garchives@archives.gentoo.org; Thu, 11 May 2006 19:38:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k4BJbkYk013868; Thu, 11 May 2006 19:37:46 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k4BJbje9024983 for ; Thu, 11 May 2006 19:37:46 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5E32A644D2 for ; Thu, 11 May 2006 19:37:45 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03885-14 for ; Thu, 11 May 2006 19:37:43 +0000 (UTC) Received: from hotmail.com (bay115-f11.bay115.hotmail.com [65.54.250.21]) by smtp.gentoo.org (Postfix) with ESMTP id B75DF64441 for ; Thu, 11 May 2006 19:37:40 +0000 (UTC) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 11 May 2006 12:37:40 -0700 Message-ID: Received: from 65.54.250.200 by by115fd.bay115.hotmail.msn.com with HTTP; Thu, 11 May 2006 19:37:36 GMT X-Originating-IP: [213.118.37.15] X-Originating-Email: [kammicazze@hotmail.com] X-Sender: kammicazze@hotmail.com From: "Pierre Cassimans" To: gentoo-embedded@lists.gentoo.org Subject: [gentoo-embedded] mdev problems Date: Thu, 11 May 2006 19:37:36 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 11 May 2006 19:37:40.0156 (UTC) FILETIME=[5D58E7C0:01C67532] X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-1.453 required=5.5 tests=[AWL=-1.146, BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, MSGID_FROM_MTA_HEADER=0, TW_EV=0.077, TW_PX=0.077, TW_TM=0.077, TW_VB=0.077, TW_VP=0.077] X-Spam-Score: -1.453 X-Spam-Level: X-Archives-Salt: acae18f5-a1ae-4500-a216-65534fa8f3d8 X-Archives-Hash: 3ce3a5196ce9ea63cd5506f507d64c7d 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 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 Any help would be appriciated :) Pierre -- gentoo-embedded@gentoo.org mailing list