On Mon, 2005-12-05 at 09:09 +0100, diebro wrote:
> hi,
> i'am using vmlinux-2.6.14-bs2 precompiled kernel but when start your
> root filestystem(Gentoo-2005.1-x86-root_fs) i have this error
> 
> 
>   * Configuring system to use udev ...
>   *   Populating /dev with device nodes ...
> /sbin/rc: line 24: cannot redirect standard input from /dev/null: No 
> such file or directory
> [ oops ]
Hi,

Not sure how this happened but the devices.tar.bz2 which contains the
backup of the static devices ended up missing the UML ubd devices.
Also, you will need to use a kernel with TLS (which is what you did I
think - judging from the messages) ie: 2.6.15-rc1 onwards.
I have updated all the Gentoo images on the website:
http://uml.nagafix.co.uk/Gentoo-2005.1/
Thanks for letting me know and sorry for the inconvenience.

This should fix your image:
mount -o loop root_fs tmp
chroot tmp
cd /
tar -jxf ./lib/udev-state/devices.tar.bz2
for ((i=0; i<8; i++))
do
        let=$(echo $i|tr '0-7' 'a-z')
        mknod /dev/ubd$let b 98 $[16 * $i]
        for ((p=1; p<=16; p++)) do
                mknod /dev/ubd$let$p b 98 $[16 * $i + $p]
        done
done
chown -R root.disk /dev/ubd*
chmod 660 /dev/ubd*
tar -jcf ./lib/udev-state/devices.tar.bz2 /dev/*
exit
umount tmp


Antoine

> 
>   * The "tar" command failed with error:
> 
> cannot set up LDT for thread-local storage
> 
> /sbin/rc: line 19:    56 Segmentation fault      tar -jxpf 
> /lib/udev-state/devices.tar.bz2 -C /dev
> 
> can you help me?
> 
> thanks



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to