a.out problem with 2.0.1

William M. Perkins (bill@grnwood.grnwood.richmond.us.net)
Fri, 5 Jul 1996 08:31:55 -0400 (EDT)


Using a.out compiled into the kernel is not working for me with
the 2.0.1 patch. I am getting segmentation faults when trying to
run the a.out programs. I also have ELF compiled in since most of
the programs I run are ELF, but a lot of the others require a.out.
I had to compile a.out as a module to get it to work. This was not
required with the 2.0.0 kernel.

The following is what is written to /var/adm/messages when ntpdate,
an a.out program, is run from cron with 2.0.1 with a.out compiled
into the kernel:

> kernel: general protection: 0000
> kernel: CPU: 0
> kernel: EIP: 0010:[<0203667a>]
> kernel: EFLAGS: 00010246
> kernel: eax: 01edff84 ebx: f000ea97 ecx: 00000000 edx: f000ea97
> kernel: esi: 00000018 edi: 00000000 ebp: 00000006 esp: 01edff64
> kernel: ds: 0018 es: 0018 fs: 0018 gs: 002b ss: 0018
> kernel: Process ntpdate (pid: 3524, process nr: 55, stac kpage=01edf000)
> kernel: Stack: f000ea97 00000000 01edff84 00000020 0203ef04 fffffff8 00000003 00000006
> kernel: 00000000 00000000 0069b810 08050560 bffff7ce 01114000 0012b611 00006662
> kernel: 0012b65e 00000003 0069b810 08050560 bffff7ce 0010a6d2 00006662 08050560
> kernel: Call Trace: [<0203ef04>] [<0012b611>] [<0012b65e>] [<0010a6d2>]
> kernel: Code: 8b 42 04 ff d0 89 c1 83 c4 10 be 2b 00 00 00 66 8e e6 83 f9

Bill

-- 
William M. Perkins                       Internet - wperkins@us.net
The Greenwood                               or    - bill@cais.com
Commodore is dead.  Long lives the Amiga!  (AmigaOS/Linux/NetBSD)