Script started on Mon 01 Mar 2010 03:21:34 PM MST [podonnel@csuslin ~]$ ssh -X cpscsc.cpsc.ucalgary.ca podonnel@csc.cpsc.ucalgary.ca's password: Last login: Mon Mar 1 15:19:01 2010 from csuslin Welcome to the University of Calgary Department of Computer Science This system is for use by authorized users only. ------------------------------------------------------ DEPARTMENT http://www.cpsc.ucalgary.ca/ WEBPAGE PROBLEMS AND http://www.cpsc.ucalgary.ca/Help/ QUESTIONS email: help@cpsc.ucalgary.ca FTP ACCESS ftp.cpsc.ucalgary.ca To View Department News and Announcements Including New Courses and Deadlines Please Visit: http://www.cpsc.ucalgary.ca/news ------------------------------------------------------ [podonnel@csc ~]$ cd /tmp/podonnel/uml [podonnel@csc uml]$ ls FedoraCore5-x86-root_fs linux linux-2.6.24 s1 startuml uml-build.log [podonnel@csc uml]$ ./stratumlartuml 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 Adding 5332992 bytes to physical memory to account for exec-shield gap Linux version 2.6.24 (podonnel@csc) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #6 Mon Mar 1 14:58:33 MST 2010 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 33804 Kernel command line: ubda=FedoraCore5-x86-root_fs mem=128M 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: 126660k 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 net_namespace: 64 bytes Using 2.6 host AIO NET: Registered protocol family 16 NET: Registered protocol family 2 Time: itimer clocksource has been installed. 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/uga/podonnel/.uml/VmV5XZ/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 console [tty0] enabled Initializing software serial port version 1 console [mc-1] enabled ubda: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. INIT: version 2.86 booting Welcome to Fedora Core Press 'I' to enter interactive startup. hwclock is unable to get I/O port access: the iopl(3) call failed. Setting clock : Mon Mar 1 17:22:20 EST 2010 [ OK ] Starting udev: [ OK ] Setting hostname localhost.localdomain: [ OK ] raidautorun: failed to open /dev/md0: No such device or address Checking filesystems Checking all file systems. [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/ubda /dev/ubda: clean, 11957/65536 files, 85253/128000 blocks [ OK ] Remounting root filesystem in read-write mode: [ OK ] Mounting local filesystems: [ OK ] Enabling swap space: [ OK ] modprobe: FATAL: Error running install command for binfmt_misc INIT: Entering runlevel: 3 Entering non-interactive startup Bringing up loopback interface: [ OK ] Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization. [FAILED] Starting system logger: [ OK ] Starting kernel logger: [ OK ] Starting system message bus: [ OK ] Mounting other filesystems: [ OK ] Starting sshd: [ OK ] Starting crond: [ OK ] c Fedora Core release 5 (Bordeaux) Kernel 2.6.24 on an i686 localhost login: root Last login: Mon Mar 1 17:20:07 on tty0 [root@localhost ~]# ls PIDspacer libuser-0.54.5-1.i386.rpm PIDspacer.c openldap-2.3.19-4.i386.rpm cryptsetup-luks-1.0.3-0.rc2.i386.rpm passwd-0.71-3.2.i386.rpm cyrus-sasl-2.1.21-10.i386.rpm pciutils-2.2.1-1.2.i386.rpm cyrus-sasl-lib-2.1.21-10.i386.rpm pm-utils-0.15-1.i386.rpm dbus-0.61-3.i386.rpm policycoreutils-1.29.26-6.i386.rpm dbus-glib-0.61-3.i386.rpm policycoreutils-1.29.26-6.x86_64.rpm dmidecode-2.7-1.23.i386.rpm policycoreutils-1.30.1-3.fc5.i386.rpm hal-0.5.7-3.i386.rpm selinux-policy-2.2.23-15.noarch.rpm kbd-1.12-13.2.i386.rpm usermode-1.85-2.2.i386.rpm libusb-0.1.11-2.2.i386.rpm yum-2.6.0-1.noarch.rpm [root@localhost ~]# sleep 10 & [1] 1811 [root@localhost ~]# sleep 10 & [2] 1812 [root@localhost ~]# sleep 10 & [3] 1813 [root@localhost ~]# ps PID TTY TIME CMD 1796 tty0 00:00:00 bash 1811 tty0 00:00:00 sleep 1812 tty0 00:00:00 sleep 1813 tty0 00:00:00 sleep 1814 tty0 00:00:00 ps [root@localhost ~]# ./PIDspacer 9 Calling the new system call... Starting system call... Old PIDincrement: 0 New PIDincrement: 9 [1] Done sleep 10 [2]- Done sleep 10 [3]+ Done sleep 10 [root@localhost ~]# sleep 15 & [1] 1825 [root@localhost ~]# sleep 15 & [2] 1835 [root@localhost ~]# sleep 15 & [3] 1845 [root@localhost ~]# ps PID TTY TIME CMD 1796 tty0 00:00:00 bash 1825 tty0 00:00:00 sleep 1835 tty0 00:00:00 sleep 1845 tty0 00:00:00 sleep 1855 tty0 00:00:00 ps [root@localhost ~]# ./PIDspacer 39 Calling the new system call... Starting system call... Old PIDincrement: 9 New PIDincrement: 39 [1] Done sleep 15 [2]- Done sleep 15 [3]+ Done sleep 15 [root@localhost ~]# sleep 20 & [1] 1905 [root@localhost ~]# sleep 20 & [2] 1945 [root@localhost ~]# sleep 20 & [3] 1985 [root@localhost ~]# sleep 20 & [4] 2025 [root@localhost ~]# sleep 20 & [5] 2065 [root@localhost ~]# ps PID TTY TIME CMD 1796 tty0 00:00:00 bash 1905 tty0 00:00:00 sleep 1945 tty0 00:00:00 sleep 1985 tty0 00:00:00 sleep 2025 tty0 00:00:00 sleep 2065 tty0 00:00:00 sleep 2105 tty0 00:00:00 ps [root@localhost ~]# ./s PIDspacer 0 Calling the new system call... Starting system call... Old PIDincrement: 39 New PIDincrement: 0 [1] Done sleep 20 [2] Done sleep 20 [3] Done sleep 20 [4]- Done sleep 20 [5]+ Done sleep 20 [root@localhost ~]# sleep 10 & [1] 2146 [root@localhost ~]# sleep 10 & [2] 2147 [root@localhost ~]# sleep 10 & [3] 2148 [root@localhost ~]# ps PID TTY TIME CMD 1796 tty0 00:00:00 bash 2146 tty0 00:00:00 sleep 2147 tty0 00:00:00 sleep 2148 tty0 00:00:00 sleep 2149 tty0 00:00:00 ps [root@localhost ~]# shutdo      cat PIDspacer.c #include #include #include #include _syscall1(int, PIDspacer, int, newSpace); int main(int argc, char *argv[]) { if (argc == 2){ printf("Calling the new system call...\n"); PIDspacer(atoi(argv[1])); return(0); }else { printf("usage: %s \n", argv[0]); return(1); } } [1] Done sleep 10 [2]- Done sleep 10 [3]+ Done sleep 10 [root@localhost ~]# shutdown -h now  Broadcast message from root (tty0) (Mon Mar 1 17:25:00 2010): The system is going down for system halt NOW! INIT: Switching to runlevel: 0 INIT: Sending processes the TERM signal Stopping sshd: [ OK ] Stopping crond: [ OK ] Stopping system message bus: [ OK ] Shutting down kernel logger: [ OK ] Shutting down system logger: [ OK ] Shutting down loopback interface: [ OK ] Starting killall: [ OK ] Sending all processes the TERM signal... Sending all processes the KILL signal... Saving random seed: Syncing hardware clock to system time hwclock is unable to get I/O port access: the iopl(3) call failed. Halting system... System halted. remove_umid_dir - remove_files_and_dir failed with err = -16 [podonnel@csc uml]$ exit logout Connection to csc.cpsc.ucalgary.ca closed. [podonnel@csuslin ~]$ exit Script done on Mon 01 Mar 2010 03:25:34 PM MST