Subject: Re: port-sun3/33720: COMPAT_SUNOS kernel option not enabled by default
To: None <gnats-bugs@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 06/14/2006 08:40:45
sigmfsk@aol.com wrote:

> After loading NetBSD 3.0 on a Sun3, attempting to run a SunOS
> executable produces the message: Exec format error. Wrong Architecture.

Are you sure you are really using GENERIC?
I guess install.md script install INSTALL kernel (which is in miniroot)
to your disk, not GENERIC by default.

You can check GENERIC kernel binary by nm(1) if it contains
any "sunos" symbols, and ktrace(1) also may help to check
how the binary fails.
---
Izumi Tsutsui