* [Xenomai-help] Problem with Xenomai Install @ 2009-12-04 9:11 Adrian Boeing 2009-12-04 18:01 ` Gilles Chanteperdrix 0 siblings, 1 reply; 3+ messages in thread From: Adrian Boeing @ 2009-12-04 9:11 UTC (permalink / raw) To: Xenomai help [-- Attachment #1: Type: text/plain, Size: 914 bytes --] Hi, I have installed Xenomai on a PC, but when I try to run any of the examples (rtprint, trivial-periodic, etc...) the system freezes. Does anyone know what may have caused this? I am using Ubuntu, 2.6.24.6 kernel, and /proc/xenomai/version is 2.4.10 I created the xenomai install by: 1. Getting linux source (apt-get source linux-image-$(uname -r) 2. Getting Xenomai & Adeos 3. Added a new CAN driver to Xenomai 4. Prepareing xenomai (scripts/prepare-kernel.sh --linux=~/linux-2.6.24/ --adeos=~/Desktop/adeos-ipipe-2.6.24-x86-2.0.7-patch) 5. Make kernel (make-kpkg --ignited kernel_image modules) 6. Add kernel to grub (dpkg -i) 7. Installed Xenomai libraries (make install) 8. Set up the C libs (cp /etc/ld.so.conf.d/libc.conf /etc/ld.so.conf.d/xenomai.conf) I also noticed I don't have a /usr/src/xenomai, but have the xenomai source in my home directory from when I first downloaded it. Thanks, -Adrian [-- Attachment #2: Type: text/html, Size: 1497 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Problem with Xenomai Install 2009-12-04 9:11 [Xenomai-help] Problem with Xenomai Install Adrian Boeing @ 2009-12-04 18:01 ` Gilles Chanteperdrix [not found] ` <c024fefc0912082017i59c0c688pbfe8178ba0201f6a@domain.hid> 0 siblings, 1 reply; 3+ messages in thread From: Gilles Chanteperdrix @ 2009-12-04 18:01 UTC (permalink / raw) To: Adrian Boeing; +Cc: Xenomai help Adrian Boeing wrote: > Hi, > > I have installed Xenomai on a PC, but when I try to run any of the > examples (rtprint, trivial-periodic, etc...) the system freezes. > > Does anyone know what may have caused this? Probably a oops. You should try and run the examples from text mode to see the oops text. Or redirect the kernel console to a serial port. > > I am using Ubuntu, 2.6.24.6 kernel, and /proc/xenomai/version is 2.4.10 Kernel too old. Things have been fixed on x86 since then. -- Gilles ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <c024fefc0912082017i59c0c688pbfe8178ba0201f6a@domain.hid>]
* Re: [Xenomai-help] Problem with Xenomai Install [not found] ` <c024fefc0912082017i59c0c688pbfe8178ba0201f6a@domain.hid> @ 2009-12-09 13:37 ` Gilles Chanteperdrix 0 siblings, 0 replies; 3+ messages in thread From: Gilles Chanteperdrix @ 2009-12-09 13:37 UTC (permalink / raw) To: Adrian Boeing; +Cc: Xenomai help Adrian Boeing wrote: > I have created a new install with Ubuntu 9.04, kernel 2.6.28-10 > > When I run trivial-periodic the computer resets. > > This is how I created the kernel: > apt-get build-dep linux-image-$(uname -r) > apt-get source linux-image-$(uname -r) > download xenomai&adeos > scripts/prepare-kernel.sh > cp /boot/config-$(uname -r) . > make menuconfig {I had to drop the #CPU's to 2} > make > sudo make modules_install install > make bzImage > sudo make-kpkg --initrd kernel_image modules > dpkg -i PACKAGENAME > > cd xenomai > ./configure > make > sudo make install > cd /etc/ld.so.conf.d/ > cp libc.conf xenomai.conf > cd examples native > make > sudo ./trivial peridoic <--- crashes computer (causes a reset) Please enable all xenomai and ipipe debugs, disable any kernel option which could cause debugs in case of panic (such as panic=x). And try and send us the kernel logs when the bug happens by redirecting the kernel console on a serial port. -- Gilles ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-09 13:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 9:11 [Xenomai-help] Problem with Xenomai Install Adrian Boeing
2009-12-04 18:01 ` Gilles Chanteperdrix
[not found] ` <c024fefc0912082017i59c0c688pbfe8178ba0201f6a@domain.hid>
2009-12-09 13:37 ` Gilles Chanteperdrix
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.