All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai-help] Xenomai on i7-870
@ 2011-06-16  9:19 Jakub Nowacki
  0 siblings, 0 replies; 27+ messages in thread
From: Jakub Nowacki @ 2011-06-16  9:19 UTC (permalink / raw)
  To: Xenomai help

On 16 June 2011 09:52, Pavel Machek <pma@domain.hid> wrote:
>
>> that. I have SMI workaround switched on. On the other hand I have
>> MSI enabled (because I cannot disable them in *config) and Legacy
>> USB in BIOS, because, for some reason, my USB keyboard doesn't work
>> in grub without it (I cannot select anything in grub but it works
>> later in the system correctly).
>
> This may be well it.
>
> GRUB tries to access keyboard controller (it does not have a USB
> support), thus you need "Legacy USB" in BIOS. Linux can handle USB and
> does not need it.
>
> Get PS/2 keyboard for an experiment...

Thanks for clarifying that. The problem with Intel's Q57 and other new
motherboards I've seen recently is that they do not have PS/2 (I've
got even the adaptor with the keyboard but there is just no place to
plug it in).


^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: [Xenomai-help] Xenomai on i7-870
@ 2011-06-16  9:18 Jakub Nowacki
  2011-06-16 10:37 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 27+ messages in thread
From: Jakub Nowacki @ 2011-06-16  9:18 UTC (permalink / raw)
  To: Xenomai help

On 16 June 2011 08:01, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
> On 06/15/2011 10:43 PM, Jakub Nowacki wrote:
>> On 15/06/2011 17:51, Gilles Chanteperdrix wrote:
>>> On 06/15/2011 06:21 PM, Jakub Nowacki wrote:
>>>> I have SMI workaround switched on.
>>>
>>> Have you verified that the your chipset is supported by SMI workaround?
>>> http://www.xenomai.org/index.php/Configuring_x86_kernels#In_case_of_high_latencies
>>>
>> Indeed, it's not on, nothing SMI-related shown in Krenel's log. I've
>> found that my LPC is 'Intel Corporation 5 Series Chipset LPC Interface
>> Controller (rev 06)' (full lspci log is enclosed for a reference).
>
> You should use lspci -n in order to get the numerical ids.

Yes, I noticed that after I went home and looked into the log. 'lspci
-nn' gives:

00:1f.0 ISA bridge [0601]: Intel Corporation 5 Series Chipset LPC
Interface Controller [8086:3b0a] (rev 06)

BTW the above wiki entry is slightly misleading because it suggest
'lspci -vv', whereas, if you want the actual numerical IDs you need
the -n or -nn option.

Cheers,

Jakub


^ permalink raw reply	[flat|nested] 27+ messages in thread
* [Xenomai-help] Xenomai on i7-870
@ 2011-06-13 10:44 Jakub Nowacki
  2011-06-13 17:43 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 27+ messages in thread
From: Jakub Nowacki @ 2011-06-13 10:44 UTC (permalink / raw)
  To: Xenomai help

Dear All,

I've recently installed Xenomai for our RT lab machine that uses RTXI 
(http://www.rtxi.org/). I followed the installation instruction on the 
web page but I got a number of issues in the process. Just to set some 
common ground: the machine is mentioned i7-870 on Intel's Q57 board; the 
setup is done for kernel 2.6.37.6 on Xubuntu 11.04 with the latest 
stable Xenomai (2.5.6) and Adeos patch. As for myself, I have some 
experience with Linux kernel setup but I'm not an expert.

Before I found that the Intel's white paper describing Xenomai 
installation [Ugal 2009] shouldn't be used, I followed some suggestions 
there and disabled power management (PM) completely. The kernel compiles 
without any problems and works fine, but I the system sees only 4 out of 
8 cores (just a reminder that i7-870 has 4 cores but 8 threads that are 
normally visible as CPUs). It is not end of the world for me at this 
point and the system seems to work fine (I have low latencies etc.) but 
I wanted to fix that.

I've started to read into the installation and other resources, and 
disabled only the important bits, i.e. CONFIG_CPU_FREQ, 
CONFIG_ACPI_PROCESSOR, CONFIG_INTEL_IDLE; the rest of the kernel is 
pretty much generic Ubuntu config (I used 
https://wiki.ubuntu.com/KernelTeam/GitKernelBuild as a reference). The 
outcome is that machine now seems to have all cores but just after login 
the system freezes completely (without running anything related with 
Xenomai, just a couple of seconds after each login into Xfce). I 
actually managed to find on the mailing list that it can be caused by 
CONFIG_HPET_TIMER but I'm not able to disable it. Meaning, it is 
excluded from config GUIs (I've tried practically all of them) and if I 
change it manually in the .config file, it just somehow switches back to 
being enabled when I compile the kernel.
BTW I've tried the APIC options from the FAQ, but they do not fix the 
freezing. Also, HPET_TIMER is enabled in the previous kernel config 
where I disable whole PM, and the system seems to work fine with it.

Also I had similar problem with CONFIG_PCI_MSI, namely, it is blocked 
(cannot be disabled) in the GUI when PM is enabled (or something there, 
I'm not sure). But than later in the HPET thread I've found that I 
should leave MSI enabled, hence, I'm not sure what should I do here.

Moreover, there is a problem with CONFIG_APM in this kernel, namely, it 
seems to not be there. I'm not sure if it just does not exist for the 
new kernel or I'm not doing something right.

Do you have any suggestions? I can provide you with the config file. 
Also, I can try doing some test and debugging if it's needed.

Best wishes,

Jakub



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

end of thread, other threads:[~2011-06-20 21:30 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16  9:19 [Xenomai-help] Xenomai on i7-870 Jakub Nowacki
  -- strict thread matches above, loose matches on Subject: below --
2011-06-16  9:18 Jakub Nowacki
2011-06-16 10:37 ` Gilles Chanteperdrix
2011-06-17 14:05   ` Jakub Nowacki
2011-06-17 19:00     ` Gilles Chanteperdrix
2011-06-17 19:44       ` Gilles Chanteperdrix
2011-06-17 19:52         ` Jakub Nowacki
2011-06-18 15:17           ` Gilles Chanteperdrix
2011-06-20 14:34             ` Jakub Nowacki
2011-06-20 15:02               ` Gilles Chanteperdrix
2011-06-20 15:25                 ` Jakub Nowacki
2011-06-20 16:16                   ` Philippe Gerum
2011-06-20 17:34                     ` Gilles Chanteperdrix
2011-06-20 21:30                       ` Jakub Nowacki
2011-06-20 17:43                   ` Gilles Chanteperdrix
2011-06-17 19:48       ` Jakub Nowacki
2011-06-13 10:44 Jakub Nowacki
2011-06-13 17:43 ` Gilles Chanteperdrix
2011-06-13 19:06   ` Jakub Nowacki
2011-06-14  5:58     ` Jan Kiszka
2011-06-14 11:18       ` Jakub Nowacki
2011-06-14 11:30         ` Jan Kiszka
2011-06-15 16:21           ` Jakub Nowacki
2011-06-15 16:51             ` Gilles Chanteperdrix
2011-06-15 20:43               ` Jakub Nowacki
2011-06-16  7:01                 ` Gilles Chanteperdrix
2011-06-16  8:52             ` Pavel Machek

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.