Debian Bug report logs - #625804
linux-2.6: lockups in rtc on armhf

version graph

Package: linux-2.6; Maintainer for linux-2.6 is Debian Kernel Team <debian-kernel@lists.debian.org>;

Reported by: Vagrant Cascadian <vagrant@debian.org>

Date: Fri, 6 May 2011 05:15:01 UTC

Severity: normal

Found in version 2.6.39~rc5-1~experimental.1

Done: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, vagrant@debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#625804; Package linux-2.6. (Fri, 06 May 2011 05:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant@debian.org>:
New Bug report received and forwarded. Copy sent to vagrant@debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>. (Fri, 06 May 2011 05:15:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Vagrant Cascadian <vagrant@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-2.6: lockups in rtc on armhf
Date: Thu, 5 May 2011 22:12:46 -0700
Package: linux-2.6
Version: 2.6.39~rc5-1~experimental.1
Severity: normal

i was experiencing lockups on an armhf kernel built from the experimental branch:

[    2.644589] usb 2-1.1: SerialNumber: 1.0
[  240.664217] INFO: task swapper:1 blocked for more than 120 seconds.
[  240.670509] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.678374] swapper         D c0285240     0     1      0 0x00000000
[  240.684824] [<c0285240>] (schedule+0x4bc/0x510) from [<c0285ca0>] (__mutex_lock_slowpath+0x7c/0xa0)
[  240.693914] [<c0285ca0>] (__mutex_lock_slowpath+0x7c/0xa0) from [<c01e2bb8>] (mc13xxx_rtc_read_time+0x18/0xe4)
[  240.703967] [<c01e2bb8>] (mc13xxx_rtc_read_time+0x18/0xe4) from [<c01e0974>] (__rtc_read_time+0x4c/0x50)

the following patch by Arnaud Patard seemed to resolve the problem:

  http://patchwork.ozlabs.org/patch/89644/

