mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jörg-Volker Peetz" <jvpeetz@web.de>
To: linux-kernel@vger.kernel.org
Cc: 0@plane.gmane.org, 0@plane.gmane.org, 0@plane.gmane.org
Cc: 0@plane.gmane.org, 0@plane.gmane.org, linux-kernel@vger.kernel.org
Cc: 0@plane.gmane.org, 0@plane.gmane.org, linux-kernel@vger.kernel.org
Subject: Re: Linux 3.4 released
Date: Wed, 23 May 2012 21:56:36 +0200	[thread overview]
Message-ID: <4FBD40F4.4090201@web.de> (raw)
In-Reply-To: <20120523182457.GD18143@google.com>

Tejun Heo wrote, on 05/23/12 20:24:
> Hello, Jörg-Volker.
> 
> Please always use reply-to-all.
> 
> On Tue, May 22, 2012 at 09:50:10PM +0200, Jörg-Volker Peetz wrote:
>> no, changing to  printk(KERN_CRIT "XXX: ...", ...)  in kernel/workqueue.c didn't
>> print anything I could read. Would it appear before the "panic screen"? But I'm
>> not able to scroll back.
>> The Panic screen starts with
> 
> It should appear right above BUG:.  Can you please try the following
> instead?
> 
> Thanks.
> 
> diff --git a/kernel/workqueue.c b/kernel/workqueue.c
> index 5abf42f..57c33ef 100644
> --- a/kernel/workqueue.c
> +++ b/kernel/workqueue.c
> @@ -1096,10 +1096,18 @@ queue_work_on(int cpu, struct workqueue_struct *wq, struct work_struct *work)
>  }
>  EXPORT_SYMBOL_GPL(queue_work_on);
>  
> +#include <linux/uaccess.h>
>  static void delayed_work_timer_fn(unsigned long __data)
>  {
>  	struct delayed_work *dwork = (struct delayed_work *)__data;
>  	struct cpu_workqueue_struct *cwq = get_work_cwq(&dwork->work);
> +	unsigned long v;
> +
> +	if (probe_kernel_read(&v, &cwq->wq, sizeof(v))) {
> +		printk(KERN_CRIT "XXX delayed_work_timer_fn: cwq %p, fn=%pf\n",
> +		       cwq, dwork->work.func);
> +		return;
> +	}
>  
>  	__queue_work(smp_processor_id(), cwq->wq, &dwork->work);
>  }

Hello Tejun,

thank you for bearing with me. I applied this patch. When starting "guvcvideo"
now, the computer seems to work normally, i.e. this program shows the view from
the built-in USB web-cam on the screen. In the kernel log file it says:

May 23 21:32:33 hostname kernel: XXX delayed_work_timer_fn: cwq
(null), fn=hdmi_repoll_eld

(without line-break).

By the way, don't know if this is related, I have a phenomenon with a spurious
interrupt with every linux version I've used before on this notebook. Half a
minute after starting the system the computer produces approx. 220 lines like

... kernel: hda-intel: spurious response 0x0:0x0, last cmd=0x170503

Now with 3.4.0, I see an additional message right before (the minute before) the
"XXX ..." line:

...kernel: hda_intel: azx_get_response timeout, switching to single_cmd mode:
last cmd=0x003f0900

-- 
Best regards,
Jörg-Volker.



  reply	other threads:[~2012-05-23 19:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-21  0:00 Linus Torvalds
2012-05-21 11:38 ` Josh Boyer
2012-05-21 15:20   ` Linus Torvalds
2012-05-21 16:41     ` Josh Boyer
2012-05-21 18:04       ` Tobias Klausmann
2012-05-22 15:30 ` Jörg-Volker Peetz
2012-05-22 15:53   ` Tejun Heo
2012-05-22 16:52     ` Jörg-Volker Peetz
2012-05-22 17:03       ` Tejun Heo
2012-05-22 18:26         ` Jörg-Volker Peetz
2012-05-22 18:35           ` Tejun Heo
2012-05-22 19:50             ` Jörg-Volker Peetz
2012-05-23  6:34               ` Yong Zhang
2012-05-23 12:33                 ` Jörg-Volker Peetz
2012-05-23 18:24               ` Tejun Heo
2012-05-23 19:56                 ` Jörg-Volker Peetz [this message]
2012-05-23 20:26                   ` Tejun Heo
2012-05-25  7:25                     ` Takashi Iwai
2012-05-25 15:33                       ` Jörg-Volker Peetz
2012-05-25 16:06                         ` Takashi Iwai
2012-05-25 18:41                           ` Jörg-Volker Peetz
2012-05-27 13:03                             ` Jörg-Volker Peetz
2012-05-28  5:16                               ` Takashi Iwai
2012-06-06 11:11                                 ` freeze hard-lock with 3.5-rc1 with dynpm for radeon GPU [was Re: Linux 3.4 released] Jörg-Volker Peetz
2012-08-09  6:47                                 ` 3.5 kernel NULL pointer dereference net_tx_action Jörg-Volker Peetz
2012-08-10  8:45                                   ` Jörg-Volker Peetz
2012-05-28  5:16                               ` Linux 3.4 released Takashi Iwai
2012-05-25 16:06                         ` Takashi Iwai

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=4FBD40F4.4090201@web.de \
    --to=jvpeetz@web.de \
    --cc=0@plane.gmane.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome