Re: RTAI Installation on CentOS6

Thomas Hayward <[email protected]> Tue, 25 Oct 2016 10:43:56 -0300
Newsgroups gmane.linux.real-time.rtai
Message-ID <CA+n8tPFLYQU6odX9B-H=4-60gyYj7XDPkJWcukpTweHp1bXibQ@mail.gmail.com>
Hello,

   I am still attempting to install RTAI.  I am now patching a linux kernel
3.18.22 with rtai-5.0-test1.  All the patches are applied and the kernel
builds with no errors, but during the boot there is a long series of USB
connects and disconnects and the boot never completes.

[50948.641081] usb 1-8: new low-speed USB device number 92 using xhci_hcd

[50948.808530] usb 1-8: New USB device found, idVendor=04ca, idProduct=0061

[50948.808536] usb 1-8: New USB device strings: Mfr=1, Product=2,
SerialNumber=0

[50948.808539] usb 1-8: Product: USB Optical Mouse

[50948.808542] usb 1-8: Manufacturer: PixArt

[50948.810191] usb 1-8: ep 0x81 - rounding interval to 64 microframes, ep
desc says 80 microframes

[50948.812050] input: PixArt USB Optical Mouse as
/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input841

[50948.812331] hid-generic 0003:04CA:0061.033C: input,hidraw2: USB HID
v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:14.0-8/input0

[50980.127185] SELinux: initialized (dev tmpfs, type tmpfs), uses
transition SIDs

[51008.870583] usb 1-8: USB disconnect, device number 92

[51010.393090] usb 1-8: new low-speed USB device number 93 using xhci_hcd

[51010.560588] usb 1-8: New USB device found, idVendor=04ca, idProduct=0061

[51010.560594] usb 1-8: New USB device strings: Mfr=1, Product=2,
SerialNumber=0

[51010.560598] usb 1-8: Product: USB Optical Mouse

[51010.560600] usb 1-8: Manufacturer: PixArt

[51010.561680] usb 1-8: ep 0x81 - rounding interval to 64 microframes, ep
desc says 80 microframes

[51010.563509] input: PixArt USB Optical Mouse as
/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input842

[51010.563967] hid-generic 0003:04CA:0061.033D: input,hidraw2: USB HID
v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:14.0-8/input0


I compiled a plain version of kernel 3.18.22 without RTAI which boots
successfully, so the problem is not something like a bad mouse or cable.

I also applied the patch described in
http://marc.info/?l=linux-usb&m=137714769606183&w=2, which appears to
describe the USB connect/disconnects I'm seeing, but the same errors appear
while booting.

I would appreciate any advice on how to diagnose and resolve this problem.
Thank you.

Best regards,
Thomas Hayward


On Tue, Oct 18, 2016 at 3:06 PM, Thomas Hayward <[email protected]> wrote:

> Hello,
>
>
>   I am a new subscriber to your mailing list.  I'm trying to build rtai on
> a CentOS6 system and am
>
> encountering a number of problems.
>
>
>   The CentOS6 distribution kernel is v. 2.6.32.  The rtai directions say
> to download a fresh kernel
>
> to recompile, but 2.6.32 appears to be no longer supported and not readily
> available
>
> from a source like www.kernel.org.  Furthermore, the recent rtai versions
> only include
>
> patches for 3.x.
>
>
>    Therefore, I downloaded linux-3.10.32, and rtai-5.0-test1.  Following
> the directions, I
>
> can apply the rtai patches, but when I run "make localmodconfig", "make",
> and "make install"
>
> I get a variety of errors related to configure options and missing modules.
>
>
>    Instead of describing the individual errors, I would first like to ask
> if I am on the right track
>
> compiling a 3.10.32 kernel + rtai-5.0-test1 in a CentOS6 system?  Should I
> find a linux-2.6.32
>
> kernel and use an older rtai with the corresponding patch?  Or, should I
> use an even more recent
>
> kernel such as 3.18?
>
>
>    Thank you for your assistance.
>
>
> Best regards,
>
> Tom Hayward
>
>
>
> --
> Thomas Hayward
> Gemini South Observatory
> La Serena, Chile
> +56-51-2-205-619
>



-- 
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