Eric,
I have some questions about the APIC. How can I change the Second Opteron's APIC_ID? DO I need to make the second CPU run and its process access (APIC_DEFAULT_BASE+APIC_ID) and set (1<<24) to it.
Then When should start the process in auto.c or hardwaremain.c ( startup_other_cpus function)? I have tried to add one branch in auto.c and seems the second cpu start only from crt0.base. and it try copy LinBIOS and Jump
Regards
Yinghai Lu
-----邮件原件----- 发件人: ron minnich [mailto:rminnich@lanl.gov] 发送时间: 2003年6月25日 8:13 收件人: linuxbios@clustermatic.org 主题: K8 + 2.4.21 + SuSE 64-bit mode + Arima HDAMA + 49LF040 + MTD
The above combination works pretty well until I try to program the part, at which point the kernel takes an oops and dies.
I'm wondering if anyone else has either: - seen this work - seen this fail
thanks
ron
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
YhLu YhLu@tyan.com writes:
Eric,
I have some questions about the APIC. How can I change the Second Opteron's APIC_ID? DO I need to make the second CPU run and its process access (APIC_DEFAULT_BASE+APIC_ID) and set (1<<24) to it.
You need to know the apic id before you can start code on the second cpu. I recall seeing how how this is set in the BIOS programmers guide. Look under unit id.
Then When should start the process in auto.c or hardwaremain.c ( startup_other_cpus function)? I have tried to add one branch in auto.c and seems the second cpu start only from crt0.base. and it try copy LinBIOS and Jump
You definitely want to use the code in startup_other_cpus. There is no good reason to run to multiple cpus in auto.c
Eric