All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90
@ 2018-10-10 21:56 Wojciech Domski
  2018-10-11 11:48 ` Wojciech Domski
  0 siblings, 1 reply; 8+ messages in thread
From: Wojciech Domski @ 2018-10-10 21:56 UTC (permalink / raw)
  To: xenomai

Hi!

I am trying to set up Xenomai v.3.0.7 on Ubuntu 18.04 with kernel 4.9.90.

I have downloaded Xenomai from git and checked out the v.3.0.7 tag for
stable version of Xenomai.

To set up the new kernel I have copied the configuration from currently
running version (4.15.0-36-generic). Also I am preparing the kernel with
following

sudo xenomai/scripts/prepare-kernel.sh --linux=/usr/src/linux
--arch=x86_64 --ipipe=/usr/src/ipipe-core-4.9.90-x86-6.patch

In kernel configuration I have turned off the following:

Power management and ACPI options -> ACPI (Advanced Configuration and
Power Interface) Support -> Processor
Power management and ACPI options -> CPU Frequency scaling -> CPU
Frequency scaling
Power management and ACPI options -> CPU Idle -> CPU idle PM support

Unfortunately, I could not turn off page migration since it is build in
the kernel and "hard fixing" it in the kernel configuration file did not
seemed to the best idea.

After that I have build the kernel with following:

sudo make-kpkg --initrd --append-to-version=-xenomai-3.0.7 -j8
kernel-image kernel-headers modules

and that

sudo dpkg -i linux-image-*.deb
sudo dpkg -i linux-headers-*.deb
sudo update-initramfs -c -k "4.9.90-xenomai-3.0.7"

What I am facing right now is the following problem. When I boot up the
PC freezes on "Loading initial ramdisk ...". Did I missed something? It
does not seem like it is Xenomai related problem since there is an issue
during mounting the temporary file system.

Best regards,

-- 
Wojciech Domski

domski.pl | blog.domski.pl



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90
  2018-10-10 21:56 [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90 Wojciech Domski
@ 2018-10-11 11:48 ` Wojciech Domski
  2018-10-11 14:34   ` Greg Gallagher
  0 siblings, 1 reply; 8+ messages in thread
From: Wojciech Domski @ 2018-10-11 11:48 UTC (permalink / raw)
  To: xenomai

Hi!

I did additional test to rule out that Xenomai is the issue.

I have compiled kernel 4.9.90 without Xenomai and it turns out that it
works. Having this in mind what could cause problem on Xenomai side?

If needed I will add additional information to trace the problem.

Best regards,

Wojciech Domski

domski.pl | blog.domski.pl

W dniu 10.10.2018 o 23:56, Wojciech Domski pisze:
> Hi!
>
> I am trying to set up Xenomai v.3.0.7 on Ubuntu 18.04 with kernel 4.9.90.
>
> I have downloaded Xenomai from git and checked out the v.3.0.7 tag for
> stable version of Xenomai.
>
> To set up the new kernel I have copied the configuration from currently
> running version (4.15.0-36-generic). Also I am preparing the kernel with
> following
>
> sudo xenomai/scripts/prepare-kernel.sh --linux=/usr/src/linux
> --arch=x86_64 --ipipe=/usr/src/ipipe-core-4.9.90-x86-6.patch
>
> In kernel configuration I have turned off the following:
>
> Power management and ACPI options -> ACPI (Advanced Configuration and
> Power Interface) Support -> Processor
> Power management and ACPI options -> CPU Frequency scaling -> CPU
> Frequency scaling
> Power management and ACPI options -> CPU Idle -> CPU idle PM support
>
> Unfortunately, I could not turn off page migration since it is build in
> the kernel and "hard fixing" it in the kernel configuration file did not
> seemed to the best idea.
>
> After that I have build the kernel with following:
>
> sudo make-kpkg --initrd --append-to-version=-xenomai-3.0.7 -j8
> kernel-image kernel-headers modules
>
> and that
>
> sudo dpkg -i linux-image-*.deb
> sudo dpkg -i linux-headers-*.deb
> sudo update-initramfs -c -k "4.9.90-xenomai-3.0.7"
>
> What I am facing right now is the following problem. When I boot up the
> PC freezes on "Loading initial ramdisk ...". Did I missed something? It
> does not seem like it is Xenomai related problem since there is an issue
> during mounting the temporary file system.
>
> Best regards,
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90
  2018-10-11 11:48 ` Wojciech Domski
