From: "Steven A. Falco" <sfalco@domain.hid>
To: rpm@xenomai.org
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Oops with ifconfig on Sequioa AMCC 440EPX board
Date: Tue, 30 Sep 2008 09:52:55 -0400 [thread overview]
Message-ID: <48E22F37.2000903@domain.hid> (raw)
In-Reply-To: <48E20246.7060406@domain.hid>
Philippe Gerum wrote:
> Wolfgang Grandegger wrote:
>> Hello,
>>
>> I get the following Oops with a Xenomai patch kernel when configuring
>> the EEPRO100 on the PCI slot:
...
>> Any idea where the problem could be?
>>
>
> As you pointed out, there was an issue with cascaded UICs. The following patch
> should fix it (will be merged in the upcoming 2.2-05):
Thanks! The patch does indeed fix it. One comment, though. I had
turned on spinlock debugging as well as adding your patch. That
combination produces the bugs below. Once I turn off spinlock
debugging (with the patch still included), then things work properly.
So, I don't know if this bug is totally unrelated to Ipipe. I'll
investigate and post again with the results.
Steve
PPC 4xx OCP EMAC driver, version 3.54
MAL v2 /plb/mcmal, 2 TX channels, 2 RX channels
ZMII /plb/opb/emac-zmii@domain.hid initialized
RGMII /plb/opb/emac-rgmii@domain.hid initialized with MDIO support
/plb/opb/emac-rgmii@domain.hid: input 0 in RGMII mode
BUG: spinlock bad magic on CPU#0, swapper/1
lock: cf8161ac, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
Call Trace:
[cf82dc20] [c000651c] show_stack+0x44/0x1ac (unreliable)
[cf82dc60] [c01823fc] spin_bug+0x7c/0xc4
[cf82dc80] [c0182608] _raw_spin_lock+0x94/0x180
[cf82dcb0] [c02ab880] _spin_lock_bh+0x20/0x34
[cf82dcd0] [c0240048] dev_mc_add+0x2c/0x84
[cf82dcf0] [c01ac7a8] emac_configure+0x32c/0x588
[cf82dd20] [c02b17c0] 0xc02b17c0
[cf82de10] [c022a0d4] of_platform_device_probe+0x5c/0x84
[cf82de30] [c01a5bd4] driver_probe_device+0xb8/0x1e8
[cf82de50] [c01a5d88] __driver_attach+0x84/0x88
[cf82de70] [c01a50b0] bus_for_each_dev+0x5c/0x98
[cf82dea0] [c01a59dc] driver_attach+0x24/0x34
[cf82deb0] [c01a5708] bus_add_driver+0x1d8/0x258
[cf82dee0] [c01a5f98] driver_register+0x5c/0x158
[cf82df00] [c0229fa8] of_register_driver+0x54/0x70
[cf82df10] [c036d0d0] emac_init+0x1a8/0x1d4
[cf82df50] [c03561b4] kernel_init+0xac/0x294
[cf82dff0] [c000eb60] kernel_thread+0x44/0x60
BUG: spinlock lockup on CPU#0, swapper/1, cf8161ac
Call Trace:
[cf82dc40] [c000651c] show_stack+0x44/0x1ac (unreliable)
[cf82dc80] [c01826c4] _raw_spin_lock+0x150/0x180
[cf82dcb0] [c02ab880] _spin_lock_bh+0x20/0x34
[cf82dcd0] [c0240048] dev_mc_add+0x2c/0x84
[cf82dcf0] [c01ac7a8] emac_configure+0x32c/0x588
[cf82dd20] [c02b17c0] 0xc02b17c0
[cf82de10] [c022a0d4] of_platform_device_probe+0x5c/0x84
[cf82de30] [c01a5bd4] driver_probe_device+0xb8/0x1e8
[cf82de50] [c01a5d88] __driver_attach+0x84/0x88
[cf82de70] [c01a50b0] bus_for_each_dev+0x5c/0x98
[cf82dea0] [c01a59dc] driver_attach+0x24/0x34
[cf82deb0] [c01a5708] bus_add_driver+0x1d8/0x258
[cf82dee0] [c01a5f98] driver_register+0x5c/0x158
[cf82df00] [c0229fa8] of_register_driver+0x54/0x70
[cf82df10] [c036d0d0] emac_init+0x1a8/0x1d4
[cf82df50] [c03561b4] kernel_init+0xac/0x294
[cf82dff0] [c000eb60] kernel_thread+0x44/0x60
next prev parent reply other threads:[~2008-09-30 13:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-05 10:09 [Xenomai-help] Oops with ifconfig on Sequioa AMCC 440EPX board Wolfgang Grandegger
2008-09-06 14:16 ` Wolfgang Grandegger
2008-09-06 14:34 ` Gilles Chanteperdrix
2008-09-30 10:41 ` Philippe Gerum
2008-09-30 13:52 ` Steven A. Falco [this message]
2008-09-30 14:45 ` Steven A. Falco
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=48E22F37.2000903@domain.hid \
--to=sfalco@domain.hid \
--cc=rpm@xenomai.org \
--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.