All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai] RaspberryPi kernel 3.8 issue
@ 2014-02-26 19:59 Gregory Dymarek
  2014-02-26 20:29 ` Gregory Dymarek
  0 siblings, 1 reply; 61+ messages in thread
From: Gregory Dymarek @ 2014-02-26 19:59 UTC (permalink / raw)
  To: xenomai

Gilles
here is the ipipe trace (see line 112)
http://pastebin.com/EcLn0MxJ

that corresponds to
http://pastebin.com/vjLJVDGS

I do not see any call to enable irq, but there are plenty calls for debug.


Could you also explain in a few words the previous patch please.
What was wrong with local_fiq_disable() defined as ipipe_stall_root() ?

Thanks


On 25 February 2014 23:51, Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org> wrote:

> On 02/26/2014 12:20 AM, Gregory Dymarek wrote:
> > well, this does not work for me. It boots fine when there is no USB
> device
> > plugged in.
> > However, when my WIFI or bluetooth adapter is plugged in, the boot log
> > shows: http://pastebin.com/vjLJVDGS
>
> Well, it looks like a different issue, which happens when irqs are
> re-enabled by DWC_SPINUNLOCK_IRQRESTORE. So, maybe we have progressed. I
> am cloning the rpi repository, to see what happens at this point.
>
> But you can try and use the I-pipe tracer again, put a trace freeze in
> the "report_bad_irq" function.
>
> --
>                                                                 Gilles.
>

^ permalink raw reply	[flat|nested] 61+ messages in thread
* [Xenomai] RaspberryPi kernel 3.8 issue
@ 2014-02-23 21:27 Gregory Dymarek
  2014-02-23 21:37 ` Gilles Chanteperdrix
  2014-02-23 22:37 ` Adam Vaughan
  0 siblings, 2 replies; 61+ messages in thread
From: Gregory Dymarek @ 2014-02-23 21:27 UTC (permalink / raw)
  To: xenomai

Hi,


I compiled a fresh rpi-3.8 kernel using the following patches (from
xenomai-2.6.3):
- ipipe-core-3.8.13-raspberry-pre-2.patch
- ipipe-core-3.8.13-arm-3.patch
- ipipe-core-3.8.13-raspberry-post-2.patch

All compiled well, but when booting this kernel it reports an exception.
The entire boot log is here: http://pastebin.com/K7v44nPw

I am still not very faimiliar with the architecture so I am not really able
to sort it myself...
Any advise please?

[    1.915956] hub 1-0:1.0: 1 port detected
[    1.923672] ------------[ cut here ]------------
[    1.931807] WARNING: at kernel/irq/handle.c:146
handle_irq_event_percpu+0x190/0x1b4()
[    1.943148] irq 32 handler usb_hcd_irq+0x0/0x7c enabled interrupts
[    1.952840] Modules linked in:
[    1.959469] [<c00141ec>] (unwind_backtrace+0x0/0xec) from [<c00204fc>]
(warn_slowpath_common+0x4c/0x64)
[    1.972561] [<c00204fc>] (warn_slowpath_common+0x4c/0x64) from
[<c0020544>] (warn_slowpath_fmt+0x30/0x40)
[    1.985872] [<c0020544>] (warn_slowpath_fmt+0x30/0x40) from [<c0077838>]
(handle_irq_event_percpu+0x190/0x1b4)
[    1.999671] [<c0077838>] (handle_irq_event_percpu+0x190/0x1b4) from
[<c00778c0>] (handle_irq_event+0x64/0x94)
[    2.013394] [<c00778c0>] (handle_irq_event+0x64/0x94) from [<c007a6c4>]
(handle_level_irq+0x78/0x108)
[    2.026432] [<c007a6c4>] (handle_level_irq+0x78/0x108) from [<c0077010>]
(generic_handle_irq+0x1c/0x30)
[    2.039690] [<c0077010>] (generic_handle_irq+0x1c/0x30) from
[<c000eacc>] (handle_IRQ+0x30/0x84)
[    2.052361] [<c000eacc>] (handle_IRQ+0x30/0x84) from [<c008036c>]
(__ipipe_do_sync_stage+0x25c/0x278)
[    2.065548] [<c008036c>] (__ipipe_do_sync_stage+0x25c/0x278) from
[<c00083c4>] (__ipipe_grab_irq+0x2c/0x70)
[    2.079312] [<c00083c4>] (__ipipe_grab_irq+0x2c/0x70) from [<c0422d14>]
(__irq_svc+0x34/0xc0)
[    2.091773] Exception stack(0xcd82de00 to 0xcd82de48)
[    2.100766] de00: f2980008 00000000 00000000 00000000 00000000 00000000
cd99ec00 c05db7c4
[    2.112995] de20: cd9ed380 c05bbfc0 c0523a7c c05db8a4 00000030 cd82de48
c02f947c c02f8e44
[    2.125241] de40: 60000113 ffffffff
[    2.132818] [<c0422d14>] (__irq_svc+0x34/0xc0) from [<c02f8e44>]
(dwc_otg_driver_probe+0x114/0x7e0)
[    2.146103] [<c02f8e44>] (dwc_otg_driver_probe+0x114/0x7e0) from
[<c02aa504>] (really_probe+0x60/0x1e8)
[    2.159771] [<c02aa504>] (really_probe+0x60/0x1e8) from [<c02aa778>]
(__driver_attach+0x98/0x9c)
[    2.172812] [<c02aa778>] (__driver_attach+0x98/0x9c) from [<c02a8b70>]
(bus_for_each_dev+0x60/0x94)
[    2.186145] [<c02a8b70>] (bus_for_each_dev+0x60/0x94) from [<c02a9cb8>]
(bus_add_driver+0xac/0x244)
[    2.199589] [<c02a9cb8>] (bus_add_driver+0xac/0x244) from [<c02aae20>]
(driver_register+0x78/0x140)
[    2.213103] [<c02aae20>] (driver_register+0x78/0x140) from [<c05a0074>]
(dwc_otg_driver_init+0x20/0xe0)
[    2.226973] [<c05a0074>] (dwc_otg_driver_init+0x20/0xe0) from
[<c00086e0>] (do_one_initcall+0x114/0x180)
[    2.241020] [<c00086e0>] (do_one_initcall+0x114/0x180) from [<c058c86c>]
(kernel_init_freeable+0xf8/0x1b8)
[    2.255236] [<c058c86c>] (kernel_init_freeable+0xf8/0x1b8) from
[<c041c210>] (kernel_init+0x8/0x150)
[    2.268963] [<c041c210>] (kernel_init+0x8/0x150) from [<c000dc40>]
(ret_from_fork+0x18/0x38)
[    2.282034] ---[ end trace 6e968ac9df7b1cbe ]---
[    2.291589] dwc_otg: FIQ enabled

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

end of thread, other threads:[~2014-03-02 21:03 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-26 19:59 [Xenomai] RaspberryPi kernel 3.8 issue Gregory Dymarek
2014-02-26 20:29 ` Gregory Dymarek
  -- strict thread matches above, loose matches on Subject: below --