@ 2018-10-11 14:34   ` Greg Gallagher
  2018-10-11 15:00     ` Wojciech Domski
  0 siblings, 1 reply; 8+ messages in thread
From: Greg Gallagher @ 2018-10-11 14:34 UTC (permalink / raw)
  To: wojciech.domski; +Cc: Xenomai@xenomai.org

Posting the config may help.  Can you get any early printks?

-Greg

On Thu, Oct 11, 2018 at 7:48 AM Wojciech Domski <wojciech.domski@gmail.com>
wrote:

> Hi!
>
> I did additional test to rule out that Xenomai is the issue.
>
> I have compiled kernel 4.9.90 without Xenomai and it turns out that it
> works. Having this in mind what could cause problem on Xenomai side?
>
> If needed I will add additional information to trace the problem.
>
> Best regards,
>
> Wojciech Domski
>
> domski.pl | blog.domski.pl
>
> W dniu 10.10.2018 o 23:56, Wojciech Domski pisze:
> > Hi!
> >
> > I am trying to set up Xenomai v.3.0.7 on Ubuntu 18.04 with kernel 4.9.90.
> >
> > I have downloaded Xenomai from git and checked out the v.3.0.7 tag for
> > stable version of Xenomai.
> >
> > To set up the new kernel I have copied the configuration from currently
> > running version (4.15.0-36-generic). Also I am preparing the kernel with
> > following
> >
> > sudo xenomai/scripts/prepare-kernel.sh --linux=/usr/src/linux
> > --arch=x86_64 --ipipe=/usr/src/ipipe-core-4.9.90-x86-6.patch
> >
> > In kernel configuration I have turned off the following:
> >
> > Power management and ACPI options -> ACPI (Advanced Configuration and
> > Power Interface) Support -> Processor
> > Power management and ACPI options -> CPU Frequency scaling -> CPU
> > Frequency scaling
> > Power management and ACPI options -> CPU Idle -> CPU idle PM support
> >
> > Unfortunately, I could not turn off page migration since it is build in
> > the kernel and "hard fixing" it in the kernel configuration file did not
> > seemed to the best idea.
> >
> > After that I have build the kernel with following:
> >
> > sudo make-kpkg --initrd --append-to-version=-xenomai-3.0.7 -j8
> > kernel-image kernel-headers modules
> >
> > and that
> >
> > sudo dpkg -i linux-image-*.deb
> > sudo dpkg -i linux-headers-*.deb
> > sudo update-initramfs -c -k "4.9.90-xenomai-3.0.7"
> >
> > What I am facing right now is the following problem. When I boot up the
> > PC freezes on "Loading initial ramdisk ...". Did I missed something? It
> > does not seem like it is Xenomai related problem since there is an issue
> > during mounting the temporary file system.
> >
> > Best regards,
> >
>
>
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90
  2018-10-11 14:34   ` Greg Gallagher
@ 2018-10-11 15:00     ` Wojciech Domski
  2018-10-11 17:23       ` Wojciech Domski
  0 siblings, 1 reply; 8+ messages in thread
From: Wojciech Domski @ 2018-10-11 15:00 UTC (permalink / raw)
  To: Greg Gallagher; +Cc: Xenomai@xenomai.org

I will post the kernel config file shortly and get back to you.

As for the prints, no, there is nothing only those two lines:

Loading Linux 4.9.90-xenomai-3.0.7 ...
Loading initial ramdisk ...
_ (here is the cursor)

Best regards,

Wojciech Domski

domski.pl | blog.domski.pl

W dniu 11.10.2018 o 16:34, Greg Gallagher pisze:
> Posting the config may help.  Can you get any early printks?
>
> -Greg
>
> On Thu, Oct 11, 2018 at 7:48 AM Wojciech Domski
> <wojciech.domski@gmail.com <mailto:wojciech.domski@gmail.com>> wrote:
>
>     Hi!
>
>     I did additional test to rule out that Xenomai is the issue.
>
>     I have compiled kernel 4.9.90 without Xenomai and it turns out that it
>     works. Having this in mind what could cause problem on Xenomai side?
>
>     If needed I will add additional information to trace the problem.
>
>     Best regards,
>
>     Wojciech Domski
>
>     domski.pl <http://domski.pl> | blog.domski.pl <http://blog.domski.pl>
>
>     W dniu 10.10.2018 o 23:56, Wojciech Domski pisze:
>     > Hi!
>     >
>     > I am trying to set up Xenomai v.3.0.7 on Ubuntu 18.04 with
>     kernel 4.9.90.
>     >
>     > I have downloaded Xenomai from git and checked out the v.3.0.7
>     tag for
>     > stable version of Xenomai.
>     >
>     > To set up the new kernel I have copied the configuration from
>     currently
>     > running version (4.15.0-36-generic). Also I am preparing the
>     kernel with
>     > following
>     >
>     > sudo xenomai/scripts/prepare-kernel.sh --linux=/usr/src/linux
>     > --arch=x86_64 --ipipe=/usr/src/ipipe-core-4.9.90-x86-6.patch
>     >
>     > In kernel configuration I have turned off the following:
>     >
>     > Power management and ACPI options -> ACPI (Advanced
>     Configuration and
>     > Power Interface) Support -> Processor
>     > Power management and ACPI options -> CPU Frequency scaling -> CPU
>     > Frequency scaling
>     > Power management and ACPI options -> CPU Idle -> CPU idle PM support
>     >
>     > Unfortunately, I could not turn off page migration since it is
>     build in
>     > the kernel and "hard fixing" it in the kernel configuration file
>     did not
>     > seemed to the best idea.
>     >
>     > After that I have build the kernel with following:
>     >
>     > sudo make-kpkg --initrd --append-to-version=-xenomai-3.0.7 -j8
>     > kernel-image kernel-headers modules
>     >
>     > and that
>     >
>     > sudo dpkg -i linux-image-*.deb
>     > sudo dpkg -i linux-headers-*.deb
>     > sudo update-initramfs -c -k "4.9.90-xenomai-3.0.7"
>     >
>     > What I am facing right now is the following problem. When I boot
>     up the
>     > PC freezes on "Loading initial ramdisk ...". Did I missed
>     something? It
>     > does not seem like it is Xenomai related problem since there is
>     an issue
>     > during mounting the temporary file system.
>     >
>     > Best regards,
>     >
>
>
>     _______________________________________________
>     Xenomai mailing list
>     Xenomai@xenomai.org <mailto:Xenomai@xenomai.org>
>     https://xenomai.org/mailman/listinfo/xenomai
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90
  2018-10-11 15:00     ` Wojciech Domski
