[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: Partial workaround for probs with 3ware Controller
Ian Pratt wrote: Can xen hackers confirm if the acpi code is up-to-date?The current acpi/apic code is around 2.4.22 vintage, which is after most of the nasty bios table parsing problems.It probably wouldn't hurt to freshen it, though.Any volunteers? Not me. I can't (won't) ruin a good project like xen :-) (ehehehehe)Anyway, maybe if all the cpus are detected the current code will work (an upgrade is still the better way...). Just edit xeno-unstable.bk/xen/include/asm-x86/config.h and change: "#define NR_CPUS 16" to "#define NR_CPUS 160". This will waste some memory for some structs but it shouldn't hurt, YMMV.Doing a diff from mpparse.c in xen and 2.6 demonstrates that the method to find if the processor is invalid or not has changed: @@ -987,7 +836,7 @@ struct mpc_config_processor processor; int boot_cpu = 0; - if (id >= MAX_APICS) { + if (MAX_APICS - id <= 0) { printk(KERN_WARNING "Processor #%d invalid (max %d)\n", id, MAX_APICS); return;Also, 2.6 acpi code works better in some boxen. Maybe because it's more bleeding edge? Regards, Nuno Silva ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |