Subject: Re: 1.6 kernel build failure / APM problem?
To: Mirko Thiesen <thiesi@ReLink.NetWorkXXIII.Sytes.NET>
From: Perry E. Metzger <perry@piermont.com>
List: port-i386
Date: 07/05/2002 12:46:50
Mirko Thiesen <thiesi@ReLink.NetWorkXXIII.Sytes.NET> writes:
> Hi there,
> 
> last night I wanted to compile a recent 1.6 kernel (sources are updated
> nightly via sup) on one of my boxes. I followed the instructions in
> UPDATING, but the build process failed with the following error message:

One of the instructions in UPDATING explicitly states that you need a
new assembler to build.

In general, I would recommend using build.sh and not trying to update
by hand.

.pm

> 
> cc  -x assembler-with-cpp -traditional-cpp -D_LOCORE  -Di386 -I.
> -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL
> -D_KERNEL_OPT -c ../../../../arch/i386/i386/apmcall.s
> /tmp/ccoDp8Ft.s: Assembler messages:
> /tmp/ccoDp8Ft.s:618: Error: operands given don't match any known 386
> instruction
> *** Error code 1
> 
> Stop.
> 
> I realize that the error comes from apmcall.s. Currently the box is
> running 1.5.3_ALPHA, and I did not change anything regarding APM in the
> 1.6 kernel config file. The options are as follows:
> 
> # Tuning for power management, see apm(4) for more details.
> #options        APM_NO_IDLE             # Don't call BIOS CPU idle
> function
> #options        APM_V10_ONLY            # Use only the APM 1.0 calls
> #options        APM_NO_POWEROFF         # Don't power off on halt(8)
> options         APM_POWER_PRINT         # Print stats on the console
> #options        APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
> 
> The motherboard is a PIII VIA chipset-based one from ASUS (TUV4X).
> 
> I have no idea where to look at and would appreciate any help and/or
> pointers.
> 
> Bye, K&K,
> T-Zee
> -- 
> thiesi@NetWork23.Sytes.NET ---- NetBSD: Power to the people!
> Tel.: ++49-(0)171-416 05 09 -- Fax: ++49-(0)171-134 16 05 09
> Mirko Thiesen, P.O. Box 26 03 54, D-13413 Berlin, W. Germany
>              "We're with you all the way, mostly"
> 
> 
> 

-- 
Perry E. Metzger		perry@piermont.com
--
"Ask not what your country can force other people to do for you..."