@ 2018-10-11 17:23       ` Wojciech Domski
  2018-10-12  7:57         ` Florian Richer
  2018-10-18 18:10         ` Wojciech Domski
  0 siblings, 2 replies; 8+ messages in thread
From: Wojciech Domski @ 2018-10-11 17:23 UTC (permalink / raw)
  To: Greg Gallagher; +Cc: Xenomai@xenomai.org

Here are kernel configurations files:

https://pastebin.com/zuucW3WW (for clean 4.9.90)

https://pastebin.com/AvD9T9Lx (for 4.9.90 with xenomai 3.0.7)

I have also checked if there is anything in /var/log/kern.log. Beside
normal kernel's logs there is nothing for the Xenomai flavoured version.
It seems about right because it is stuck at "Loading initial ramdisk".


Wojciech Domski

domski.pl | blog.domski.pl

W dniu 11.10.2018 o 17:00, Wojciech Domski pisze:
>
> I will post the kernel config file shortly and get back to you.
>
> As for the prints, no, there is nothing only those two lines:
>
> Loading Linux 4.9.90-xenomai-3.0.7 ...
> Loading initial ramdisk ...
> _ (here is the cursor)
>
> Best regards,
>
> Wojciech Domski
>
> domski.pl | blog.domski.pl
> W dniu 11.10.2018 o 16:34, Greg Gallagher pisze:
>> Posting the config may help.  Can you get any early printks?
>>
>> -Greg
>>
>> On Thu, Oct 11, 2018 at 7:48 AM Wojciech Domski
>> <wojciech.domski@gmail.com <mailto:wojciech.domski@gmail.com>> wrote:
>>
>>     Hi!
>>
>>     I did additional test to rule out that Xenomai is the issue.
>>
>>     I have compiled kernel 4.9.90 without Xenomai and it turns out
>>     that it
>>     works. Having this in mind what could cause problem on Xenomai side?
>>
>>     If needed I will add additional information to trace the problem.
>>
>>     Best regards,
>>
>>     Wojciech Domski
>>
>>     domski.pl <http://domski.pl> | blog.domski.pl <http://blog.domski.pl>
>>
>>     W dniu 10.10.2018 o 23:56, Wojciech Domski pisze:
>>     > Hi!
>>     >
>>     > I am trying to set up Xenomai v.3.0.7 on Ubuntu 18.04 with
>>     kernel 4.9.90.
>>     >
>>     > I have downloaded Xenomai from git and checked out the v.3.0.7
>>     tag for
>>     > stable version of Xenomai.
>>     >
>>     > To set up the new kernel I have copied the configuration from
>>     currently
>>     > running version (4.15.0-36-generic). Also I am preparing the
>>     kernel with
>>     > following
>>     >
>>     > sudo xenomai/scripts/prepare-kernel.sh --linux=/usr/src/linux
>>     > --arch=x86_64 --ipipe=/usr/src/ipipe-core-4.9.90-x86-6.patch
>>     >
>>     > In kernel configuration I have turned off the following:
>>     >
>>     > Power management and ACPI options -> ACPI (Advanced
>>     Configuration and
>>     > Power Interface) Support -> Processor
>>     > Power management and ACPI options -> CPU Frequency scaling -> CPU
>>     > Frequency scaling
>>     > Power management and ACPI options -> CPU Idle -> CPU idle PM
>>     support
>>     >
>>     > Unfortunately, I could not turn off page migration since it is
>>     build in
>>     > the kernel and "hard fixing" it in the kernel configuration
>>     file did not
>>     > seemed to the best idea.
>>     >
>>     > After that I have build the kernel with following:
>>     >
>>     > sudo make-kpkg --initrd --append-to-version=-xenomai-3.0.7 -j8
>>     > kernel-image kernel-headers modules
>>     >
>>     > and that
>>     >
>>     > sudo dpkg -i linux-image-*.deb
>>     > sudo dpkg -i linux-headers-*.deb
>>     > sudo update-initramfs -c -k "4.9.90-xenomai-3.0.7"
>>     >
>>     > What I am facing right now is the following problem. When I
>>     boot up the
>>     > PC freezes on "Loading initial ramdisk ...". Did I missed
>>     something? It
>>     > does not seem like it is Xenomai related problem since there is
>>     an issue
>>     > during mounting the temporary file system.
>>     >
>>     > Best regards,
>>     >
>>
>>
>>     _______________________________________________
>>     Xenomai mailing list
>>     Xenomai@xenomai.org <mailto:Xenomai@xenomai.org>
>>     https://xenomai.org/mailman/listinfo/xenomai
>>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90
  2018-10-11 17:23       ` Wojciech Domski
