From owner-FreeBSD-users-jp@jp.freebsd.org  Wed Sep 18 14:29:23 1996
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) id OAA29763
	Wed, 18 Sep 1996 14:29:23 +0900 (JST)
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) with ESMTP id OAA29758
	for <freebsd-users-jp@jp.freebsd.org>; Wed, 18 Sep 1996 14:29:20 +0900 (JST)
Received: from komadori.earth.s.kobe-u.ac.jp (watanabe@localhost [127.0.0.1]) by komadori.earth.s.kobe-u.ac.jp (8.7.5+2.6Wbeta6/3.4W4-MX) with ESMTP id OAA09978 for <freebsd-users-jp@jp.freebsd.org>; Wed, 18 Sep 1996 14:29:34 +0900 (JST)
Message-Id: <199609180529.OAA09978@komadori.earth.s.kobe-u.ac.jp>
To: freebsd-users-jp@jp.freebsd.org
Date: Wed, 18 Sep 1996 14:29:31 +0900
From: Takeshi WATANABE <watanabe@komadori.earth.s.kobe-u.ac.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 4676
Subject: [FreeBSD-users-jp 4676] Linux emulator on FreeBSD-2.1.5R
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

  $BEOJU!w?@8MBg$G$9!#(B

  FreeBSD 2.1.5R $B$G(B Linux $B%(%_%e%l!<%?!<$,$&$^$/F0$+$J$/$F:$$C$F$^$9!#(B

  $B$d$C$?$3$H$O!"(Broot $B$G(B /usr/bin/linux $B$r<B9T$7$?$3$H$H!"(B/compat/linux
$B$N2<$G(B linux_lib-2.0.tgz $B$rE83+$7$?$3$H$G$9!#(B

  $B$3$l$G!"(BLinux $B$N<B9T%U%!%$%k$r5/F0$9$k$H!"(B

% file /compat/linux/usr/bin/ldd
/compat/linux/usr/bin/ldd: Linux/i386 demand-paged executable (QMAGIC)
% /compat/linux/usr/bin/ldd /compat/linux/usr/bin/ldd 
Bus error (core dumped)
% file bash 
bash: ELF 32-bit LSB executable i386 (386 and up) Version 1
% ./bash 
./bash: Exec format error. Wrong Architecture.
%

$BB>$N<B9T%U%!%$%k$G$b;n$7$F$_$^$7$?$,!"(BQMAGIC $B$N<B9T%U%!%$%k$OI,$:(B
Bus error $B$K$J$j!"(BELF $B$N<B9T%U%!%$%k$OI,$:(B Exec format error $B$K$J$j(B
$B$^$9!#(Bmodstat $B$N7k2L$O(B

=-=-=-=
Type     Id Off Loadaddr Size Info     Rev Module Name
EXEC      0   3 f14c3000 0018 f14c8000   1 linux_emulator
=-=-=-=

$B$A$c$s$H(B linux_emulator $B$,I=<($5$l$k$N$G$9$,!D!#(Bmodunload $B$G(B
linux_emulator $B$r30$7$F$b!"$^$?(B modload $B$GFI$_9~$s$G$b>u67$OJQ$o$j(B
$B$^$;$s!#(B

  $B$I$&$9$l$P!"(B2.1.5R $B$G!"$A$c$s$H(B Linux $B%(%_%e%l!<%?!<$,F0$/$h$&$K(B
$B$J$k$N$G$7$g$&$+!)(B  SNAP $B$rDI$$$+$1$k!D$H$+$OHr$1$?$$$G$9!#(B

******************************************
$B?@8MBg3XBg3X1!(B $B<+A32J3X8&5f2J(B $B4D6-2J3X@l96(B
                        $B#D#3(B  $BEOJU(B  $B5#(B
    watanabe@komadori.earth.s.kobe-u.ac.jp
