Hi,

I am attempting to install UML on a Fedora Core 4 installation.

However, when I install the rpm on user-mode-linux.sourceforge.net (user_mode_linux-2.4.19.5um-0.i386.rpm) and run “linux”, it segfaults.

So, I built UML from source after enabling the 2G/2G support that was mentioned on the website – to no avail!  It still segfaults.

I’ve attached the output from “strace linux” on the bottom in hopes that it might help.

 

Any ideas on how I can get UML to run?

 

Ernie Fontes

 

[root@localhost ernie]# strace linux

execve("/usr/bin/linux", ["linux"], [/* 36 vars */]) = 0

fcntl64(0, F_GETFD)                     = 0

fcntl64(1, F_GETFD)                     = 0

fcntl64(2, F_GETFD)                     = 0

uname({sys="Linux", node="localhost.localdomain", ...}) = 0

geteuid32()                             = 0

getuid32()                              = 0

getegid32()                             = 0

getgid32()                              = 0

brk(0)                                  = 0xa0e95000

brk(0xa0e95020)                         = 0xa0e95020

brk(0xa0e96000)                         = 0xa0e96000

getpid()                                = 2913

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

execve("/usr/kerberos/sbin/linux", ["linux", "                                "...], [/* 36 vars */]) = -1 ENOENT (No such file or directory)

execve("/usr/kerberos/bin/linux", ["linux", "                                "...], [/* 36 vars */]) = -1 ENOENT (No such file or directory)

execve("/usr/sbin/linux", ["linux", "                                "...], [/* 36 vars */]) = -1 ENOENT (No such file or directory)

execve("/home/ernie/netkit/netkit2/bin/linux", ["linux", "           "...], [/* 36 vars */]) = -1 ENOENT (No such file or directory)

execve("/usr/local/bin/linux", ["linux", "                                "...], [/* 36 vars */]) = -1 ENOENT (No such file or directory)

execve("/usr/bin/linux", ["linux", "                                "...], [/* 36 vars */]) = 0

fcntl64(0, F_GETFD)                     = 0

fcntl64(1, F_GETFD)                     = 0

fcntl64(2, F_GETFD)                     = 0

uname({sys="Linux", node="localhost.localdomain", ...}) = 0

geteuid32()                             = 0

getuid32()                              = 0

getegid32()                             = 0

getgid32()                              = 0

brk(0)                                  = 0xa0333000

brk(0xa0333020)                         = 0xa0333020

brk(0xa0334000)                         = 0xa0334000

getpid()                                = 2913

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0

setrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0

gettimeofday({1122564205, 990540}, NULL) = 0

getpid()                                = 2913

open("/tmp/vm_file-uILJek", O_RDWR|O_CREAT|O_EXCL, 0600) = 3

unlink("/tmp/vm_file-uILJek")           = 0

fchmod(3, 0777)                         = 0

_llseek(3, 1785856, [1785856], SEEK_SET) = 0

write(3, "\0", 1)                       = 1

fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0

old_mmap(NULL, 1785856, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xb7e3f000

munmap(0xa0003000, 1785856)             = 0

old_mmap(0xa0003000, 1785856, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 3, 0) = 0xa0003000

munmap(0xb7e3f000, 1785856)             = 0

gettimeofday({1122564206, 26401}, NULL) = 0

getpid()                                = 2913

open("/tmp/vm_file-7YVDVk", O_RDWR|O_CREAT|O_EXCL, 0600) = 4

unlink("/tmp/vm_file-7YVDVk")           = 0

fchmod(4, 0777)                         = 0

_llseek(4, 184320, [184320], SEEK_SET)  = 0

write(4, "\0", 1)                       = 1

fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0

old_mmap(NULL, 184320, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0xb7fc6000

munmap(0xa01b7000, 184320)              = 0

old_mmap(0xa01b7000, 184320, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0xa01b7000

munmap(0xb7fc6000, 184320)              = 0

gettimeofday({1122564206, 42269}, NULL) = 0

getpid()                                = 2913

open("/tmp/vm_file-elV0ap", O_RDWR|O_CREAT|O_EXCL, 0600) = 5

unlink("/tmp/vm_file-elV0ap")           = 0

fchmod(5, 0777)                         = 0

_llseek(5, 1376256, [1376256], SEEK_SET) = 0

write(5, "\0", 1)                       = 1

fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0

old_mmap(NULL, 1376256, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0xb7ea3000

--- SIGSEGV (Segmentation fault) @ 0 (0) ---

+++ killed by SIGSEGV +++