@ 2018-10-12  7:57         ` Florian Richer
  2018-10-18 18:10         ` Wojciech Domski
  1 sibling, 0 replies; 8+ messages in thread
From: Florian Richer @ 2018-10-12  7:57 UTC (permalink / raw)
  To: xenomai

Hi,

You may want to disable CONFIG_MAXSMP, some people reported similar 
issues with this option enabled.

Florian

On 10/11/18 7:23 PM, Wojciech Domski wrote:
> Here are kernel configurations files:
>
> https://pastebin.com/zuucW3WW (for clean 4.9.90)
>
> https://pastebin.com/AvD9T9Lx (for 4.9.90 with xenomai 3.0.7)
>
> I have also checked if there is anything in /var/log/kern.log. Beside
> normal kernel's logs there is nothing for the Xenomai flavoured version.
> It seems about right because it is stuck at "Loading initial ramdisk".
>
>
> Wojciech Domski
>
> domski.pl | blog.domski.pl
>
> W dniu 11.10.2018 o 17:00, Wojciech Domski pisze:
>> I will post the kernel config file shortly and get back to you.
>>
>> As for the prints, no, there is nothing only those two lines:
>>
>> Loading Linux 4.9.90-xenomai-3.0.7 ...
>> Loading initial ramdisk ...
>> _ (here is the cursor)
>>
>> Best regards,
>>
>> Wojciech Domski
>>
>> domski.pl | blog.domski.pl
>> W dniu 11.10.2018 o 16:34, Greg Gallagher pisze:
>>> Posting the config may help.  Can you get any early printks?
>>>
>>> -Greg
>>>
>>> On Thu, Oct 11, 2018 at 7:48 AM Wojciech Domski
>>> <wojciech.domski@gmail.com <mailto:wojciech.domski@gmail.com>> wrote:
>>>
>>>      Hi!
>>>
>>>      I did additional test to rule out that Xenomai is the issue.
>>>
>>>      I have compiled kernel 4.9.90 without Xenomai and it turns out
>>>      that it
>>>      works. Having this in mind what could cause problem on Xenomai side?
>>>
>>>      If needed I will add additional information to trace the problem.
>>>
>>>      Best regards,
>>>
>>>      Wojciech Domski
>>>
>>>      domski.pl <http://domski.pl> | blog.domski.pl <http://blog.domski.pl>
>>>
>>>      W dniu 10.10.2018 o 23:56, Wojciech Domski pisze:
>>>      > Hi!
>>>      >
>>>      > I am trying to set up Xenomai v.3.0.7 on Ubuntu 18.04 with
>>>      kernel 4.9.90.
>>>      >
>>>      > I have downloaded Xenomai from git and checked out the v.3.0.7
>>>      tag for
>>>      > stable version of Xenomai.
>>>      >
>>>      > To set up the new kernel I have copied the configuration from
>>>      currently
>>>      > running version (4.15.0-36-generic). Also I am preparing the
>>>      kernel with
>>>      > following
>>>      >
>>>      > sudo xenomai/scripts/prepare-kernel.sh --linux=/usr/src/linux
>>>      > --arch=x86_64 --ipipe=/usr/src/ipipe-core-4.9.90-x86-6.patch
>>>      >
>>>      > In kernel configuration I have turned off the following:
>>>      >
>>>      > Power management and ACPI options -> ACPI (Advanced
>>>      Configuration and
>>>      > Power Interface) Support -> Processor
>>>      > Power management and ACPI options -> CPU Frequency scaling -> CPU
>>>      > Frequency scaling
>>>      > Power management and ACPI options -> CPU Idle -> CPU idle PM
>>>      support
>>>      >
>>>      > Unfortunately, I could not turn off page migration since it is
>>>      build in
>>>      > the kernel and "hard fixing" it in the kernel configuration
>>>      file did not
>>>      > seemed to the best idea.
>>>      >
>>>      > After that I have build the kernel with following:
>>>      >
>>>      > sudo make-kpkg --initrd --append-to-version=-xenomai-3.0.7 -j8
>>>      > kernel-image kernel-headers modules
>>>      >
>>>      > and that
>>>      >
>>>      > sudo dpkg -i linux-image-*.deb
>>>      > sudo dpkg -i linux-headers-*.deb
>>>      > sudo update-initramfs -c -k "4.9.90-xenomai-3.0.7"
>>>      >
>>>      > What I am facing right now is the following problem. When I
>>>      boot up the
>>>      > PC freezes on "Loading initial ramdisk ...". Did I missed
>>>      something? It
>>>      > does not seem like it is Xenomai related problem since there is
>>>      an issue
>>>      > during mounting the temporary file system.
>>>      >
>>>      > Best regards,
>>>      >
>>>
>>>
>>>      _______________________________________________
>>>      Xenomai mailing list
>>>      Xenomai@xenomai.org <mailto:Xenomai@xenomai.org>
>>>      https://xenomai.org/mailman/listinfo/xenomai
>>>
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90
  2018-10-11 17:23       ` Wojciech Domski
  2018-10-12  7:57         ` Florian Richer
