All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with DNS-323 revision A1 power LED patch
@ 2010-03-26 10:43 Martin Michlmayr
  2010-03-26 11:30 ` Arnaud Patard (Rtp)
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Michlmayr @ 2010-03-26 10:43 UTC (permalink / raw)
  To: linux-arm-kernel

Laurie,

Christian Samsel noticed the following problem with your recent "D-link
DNS-323 revision A1 power LED" patch.  Do you see this issue as well?

[    0.227124] Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
[    0.227534] ------------[ cut here ]------------
[    0.227588] WARNING: at /build/buildd-linux-2.6_2.6.32-9-armel-whvrDN/linux-2.6-2.6.32/debian/build/source_armel_none/drivers/gpio/gpiolib.c:101 gpio_ensure_requested+0x58/0x138()
[    0.227634] autorequest GPIO-4
[    0.227649] Modules linked in:
[    0.227714] [<c002cfb4>] (unwind_backtrace+0x0/0xdc) from [<c0048954>] (warn_slowpath_common+0x4c/0x80)
[    0.227772] [<c0048954>] (warn_slowpath_common+0x4c/0x80) from [<c00489c4>] (warn_slowpath_fmt+0x28/0x38)
[    0.227831] [<c00489c4>] (warn_slowpath_fmt+0x28/0x38) from [<c017e9e4>] (gpio_ensure_requested+0x58/0x138)
[    0.227892] [<c017e9e4>] (gpio_ensure_requested+0x58/0x138) from [<c017eb34>] (gpio_direction_output+0x70/0xf8)
[    0.227959] [<c017eb34>] (gpio_direction_output+0x70/0xf8) from [<c000e86c>] (dns323_init+0x94/0x330)
[    0.228018] [<c000e86c>] (dns323_init+0x94/0x330) from [<c000ada8>] (customize_machine+0x1c/0x2c)
[    0.228089] [<c000ada8>] (customize_machine+0x1c/0x2c) from [<c002634c>] (do_one_initcall+0x6c/0x1e4)
[    0.228148] [<c002634c>] (do_one_initcall+0x6c/0x1e4) from [<c000859c>] (kernel_init+0xac/0x12c)
[    0.228203] [<c000859c>] (kernel_init+0xac/0x12c) from [<c0027e5c>] (kernel_thread_exit+0x0/0x8)
[    0.228268] ---[ end trace 1b75b31a2719ed1c ]---
[    0.228601] DNS323: Found ethernet MAC address: 00:19:5b:ef:xx:xx.
[    0.229381] Applying Orion-1/Orion-NAS PCIe config read transaction workaround
...

-- 
Martin Michlmayr
http://www.cyrius.com/

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

* Problems with DNS-323 revision A1 power LED patch
  2010-03-26 10:43 Problems with DNS-323 revision A1 power LED patch Martin Michlmayr
@ 2010-03-26 11:30 ` Arnaud Patard (Rtp)
  2010-03-26 12:53   ` Christian Samsel
  0 siblings, 1 reply; 3+ messages in thread
From: Arnaud Patard (Rtp) @ 2010-03-26 11:30 UTC (permalink / raw)
  To: linux-arm-kernel

Martin Michlmayr <tbm@cyrius.com> writes:

Hi,

> Laurie,
>
> Christian Samsel noticed the following problem with your recent "D-link
> DNS-323 revision A1 power LED" patch.  Do you see this issue as well?
>
> [    0.227124] Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
> [    0.227534] ------------[ cut here ]------------
> [    0.227588] WARNING: at /build/buildd-linux-2.6_2.6.32-9-armel-whvrDN/linux-2.6-2.6.32/debian/build/source_armel_none/drivers/gpio/gpiolib.c:101 gpio_ensure_requested+0x58/0x138()
> [    0.227634] autorequest GPIO-4
> [    0.227649] Modules linked in:
> [    0.227714] [<c002cfb4>] (unwind_backtrace+0x0/0xdc) from [<c0048954>] (warn_slowpath_common+0x4c/0x80)
> [    0.227772] [<c0048954>] (warn_slowpath_common+0x4c/0x80) from [<c00489c4>] (warn_slowpath_fmt+0x28/0x38)
> [    0.227831] [<c00489c4>] (warn_slowpath_fmt+0x28/0x38) from [<c017e9e4>] (gpio_ensure_requested+0x58/0x138)
> [    0.227892] [<c017e9e4>] (gpio_ensure_requested+0x58/0x138) from [<c017eb34>] (gpio_direction_output+0x70/0xf8)
> [    0.227959] [<c017eb34>] (gpio_direction_output+0x70/0xf8) from [<c000e86c>] (dns323_init+0x94/0x330)
> [    0.228018] [<c000e86c>] (dns323_init+0x94/0x330) from [<c000ada8>] (customize_machine+0x1c/0x2c)
> [    0.228089] [<c000ada8>] (customize_machine+0x1c/0x2c) from [<c002634c>] (do_one_initcall+0x6c/0x1e4)
> [    0.228148] [<c002634c>] (do_one_initcall+0x6c/0x1e4) from [<c000859c>] (kernel_init+0xac/0x12c)
> [    0.228203] [<c000859c>] (kernel_init+0xac/0x12c) from [<c0027e5c>] (kernel_thread_exit+0x0/0x8)
> [    0.228268] ---[ end trace 1b75b31a2719ed1c ]---
> [    0.228601] DNS323: Found ethernet MAC address: 00:19:5b:ef:xx:xx.
> [    0.229381] Applying Orion-1/Orion-NAS PCIe config read transaction workaround
> ...
This warning is there to tell people that a gpio direction was set but
the gpio has not been requested. I believe the following patch would fix
it (warning I've not build-tested it). If it's working, I'll send it
again with proper s-o-b.

Arnaud

-------------- next part --------------
A non-text attachment was scrubbed...
Name: led.patch
Type: text/x-diff
Size: 491 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100326/fa1a0053/attachment.bin>

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

* Problems with DNS-323 revision A1 power LED patch
  2010-03-26 11:30 ` Arnaud Patard (Rtp)
@ 2010-03-26 12:53   ` Christian Samsel
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Samsel @ 2010-03-26 12:53 UTC (permalink / raw)
  To: linux-arm-kernel

Am Freitag, 26. M?rz 2010 12:30:40 schrieb Arnaud Patard:

> This warning is there to tell people that a gpio direction was set but
> the gpio has not been requested. I believe the following patch would fix
> it (warning I've not build-tested it). If it's working, I'll send it
> again with proper s-o-b.
> 
> Arnaud

Martin prepared me a patched kernel which i just tested. the traceback is 
gone. although i wasnt able to check if the led is still functional, cause i'm 
not at home. i'll report back later the day, if not.

Christian

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

end of thread, other threads:[~2010-03-26 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 10:43 Problems with DNS-323 revision A1 power LED patch Martin Michlmayr
2010-03-26 11:30 ` Arnaud Patard (Rtp)
2010-03-26 12:53   ` Christian Samsel

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.