http://bugs.winehq.org/show_bug.cgi?id=19982
--- Comment #48 from Juan Lang juan_lang@yahoo.com 2009-09-30 18:32:39 --- (In reply to comment #47)
the APIC identification is failing under Wine.
I am unclear as to what you mean by this. The APIC is returned in bits 31...24 of EBX after issuing a CPUID 1 instruction. Wine/*nix can not affect the operation of the CPUID instruction, it's just like any other unprivileged x86 instruction.
Okay. I didn't remember that that's how you were doing it.
Have you run SIV on your system ? Does the failure get shown on your system please ? I would like to get an idea if this is just a ubuntu Linux issue. To actually know it works at all with Wine would be a valuable input.
Yes, and it fails in the same way here, if I understand the program well enough. (I confess to finding SIV pretty confusing.) Nevertheless, the sched_setaffinity calls succeed. (I instrumented my own wineserver to verify it.) So I'm leaning toward this being a kernel bug. Once we ask the kernel to schedule a thread on a different CPU, and the kernel says, "righto," there's nothing more we can do, is there?