All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Eric Noulard <eric.noulard@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Multiple NIC trouble
Date: Thu, 08 Feb 2007 16:32:33 +0100	[thread overview]
Message-ID: <45CB4291.408@domain.hid> (raw)
In-Reply-To: <cbe23c50702080711s18459ea7le22545518bfc7c6f@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 3009 bytes --]

Eric Noulard wrote:
> 2007/2/7, Jan Kiszka <jan.kiszka@domain.hid>:
>>
>> Your /proc/interrupts output already suggests it: CONFIG_PCI_MSI is set
>> in your config. It's worth trying the disable it, because even plain
>> Linux has problems with certain board/device combinations. But I don't
>> recall if tg3 was recently involved in such, it may still be an ipipe
>> bug here.
> 
> The same xenomai patched kernel with CONFIG_PCI_MSI disable
> boots fine with following /proc/interrupt:
> ==========
>           CPU0       CPU1
>  0:    2169593          0   IO-APIC-edge      timer, rthal_broadcast_timer
>  1:          2          0   IO-APIC-edge      i8042
>  2:          0          0    XT-PIC-XT        cascade
>  8:          1          0   IO-APIC-edge      rtc
> 12:          4          0   IO-APIC-edge      i8042
> 14:      18945          0   IO-APIC-edge      ide0
> 16:      26920          0   IO-APIC-fasteoi   eth0, eth1
> 20:      12861          0   IO-APIC-fasteoi   uhci_hcd:usb1,
> ehci_hcd:usb4, libata
> 21:          0          0   IO-APIC-fasteoi   uhci_hcd:usb2
> 22:      10967          0   IO-APIC-fasteoi   uhci_hcd:usb3
> NMI:          0          0
> LOC:    2169430    2169431
> ERR:          0
> MIS:          0
> ==========
> 
> The former kernel used with kernel boot parameter "nomsi" continues
> to hang despite the boot parameter for "nomsi".
> I did go back to http://www.xenomai.org/index.php/FAQs
> and saw informations about SMI
> "On some systems, SMI may be involved in thermal throttling of the
> CPU. Thus, switching it off can cause hardware damage in overheat
> scenarios."
> 
> Now I'm lost with those 3 letters acronyms :((
> Does SMI has something to do with MSI or not?

You can form both acronyms using the same set of letters, that's all.

> 
> In both cases (SMI related to MSI or not)
> How can I know if SMI is used for thermal throttling on my box?

Unless you over-clock your system, or save cooling equipment, there is
practically no problem. AFAIK, no one experienced damage from overheat
so far while SMI was disabled. Still there is a theoretical risk,
therefore we warn.

> 
> I have the same boot problem with cpus=1 and the first kenrel (SMI enabled)
> (the box hangs on ifup eth0).
> 
> Now with the "bootable" xenomai-kernel config
> I go on and give a try to launch xeno-test (with no option at all),
> and it hangs the box the near the:
> "cat /proc/xenomai/rtdm/protocol_devices"
> message

Sounds like !MSI just moves the bug around.

> 
> Where should I look in order to  investigate this hang.
> 
> I attached the .config corresponding to bootable but hangable kernel.

Can you attach a serial console to your system (see
linux/Documentation/serial-console.txt) and grab the full kernel log up
to the hang? Maybe we have an oops that just cannot come out anymore.
Even if not, you could then try to instrument (printk) the kernel
towards the faulting lines.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-02-08 15:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06 21:37 [Xenomai-help] Multiple NIC trouble Eric Noulard
2007-02-06 21:56 ` Gilles Chanteperdrix
2007-02-07  7:57   ` Eric Noulard
2007-02-07 11:28     ` Jan Kiszka
2007-02-07 11:38       ` Jan Kiszka
2007-02-07 14:03         ` Eric Noulard
2007-02-08 15:11       ` Eric Noulard
2007-02-08 15:32         ` Jan Kiszka [this message]
2007-02-09 16:49           ` Eric Noulard
2007-02-09 17:03             ` Gilles Chanteperdrix
2007-02-09 17:09               ` Jan Kiszka
2007-02-09 17:39                 ` Eric Noulard
2007-02-09 17:31               ` Eric Noulard
2007-02-09 17:48                 ` Gilles Chanteperdrix
2007-02-12  8:58               ` Eric Noulard
2007-02-12  9:35                 ` Jan Kiszka
2007-02-12 13:01                   ` Gilles Chanteperdrix
2007-02-06 21:59 ` Jan Kiszka
2007-02-06 23:39 ` Philippe Gerum

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=45CB4291.408@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=eric.noulard@domain.hid \
    --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.