Re: [uml-user] UML failed to execute /bin/bash

2007-06-24 Thread Jeff Dike
On Sun, Jun 24, 2007 at 09:27:24AM +0300, Leonid Shulov wrote: > Host is Debian Linux 3.1 with kernel: > 2.6.21-1-amd64 > UML root_fs is ext2 What I meant is, is the filesystem i386 or x86_64? Jeff -- Work email - jdike at linux dot intel dot com ---

Re: [uml-user] UML failed to execute /bin/bash

2007-06-24 Thread Leonid Shulov
x86_64 On Sun, 2007-06-24 at 09:13 -0400, Jeff Dike wrote: > On Sun, Jun 24, 2007 at 09:27:24AM +0300, Leonid Shulov wrote: > > Host is Debian Linux 3.1 with kernel: > > 2.6.21-1-amd64 > > UML root_fs is ext2 > > What I meant is, is the filesystem i386 or x86_64? > >

Re: [uml-user] UML failed to execute /bin/bash

2007-06-24 Thread Jeff Dike
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 -- Work email - jdike at linux dot intel dot com ---

Re: [uml-user] UML failed to execute /bin/bash

2007-06-24 Thread Leonid Shulov
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 num

Re: [uml-user] UML failed to execute /bin/bash

2007-06-24 Thread Jeff Dike
On Sun, Jun 24, 2007 at 07:44:52PM +0300, Leonid Shulov wrote: > 1. My host is realy x86_64: I'm asking whether you're trying to boot a 64-bit UML on a 32-bit filesystem. That won't work because there's no 32-bit emulation on x86_64 yet. Jeff -- Work email - jdi