Index: imx-test/drivers/rtc/rtc-mc13xxx.c
===================================================================
--- imx-test.orig/drivers/rtc/rtc-mc13xxx.c
+++ imx-test/drivers/rtc/rtc-mc13xxx.c
@@ -349,8 +349,13 @@  static int __devinit mc13xxx_rtc_probe(s
        if (ret)
                goto err_alarm_irq_request;

+       mc13xxx_unlock(mc13xxx);
+
        priv->rtc = rtc_device_register(pdev->name,
                        &pdev->dev, &mc13xxx_rtc_ops, THIS_MODULE);
+
+       mc13xxx_lock(mc13xxx);
+
        if (IS_ERR(priv->rtc)) {
                ret = PTR_ERR(priv->rtc);


live well,
  vagrant




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#625804; Package linux-2.6. (Fri, 06 May 2011 10:00:16 GMT) Full text and rfc822 format available.

Acknowledgement sent to Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Fri, 06 May 2011 10:00:20 GMT) Full text and rfc822 format available.

Message #10 received at 625804@bugs.debian.org (full text, mbox):

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
To: Arnaud Patard <arnaud.patard@rtp-net.org>
Cc: rtc-linux@googlegroups.com, Thomas Gleixner <tglx@linutronix.de>, Alessandro Zummo <a.zummo@towertech.it>, Mark Brown <broonie@opensource.wolfsonmicro.com>, John Stultz <john.stultz@linaro.org>, 625804@bugs.debian.org, Vagrant Cascadian <vagrant@debian.org>
Subject: rtc/mc13xxx: don't call rtc_device_register with the lock held
Date: Fri, 6 May 2011 11:57:47 +0200
Since commit

	f44f7f9 (RTC: Initialize kernel state from RTC)

rtc_device_register reads the programmed alarm. As reading the alarm
needs to take the lock, release it before calling rtc_device_register.

This fixes a deadlock during boot:

	INFO: task swapper:1 blocked for more than 120 seconds.
	"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
	swapper         D c02b175c     0     1      0 0x00000000
	[<c02b175c>] (schedule+0x304/0x4f4) from [<c02b25a8>] (__mutex_lock_slowpath+0x7c/0x110)
	[<c02b25a8>] (__mutex_lock_slowpath+0x7c/0x110) from [<c020b4cc>] (mc13xxx_rtc_read_time+0x1c/0x118)
	[<c020b4cc>] (mc13xxx_rtc_read_time+0x1c/0x118) from [<c0208f04>] (__rtc_read_time+0x58/0x5c)
	[<c0208f04>] (__rtc_read_time+0x58/0x5c) from [<c0209508>] (rtc_read_time+0x30/0x48)
	[<c0209508>] (rtc_read_time+0x30/0x48) from [<c0209dd4>] (__rtc_read_alarm+0x1c/0x290)
	[<c0209dd4>] (__rtc_read_alarm+0x1c/0x290) from [<c0208d58>] (rtc_device_register+0x150/0x27c)
	[<c0208d58>] (rtc_device_register+0x150/0x27c) from [<c02b0b74>] (mc13xxx_rtc_probe+0x128/0x17c)
	[<c02b0b74>] (mc13xxx_rtc_probe+0x128/0x17c) from [<c01d5280>] (platform_drv_probe+0x1c/0x24)
	[<c01d5280>] (platform_drv_probe+0x1c/0x24) from [<c01d3e58>] (driver_probe_device+0x80/0x1a8)
	[<c01d3e58>] (driver_probe_device+0x80/0x1a8) from [<c01d400c>] (__driver_attach+0x8c/0x90)
	[<c01d400c>] (__driver_attach+0x8c/0x90) from [<c01d3654>] (bus_for_each_dev+0x60/0x8c)
	[<c01d3654>] (bus_for_each_dev+0x60/0x8c) from [<c01d2f6c>] (bus_add_driver+0x180/0x248)
	[<c01d2f6c>] (bus_add_driver+0x180/0x248) from [<c01d4664>] (driver_register+0x70/0x15c)
	[<c01d4664>] (driver_register+0x70/0x15c) from [<c01d5700>] (platform_driver_probe+0x18/0x98)
	[<c01d5700>] (platform_driver_probe+0x18/0x98) from [<c00273a8>] (do_one_initcall+0x2c/0x168)
	[<c00273a8>] (do_one_initcall+0x2c/0x168) from [<c00083ac>] (kernel_init+0xa0/0x150)
	[<c00083ac>] (kernel_init+0xa0/0x150) from [<c0033ff8>] (kernel_thread_exit+0x0/0x8)

Reported-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Closes: http://bugs.debian.org/625804
---
Hello Arnaud,

On Mon, Apr 04, 2011 at 04:52:54AM -0000, Arnaud Patard wrote:
> Index: imx-test/drivers/rtc/rtc-mc13xxx.c
> ===================================================================
> --- imx-test.orig/drivers/rtc/rtc-mc13xxx.c
> +++ imx-test/drivers/rtc/rtc-mc13xxx.c
> @@ -349,8 +349,13 @@ static int __devinit mc13xxx_rtc_probe(s
>  	if (ret)
>  		goto err_alarm_irq_request;
>  
> +	mc13xxx_unlock(mc13xxx);
> +
>  	priv->rtc = rtc_device_register(pdev->name,
>  			&pdev->dev, &mc13xxx_rtc_ops, THIS_MODULE);
> +
> +	mc13xxx_lock(mc13xxx);
> +
>  	if (IS_ERR(priv->rtc)) {
>  		ret = PTR_ERR(priv->rtc);
the patch below is a bit better as it doesn't take the lock in the
likely case that rtc_device_register succeeds.

Best regards
Uwe

diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c
index c5ac037..a1a278b 100644
--- a/drivers/rtc/rtc-mc13xxx.c
+++ b/drivers/rtc/rtc-mc13xxx.c
@@ -349,11 +349,15 @@ static int __devinit mc13xxx_rtc_probe(struct platform_device *pdev)
 	if (ret)
 		goto err_alarm_irq_request;
 
+	mc13xxx_unlock(mc13xxx);
+
 	priv->rtc = rtc_device_register(pdev->name,
 			&pdev->dev, &mc13xxx_rtc_ops, THIS_MODULE);
 	if (IS_ERR(priv->rtc)) {
 		ret = PTR_ERR(priv->rtc);
 
+		mc13xxx_lock(mc13xxx);
+
 		mc13xxx_irq_free(mc13xxx, MC13XXX_IRQ_TODA, priv);
 err_alarm_irq_request:
 
@@ -365,12 +369,12 @@ err_reset_irq_status:
 		mc13xxx_irq_free(mc13xxx, MC13XXX_IRQ_RTCRST, priv);
 err_reset_irq_request:
 
+		mc13xxx_unlock(mc13xxx);
+
 		platform_set_drvdata(pdev, NULL);
 		kfree(priv);
 	}
 
-	mc13xxx_unlock(mc13xxx);
-
 	return ret;
 }
 

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#625804; Package linux-2.6. (Sat, 07 May 2011 20:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sat, 07 May 2011 20:30:03 GMT) Full text and rfc822 format available.

Message #15 received at 625804@bugs.debian.org (full text, mbox):

From: Vagrant Cascadian <vagrant@debian.org>
To: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: 625804@bugs.debian.org
Subject: Re: rtc/mc13xxx: don't call rtc_device_register with the lock held
Date: Sat, 7 May 2011 13:16:48 -0700
On Fri, May 06, 2011 at 11:57:47AM +0200, Uwe Kleine-König wrote:
> diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c
> index c5ac037..a1a278b 100644
> --- a/drivers/rtc/rtc-mc13xxx.c
> +++ b/drivers/rtc/rtc-mc13xxx.c
> @@ -349,11 +349,15 @@ static int __devinit mc13xxx_rtc_probe(struct platform_device *pdev)
>  	if (ret)
>  		goto err_alarm_irq_request;
>  
> +	mc13xxx_unlock(mc13xxx);
> +
>  	priv->rtc = rtc_device_register(pdev->name,
>  			&pdev->dev, &mc13xxx_rtc_ops, THIS_MODULE);
>  	if (IS_ERR(priv->rtc)) {
>  		ret = PTR_ERR(priv->rtc);
>  
> +		mc13xxx_lock(mc13xxx);
> +
>  		mc13xxx_irq_free(mc13xxx, MC13XXX_IRQ_TODA, priv);
>  err_alarm_irq_request:
>  
> @@ -365,12 +369,12 @@ err_reset_irq_status:
>  		mc13xxx_irq_free(mc13xxx, MC13XXX_IRQ_RTCRST, priv);
>  err_reset_irq_request:
>  
> +		mc13xxx_unlock(mc13xxx);
> +
>  		platform_set_drvdata(pdev, NULL);
>  		kfree(priv);
>  	}
>  
> -	mc13xxx_unlock(mc13xxx);
> -
>  	return ret;
>  }
>  
> 

  http://patchwork.ozlabs.org/patch/94354/

thanks! i just tested and confirmed that this patch also resolves the issue.


live well,
  vagrant




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#625804; Package linux-2.6. (Sun, 08 May 2011 00:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hector Oron <zumbi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 08 May 2011 00:24:04 GMT) Full text and rfc822 format available.

Message #20 received at 625804@bugs.debian.org (full text, mbox):

From: Hector Oron <zumbi@debian.org>
To: 625804@bugs.debian.org
Subject: linux-2.6: fix rtc lockups on armhf
Date: Sun, 8 May 2011 01:14:11 +0100
[Message part 1 (text/plain, inline)]
Hello,

  Here is a proposed patch against trunk for fixing this bug.
  Patch was written initial by Arnaud Patard, later changed
  by Uwe Kleine-König.

Best regards


Index: debian/patches/bugfix/arm/rtc_mutex_lockup.patch
===================================================================
--- debian/patches/bugfix/arm/rtc_mutex_lockup.patch	(revision 0)
+++ debian/patches/bugfix/arm/rtc_mutex_lockup.patch	(revision 0)
@@ -0,0 +1,80 @@
+Fix rtc-mc13xxx lockup
+
+Fix this lock up :
+
+
+[  240.159703] INFO: task swapper:1 blocked for more than 120 seconds.
+[  240.166030] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
+[  240.173976] swapper         D c03e688c     0     1      0 0x00000000
+[  240.180483] Backtrace: 
+[  240.183066] [<c03e65d0>] (schedule+0x0/0x2f0) from [<c03e72f8>] (__mutex_lock_slowpath+0x88/0xb4)
+[  240.192086] [<c03e7270>] (__mutex_lock_slowpath+0x0/0xb4) from [<c03e7588>] (mutex_lock+0x30/0x34)
+[  240.201151]  r8:00000001 r7:df83fd8c r6:00000000 r5:df83fd8c r4:dfbd1204
+[  240.208091] [<c03e7558>] (mutex_lock+0x0/0x34) from [<c0206644>] (mc13xxx_lock+0x28/0x2c)
+[  240.216403]  r4:dfbd1204 r3:ffffffff
+[  240.220181] [<c020661c>] (mc13xxx_lock+0x0/0x2c) from [<c0284d08>] (mc13xxx_rtc_read_time+0x24/0xf4)
+[  240.229377]  r4:dfbabc40 r3:c0284ce4
+[  240.233127] [<c0284ce4>] (mc13xxx_rtc_read_time+0x0/0xf4) from [<c0282bd4>] (__rtc_read_time+0x50/0x5c)
+[  240.243441]  r6:00000000 r5:df83fd8c r4:dfb46c00
+[  240.248211] [<c0282b84>] (__rtc_read_time+0x0/0x5c) from [<c0282ebc>] (rtc_read_time+0x34/0x48)
+[  240.257020]  r5:dfb46c00 r4:dfb46ce0
+[  240.260763] [<c0282e88>] (rtc_read_time+0x0/0x48) from [<c0283090>] (__rtc_read_alarm+0x24/0x27c)
+[  240.269740]  r7:dfb46c00 r6:dfbdcbd8 r5:dfb46c00 r4:df83fdec
+[  240.275582] [<c028306c>] (__rtc_read_alarm+0x0/0x27c) from [<c0282994>] (rtc_device_register+0x160/0x284)
+[  240.285320] [<c0282834>] (rtc_device_register+0x0/0x284) from [<c03e54a8>] (mc13xxx_rtc_probe+0x104/0x18c)
+[  240.295150] [<c03e53a4>] (mc13xxx_rtc_probe+0x0/0x18c) from [<c01fd7d4>] (platform_drv_probe+0x1c/0x20)
+[  240.304651]  r8:00000000 r7:c0540db4 r6:c0540db4 r5:dfbdcb08 r4:dfbdcb08
+[  240.311620] [<c01fd7b8>] (platform_drv_probe+0x0/0x20) from [<c01fc388>] (really_probe+0xa0/0x150)
+[  240.320730] [<c01fc2e8>] (really_probe+0x0/0x150) from [<c01fc5d0>] (driver_probe_device+0x28/0x34)
+[  240.329878]  r7:00000000 r6:c0540db4 r5:dfbdcb3c r4:dfbdcb08
+[  240.335725] [<c01fc5a8>] (driver_probe_device+0x0/0x34) from [<c01fc644>] (__driver_attach+0x68/0x8c)
+[  240.345907] [<c01fc5dc>] (__driver_attach+0x0/0x8c) from [<c01fb708>] (bus_for_each_dev+0x58/0x88)
+[  240.354976]  r6:c01fc5dc r5:df83fee0 r4:c0540db4 r3:df80d4b4
+[  240.360870] [<c01fb6b0>] (bus_for_each_dev+0x0/0x88) from [<c01fc1dc>] (driver_attach+0x20/0x28)
+[  240.369758]  r7:00000000 r6:c0539c20 r5:dfba9180 r4:c0540db4
+[  240.375604] [<c01fc1bc>] (driver_attach+0x0/0x28) from [<c01fbe0c>] (bus_add_driver+0xb4/0x230)
+[  240.384453] [<c01fbd58>] (bus_add_driver+0x0/0x230) from [<c01fcbc8>] (driver_register+0xa8/0x128)
+[  240.393568] [<c01fcb20>] (driver_register+0x0/0x128) from [<c01fdc48>] (platform_driver_register+0x4c/0x60)
+[  240.403469] [<c01fdbfc>] (platform_driver_register+0x0/0x60) from [<c01fdc7c>] (platform_driver_probe+0x20/0x70)
+[  240.413816] [<c01fdc5c>] (platform_driver_probe+0x0/0x70) from [<c001b458>] (mc13xxx_rtc_init+0x18/0x24)
+[  240.423406]  r5:c002691c r4:c00267e4
+[  240.427110] [<c001b440>] (mc13xxx_rtc_init+0x0/0x24) from [<c00304c0>] (do_one_initcall+0xa4/0x174)
+[  240.436302] [<c003041c>] (do_one_initcall+0x0/0x174) from [<c00089d4>] (kernel_init+0xa4/0x154)
+[  240.445916] [<c0008930>] (kernel_init+0x0/0x154) from [<c0049c74>] (do_exit+0x0/0x250)
+[  240.453936]  r5:c0008930 r4:00000000
+
+Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
+Index: source/drivers/rtc/rtc-mc13xxx.c
+===================================================================
+--- source.orig/drivers/rtc/rtc-mc13xxx.c	2011-05-07 16:44:37.000000000 +0000
++++ source/drivers/rtc/rtc-mc13xxx.c	2011-05-07 17:15:24.000000000 +0000
+@@ -358,9 +358,14 @@
+ 
+ 	priv->rtc = rtc_device_register(pdev->name,
+ 			&pdev->dev, &mc13xxx_rtc_ops, THIS_MODULE);
++
++	mc13xxx_lock(mc13xxx);
++
+ 	if (IS_ERR(priv->rtc)) {
+ 		ret = PTR_ERR(priv->rtc);
+ 
++		mc13xxx_unlock(mc13xxx);
++
+ 		mc13xxx_irq_free(mc13xxx, MC13XXX_IRQ_TODA, priv);
+ err_alarm_irq_request:
+ 
+@@ -372,12 +377,12 @@
+ 		mc13xxx_irq_free(mc13xxx, MC13XXX_IRQ_RTCRST, priv);
+ err_reset_irq_request:
+ 
++		mc13xxx_unlock(mc13xxx);
++
+ 		platform_set_drvdata(pdev, NULL);
+ 		kfree(priv);
+ 	}
+ 
+-	mc13xxx_unlock(mc13xxx);
+-
+ 	return ret;
+ }
+ 
Index: debian/patches/series/base
===================================================================
--- debian/patches/series/base	(revision 17314)
+++ debian/patches/series/base	(working copy)
@@ -44,3 +44,4 @@
 + bugfix/all/rt2800-disable-powersaving-as-default.patch
 + bugfix/powerpc/powerpc-kexec-Fix-build-failure-on-32-bit-SMP.patch
 + bugfix/all/xhci-hcd-Include-linux-slab.h-in-xhci-pci.c.patch