2014-02-23 21:27 Gregory Dymarek
2014-02-23 21:37 ` Gilles Chanteperdrix
2014-02-23 22:18   ` Gregory Dymarek
2014-02-23 22:36     ` Gilles Chanteperdrix
2014-02-23 22:37 ` Adam Vaughan
2014-02-23 23:08   ` Adam Vaughan
2014-02-23 23:30     ` Gregory Dymarek
2014-02-23 23:32       ` Gregory Dymarek
2014-02-23 23:42       ` Gilles Chanteperdrix
2014-02-24 21:19         ` Gregory Dymarek
2014-02-24 22:00           ` Gilles Chanteperdrix
2014-02-25 20:04             ` Gregory Dymarek
2014-02-25 20:20               ` Gilles Chanteperdrix
2014-02-25 20:23                 ` Gregory Dymarek
     [not found]                 ` <CAEbDrgkJCnbWu_J4svoXOU1x2rz=n95A5+3Ee=R_9CpMgx-JmA@mail.gmail.com>
2014-02-25 20:25                   ` Gilles Chanteperdrix
2014-02-25 20:43                     ` Gregory Dymarek
2014-02-25 20:50                       ` Gilles Chanteperdrix
2014-02-25 21:09                         ` Gregory Dymarek
2014-02-25 21:24                           ` Gilles Chanteperdrix
2014-02-25 21:28                             ` Gilles Chanteperdrix
2014-02-25 21:31                           ` Gilles Chanteperdrix
2014-02-25 22:30                             ` Adam Vaughan
2014-02-25 23:20                               ` Gregory Dymarek
2014-02-25 23:42                                 ` Adam Vaughan
2014-02-25 23:45                                   ` Adam Vaughan
2014-02-26  0:12                                     ` Gregory Dymarek
2014-02-26  0:22                                       ` Adam Vaughan
2014-02-26  0:33                                       ` Gilles Chanteperdrix
2014-02-26 10:00                                         ` Gregory Dymarek
2014-02-26 18:48                                           ` Adam Vaughan
2014-02-26 21:46                                           ` Gilles Chanteperdrix
2014-02-26 10:26                                       ` Paul
2014-02-25 23:51                                 ` Gilles Chanteperdrix
     [not found]                                   ` <CAEbDrgkWZqSxjCUfjR3YCp=YOzh1r-=YC6Wyr-Jvk9d7JYEcmQ@mail.gmail.com>
     [not found]                                     ` <530E6159.4050204@xenomai.org>
2014-02-26 22:37                                       ` Gregory Dymarek
2014-02-27 10:48                                         ` Gilles Chanteperdrix
2014-02-27 18:43                                           ` Gregory Dymarek
2014-02-27 20:14                                             ` Gilles Chanteperdrix
2014-02-27 20:33                                               ` Gregory Dymarek
2014-02-27 20:48                                                 ` Gilles Chanteperdrix
2014-02-27 20:58                                                   ` Gilles Chanteperdrix
2014-02-27 21:15                                                 ` Gilles Chanteperdrix
2014-02-27 22:54                                                   ` Gregory Dymarek
2014-02-28  1:12                                                   ` Paul
2014-02-28 11:42                                                     ` Gilles Chanteperdrix
2014-02-28 11:41                                                 ` Gilles Chanteperdrix
2014-03-01 12:27                                                   ` Gregory Dymarek
2014-03-02 15:11                                                     ` Gilles Chanteperdrix
2014-03-02 17:26                                                       ` Gregory Dymarek
2014-03-02 18:05                                                         ` Gilles Chanteperdrix
2014-03-02 18:16                                                         ` Gilles Chanteperdrix
     [not found]                                                           ` <CAEbDrg=2nX1kKOGt6i7b-w5AsLXkEyoJCGUMw1dkMXvka4MeKw@mail.gmail.com>
2014-03-02 18:55                                                             ` Gregory Dymarek
2014-03-02 18:57                                                             ` Gilles Chanteperdrix
2014-03-02 19:04                                                               ` Gilles Chanteperdrix
2014-03-02 19:08                                                                 ` Gregory Dymarek
2014-03-02 21:03                                                                   ` Gregory Dymarek
2014-02-24  0:22       ` Paul
2014-02-24  0:47         ` Adam Vaughan
2014-02-24  0:53           ` Adam Vaughan
2014-02-24  1:20             ` Adam Vaughan

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.