@ 2018-10-18 18:10         ` Wojciech Domski
  2018-10-18 20:15           ` Alec Ari
  1 sibling, 1 reply; 8+ messages in thread
From: Wojciech Domski @ 2018-10-18 18:10 UTC (permalink / raw)
  To: Greg Gallagher; +Cc: Xenomai@xenomai.org

I have conducted some additional tests and it seems that the patch is
the problem itself.

To confirm that the kernel is working properly I have compiled it as it
is using configuration from Ubuntu stock kernel. However, that doesn't
really say that everything is ok. After that I have configured the
kernel as I did for Xenomai but without patching it in the first place.
The configuration included disabling frequency scaling and etc. (based
on the tips in
https://gitlab.denx.de/Xenomai/xenomai/wikis/Configuring_For_X86_Based_Dual_Kernels).
After compilation of the kernel I can confirm that it works. I can boot
into the system.

I'm assuming that patching is causing booting issues. That said, do you
have any advice how to proceed further?

Wojciech Domski

domski.pl | blog.domski.pl

W dniu 11.10.2018 o 19:23, Wojciech Domski pisze:
>
> Here are kernel configurations files:
>
> https://pastebin.com/zuucW3WW (for clean 4.9.90)
>
> https://pastebin.com/AvD9T9Lx (for 4.9.90 with xenomai 3.0.7)
>
> I have also checked if there is anything in /var/log/kern.log. Beside
> normal kernel's logs there is nothing for the Xenomai flavoured
> version. It seems about right because it is stuck at "Loading initial
> ramdisk".
>
>
> Wojciech Domski
>
> domski.pl | blog.domski.pl
> W dniu 11.10.2018 o 17:00, Wojciech Domski pisze:
>>
>> I will post the kernel config file shortly and get back to you.
>>
>> As for the prints, no, there is nothing only those two lines:
>>
>> Loading Linux 4.9.90-xenomai-3.0.7 ...
>> Loading initial ramdisk ...
>> _ (here is the cursor)
>>
>> Best regards,
>>
>> Wojciech Domski
>>
>> domski.pl | blog.domski.pl
>> W dniu 11.10.2018 o 16:34, Greg Gallagher pisze:
>>> Posting the config may help.  Can you get any early printks?
>>>
>>> -Greg
>>>
>>> On Thu, Oct 11, 2018 at 7:48 AM Wojciech Domski
>>> <wojciech.domski@gmail.com <mailto:wojciech.domski@gmail.com>> wrote:
>>>
>>>     Hi!
>>>
>>>     I did additional test to rule out that Xenomai is the issue.
>>>
>>>     I have compiled kernel 4.9.90 without Xenomai and it turns out
>>>     that it
>>>     works. Having this in mind what could cause problem on Xenomai side?
>>>
>>>     If needed I will add additional information to trace the problem.
>>>
>>>     Best regards,
>>>
>>>     Wojciech Domski
>>>
>>>     domski.pl <http://domski.pl> | blog.domski.pl
>>>     <http://blog.domski.pl>
>>>
>>>     W dniu 10.10.2018 o 23:56, Wojciech Domski pisze:
>>>     > Hi!
>>>     >
>>>     > I am trying to set up Xenomai v.3.0.7 on Ubuntu 18.04 with
>>>     kernel 4.9.90.
>>>     >
>>>     > I have downloaded Xenomai from git and checked out the v.3.0.7
>>>     tag for
>>>     > stable version of Xenomai.
>>>     >
>>>     > To set up the new kernel I have copied the configuration from
>>>     currently
>>>     > running version (4.15.0-36-generic). Also I am preparing the
>>>     kernel with
>>>     > following
>>>     >
>>>     > sudo xenomai/scripts/prepare-kernel.sh --linux=/usr/src/linux
>>>     > --arch=x86_64 --ipipe=/usr/src/ipipe-core-4.9.90-x86-6.patch
>>>     >
>>>     > In kernel configuration I have turned off the following:
>>>     >
>>>     > Power management and ACPI options -> ACPI (Advanced
>>>     Configuration and
>>>     > Power Interface) Support -> Processor
>>>     > Power management and ACPI options -> CPU Frequency scaling -> CPU
>>>     > Frequency scaling
>>>     > Power management and ACPI options -> CPU Idle -> CPU idle PM
>>>     support
>>>     >
>>>     > Unfortunately, I could not turn off page migration since it is
>>>     build in
>>>     > the kernel and "hard fixing" it in the kernel configuration
>>>     file did not
>>>     > seemed to the best idea.
>>>     >
>>>     > After that I have build the kernel with following:
>>>     >
>>>     > sudo make-kpkg --initrd --append-to-version=-xenomai-3.0.7 -j8
>>>     > kernel-image kernel-headers modules
>>>     >
>>>     > and that
>>>     >
>>>     > sudo dpkg -i linux-image-*.deb
>>>     > sudo dpkg -i linux-headers-*.deb
>>>     > sudo update-initramfs -c -k "4.9.90-xenomai-3.0.7"
>>>     >
>>>     > What I am facing right now is the following problem. When I
>>>     boot up the
>>>     > PC freezes on "Loading initial ramdisk ...". Did I missed
>>>     something? It
>>>     > does not seem like it is Xenomai related problem since there
>>>     is an issue
>>>     > during mounting the temporary file system.
>>>     >
>>>     > Best regards,
>>>     >
>>>
>>>
>>>     _______________________________________________
>>>     Xenomai mailing list
>>>     Xenomai@xenomai.org <mailto:Xenomai@xenomai.org>
>>>     https://xenomai.org/mailman/listinfo/xenomai
>>>
>>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90
  2018-10-18 18:10         ` Wojciech Domski
@ 2018-10-18 20:15           ` Alec Ari
  0 siblings, 0 replies; 8+ messages in thread
From: Alec Ari @ 2018-10-18 20:15 UTC (permalink / raw)
  To: Wojciech Domski; +Cc: Xenomai@xenomai.org

I would suggest building the kernel without an initial ramdisk, and using only the vmlinuz image itself. Adding earlyprintk=vga to the kernel params may help as well to get some valuable input.

Disable initramfs support in your kernel config, don't use dracut or anything, then try again.

Alec


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-10-18 20:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-10 21:56 [Xenomai] Xenomai v.3.0.7 on Ubuntu 18.04 and kernel 4.9.90 Wojciech Domski
2018-10-11 11:48 ` Wojciech Domski
2018-10-11 14:34   ` Greg Gallagher
2018-10-11 15:00     ` Wojciech Domski
2018-10-11 17:23       ` Wojciech Domski
2018-10-12  7:57         ` Florian Richer
2018-10-18 18:10         ` Wojciech Domski
2018-10-18 20:15           ` Alec Ari

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.