Dual Xeon, 2.6.10, adeos-r13
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi all,
I can't seem to find any info about Dual Xeon and Xenomai (well, ADEOS, really). Is this a configuration that is expected to work? What about smp Athlon? or DualCore Athlon? (I think Opteron is not in the picture yet, right?)
For the dual Xeon, I'm able to patch and build fine, but boot stalls after the hardware has been initialized by the init process. (i.e. The last line I get from Fedora Core 3 Init 2.85 booting says: Initializing hardware... storage network, audio done [ok])
I've done what I think are correct:
- turned off HyperThreading in both bios and in kernel config
- disabled REGPARM
The Processor family is set to Pentium 4 and sub arch is set to Generic architecture (X86_GENERICARCH), but I've also tried Pc Compatible (X86) to the same effect. I used an adeos-r9 patch that came with RTAI, and I at least got the system to boot. But RTAI puked when loading the SMP scheduler....
Is there anything else I might do to make this work? What is the confidence level in SMP support?
Thanks,
-Nate
Quoted 6 lines · Nathaniel Villaume
Hi all,
I can't seem to find any info about Dual Xeon and Xenomai (well, ADEOS, really). Is this a configuration that is expected to work? What about smp Athlon? or DualCore Athlon? (I think Opteron is not in the picture yet, right?)
x86-64 is not yet supported by Xenomai (hmm, would be a nice next goal now that ARM is running... ;)). But everything that runs in plain x86 mode has to work.
But don't use oldgen adeos patches with Xenomai anymore, use the recent ipipe patches. Pick Xenomai 2.0.3 or 2.1-rc2 and install a fitting patch that comes with it.
Quoted 8 lines
For the dual Xeon, I'm able to patch and build fine, but boot stalls after the hardware has been initialized by the init process. (i.e. The last line I get from Fedora Core 3 Init 2.85 booting says:
Initializing hardware... storage network, audio done [ok])I've done what I think are correct:
- turned off HyperThreading in both bios and in kernel config
That's recommended as HyperThreading degrades RT performance (but it should not crash your box, though).
Quoted 1 line
- disabled REGPARM
That is only needed for RTAI to work around its oddities. It is NOT needed for Xenomai.
Quoted 6 lines
The Processor family is set to Pentium 4 and sub arch is set to Generic architecture (
X86_GENERICARCH), but I've also tried Pc Compatible (X86) to the same effect.
I used an adeos-r9 patch that came with RTAI, and I at least got the system to boot. But RTAI puked when loading the SMP scheduler....
Are we now talking about RTAI or do you still mean Xenomai? Note that both projects have almost nothing organisationally in common anymore. RTAI is patching the original ipipe-patches for its purpose, so the golden rule is: use only that patch that comes with the desired real-time extension, don't mix both up!
Quoted 3 lines
Is there anything else I might do to make this work? What is the confidence level in SMP support?
I would say that SMP is not that intensively tested as UP, but there are no known issues ATM which should prevent it from working (AFAIK).
If you think you have found a bug in a *recent* version (2.0.3/2.1-rc2), please report again precisely what you did. Start with getting a *vanilla* kernel booted, then continue with adding the ipipe and finally Xenomai itself. Please also provide your .config if step #2 or #3 fails.
Jan
[Xenomai-help] Dual Xeon 2.6.13 SMP config problem
Hi all,
This email might be slightly off-topic because it's related to getting even a vanilla SMP kernel running (even though I can get the UP version to run Xenomai).
I performed two tests:
My distro is FC3 with linux-2.6.9. I'm trying to get the SMP version of 2.6.13 running with Xenomai.
Test #1:
========
Use my distro's smp kernel (which boots) config to build the 2.6.13 kernel. I ran make oldconfig, then make menuconfig, and turned off Experimental options. I can't boot: mount complains: "mount: error 6 mounting ext3"... etc.
Test #2
==========
I used the single CPU kernel config to build the adeos-patched 2.6.13 kernel. This boots and xeno latency runs fine. I had a problem with make devices not making the devices, but I moved on to getting the SMP working. If I switch to SMP in the kernel config, the machine doesn't boot. Instead, it complains: "mount: error 6 mounting ext3".
I checked that the ext3 is being compiled as a module.... I literally only change the SMP option.
I found some things on the internet about the ext3 error meaning that the driver wasn't compiled into the kernel. I tried this, even though it shouldn't matter. It doesn't work. I get more details about the kernel panic:
EIP is at kmem_cache_create
Looks like the trace/stack is:mb_cache_createinit_ext3_xattrinit_ext3_fssys_init_modulesysenter_past_esp
"/bin/lvm exited abnormally."
I feel like I must be missing something obvious, any ideas? Would my configs be of use? I've looked through side-by-side diffs and can't see meaningful differences. I saw something about udev --which might explain my inabilty to create /dev/rtp0 with 'make devices'
I'd appreciate any pointers to what might be wrong, -Nate
Re: [Xenomai-help] Dual Xeon 2.6.13 SMP config problem
Quoted 3 lines
My distro is FC3 with linux-2.6.9. I'm trying to get the SMP version of 2.6.13 running with Xenomai.
Why not use 2.6.15 immediately ?
Quoted 10 lines
Test #2
==========
I used the single CPU kernel config to build the adeos-patched 2.6.13 kernel. This boots and xeno latency runs fine. I had a problem withmake devicesnot making the devices, but I moved on to getting the SMP working.
If I switch to SMP in the kernel config, the machine doesn't boot. Instead, it complains: "mount: error 6 mounting ext3".
I checked that the ext3 is being compiled as a module.... I literally only change the SMP option.
Are there any other errors before that one ?
Jeroen.
Hi Nate,
Quoted 7 lines · Nathaniel Villaume
Hi all,
I can't seem to find any info about Dual Xeon and Xenomai (well, ADEOS, really). Is this a configuration that is expected to work? What about smp Athlon? or DualCore Athlon? (I think Opteron is not in the picture yet, right?)
For the dual Xeon, I'm able to patch and build fine, but boot stalls after the hardware has been initialized by the init process. (i.e. The last line I get from Fedora Core 3 Init 2.85 booting says: Initializing hardware... storage network, audio done [ok])
Quoted 6 lines
I've done what I think are correct:
- turned off HyperThreading in both bios and in kernel config
- disabled REGPARMThe Processor family is set to Pentium 4 and sub arch is set to Generic architecture (
X86_GENERICARCH), but I've also tried Pc Compatible (X86) to the same effect. I used an adeos-r9 patch that came with RTAI,
Old Adeos series (i.e. "oldgen") had a design issue that caused such kind of behaviour, especially on high-end systems with recent PCI hardware. This has been fixed with the Adeos "I-pipe" series, so you should definitely boot your box with one of those patches instead (1.1-03 is a good candidate).
I don't know if you are actually meaning RTAI, or Xenomai here, but in case it's about Xenomai, you should stick with official Adeos patches [1] which are also shipped with Xenomai distros unmodified. The RTAI project provides its own kernel patches for working with their codebase since 3.2, but internally, Adeos as an interrupt pipeline is not active in those actually.
and I at least got the
Quoted 4 lines
system to boot. But RTAI puked when loading the SMP scheduler....
Is there anything else I might do to make this work? What is the confidence level in SMP support?
SMP support is fully maintained for both Adeos and Xeno, at the same level than UP is. If you find something wrong there, we are going to fix it.
[1] http://download.gna.org/adeos/patches/v2.6/i386/
Quoted 12 lines
Thanks,
-Nate_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.