All pastes #542443 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-05 20:56 UTC
rendered paste body
matt@black ~/uml $ ./uml mortix 2.6.21.3-mantrain
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
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Linux version 2.6.21.3 (matt@black) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #3 Thu May 31 15:57:00 Local time zone must be set--see zic manu
Built 1 zonelists.  Total pages: 65024
Kernel command line: mem=256M ubda=./images/mortix/rootfs ubdb=./images/mortix/swapfs eth0=tuntap,uml0 con=pts con0=fd:0,fd:1 root=98:0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 255744k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Using 2.6 host AIO
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
Checking host MADV_REMOVE support...OK
mconsole (version 2) initialized on /home/matt/.uml/mortix/mconsole
Host TLS support detected
Detected host type: i386
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
TCP cubic 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
 ubdb: unknown partition table
Netdevice 0 (8e:11:a5:67:68:95) : TUN/TAP backend - 
ReiserFS: ubda: found reiserfs format "3.6" with standard journal
ReiserFS: ubda: using ordered data mode
ReiserFS: ubda: journal params: device ubda, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: ubda: checking transaction log (ubda)
ReiserFS: ubda: replayed 11 transactions in 0 seconds
ReiserFS: ubda: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
      oooOOOOOOOOOOO"
     o   ____          :::::::::::::::::: :::::::::::::::::: __|-----|__   
     Y_,_|[]| --++++++ |[][][][][][][][]| |[][][][][][][][]| |  [] []  |
    {|_|_|__|;|______|;|________________|;|________________|;|_________|;
    /oo--OO   oo  oo   oo oo      oo oo   oo oo      oo oo   oo     oo
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
		Linux 2.6.21.3 Mantrain Edition

line_ioctl: tty0: ioctl KDSIGACCEPT called
INIT: version 2.86 booting
line_ioctl: tty0: ioctl TIOCLINUX called

Gentoo Linux; http://www.gentoo.org/
 Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

 * Mounting proc at /proc ...                                             [ ok ]
 * Mounting sysfs at /sys ...                                             [ ok ]
 * Mounting /dev for udev ...                                             [ ok ]
 * Seeding /dev with needed nodes ...                                     [ ok ]
 * Setting up proper hotplug agent ...
 *   Using netlink for hotplug events...
                                                                          [ ok ]
 * Starting udevd ...                                                     [ ok ]
 * Populating /dev with existing devices through uevents ...              [ ok ]
 * Letting udev process events ...FATAL: Could not load /lib/modules/2.6.21.3/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.21.3/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.21.3/modules.dep: No such file or directory
                                        [ ok ]
 * Finalizing udev configuration ...                                      [ ok ]
 * Mounting devpts at /dev/pts ...                                        [ ok ]
 * Checking root filesystem ...fsck: fsck.reiserfs: not found
fsck: Error 2 while executing fsck.reiserfs for /dev/ubda
                                           [ ok ]
 * Remounting root filesystem read/write ...                              [ ok ]
FATAL: Could not load /lib/modules/2.6.21.3/modules.dep: No such file or directory
 * Checking all filesystems ...fsck: cannot check /dev/ubda: fsck.reiserfs not found
                                           [ ok ]
 * Mounting local filesystems ...                                         [ ok ]
 * Activating (possible) swap ...                                         [ ok ]
 * Setting system clock using the hardware clock [UML] ...                [ ok ]
 * Configuring kernel parameters ...                                      [ ok ]
 * Updating environment ...                                               [ ok ]
 * Cleaning /var/lock, /var/run ...                                       [ ok ]
 * Cleaning /tmp directory ...                                            [ ok ]
 * Setting hostname to mortix ...                                                                                                                                   [ ok ]
 * Starting lo
 *   Bringing up lo
 *     127.0.0.1/8
                                                                                                                                                                    [ ok ]
 *   Adding routes
 *     127.0.0.0/8 ...                                                                                                                                              [ ok ]
 * Initializing random number generator ...                                                                                                                         [ ok ]
INIT: Entering runlevel: 3
 * Starting eth9
 *   Bringing up eth9
 *     10.0.0.50
 *     network interface eth9 does not exist
 *     Please verify hardware or kernel module (driver)
                                                                                                                                                                    [ !! ]
                                                                                                                                                                    [ !! ]
 * ERROR:  cannot start netmount as net.eth9 could not start
 * ERROR:  cannot start sshd as net.eth9 could not start
 * Starting local ...                                                                                                                                               [ ok ]


This is mortix.unknown_domain (Linux i686 2.6.21.3) 21:55:11

mortix login: root
Password: 
mortix ~ # cat train.c 
#include <stdio.h>
#include <sys/syscall.h>

#define __NR_train 320

int main()  {
	return sys_train();
}

int sys_train()  {
	return syscall(__NR_train, NULL);
}
mortix ~ # cc train.c -o train
mortix ~ # ./train 
*        . . . . o o o o o
*               _____      o       _______
*      ____====  ]OO|_n_n__][.     |m4n  |
*     [________]_|__|________)<    |tr41n|
*      oo    oo  'oo OOOO-| oo\_   ~~~|~~~
*  +--+--+--+--+--+--+--+--+--+--+--+--+--+
mortix ~ #