Build problems with APM/Subarch type
I have been trying to build a 2.6.9-rc4. My box is an Intel P4.
Did all the configuration properly, except that i fumbled on the keyboard and the option 'Subarchitecture Type' somehow got set to
'(SGI 320/540 Visual Workstation)'.
The build failed with an error 'Undefined reference to machine_real_restart'
It seems that , unless Subarch is PC-Compatible ( CONFIG_PC ) , CONFIG_X86_BIOS_REBOOT will not be set and thusly, reboot.c would not be compiled.
( yeah, i know messing around with configs is suicidal, but.... )
Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??
Signature · 3 lines
###### raj ######
Quoted 5 lines · Raj
I have been trying to build a 2.6.9-rc4. My box is an Intel P4.
Did all the configuration properly, except that i fumbled on the keyboard and the option 'Subarchitecture Type' somehow got set to
'(SGI 320/540 Visual Workstation)'.
Using an editor or make *config? which *config?
Quoted 1 line
The build failed with an error 'Undefined reference to
machine_real_restart'
Yep, I see that also.
Quoted 6 lines
It seems that , unless Subarch is PC-Compatible (
CONFIG_PC) ,CONFIG_X86_BIOS_REBOOTwill not be set and thusly,reboot.cwould not be compiled.( yeah, i know messing around with configs is suicidal, but.... )
Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??
Do you/we/maintainer know that APM is not applicable to all of the other PC sub-arches?
I agree that it should be fixed, one way or another.
Signature · 1 line
~Randy
Quoted 5 lines
Quoted 3 lines
Did all the configuration properly, except that i fumbled on the keyboard and the option 'Subarchitecture Type' somehow got set to
'(SGI 320/540 Visual Workstation)'.Using an editor or make *config? which *config?
make menuconfig.
Quoted 9 lines
Quoted 2 lines
The build failed with an error 'Undefined reference to
machine_real_restart'Yep, I see that also.
Quoted 4 lines
It seems that , unless Subarch is PC-Compatible (
CONFIG_PC) ,CONFIG_X86_BIOS_REBOOTwill not be set and thusly,reboot.cwould not be compiled.
Quoted 7 lines
Quoted 3 lines
( yeah, i know messing around with configs is suicidal, but.... )
Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??
Do you/we/maintainer know that APM is not applicable to all of the other PC sub-arches?
afaics, i found 'apm.c' only in arch/i386/kernel and arch/arm/kernel. does that really
confirm that apm would not be applicable for other archs ??
Quoted 11 lines
I agree that it should be fixed, one way or another. --
~Randy-
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/
Signature · 1 line
-> Ricky
Quoted 23 lines · Ricky lloyd
Quoted 5 lines
Quoted 3 lines
Did all the configuration properly, except that i fumbled on the keyboard and the option 'Subarchitecture Type' somehow got set to
'(SGI 320/540 Visual Workstation)'.Using an editor or make *config? which *config?
make menuconfig.
Quoted 13 lines
Quoted 1 line
The build failed with an error 'Undefined reference to
machine_real_restart'Yep, I see that also.
Quoted 7 lines
It seems that , unless Subarch is PC-Compatible (
CONFIG_PC) ,CONFIG_X86_BIOS_REBOOTwill not be set and thusly,reboot.cwould not be compiled.( yeah, i know messing around with configs is suicidal, but.... )
Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??
Quoted 7 lines
Quoted 3 lines
Do you/we/maintainer know that APM is not applicable to all of the other PC sub-arches?
afaics, i found '
apm.c' only inarch/i386/kernelandarch/arm/kernel. does that really
confirm that apm would not be applicable for other archs ??
The question is actually about other PC sub-arches, not other (Big) arch-es.
Quoted 3 lines
Quoted 3 lines
I agree that it should be fixed, one way or another. --
Signature · 1 line
~Randy
Quoted 2 lines
Using an editor or make *config? which *config?
xconfig
Quoted 8 lines
Quoted 1 line
The build failed with an error 'Undefined reference to
machine_real_restart'Yep, I see that also.
Quoted 4 lines
It seems that , unless Subarch is PC-Compatible (
CONFIG_PC) ,CONFIG_X86_BIOS_REBOOTwill not be set and thusly,reboot.cwould not be compiled.
Quoted 8 lines
Quoted 3 lines
( yeah, i know messing around with configs is suicidal, but.... )
Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??
Do you/we/maintainer know that APM is not applicable to all of the other PC sub-arches?
I agree that it should be fixed, one way or another.
i am not aware much about the apm dependencies. maintainers might answer this more correctly.
Signature · 3 lines
###### raj ######
Quoted 19 lines · Raj
Quoted 2 lines
Using an editor or make *config? which *config?
xconfig
Quoted 13 lines
Quoted 1 line
The build failed with an error 'Undefined reference to
machine_real_restart'Yep, I see that also.
Quoted 7 lines
It seems that , unless Subarch is PC-Compatible (
CONFIG_PC) ,CONFIG_X86_BIOS_REBOOTwill not be set and thusly,reboot.cwould not be compiled.( yeah, i know messing around with configs is suicidal, but.... )
Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??
Quoted 7 lines
Quoted 4 lines
Do you/we/maintainer know that APM is not applicable to all of the other PC sub-arches?
I agree that it should be fixed, one way or another.
i am not aware much about the apm dependencies. maintainers might answer this more correctly.
True. I should have copied Andrey on it earlier.
Andrey, any thoughts about how to keep VISWS from building APM support? use Kconfig? or does VISWS support APM?
Signature · 1 line
~Randy
Quoted 29 lines
Quoted 28 lines · Raj
Quoted 2 lines
Using an editor or make *config? which *config?
xconfig
Quoted 20 lines
Quoted 2 lines
The build failed with an error 'Undefined reference to
machine_real_restart'Yep, I see that also.
Quoted 9 lines
It seems that , unless Subarch is PC-Compatible (
CONFIG_PC) ,CONFIG_X86_BIOS_REBOOTwill not be set and thusly,reboot.cwould not be
compiled.( yeah, i know messing around with configs is suicidal, but.... )
Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??
Do you/we/maintainer know that APM is not applicable to all of the other PC sub-arches?
I agree that it should be fixed, one way or another.
Quoted 7 lines
Quoted 2 lines
i am not aware much about the apm dependencies. maintainers might answer this more correctly.
True. I should have copied Andrey on it earlier.
Andrey, any thoughts about how to keep VISWS from building APM support? use
Kconfig? or does VISWS support APM?
IMHO Kconfig is the best choise. VISWS has no PC compatible BIOS at all, it uses ARC compilant firmware for startup and configuration. Even though this firmware does limited BIOS emulation for running ROMs on PCI cards, i dont think it has working APM BIOS implementation.
PATCH 1/1 VISWS: disable APM
(full email thread here:
http://marc.theaimsgroup.com/?t=109758139300007&r=1&w=2
)
Quoted 15 lines · Andrey Panin
Quoted 15 lines
Quoted 10 lines · Raj
Quoted 8 lines
Quoted 2 lines
The build failed with an error 'Undefined reference to
machine_real_restart'Yep, I see that also.
Quoted 2 lines
Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??
i am not aware much about the apm dependencies. maintainers might answer this more correctly.
True. I should have copied Andrey on it earlier.
Quoted 7 lines
Quoted 2 lines
Andrey, any thoughts about how to keep VISWS from building APM support? use
Kconfig? or does VISWS support APM?IMHO
Kconfigis the best choise. VISWS has no PC compatible BIOS at all, it uses ARC compilant firmware for startup and configuration. Even though this firmware does limited BIOS emulation for running ROMs on PCI cards, i dont think it has working APM BIOS implementation.
Raj, can you test this patch? It WorksForMe.
It disables APM & P4THERMAL support for X86_VISWS so that VISWS builds correctly.
Signature · 1 line
~Randy
Prevent X86_VISWS config from building APM support. APM isn't supported and it won't build if attempted. Also disable P4THERMAL for VISWS.
diffstat:=
arch/i386/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/i386/Kconfig renamed from arch/i386/Kconfig~visws_noapm +2 -2
@@ -584,7 +584,7 @@ config X86_MCE_NONFATAL config X86_MCE_P4THERMAL bool "check for P4 thermal throttling interrupt." - depends on X86_MCE && (X86_UP_APIC || SMP) + depends on X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS help Enabling this feature will cause a message to be printed when the P4 enters thermal throttling.
@@ -879,7 +879,7 @@ source kernel/power/Kconfig source "drivers/acpi/Kconfig" menu "APM (Advanced Power Management) BIOS Support" -depends on PM +depends on PM && !X86_VISWS config APM tristate "APM (Advanced Power Management) BIOS support"