1. My host is realy x86_64:
Linux lshulov 2.6.21-1-amd64 #1 SMP Sat May 26 17:22:54 CEST 2007 x86_64
GNU/Linux
2. >mount -o loop root_fs /mnt/try/
> ls /mnt/try/
bin dev etc lib lost+found sbin
> ./linux init=/mnt/try/bin/bash
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: 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...missing
Linux version 2.6.21 (unknown) ([EMAIL PROTECTED]) (gcc version 4.1.3
20070601 (prerelease) (Debian 4.1.2-12)) #1 Wed Jun 20 18:26:31 IDT 2007
Built 1 zonelists. Total pages: 8080
Kernel command line: init=/mnt/try/bin/bash root=98:0
PID hash table entries: 128 (order: 7, 1024 bytes)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Memory: 28708k 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: 512 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 2, 16384 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
Checking host MADV_REMOVE support...OK
mconsole (version 2) initialized on /home/lshulov/.uml/d7Mrx1/mconsole
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (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
VFS: Mounted root (ext2 filesystem) readonly.
Failed to execute /mnt/try/bin/bash. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to
kernel.
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.21
RIP: 0033:[<00002b7f3ba870c7>]
RSP: 00002b7f3bda9fd0 EFLAGS: 00000212
RAX: 0000000000000000 RBX: 0000000000007e58 RCX: ffffffffffffffff
RDX: 0000000000000000 RSI: 0000000000000013 RDI: 0000000000007e58
RBP: 00002b7f3bda9fe8 R08: 0000000000000000 R09: 00002b7f3bda9fe8
R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000007e55
R13: 00002b7f3bda9000 R14: 00007fff6f472958 R15: 00007fff6f472ae8
Call Trace:
6029bdb8: [<60011960>] panic_exit+0x2f/0x49
6029bdd8: [<60035d07>] notifier_call_chain+0x29/0x3e
6029be08: [<60035dac>] atomic_notifier_call_chain+0x9/0xb
6029be18: [<60029712>] panic+0xe6/0x17d
6029be68: [<60069c31>] do_execve+0x1ed/0x1ff
6029be98: [<6000d97d>] um_execve+0xe/0x42
6029bec8: [<6001041d>] kernel_execve+0x2d/0x38
6029bf08: [<6000d374>] try_name+0x0/0x1c2
6029bf18: [<60001798>] init+0x86/0x8a
6029bf48: [<6001eacf>] run_kernel_thread+0x41/0x4a
6029bf58: [<60001712>] init+0x0/0x8a
6029bf98: [<6001eab6>] run_kernel_thread+0x28/0x4a
6029bfc8: [<60011e20>] new_thread_handler+0x67/0x91
remove_umid_dir - remove_files_and_dir failed with err = -39
On Sun, 2007-06-24 at 11:07 -0400, Jeff Dike wrote:
> On Sun, Jun 24, 2007 at 04:19:43PM +0300, Leonid Shulov wrote:
> > x86_64
>
> Can you make sure that init is a 64-bit binary? Loop-mount the
> filesystem on the host and run file on init.
>
> Jeff
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user