From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 22 Jan 2015 08:54:29 +0100 From: Gilles Chanteperdrix Message-ID: <20150122075429.GI16075@hermes.click-hack.org> References: <1537147.Wm9AbiuW5D@soho> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1537147.Wm9AbiuW5D@soho> Subject: Re: [Xenomai] Xenomai-3 booting problems List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leopold Palomo-Avellaneda Cc: xenomai@xenomai.org On Thu, Jan 22, 2015 at 08:47:24AM +0100, Leopold Palomo-Avellaneda wrote: > Hi, > > > I have compiling a Cobalt kernel. I have followed the web "wikipress" [1];-) > recommendations. However, my box (a normal desktop computer - Dell Optiplex > 7010 -) doesn't boot. It throws a message like: > .... > timer doesn't work through interrup-remapped IO-apic > > ... > > enabling noapic in the boot options I'm able to boot. But, I have not make any > test by now. Some interesting messages: > > $ dmesg | grep -i xenomai > [ 0.000000] Linux version 3.16.0-xenomai-3.0.0 (root@soho) (gcc version > 4.9.1 (Debian 4.9.1-19) ) #1 SMP Wed Jan 21 16:29:36 UTC 2015 > [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-xenomai-3.0.0 > root=UUID=15cfac82-1127-421f-9aed-eaf48247ed4e ro quiet noapic > [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0- > xenomai-3.0.0 root=UUID=15cfac82-1127-421f-9aed-eaf48247ed4e ro quiet noapic > [ 0.705071] [Xenomai] scheduling class idle registered. > [ 0.705072] [Xenomai] scheduling class rt registered. > [ 0.705090] [Xenomai] disabling automatic C1E state promotion on Intel > processor > [ 0.705104] [Xenomai] SMI-enabled chipset found, but SMI workaround > disabled > (see xenomai.smi parameter). You might encounter > [ 0.705284] I-pipe: head domain Xenomai registered. > [ 0.717986] [Xenomai] Cobalt v3.0-rc2 (Exact Zero) [DEBUG] > [ 0.897726] usb usb1: Manufacturer: Linux 3.16.0-xenomai-3.0.0 xhci_hcd > [ 0.898617] usb usb2: Manufacturer: Linux 3.16.0-xenomai-3.0.0 xhci_hcd > [ 0.914114] usb usb3: Manufacturer: Linux 3.16.0-xenomai-3.0.0 ehci_hcd > [ 0.930109] usb usb4: Manufacturer: Linux 3.16.0-xenomai-3.0.0 ehci_hcd > *** RTnet for Xenomai v3.0-rc2 *** > > > So, can avoid to pass the noapic parameter to the kernel to boot? Please post the full boot logs, and the kernel configuration. Does the kernel work with exactly the same .config but without Xenomai? Is CONFIG_SMP enabled? Because if CONFIG_SMP is enabled, Xenomai will not work without an APIC. Also, please do not compile RTnet in the kernel, compile it as a module. -- Gilles.