Je tente de faire marcher UML sous debian mais je me heurte à un problème.
Voici ce que j'ai fais :
2. Installation
sudo aptitude install user-mode-linux cdebootstrap
1. Creation du rootfs
dd if=/dev/zero of=etch.img bs=1k seek=4M count=0
/sbin/mkfs.ext3 -F etch.img
mkdir /tmp/rootfs
sudo mount -oloop etch.img /tmp/rootfs/
sudo cdebootstrap etch /tmp/rootfs/ http://ftp.de.debian.org/debian
sudo cp -a /usr/lib/uml/modules/ /tmp/rootfs/lib/
sudo umount /tmp/rootfs |
Je tente alors de demarrer mon UML :
gandalf@stormrage:/data/vm/uml$ linux ubd0=etch.img |
Et j'obtient cette erreur :
...
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
ubda: unknown partition table
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
mapping mmap stub failed, errno = 12
Kernel panic - not syncing: start_userspace : expected SIGSTOP, got status = 256
EIP: 0073:[<a7e9abf1>] CPU: 0 Not tainted ESP: 007b:a7e6dfb8 EFLAGS: 00000246
Not tainted
EAX: 00000000 EBX: 00003bec ECX: 00000013 EDX: 00003bec
ESI: 00003be8 EDI: 00000011 EBP: a7e6dfc4 DS: 007b ES: 007b
088abaf8: [<0806efa0>] show_regs+0xb4/0xb9
088abb24: [<0805e014>] panic_exit+0x23/0x3d
088abb38: [<0807e405>] notifier_call_chain+0x1a/0x31
088abb58: [<08072f13>] panic+0x4f/0xca
088abb74: [<0806c07d>] start_userspace+0xce/0x11a
088abb94: [<0805e232>] init_new_context_skas+0xfb/0x13e
088abbb4: [<080ad344>] do_execve+0x96/0x1df
088abbd8: [<080599b8>] execve1+0x28/0x52
088abbfc: [<080599f5>] um_execve+0x13/0x3f
088abc18: [<0805936a>] run_init_process+0x34/0x4f
088abc38: [<08059471>] init+0xec/0x117
088abc48: [<08069473>] run_kernel_thread+0x42/0x4a
088abcf8: [<0805e3b7>] new_thread_handler+0x7f/0xa9
088abd1c: [<ffffe420>] _etext+0xf7e6d406/0x0 |
Merci d'avance