Enable apic ext id committed.
Changes Auto.c nodeid = lapicid() & 0xf; #if ENABLE_APIC_EXT_ID == 1 enable_apic_ext_id(nodeid); lapic_write(LAPIC_ID, ( lapic_read(LAPIC_ID) | (APIC_ID_OFFSET<<24) ) ); // CPU apicid is from 0x10 #endif if (cpu_init_detected(nodeid)) { asm volatile ("jmp __cpu_reset"); } distinguish_cpu_resets(nodeid);
also reset_test.c change cpu_init_detected and distinguish_cpu_resets to take node id.
YH
-----Original Message----- From: Ronald G. Minnich [mailto:rminnich@lanl.gov] Sent: Tuesday, January 04, 2005 7:29 AM To: Stefan Reinauer Cc: linuxbios@clustermatic.org Subject: Re: mptable.c
On Tue, 4 Jan 2005, Stefan Reinauer wrote:
I can have a look, if you can point me to some documentation. Is the utility supposed to through out a working mptable? The code it creates looks fundamentally different from the opteron boards' mptables.c versions.
It will toss out C code with the proper options. It's been so long since anyone has used it that I don't remember how to run it!
ron
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Is there an utility help to generate mptable.c? I thought I saw someone saying so. Is it usable?
gin
On Tue, 11 Jan 2005, Gin wrote:
Is there an utility help to generate mptable.c? I thought I saw someone saying so. Is it usable?
util/mptable/mptable.c or some such. It is usable. It is not perfect by any means.
ron
The system failed when booting SMP linux kernel. It complains the IDE lost interrupt. Things were working fine with the non-SMP linux kernel. Has anyone seen it before?
Note that the SMP kernel image was stored in the IDE hard disk. So BIOS was able to load the kernel to be executed. After Linux kernel took control, somehow the interrupts was messed up. Here are the last few messages over the console.
=========================================================== ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: lost interrupt hda: lost interrupt hda: lost interrupt hda: host protected area => 1 hda: 160086528 sectors (81964 MB) w/7936KiB Cache, CHS=158816/16/63, UDMA(100) hda: lost interrupt hda: lost interrupt ide-floppy driver 0.99.newide Partition check: hda:<4>hda: dma_timer_expiry: dma status == 0x24 ============================================================
On Wed, 12 Jan 2005, Gin wrote:
The system failed when booting SMP linux kernel. It complains the IDE lost interrupt. Things were working fine with the non-SMP linux kernel. Has anyone seen it before?
bad mp table would be my guess.
ron
bad mp table would be my guess.
I think the I/O APICs are incorrectly assigned to buses. From the kernel messages, devices on bus 0 are transformed to high IRQs.
Can anyone one confirm that the mptable.c under src/tyan/s2735 is a good one to boot SMP linux kernel? I might need to manually construct the MP table for my board according to a good one.
Thanks, gin