On Monday 24 October 2005 12:08, Antonio Mancina wrote:
> Hi all,
> I've got some problems setting-up uml to work on my system.
> I compiled a 2.6.12 vanilla kernel with ARCH=um option always on,
> downloaded the Debian 3.0 filesystem, renamed it in root_fs and
> runned

> #./linux
> with no more command-line options.
> This is what I get as output (... is my home, obviously):

> Checking for /proc/mm...found
> Checking for the skas3 patch in the host...not found
> Checking PROT_EXEC mmap in /tmp...OK
> tracing thread pid = 4133

> Then the process hangs up with a nearly 100% cpu workload (from top).
> What's wrong?
> Any help appreciated. Bye.

Add the stderr=1 option and post the output result... also, you may want first 
to try some later UML (2.6.13.4-bs4 being the latest one).

Also, you will probably need to loop-mount your downloaded root_fs and 
fix /etc/inittab to change lines referring to "*getty ttys/1" or "*getty 
vc/1" to use tty1, and so on (i.e. convert back the root_fs from DevFS to 
non-DevFS); and create /dev/ubd0, ubd1 and so on:

#!/bin/sh
for ((i=0; i<8; i++))
do
        # "Traditional" device nodes, ubd0 - ubd7
        mknod ubd$i b 98 $[16 * $i]

        # "Better named" device nodes, ubda - ubdh
        let=$(echo $i|tr '0-7' 'a-z')
        mknod ubd$let b 98 $[16 * $i]
        # UBD devices support up to 16 partitions per each!
        # So we create partition device nodes, which are very similar
        # to IDE or SCSI nodes.
        for ((p=1; p<=16; p++))
        do
                mknod ubd$let$p b 98 $[16 * $i + $p]
        done
done
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to