Skip to contentSkip to conversation

linux 2.5.16 and VIA Chipset

DISCUSSION mikeH 3 participants 10 messages May 18, 2002

lore
Share & tools
lore

mikeH

author
#0 lore raw

I have the VIA kt266 chipset, with CONFIG_BLK_DEV_VIA82CXXX) it refuses to boot, hanging just before you'd expect to see the IDE boot messages come up.

lcpsi output :

00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP]
00:08.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01) 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge 00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. USB (rev 1b)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti4400] (rev a2)

Is there any other info from my system that would help track down why?

Thanks,

mike

author
#1 lore raw

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.

mike

Quoted 31 lines · mikeH

I have the VIA kt266 chipset, with CONFIG_BLK_DEV_VIA82CXXX) it refuses to boot, hanging just before you'd expect to see the IDE boot messages come up.

lcpsi output :

00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP]
00:08.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01) 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge 00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. USB (rev 1b)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti4400] (rev a2)

Is there any other info from my system that would help track down why?

Thanks,

mike

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

#2 lore raw
Quoted 2 lines · mikeH

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".

Best regards,

Anton

Signature · 5 lines
  "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
#3 lore raw
Quoted 8 lines · Anton Altaparmakov
Quoted 4 lines · mikeH

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).

Quoted 3 lines

Best regards,

Anton

cu
Adrian

Signature · 3 lines
You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
								Alan Cox
author
#4 lore raw

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

Quoted 41 lines · Adrian Bunk
Quoted 13 lines · Anton Altaparmakov
Quoted 6 lines · mikeH

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).

Quoted 5 lines

Best regards,

Anton

cu
Adrian

#5 lore raw
Quoted 34 lines · mikeH

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

(quoted diff) +0 -3
-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

(quoted diff) +0 -3
-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

Quoted 2 lines

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

hm. try a make mrproper

and then a make menuconfig

Anton

Quoted 49 lines

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

Quoted 28 lines · Adrian Bunk
Quoted 11 lines · Anton Altaparmakov
Quoted 5 lines · mikeH

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).

Quoted 9 lines
Quoted 4 lines

Best regards,

Anton

cu
Adrian

--
This email was forwarded via the University of Cambridge alumni email system Visit http://cantab.net/ to update your forwarding details

Signature · 5 lines
  "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
author
#6 lore raw
In reply to Adrian Bunk
Quoted 6 lines · Anton Altaparmakov
Quoted 4 lines

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

Quoted 8 lines

hm. try a make mrproper

and then a make menuconfig

Anton

Tried that, still nothing. I'll try downloading the patch and patching it against 2.4.18.

mike

#7 lore raw
Quoted 9 lines · mikeH
Quoted 6 lines · Anton Altaparmakov
Quoted 2 lines

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

hm. try a make mrproper

and then a make menuconfig

Tried that, still nothing. I'll try downloading the patch and patching it against 2.4.18.

Huh? There are no patches to go from 2.4.18 to 2.5.anything AFAIK.

I just downloaded linux-2.5.16.tar.bz2 from kernel.org, did tar xvjf, cd, make mrproper, make menuconfig, enabled config experimental, and I get the ACPI option so something is wrong on your end... This is on ia32 arch.

Which architecture are you using?

Anton

Signature · 5 lines
  "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
author
#8 lore raw
In reply to Adrian Bunk
Quoted 3 lines · Anton Altaparmakov

Huh? There are no patches to go from 2.4.18 to 2.5.anything AFAIK.

Yes, my bad. I meant 2.5.15. Honest. ;)

author
#9 lore raw
In reply to Anton Altaparmakov

aha, now I see! Just got so used to the options being in the same place... couldn't see for looking!

Now to see if that fixes the boot problem... :)

Quoted 32 lines · Anton Altaparmakov
Quoted 10 lines · Adrian Bunk
Quoted 2 lines · Anton Altaparmakov
Quoted 1 line · mikeH

Apologies, on closer examination of the 2.4 and 2.5 dmesg, it

hangs just

Quoted 5 lines
Quoted 3 lines

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

Quoted 8 lines
Quoted 1 line

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"

Not true in 2.5.x. ACPI is not dependent on config experimental. Just checked.

Quoted 1 line

2. "General setup" -> "Power Management support"

Not true in 2.5.x. Power management is not a prerequisite for ACPI in 2.5.x. You notice this already by the fact that ACPI is not under the power management menu any more...

Anton