Hi Paolo, >Try also following this (from another email) - it appeared in vanilla >2.6.12 >and may be in your FC4 kernel. Not sure but it may be playing a role >here: > >"It looks like VA space randomization is the culprit. The problem only >shows up when the host is 2.6.12, and can be solved by setting the >kernel.randomize_va_space sysctl to zero. Thanks for the pointer >there."
Here are the results with sysctl -w kernel.randomize_va_space=0. Essentially no effect observed. x86_64 box: [EMAIL PROTECTED] shared]# ./run_uml.sh Checking PROT_EXEC mmap in /tmp...OK tracing thread pid = 22885 Linux version 2.6.12-bs7 ([EMAIL PROTECTED]) (gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Wed Jul 20 17:09:50 EST 2005 Built 1 zonelists Kernel command line: mem=160m init=/bin/sh mode=tt ubda=root_fs.fc4 ubdb=swap root=/dev/ubda con=pty con0=fd:0,fd:1 PID hash table entries: 1024 (order: 10, 16384 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 158464k available Mount-cache hash table entries: 512 Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround Checking for /dev/anon on the host...Not available (open failed with errno 2) Linux NoNET1.0 for Linux 2.6 ubd: Synchronous mode UML Audio Relay (host dsp = /dev/sound/dsp, host mixer = /dev/sound/mixer) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered loop: loaded (max 8 devices) Initialized stdio console driver Console initialized on /dev/tty0 Initializing software serial port version 1 ubda: unknown partition table ubdb: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. sh-3.00# ls Child 22915 exited with signal 11 Dell twin 686 box: [EMAIL PROTECTED] uml]$ ./run_uml.sh Checking PROT_EXEC mmap in /tmp...OK Adding 4435968 bytes to physical memory to account for exec-shield gap tracing thread pid = 1855 Linux version 2.6.12-bs7 ([EMAIL PROTECTED]) (gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Wed Jul 20 17:18:39 EST 2005 Built 1 zonelists Kernel command line: mode=tt init=/bin/sh mem=160M ubda=root_fs.2005062201 ubdb=swap root=/dev/ubda con=pty con0=fd:0,fd:1 PID hash table entries: 1024 (order: 10, 16384 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 158208k available Mount-cache hash table entries: 512 Checking for host processor cmov support...Yes Checking for host processor xmm support...No 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 that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround Checking for /dev/anon on the host...Not available (open failed with errno 2) Linux NoNET1.0 for Linux 2.6 ubd: Synchronous mode UML Audio Relay (host dsp = /dev/sound/dsp, host mixer = /dev/sound/mixer) 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 io scheduler deadline registered io scheduler cfq registered loop: loaded (max 8 devices) Initialized stdio console driver Console initialized on /dev/tty0 Initializing software serial port version 1 ubda: unknown partition table ubdb: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. sh-3.00# ls Child 1885 exited with signal 11 and Dell box with SKAS mode: [EMAIL PROTECTED] uml]$ ./run_uml.sh Checking for /proc/mm...found Checking for the skas3 patch in the host...found Checking PROT_EXEC mmap in /tmp...OK Adding 16461824 bytes to physical memory to account for exec-shield gap Linux version 2.6.12-bs7 ([EMAIL PROTECTED]) (gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Wed Jul 20 17:18:39 EST 2005 Built 1 zonelists Kernel command line: init=/bin/sh mem=160M ubda=root_fs.2005062201 ubdb=swap root=/dev/ubda con=pty con0=fd:0,fd:1 PID hash table entries: 1024 (order: 10, 16384 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 158080k available Mount-cache hash table entries: 512 Checking for host processor cmov support...Yes Checking for host processor xmm support...No 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 that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround Checking for /dev/anon on the host...Not available (open failed with errno 2) Linux NoNET1.0 for Linux 2.6 ubd: Synchronous mode UML Audio Relay (host dsp = /dev/sound/dsp, host mixer = /dev/sound/mixer) 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 io scheduler deadline registered io scheduler cfq registered loop: loaded (max 8 devices) Initialized stdio console driver Console initialized on /dev/tty0 Initializing software serial port version 1 ubda: unknown partition table ubdb: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. sh-3.00# ls bin boot dev etc home lib lost+found media misc mnt net opt proc root sbin selinux srv sys tmp usr var sh-3.00# ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user