++ bugfix/arm/rtc_mutex_lockup.patch
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 17314)
+++ debian/changelog	(working copy)
@@ -16,8 +16,13 @@
   * [mips,mipsel] Disabled CONFIG_DRM_NOUVEAU and CONFIG_DRM_RADEON_KMS.
   * [mips/octeon] Disabled CONFIG_HOTPLUG_CPU and CONFIG_PM.
 
- -- maximilian attems <maks@debian.org>  Tue, 01 May 2011 14:36:33 +0100
+  [ Hector Oron ]
+  * rtc-mc13xxx.c: bugfix rtc-mc13xxx.c lockup on armhf.
+    Thanks to Arnaud Patard, Uwe Kleine-König and Vagrant Cascadian.
+    (Closes: #625804)
 
+ -- Hector Oron <zumbi@debian.org>  Sat, 07 May 2011 22:15:47 +0000
+
 linux-2.6 (2.6.39~rc5-1~experimental.1) experimental; urgency=low
 
   * New upstream release candidate  

-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#625804; Package linux-2.6. (Sun, 08 May 2011 15:24:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hector Oron <zumbi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 08 May 2011 15:24:11 GMT) Full text and rfc822 format available.

Message #25 received at 625804@bugs.debian.org (full text, mbox):

From: Hector Oron <zumbi@debian.org>
To: 625804@bugs.debian.org
Subject: Re: Bug#625804: linux-2.6: fix rtc lockups on armhf
Date: Sun, 8 May 2011 16:23:32 +0100
[Message part 1 (text/plain, inline)]
Hi,

On Sun, May 08, 2011 at 01:14:11AM +0100, Hector Oron wrote:
>   Here is a proposed patch against trunk for fixing this bug.
>   Patch was written initial by Arnaud Patard, later changed
>   by Uwe Kleine-König.

I have built a kernel with the following patch and I have been able
to reproduce the lockup. Currently building another kernel with
Arnaud patch to test.


-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#625804; Package linux-2.6. (Sun, 08 May 2011 17:00:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hector Oron <hector.oron@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 08 May 2011 17:00:08 GMT) Full text and rfc822 format available.

Message #30 received at 625804@bugs.debian.org (full text, mbox):

From: Hector Oron <hector.oron@gmail.com>
To: 625804@bugs.debian.org
Subject: Re: Bug#625804: linux-2.6: fix rtc lockups on armhf
Date: Sun, 8 May 2011 17:56:29 +0100
Hi,

2011/5/8 Hector Oron <zumbi@debian.org>:
> Hi,
>
> On Sun, May 08, 2011 at 01:14:11AM +0100, Hector Oron wrote:
>>   Here is a proposed patch against trunk for fixing this bug.
>>   Patch was written initial by Arnaud Patard, later changed
>>   by Uwe Kleine-König.
>
> I have built a kernel with the following patch and I have been able
> to reproduce the lockup. Currently building another kernel with
> Arnaud patch to test.

With Arnaud patch I have not seen the lockup. :-?

Cheers,
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html




Reply sent to Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>:
You have taken responsibility. (Wed, 25 May 2011 15:39:04 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant@debian.org>:
Bug acknowledged by developer. (Wed, 25 May 2011 15:39:04 GMT) Full text and rfc822 format available.

Message #35 received at 625804-done@bugs.debian.org (full text, mbox):

From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
To: Vagrant Cascadian <vagrant@debian.org>
Cc: 625804-done@bugs.debian.org, Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Subject: Re: Bug#625804: rtc/mc13xxx: don't call rtc_device_register with the lock held
Date: Wed, 25 May 2011 17:27:45 +0200
Vagrant Cascadian <vagrant@debian.org> writes:
Version: 2.6.39-1

Hi,
 
>
>   http://patchwork.ozlabs.org/patch/94354/
>
> thanks! i just tested and confirmed that this patch also resolves the issue.

This patch is in 2.6.39 which has landed into unstable so closing the
bug

Arnaud




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 23 Jun 2011 07:32:27 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 03:53:05 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.