Janos: the absolute paths in the links won't be kept if the root
filesystem changes. you should physically put a copy of mach_init into
/usr/xMach/etc/ and probably change the link for emulator.
I'm happy that you get that error as that means your system is doing well.
Can I ask what your build environment is?
--
[ Joseph Mallett <[EMAIL PROTECTED]> ] [ http://srcsys.org ]
[ xMach Core Team xMach: Proactively Unbloated Microkernel BSD ]
[ Proud {Free,Net}BSD User; (Obj)C(++) Programmer ] [ http://xMach.org ]
On Sun, 13 May 2001, Janos FEHER wrote:
> Hell!
>
> I've written a letter for some weeks ago. I still can't boot xMach. I
> compiled the 04/13/2001 snapshot. The problem: I haven't got enough
> space on the FreeBSD's root filesystem for xMach, so I moved it to
> /usr/xMach . Now:
>
> charm# ls -l /xMach/*
> lrwxr-xr-x 1 root wheel 14 Apr 29 2001 /xMach/bin -> /usr/xMach/bin
> lrwxr-xr-x 1 root wheel 18 Apr 29 2001 /xMach/include -> /usr/xMach/include
> lrwxr-xr-x 1 root wheel 14 Apr 29 2001 /xMach/lib -> /usr/xMach/lib
> lrwxr-xr-x 1 root wheel 14 Apr 29 2001 /xMach/man -> /usr/xMach/man
> lrwxr-xr-x 1 root wheel 15 Apr 29 2001 /xMach/sbin -> /usr/xMach/sbin
> /xMach/boot:
> total 1844
> -rwxr-xr-x 1 root wheel 850616 Apr 29 2001 Mach
> -rwxr-xr-x 1 root wheel 139957 Apr 29 2001 bootstrap
> -rwxr-xr-x 1 root wheel 36203 Apr 29 2001 bsdboot.o
> -rwxr-xr-x 1 root wheel 680170 Apr 29 2001 kernel
> -rwxr-xr-x 1 root wheel 125632 Apr 29 2001 mach_init
> /xMach/etc:
> total 1288
> -rwxr-xr-x 1 root wheel 513309 Apr 29 2001 emulator
> -rwxr-xr-x 1 root wheel 125632 Apr 29 2001 mach_init
> lrwxr-xr-x 1 root wheel 26 Jan 1 01:05 paging_file -> /usr/xMach/etc/pag
> ing_file
> -rwxr-xr-x 1 root wheel 639628 Apr 29 2001 startup
>
>
>
> charm# ls -l /usr/xMach/*
> /usr/xMach/bin:
> total 2703
> -rwxr-xr-x 1 root wheel 4811 Apr 29 2001 Flags
> -rwxr-xr-x 1 root wheel 84911 Apr 29 2001 envmgr
> -rwxr-xr-x 1 root wheel 70470 Apr 29 2001 hash_info
> -rwxr-xr-x 1 root wheel 80167 Apr 29 2001 hostinfo
> -rwxr-xr-x 1 root wheel 144960 Apr 29 2001 ipc_test
> -rwxr-xr-x 1 root wheel 125632 Apr 29 2001 mach_init
> -rwxr-xr-x 1 root wheel 24576 Apr 29 2001 macherr
> -rwxr-xr-x 1 root wheel 146139 Apr 29 2001 machid
> -rwxr-xr-x 1 root wheel 67122 Apr 29 2001 machipc
> -rwxr-xr-x 1 root wheel 96908 Apr 29 2001 massign
> -rwxr-xr-x 1 root wheel 96501 Apr 29 2001 mcreate
> -rwxr-xr-x 1 root wheel 3115 Apr 29 2001 mig
> -rwxr-xr-x 1 root wheel 2747 Apr 29 2001 mkbsdimage
> -rwxr-xr-x 1 root wheel 97540 Apr 29 2001 mkill
> -rwxr-xr-x 1 root wheel 97162 Apr 29 2001 mnice
> -rwxr-xr-x 1 root wheel 98340 Apr 29 2001 mpolicy
> -rwxr-xr-x 1 root wheel 128399 Apr 29 2001 ms
> -rwxr-xr-x 1 root wheel 69797 Apr 29 2001 mt
> -rwxr-xr-x 1 root wheel 111080 Apr 29 2001 pinfo
> -rwsr-xr-x 1 root wheel 65856 Apr 29 2001 ps
> -rwxr-xr-x 1 root wheel 71477 Apr 29 2001 snames
> -rwxr-xr-x 1 root wheel 103622 Apr 29 2001 stacks
> -rwxr-xr-x 1 root wheel 64078 Apr 29 2001 swapon
> -rwxr-xr-x 1 root wheel 97710 Apr 29 2001 thstate
> -rwsr-xr-x 1 root wheel 47291 Apr 29 2001 top
> -rwxr-xr-x 1 root wheel 114845 Apr 29 2001 vminfo
> -rwxr-xr-x 1 root wheel 96248 Apr 29 2001 vmread
> -rwxr-xr-x 1 root wheel 96566 Apr 29 2001 vmsearch
> -rwxr-xr-x 1 root wheel 100548 Apr 29 2001 vmstat
> -rwxr-xr-x 1 root wheel 10831 Apr 29 2001 w
> -rwxr-xr-x 1 root wheel 61291 Apr 29 2001 waitfor
> -rwxr-xr-x 1 root wheel 89530 Apr 29 2001 xptest
> -rwxr-xr-x 1 root wheel 72612 Apr 29 2001 zprint
>
> /usr/xMach/boot:
> total 1708
> -rwxr-xr-x 1 root wheel 850616 Apr 29 2001 Mach
> -rwxr-xr-x 1 root wheel 139957 Apr 29 2001 bootstrap
> -rwxr-xr-x 1 root wheel 36203 Apr 29 2001 bsdboot.o
> -rwxr-xr-x 1 root wheel 680170 Apr 29 2001 kernel
> lrwxr-xr-x 1 root wheel 24 Jan 1 01:15 mach_init -> /usr/xMach/bin/mach_init
>
> /usr/xMach/etc:
> total 32793
> lrwxr-xr-x 1 root wheel 38 Apr 30 2001 emulator ->
>/usr/xMach/sbin/emulator.xMach.4.25.28
> lrwxr-xr-x 1 root wheel 24 Jan 1 01:01 mach_init ->
>/usr/xMach/bin/mach_init
> -rw-r--r-- 1 root wheel 33554432 Jan 1 01:14 paging_file
> lrwxr-xr-x 1 root wheel 74 Apr 29 2001 startup ->
>/xMach/sbin/startup.xMach.4.25.28.STD+ffs_softdep+ffs_snapshot+mach4+DEBUG
>
> /usr/xMach/include:
> total 27
> drwxr-xr-x 2 root wheel 512 Apr 29 2001 device
> -rw-r--r-- 1 root wheel 3344 Apr 23 2001 dirent.h
> drwxr-xr-x 2 root wheel 512 Apr 23 2001 i386
> drwxr-xr-x 5 root wheel 2048 Apr 29 2001 mach
> -rw-r--r-- 1 root wheel 1290 Apr 23 2001 mach.h
> drwxr-xr-x 2 root wheel 512 Apr 29 2001 mach_debug
> -rw-r--r-- 1 root wheel 1747 Apr 23 2001 mach_error.h
> -rw-r--r-- 1 root wheel 2307 Apr 23 2001 mach_init.h
> lrwxr-xr-x 1 root wheel 4 Apr 23 2001 machine -> i386
> drwxr-xr-x 2 root wheel 512 Apr 29 2001 servers
> -rw-r--r-- 1 root wheel 3761 Apr 23 2001 string.h
> drwxr-xr-x 2 root wheel 2048 Apr 23 2001 sys
> -rw-r--r-- 1 root wheel 3762 Apr 23 2001 time.h
>
> /usr/xMach/lib:
> total 1234
> -rwxr-xr-x 1 root wheel 8392 Apr 29 2001 libcmucs.a
> -rwxr-xr-x 1 root wheel 12598 Apr 29 2001 libenv.a
> -rw-r--r-- 1 root wheel 65288 Apr 29 2001 liblites.a
> -rw-r--r-- 1 root wheel 65718 Apr 29 2001 liblites_p.a
> -rwxr-xr-x 1 root wheel 369682 Apr 29 2001 libmach.a
> -rwxr-xr-x 1 root wheel 68272 Apr 29 2001 libmach_c.a
> -rwxr-xr-x 1 root wheel 3406 Apr 29 2001 libmach_exec.a
> -rwxr-xr-x 1 root wheel 399390 Apr 29 2001 libmach_sa.a
> -rwxr-xr-x 1 root wheel 97998 Apr 29 2001 libmachid.a
> -rwxr-xr-x 1 root wheel 4640 Apr 29 2001 libnetmemory.a
> -rwxr-xr-x 1 root wheel 5708 Apr 29 2001 libnetname.a
> -rwxr-xr-x 1 root wheel 3820 Apr 29 2001 libservice.a
> -rwxr-xr-x 1 root wheel 28646 Apr 29 2001 libthreads.a
> -rwxr-xr-x 1 root wheel 1448 Apr 29 2001 mach-crt0.o
> -rwxr-xr-x 1 root wheel 96450 Apr 29 2001 migcom
>
> /usr/xMach/man:
> total 3
> drwxr-xr-x 2 root wheel 1024 Jan 1 01:15 man1
> drwxr-xr-x 2 root wheel 512 Jan 1 01:15 man2
> drwxr-xr-x 2 root wheel 512 Jan 1 01:15 man3
>
> /usr/xMach/sbin:
> total 1152
> -rwxr-xr-x 1 root wheel 513309 Apr 29 2001 emulator.xMach.4.25.28
> lrwxr-xr-x 1 root wheel 24 Jan 1 01:15 mach_init -> /usr/xMach/bin/mach_init
> -rwxr-xr-x 1 root wheel 639628 Apr 29 2001
>startup.xMach.4.25.28.STD+ffs_softdep+ffs_snapshot+mach4+DEBUG
>
>
> It seems to be good. Now, let's see the GRUB's setup:
>
> title xMach multiboot
> root (hd0,3,a)
> kernel /xMach/boot/kernel root=/dev/hd0s4h
> module /xMach/boot/bootstrap
>
>
> hd0,3,a the FreeBSD's root partition. /dev/hd0s4h should be the FreeBSD's
> /usr . Ok. If I try to boot xMach, I always get a beutiful message which
> makes me a hanging man:
>
> [...]
> panic: first program (/xMach/etc/mach_init) exec failed: xc002 (os/unix)
> file or directory does not exist
> [...]
>
> WHAT CAN BE THE PROBLEM??? I've got headache :(
> Are there anyone, whose FreeBSD's root partition != xMach root partition?
> bye,
> --
> _ _
> |. ( \ / ) |.http://vlug.vein.hu/~aries - not yet :( - .|
> |. \/ries |. The Flame Machine .|.br%cmds%cult.|
>