hi all,

I am trying to get ULM working for me, but keep stumbling into a couple of beginner's problems:

- when I look for a prebuilt binary and / or file system, none of the links I find still seem to work?
- when building my own binary (linux-2.6.27.9) and SUSE (10.1) file system, I can't  get it to boot, I only get:

Locating the bottom of the address space ... 0x0
Locating the top of the address space ... 0xc0000000
Core dump limits :
    soft - 0
    hard - NONE
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...OK
Checking for the skas3 patch in the host:
  - /proc/mm...not found: No such file or directory
  - PTRACE_FAULTINFO...not found
  - PTRACE_LDT...not found
UML running in SKAS0 mode
Linux version 2.6.27.9 (r...@stille-pc) (gcc version 4.2.2) #1 Mon Dec 22 11:47:20 CET 2008
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: ubda=cow1,uml.img mem=128M root=98:0
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126760k available
Calibrating delay loop... 3827.30 BogoMIPS (lpj=19136512)
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
net_namespace: 288 bytes
Using 2.6 host AIO
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
mconsole (version 2) initialized on /root/.uml/jZ1hLx/mconsole
Checking host MADV_REMOVE support...OK
Host TLS support detected
Detected host type: i386 (GDT indexes 6 to 9)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 247
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
TCP cubic registered
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
console [tty0] enabled
Initializing software serial port version 1
console [mc-1] enabled
Creating "cow1" as COW file for "uml.img"
 ubda: unknown partition table
VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.86 booting
line_ioctl: tty0: unknown ioctl: 0x80045432
System Boot Control: Running /etc/init.d/boot
Mounting procfs at /proc                                                                                                                                 done
Mounting sysfs at /sys                                                                                                                                   done
Mounting tmpfs at /dev                                                                                                                                   done
Initializing /dev                                                                                                                                        done
Mounting devpts at /dev/pts                                                                                                                              done
line_ioctl: tty0: unknown ioctl: 0x80045432
Activating swap-devices in /etc/fstab...                                                                                                                 done
showconsole: Warning: the ioctl TIOCGDEV is not known by the kernel
showconsole: real tty unknown
/bin/mknod -m600 /dev/shm/root b 98 0
Checking root file system...
fsck 1.38 (30-Jun-2005)
[/sbin/fsck.ext2 (1) -- /dev/shm/root] fsck.ext2 -a /dev/shm/root
/dev/shm/root: clean, 44792/1221600 files, 180631/2441406 blocks                                                                                         done
Starting udevd                                                                                                                                           done
Loading required kernel modules                                                                                                                          done
Activating device mapper...
Starting MD Raid ... no MD support in kernel                                                                                                             skipped
FATAL: Could not load /lib/modules/2.6.27.9/modules.dep: No such file or directory
                                                                                                                                                         failed
line_ioctl: tty0: unknown ioctl: 0x80045432
showconsole: Warning: the ioctl TIOCGDEV is not known by the kernel
Checking file systems...
fsck 1.38 (30-Jun-2005)
Checking all file systems.                                                                                                                               done
                                                                                                                                                         done
Mounting local file systems...
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw)
FATAL: Could not load /lib/modules/2.6.27.9/modules.dep: No such file or directory
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
nothing was mounted                                                                                                                                      done
modprobe: FATAL: Could not load /lib/modules/2.6.27.9/modules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/2.6.27.9/modules.dep: No such file or directory

Setting up the hardware clockhwclock is unable to get I/O port access:  the iopl(3) call failed.
hwclock is unable to get I/O port access:  the iopl(3) call failed.
                                                                                                                                                         failed
FATAL: Could not load /lib/modules/2.6.27.9/modules.dep: No such file or directory
Loading AppArmor module                                                                                                                                  failed
- could not start AppArmor                                                                                                                               failed
line_ioctl: tty0: unknown ioctl: 0x80045432
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
             Setting up hostname 'linux'                                                                                                                 done
Setting up loopback interface     lo       
    lo        IP address: 127.0.0.1/8  
                                                                                                                                                         done
Creating /var/log/boot.msg                                                                                                                               done
showconsole: Warning: the ioctl TIOCGDEV is not known by the kernel


and then it just opens an xterm
"xterm: Can't execvp port-helper: No such file or directory"

can anyone tell from this what is missing in the filesystem and/or what options I should add to the kernel?

greetings, Danny.
------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to