Re: RTAI Installation on CentOS6

Mark Fortescue <[email protected]> Thu, 20 Oct 2016 13:38:18 +0100
Newsgroups gmane.linux.real-time.rtai
Message-ID <[email protected]>
Hi Thomas,

On 20/10/16 13:13, Thomas Hayward wrote:
> Hi Emmanuel,
>
>     I did execute 'make modules_install' first, before 'make install'.
>

I have has problems when doing this in the past with some kernel 
configuration settings.

Try installing the kernel in one go:

   sudo make modules_install install

Regards
	Mark.

>     I repeated the compilation starting with a copy of the installation
> .config, omitting the 'make localmodconfig'.  Now the compilation takes
> longer, and the install still issues the missing module errors, but in
> the end the new kernel boots successfully and the USB keyboard works.
> So, localmodconfig appears to be missing a required USB driver.
>
>     I'm reluctant to use the old RTAI 3.9, so I tried repeating the
> installation on a RedHat 7.2 system with kernel 3.10.32 and
> rtai-5.0-test1.  Even with a full .config (no make localmodconfig), the
> boot hangs.  Are any specific instructions available for how to
> configure this kernel and rtai combination?
>
>     Thank you again for your help.
>
> Cheers,
> Tom Hayward
>
>
> On Thu, Oct 20, 2016 at 4:48 AM, Emmanuel Pacaud
> <[email protected] <mailto:[email protected]>>
> wrote:
>
>     Hi,
>
>     Le mer. 19 oct. 2016 à 19:27, Thomas Hayward <[email protected]
>     <mailto:[email protected]>> a écrit :
>
>             Thank you for the advice.  I downloaded v.2.6.32.20 and
>         applied the corresponding patches from rtai.3.9.2.  I ran 'make
>         localmodconfig' to generate the .config file.  The kernel
>         compiles but 'make install' issues the following errors:
>
>         sbfvib-lp2:thayward [/usr/src/kernels/linux-2.6.32.20-rtai]>
>         sudo make install
>         sh
>         /usr/src/kernels/linux-2.6.32.20-rtai/arch/x86/boot/install.sh
>         2.6.32.20-rtai-x86_64 arch/x86/boot/bzImage \
>                          System.map "/boot"
>         ERROR: modinfo: could not find module mperf
>         ERROR: modinfo: could not find module rtsx_pci_sdmmc
>         ERROR: modinfo: could not find module rtsx_pci_ms
>         ERROR: modinfo: could not find module iwlmvm
>         ERROR: modinfo: could not find module rtsx_pci
>         ERROR: modinfo: could not find module iwlwifi
>         ERROR: modinfo: could not find module snd_hda_codec_hdmi
>         ERROR: modinfo: could not find module lpc_ich
>         ERROR: modinfo: could not find module snd_hda_codec_generic
>         ERROR: modinfo: could not find module xhci_hcd
>         ERROR: modinfo: could not find module i915
>
>
>     Did you execute 'make modules_install' before ?
>
>         After searching for a couple hours, I understand that the
>         missing modules and keyboard problem are related to the kernel
>         installation, and are not rtai-specific.  I compiled a non-rtai
>         version of the kernel that has the same problems.  However, I
>         have not been able to find exactly how to fix the problems.  Is
>         there a specific package I can install in CentOS6 using yum to
>         supply the missing modules?
>
>
>     No. Modules must be compiled with the same configuration as the kernel.
>
>
>     Cheers,
>
>              Emmanuel.
>
>
>
>
> --
> Thomas Hayward
> Gemini South Observatory
> La Serena, Chile
> +56-51-2-205-619
>
>
> _______________________________________________
> Rtai mailing list
> [email protected]
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai