All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] PCI cause system freeze
@ 2010-03-02 12:42 Alex Monti
  2010-03-02 14:01 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Monti @ 2010-03-02 12:42 UTC (permalink / raw)
  To: xenomai

Hi all,
I'm testing realtime linux on Powerpc and I'm finding some serious problem with Adeos patch.
My platform is mpc5121e rev 4 based one and I'm using 2.6.29.4 DENX kernel with Xenomai patch.
My board boots, Xenomai works, but when I try to enable a Network Pci card, system always freeze.

In details:

With only 2.6.29.4 DENX kernel (without Xenomai patch) all works fine: board boots, all peripherals work (included network card).

When I apply the Xenomai patch, board boots,  Xenomai works and loading module of the network adapter (insmod .../module_name) has no problems but when I try to enable the interface (ifconfig eth1 up), system always freeze.

I've tried two network adapters (Intel e100 and Realtek r8169) so problem is not the driver.
I've tried RTAI patch but result is always the same.

I think problem is in the ADEOS patch because it is the only thing common to all tests (same version for both patch).

Modifing driver of e100 I realize that system crash enabling irq (I think, not sure: I added some printk within the driver and the last function call that I see is e100_enable_irq).

Any suggestion? Any help is very usefull!!!
Thanks



 <http://lxr.free-electrons.com/ident?i=e100_enable_irq>



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

* Re: [Xenomai-help] PCI cause system freeze
  2010-03-02 12:42 [Xenomai-help] PCI cause system freeze Alex Monti
@ 2010-03-02 14:01 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2010-03-02 14:01 UTC (permalink / raw)
  To: Alex Monti; +Cc: xenomai

On Tue, 2010-03-02 at 13:42 +0100, Alex Monti wrote:
> Hi all,
> I'm testing realtime linux on Powerpc and I'm finding some serious problem with Adeos patch.
> My platform is mpc5121e rev 4 based one and I'm using 2.6.29.4 DENX kernel with Xenomai patch.
> My board boots, Xenomai works, but when I try to enable a Network Pci card, system always freeze.
> 
> In details:
> 
> With only 2.6.29.4 DENX kernel (without Xenomai patch) all works fine: board boots, all peripherals work (included network card).
> 
> When I apply the Xenomai patch, board boots,  Xenomai works and loading module of the network adapter (insmod .../module_name) has no problems but when I try to enable the interface (ifconfig eth1 up), system always freeze.
> 
> I've tried two network adapters (Intel e100 and Realtek r8169) so problem is not the driver.
> I've tried RTAI patch but result is always the same.
> 
> I think problem is in the ADEOS patch because it is the only thing common to all tests (same version for both patch).

Except that RTAI patches are different from vanilla Adeos patches, but
this not the issue.

The issue is that mpc5121 has been validated over 2.6.24.6, not 2.6.29.
In short, mpc5121 is not officially supported over anything > 2.6.24
yet.

> 
> Modifing driver of e100 I realize that system crash enabling irq (I think, not sure: I added some printk within the driver and the last function call that I see is e100_enable_irq).
> 
> Any suggestion? Any help is very usefull!!!
> Thanks
> 
> 
> 
>  <http://lxr.free-electrons.com/ident?i=e100_enable_irq>
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.




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

end of thread, other threads:[~2010-03-02 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-02 12:42 [Xenomai-help] PCI cause system freeze Alex Monti
2010-03-02 14:01 ` Philippe Gerum

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.