Re: linux 2.5.16 and VIA Chipset

mikeH (mikeH@notnowlewis.co.uk)
Sat, 18 May 2002 18:42:12 +0100


Yeah, I have both these options enabled, but the config option is not
appearing (and I have had it running fine in the 2.4 series ;).
The only mention of ACPI in .config is

# ACPI Support
#
#CONFIG_ACPI is not set

otherwise there is no mention. When I put that to

# ACPI Support
#
CONFIG_ACPI=y

make dep && make bzImage
results in
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.5.16/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4 " -C arch/i386/kernel
make[1]: Entering directory `/usr/src/linux-2.5.16/arch/i386/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.5.16/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4 -DKBUILD_BASENAME=acpi -c -o acpi.o
acpi.c
acpi.c:53: parse error before `0'
acpi.c: In function `acpi_get_interrupt_model':
acpi.c:498: `ACPI_INT_MODEL_IOAPIC' undeclared (first use in this function)
acpi.c:498: (Each undeclared identifier is reported only once
acpi.c:498: for each function it appears in.)
make[1]: *** [acpi.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.16/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

I havent done anything like copying the old .config from my 2.4 series
kernel, this was a clean
tar jxvf linux-2.5.16.tar.bz2 && cd linux-2.5.16 && make menuconfig

Have I missed a step thats been introduced in the 2.5 series? I've only
run 2.2 and 2.4 before, but I was hoping 2.5 might have fixed some of
the VIA issues.

mike

Adrian Bunk wrote:

>On Sat, 18 May 2002, Anton Altaparmakov wrote:
>
>
>
>>At 13:47 18/05/02, mikeH wrote:
>>
>>
>>>Apologies, on closer examination of the 2.4 and 2.5 dmesg, it hangs just
>>>before the
>>>ACPI is going to come up. However, there is no option for it in make
>>>menuconfig, and enabling it in .config breaks the compile.
>>>
>>>
>>What do you mean there is no config option in menuconfig?!? I just checked
>>and there is "General options" ---> "ACPI Support" ---> "[ ] ACPI Support".
>>
>>
>
>There are two options that are required and it might be that one of them
>is missing:
>
>1. "Code maturity level options" -> "Prompt for development and/or
> incomplete code/drivers"
>2. "General setup" -> "Power Management support"
>
>Most likely the first one is the missing option (don't expect that the
>average user has activated CONFIG_EXPERIMENTAL).
>
>
>
>>Best regards,
>>
>> Anton
>>
>>
>
>cu
>Adrian
>
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/