LATENCIES > 100 us or CRASH WITH X
Hello
I am a newbie with Xeno. My goal for the beginning of 2007 is to launch a project for 4 french studiants : a box with Linux embedded and a usb camera. The embedded application will analyse the movies in Real time and lead a mobile machine with CAN-BUS. Now i play with Xeno for my knowledge (without specific hardware) : a little linux installed in a usb key with a little embedded distrib
- vanilla kernel 2.6.16 with patch for usb [.config is joint]
- Xenomai 2.1.2
- essentially BusyBox
- for xenomai : only "latency" directory and libs in usr/libs I have checked "SMI woraround" for the kernel.
In BIOS I have UNchecked "legacy usb".
my Desktop PC (a AMD ATHLON) can boot with this little vanilla kernel and 1/ a little embedded distrib of my own
OR
2/ a complete mandrake 9.1 on a partition of a classic hard disk
I have 2 differents problems when I lauch this :
1/ with the linux embedded directories on the usb key
high latency > 100 us are ok ? perhaps usb work is not compatible with RT ?
2/ with the complete mandrake 9.1 :
it crashes X after 1 or few minutes.
What is the relation between X and Xenomai ?
Is Xenomai compatible with X ?
Best Regards
joint : the complete list of the directories
___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
Quoted 6 lines · Jean-Luc Pamart
Hello
I am a newbie with Xeno. My goal for the beginning of 2007 is to launch a project for 4 french studiants : a box with Linux embedded and a usb camera. The embedded application will analyse the movies in Real time and lead a mobile machine with CAN-BUS. Now i play with Xeno for my knowledge (without specific hardware) : a little linux installed in a usb key with a little embedded distrib
- vanilla kernel 2.6.16 with patch for usb [.config is joint]
- Xenomai 2.1.2
Just to be sure that you are not fighting bugs that were already corrected, could you try with a more recent version ?
Quoted 4 lines
- essentially BusyBox
- for xenomai : only "latency" directory and libs in usr/libs I have checked "SMI woraround" for the kernel.
In BIOS I have UNchecked "legacy usb".
Please consult the TROUBLESHOOTING file for details, but you should also disable the APM option and enable ACPI options except ACPI_PROCESSOR.
Quoted 4 lines
my Desktop PC (a AMD ATHLON) can boot with this little vanilla kernel and 1/ a little embedded distrib of my own
With the version of Xenomai you are using, you should select pentium pro, and not AMD Athlon in the kernel configuration menu. Please do not enable the local APIC either, since it is buggy on some Athlons.
Quoted 7 lines
OR
2/ a complete mandrake 9.1 on a partition of a classic hard disk
I have 2 differents problems when I lauch this :
Quoted 8 lines
1/ with the linux embedded directories on the usb key
high latency > 100 us are ok ? perhaps usb work is not compatible with RT ?2/ with the complete mandrake 9.1 :
it crashes X after 1 or few minutes.
What is the relation between X and Xenomai ?
Is Xenomai compatible with X ?
If Xenomai crashes under X, you will not be able to see any console message, so, you should try in text mode first, and see if you also get the crash.
Now about X and Xenomai, there is also an entry in TROUBLESHOOTING, but X-window for some hardware induces high latencies. If you are among the unfortunates that have such hardware, you have to use the option "NoAccel" in XF86Config.
Signature · 1 line
Gilles Chanteperdrix