-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 2.6.18 does not have skas4, you need 2.6.24 + skas4 patch for the guest.
Antoine Flavio wrote: > Hello! > > I've just upgraded my kernel up to the 2.6.24-gentoo-r2 release, > patching it with the skas4 patch successfully. > Once I try to run UML, the first bad thing is that it still starts in > skas0 mode!!! > But I can't run UML too. The filesystem image has been built using > debootstrap and it is a 64bit version distribution. It worked with > previous versions of host kernels. > I also tried with a nagafix.co.uk filesystem image, but I got the same > problem. > > I'm running UML as root at the moment. > > This is the "log": > > # src/linux-2.6.18.2/linux ubd0=rootfs.debian.etch ubd1=swapfs.debian > eth0=tuntap,,,192.168.1.101 mem=1024M > Checking that ptrace can change system call numbers...OK > Checking syscall emulation patch for ptrace...missing > 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 > - 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...missing > Linux version 2.6.18.2-bb2 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo > 4.1.1)) #4 Mon Nov 6 00:41:03 CET 2006 > Built 1 zonelists. Total pages: 262144 > Kernel command line: ubd0=rootfs.debian.etch ubd1=swapfs.debian > eth0=tuntap,,,192.168.1.101 mem=1024M root=98:0 > PID hash table entries: 4096 (order: 12, 32768 bytes) > Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) > Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) > Memory: 1015296k available > Mount-cache hash table entries: 256 > 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: 32768 (order: 6, 262144 bytes) > TCP established hash table entries: 131072 (order: 8, 1048576 bytes) > TCP bind hash table entries: 65536 (order: 7, 524288 bytes) > TCP: Hash tables configured (established 131072 bind 65536) > TCP reno registered > Checking host MADV_REMOVE support...MADV_REMOVE failed, err = -22 > Can't release memory to the host - memory hotplug won't be supported > mconsole (version 2) initialized on /root/.uml/2STvpN/mconsole > Netdevice 0 : TUN/TAP backend - IP = 192.168.1.101 > VFS: Disk quotas dquot_6.5.1 > Dquot-cache hash table entries: 512 (order 0, 4096 bytes) > Initializing Cryptographic API > io scheduler noop registered > io scheduler anticipatory registered (default) > io scheduler deadline registered > io scheduler cfq registered > TCP bic 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 > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > Kernel panic - not syncing: do_syscall_stub : PTRACE_SETREGS failed, errno = > -5 > > > Modules linked in: > Pid: 1, comm: swapper Not tainted 2.6.18.2-bb2 > RIP: 0033:[<00002ab12f8ae5a7>] > RSP: 00002ab12fbc0fc0 EFLAGS: 00000216 > RAX: 0000000000000000 RBX: 0000000000001f2d RCX: ffffffffffffffff > RDX: 0000000000000000 RSI: 0000000000000013 RDI: 0000000000001f2d > RBP: 00002ab12fbc0fc8 R08: 0000000000000000 R09: 00002ab12fbc0fe8 > R10: 0000000000000000 R11: 0000000000000216 R12: 0000000000001f2a > R13: 00002ab12fbc0000 R14: 00007fff7b649558 R15: 00007fff7b6496f8 > Call Trace: > 625c7758: [<60013d5b>] panic_exit+0x2f/0x49 > 625c7760: [<6003f325>] wake_bit_function+0x0/0x2a > 625c7778: [<60039093>] notifier_call_chain+0x29/0x3e > 625c77a8: [<60039138>] atomic_notifier_call_chain+0x9/0xb > 625c77b8: [<6002bcca>] panic+0xe6/0x178 > 625c7878: [<6000d61f>] _einittext+0x1860/0x2aa9 > 625c7888: [<6002383f>] get_safe_registers+0x1b/0x36 > 625c78a8: [<60023a4b>] do_syscall_stub+0x7c/0x1c5 > 625c79e8: [<60023d04>] run_syscall_stub+0xd1/0xdd > 625c7a28: [<6002520e>] write_ldt_entry+0x10e/0x17d > 625c7aa8: [<600259c8>] init_new_ldt+0xdc/0x24b > 625c7ac8: [<6004eb12>] get_page_from_freelist+0x8d/0xb1 > 625c7b10: [<60167000>] __syscall_stub_start+0x0/0xc8 > 625c7b28: [<600106a1>] pte_alloc_one+0x15/0x18 > 625c7b38: [<60055139>] __pte_alloc+0x15/0x85 > 625c7b98: [<600140fe>] init_new_context_skas+0x136/0x16b > 625c7bd8: [<6007215d>] do_execve+0xae/0x208 > 625c7c08: [<6000f202>] init+0x0/0x132 > 625c7c28: [<6000f909>] execve1+0x29/0x57 > 625c7c58: [<6000f945>] um_execve+0xe/0x42 > 625c7c68: [<60078512>] dupfd+0x72/0x89 > 625c7c88: [<6000f1e7>] run_init_process+0x3e/0x59 > 625c7cb8: [<6000f30a>] init+0x108/0x132 > 625c7ce8: [<60020969>] run_kernel_thread+0x59/0x65 > 625c7d00: [<6000f202>] init+0x0/0x132 > 625c7d28: [<6000f202>] init+0x0/0x132 > 625c7db8: [<60028225>] schedule_tail+0x2b/0xdb > 625c7dd0: [<6000f202>] init+0x0/0x132 > 625c7df8: [<600142e6>] new_thread_handler+0x9c/0xca > > What's going on? > > Thank you, > > Flavio > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHtwoYGK2zHPGK1rsRCqhmAJ4z8ZXsOZ6DskrNFBSxMDhWYdBDEgCfWyle aL8/v5ANZe3loew7RayhRlQ= =ndll -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user