All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai-3 booting problems
Date: Thu, 22 Jan 2015 16:53:44 +0100	[thread overview]
Message-ID: <20150122155344.GA29604@hermes.click-hack.org> (raw)
In-Reply-To: <54C1127A.4020208@siemens.com>

On Thu, Jan 22, 2015 at 04:08:42PM +0100, Jan Kiszka wrote:
> On 2015-01-22 15:42, Lennart Sorensen wrote:
> > On Thu, Jan 22, 2015 at 09:34:11AM +0100, Leopold Palomo-Avellaneda wrote:
> >> El Dijous, 22 de gener de 2015, a les 08:54:29, Gilles Chanteperdrix va 
> >> escriure:
> >>> 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. 
> >>
> >> Attached.
> >>
> >>
> >>> Does the
> >>> kernel work with exactly the same .config but without Xenomai? 
> >>
> >> I don't know. It's a similar kernel configuration than debian ships with 
> >> jessie.
> >>
> >>> Is
> >>> CONFIG_SMP enabled? Because if CONFIG_SMP is enabled, Xenomai will
> >>> not work without an APIC.
> >>
> >> Yes, CONFIG_SMP=y and CONFIG_X86_IO_APIC=y
> > 
> > But your kernel commandline included 'quiet noapic' in the above, which
> > would turn of apic use even if the config could use it.
> 
> To make it clearer: NEVER use noapic on a modern x86 system. It neither
> makes sense anymore nor will it work on many of them. It just routes the
> system into rarely tested paths, both in the kernel and possibly also
> the hardware and firmware.

It is worse than that, Xenomai without APIC does not work on SMP
systems. The only case where it could run would be if the system has
enough HPET timers, but I have never run Xenomai on a system where
this is true, except qemu-kvm where you can have as many hpet timers
as you want.

-- 
					    Gilles.


  reply	other threads:[~2015-01-22 15:53 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22  7:47 [Xenomai] Xenomai-3 booting problems Leopold Palomo-Avellaneda
2015-01-22  7:54 ` Gilles Chanteperdrix
2015-01-22  8:34   ` Leopold Palomo-Avellaneda
2015-01-22  8:57     ` Gilles Chanteperdrix
2015-01-22  9:52       ` Leopold Palomo-Avellaneda
2015-01-22  9:56         ` Gilles Chanteperdrix
2015-01-22 10:17           ` Leopold Palomo-Avellaneda
2015-01-22 10:24             ` Gilles Chanteperdrix
2015-01-22 10:40               ` Leopold Palomo-Avellaneda
2015-01-22 10:48                 ` Gilles Chanteperdrix
2015-01-22 11:17                   ` [Xenomai] Xenomai-3 creating debian packages (was: Re: Xenomai-3 booting problems) Leopold Palomo-Avellaneda
2015-01-22 11:31                     ` Gilles Chanteperdrix
2015-01-22 11:39                       ` Leopold Palomo-Avellaneda
2015-01-22 11:40                         ` Gilles Chanteperdrix
2015-01-22 11:59                           ` Leopold Palomo-Avellaneda
2015-01-22 12:51                             ` [Xenomai] Xenomai-3 creating debian packages Jan Kiszka
2015-01-22 13:44                               ` Gilles Chanteperdrix
2015-01-22 13:50                                 ` Jan Kiszka
2015-01-22 13:58                                   ` Gilles Chanteperdrix
2015-01-22 14:22                                     ` Jan Kiszka
2015-01-22 14:26                                       ` Gilles Chanteperdrix
2015-01-22 14:13                                   ` Gilles Chanteperdrix
2015-01-22 13:53                               ` Leopold Palomo-Avellaneda
2015-01-22 13:57                                 ` Jan Kiszka
2015-01-22 14:49                               ` Lennart Sorensen
2015-01-22 14:56                                 ` Gilles Chanteperdrix
2015-01-22 15:02                                   ` Jan Kiszka
2015-01-22 15:06                                     ` Gilles Chanteperdrix
2015-01-22 15:10                                       ` Jan Kiszka
2015-01-22 17:21                                   ` Lennart Sorensen
2015-01-22 19:16                                     ` Gilles Chanteperdrix
2015-01-22 19:27                                       ` Lennart Sorensen
2015-01-22 19:33                                         ` Gilles Chanteperdrix
2015-01-22 20:15                                           ` Lennart Sorensen
2015-01-22 11:39                       ` [Xenomai] Xenomai-3 creating debian packages (was: Re: Xenomai-3 booting problems) Gilles Chanteperdrix
2015-01-22 11:43                       ` [Xenomai] Xenomai-3 creating debian packages Jan Kiszka
2015-01-22 14:42     ` [Xenomai] Xenomai-3 booting problems Lennart Sorensen
2015-01-22 15:08       ` Jan Kiszka
2015-01-22 15:53         ` Gilles Chanteperdrix [this message]
2015-01-22  8:03 ` Jan Kiszka
2015-01-22  8:36   ` Leopold Palomo-Avellaneda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150122155344.GA29604@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jan.kiszka@siemens.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.