URL: https://linuxfr.org/forums/linux-noyau/posts/utiliser-uml-user-mode-linux Title: Utiliser UML (User Mode Linux) Authors: Pinaraf Date: 2005年02月04日T18:00:08+01:00 Tags: Score: 0 Bonjour J'essaye en ce moment de me "monter" un petit UML pour faire des expériences. J'ai chopé un noyau 2.6.10, configuré et compilé peinard (deux trois warnings mais ça a compilé). J'ai pris sur [http://user-mode-linux.sourceforge.net/(...)](http://user-mode-linux.sourceforge.net/) un rootfs (Debian 3.0r0.ext2) Mais mon noyau veut pas ! Je le lance en faisant ./linux par exemple, et vla ti pas qu'il ne panique pas alors qu'il a pas de rootfs ! c'est complètement l'inverse de ce qui est décrit sur internet Ensuite j'essaye des combinaisons d'arguments, ça marche pas : ./linux udb0=Debian-3.0r0.ext2 nosysemu mem=64M ./linux rootfs=Debian-3.0r0.ext2 nosysemu mem=64M Et plein d'autre... À chaque fois, j'ai rien de "bien" : suse@linux:~/OSs/UML> ./linux udb0=Debian-3.0r0.ext2 nosysemu mem=64M Checking for the skas3 patch in the host...found Checking for /proc/mm...found Checking PROT_EXEC mmap in /tmp...OK Linux version 2.6.10 (suse@linux) (gcc version 3.3.4 (pre 3.3.5 20040809)) #3 Fri Feb 4 17:48:38 CET 2005 Built 1 zonelists Kernel command line: udb0=Debian-3.0r0.ext2 nosysemu mem=64M root=98:0 PID hash table entries: 512 (order: 9, 8192 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 61056k available Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround Checking for /dev/anon on the host...Not available (open failed with errno 2) NET: Registered protocol family 16 Initializing Cryptographic API Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered loop: loaded (max 8 devices) elevator: using anticipatory as default io scheduler nbd: registered device at major 43 Ethernet Channel Bonding Driver: v2.6.1 (October 29, 2004) bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details. Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com) Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 Initializing stdio console driver Et ça retourne à la console, comme si de rien n'était ! Que faire pour pouvoir l'utiliser ? Merci d'avance...

AltStyle によって変換されたページ (->オリジナル) /