linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: Johannes Stezenbach <js@linuxtv.org>
Cc: Shuah Khan <shuahkh@osg.samsung.com>,
	Shuah Khan <shuah.kh@samsung.com>,
	linux-media@vger.kernel.org
Subject: Re: em28xx breaks after hibernate
Date: Fri, 26 Sep 2014 09:11:05 -0300	[thread overview]
Message-ID: <20140926091105.24ddf929@recife.lan> (raw)
In-Reply-To: <20140926120233.GA2063@linuxtv.org>

Em Fri, 26 Sep 2014 14:02:33 +0200
Johannes Stezenbach <js@linuxtv.org> escreveu:

> On Fri, Sep 26, 2014 at 08:42:15AM -0300, Mauro Carvalho Chehab wrote:
> > Could you please try this patch (untested):
> > 
> > [media] drxk: load firmware again at resume
> 
> No joy.  I think you need to keep the firmware around
> for reuse after resume instead of requesting it again.

Well, it should be kept with the patch I sent. However, the issue is
that, despite the reset_resume, the device is being removed/reinserted
at the USB hotplug. Perhaps reset_resume on em28xx is returning a
wrong return code.

> 
> [    2.521597] PM: Image loading progress:  80%
> [    2.535627] PM: Image loading progress:  90%
> [    2.552505] PM: Image loading done.
> [    2.553169] PM: Read 107920 kbytes in 0.50 seconds (215.84 MB/s)
> [    2.562310] em2884 #0: Suspending extensions
> [    2.969484] Switched to clocksource tsc
> [    3.792296] ------------[ cut here ]------------
> [    3.794177] WARNING: CPU: 0 PID: 38 at drivers/base/firmware_class.c:1124 _request_firmware+0x205/0x568()
> [    3.796157] Modules linked in:
> [    3.796723] CPU: 0 PID: 38 Comm: kworker/0:1 Not tainted 3.17.0-rc5-00734-g214635f-dirty #84
> [    3.798197] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
> [    3.800121] Workqueue: events request_module_async
> [    3.801115]  0000000000000000 ffff88003dfefb38 ffffffff814bcae8 0000000000000000
> [    3.802533]  ffff88003dfefb70 ffffffff81032d75 ffffffff81320b3c 00000000fffffff5
> [    3.803900]  ffff880039e63de0 ffff88003cfaf880 ffff8800363aa900 ffff88003dfefb80
> [    3.805283] Call Trace:
> [    3.805723]  [<ffffffff814bcae8>] dump_stack+0x4e/0x7a
> [    3.806617]  [<ffffffff81032d75>] warn_slowpath_common+0x7a/0x93
> [    3.807636]  [<ffffffff81320b3c>] ? _request_firmware+0x205/0x568
> [    3.808673]  [<ffffffff81032e32>] warn_slowpath_null+0x15/0x17
> [    3.809638]  [<ffffffff81320b3c>] _request_firmware+0x205/0x568
> [    3.810611]  [<ffffffff81065585>] ? trace_hardirqs_on+0xd/0xf
> [    3.811545]  [<ffffffff81063c2c>] ? lockdep_init_map+0xc4/0x13f
> [    3.812477]  [<ffffffff81320ecf>] request_firmware+0x30/0x42
> [    3.813399]  [<ffffffff813f974f>] drxk_attach+0x546/0x651
> [    3.814233]  [<ffffffff814c22c3>] em28xx_dvb_init.part.3+0xa3e/0x1cdf
> [    3.815235]  [<ffffffff8106555c>] ? trace_hardirqs_on_caller+0x183/0x19f
> [    3.816341]  [<ffffffff81065585>] ? trace_hardirqs_on+0xd/0xf
> [    3.817280]  [<ffffffff814c5b65>] ? mutex_unlock+0x9/0xb
> [    3.818127]  [<ffffffff814c0f70>] ? em28xx_v4l2_init.part.11+0xcbd/0xd04
> [    3.819176]  [<ffffffff814230f4>] em28xx_dvb_init+0x1d/0x1f
> [    3.820078]  [<ffffffff8141cff0>] em28xx_init_extension+0x51/0x67
> [    3.821026]  [<ffffffff8141e5e8>] request_module_async+0x19/0x1b
> [    3.821966]  [<ffffffff8104585c>] process_one_work+0x1d2/0x38a
> [    3.822884]  [<ffffffff810462f0>] worker_thread+0x1f6/0x2a3
> [    3.823752]  [<ffffffff810460fa>] ? rescuer_thread+0x214/0x214
> [    3.824697]  [<ffffffff81049c09>] kthread+0xc7/0xcf
> [    3.825451]  [<ffffffff8125d487>] ? debug_smp_processor_id+0x17/0x19
> [    3.826430]  [<ffffffff8106555c>] ? trace_hardirqs_on_caller+0x183/0x19f
> [    3.827501]  [<ffffffff81049b42>] ? __kthread_parkme+0x62/0x62
> [    3.828449]  [<ffffffff814c866c>] ret_from_fork+0x7c/0xb0
> [    3.829315]  [<ffffffff81049b42>] ? __kthread_parkme+0x62/0x62
> [    3.830228] ---[ end trace 9c556ab09f9d1814 ]---
> [    3.830932] usb 1-1: firmware: dvb-usb-hauppauge-hvr930c-drxk.fw will not be loaded
> [    3.832134] drxk: Could not load firmware file dvb-usb-hauppauge-hvr930c-drxk.fw.
> 
> 
> Johannes

  reply	other threads:[~2014-09-26 12:11 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-25 12:53 em28xx breaks after hibernate Johannes Stezenbach
2014-09-25 13:45 ` Shuah Khan
2014-09-25 14:10   ` Mauro Carvalho Chehab
2014-09-25 15:07     ` Shuah Khan
2014-09-25 16:01   ` Johannes Stezenbach
2014-09-25 17:36     ` Johannes Stezenbach
2014-09-25 18:01       ` Shuah Khan
2014-09-25 17:40     ` Shuah Khan
2014-09-25 18:17       ` Johannes Stezenbach
2014-09-25 18:45         ` Shuah Khan
2014-09-25 19:03           ` Shuah Khan
2014-09-26  7:41             ` Johannes Stezenbach
2014-09-26  8:00           ` Johannes Stezenbach
2014-09-26  8:08             ` Johannes Stezenbach
2014-09-26 10:14               ` Mauro Carvalho Chehab
2014-09-26 11:07                 ` Johannes Stezenbach
2014-09-26 11:42                   ` Mauro Carvalho Chehab
2014-09-26 12:02                     ` Johannes Stezenbach
2014-09-26 12:11                       ` Mauro Carvalho Chehab [this message]
2014-09-26 12:03                     ` Mauro Carvalho Chehab
2014-09-26 12:27                       ` Johannes Stezenbach
2014-09-26 13:12                         ` Mauro Carvalho Chehab
2014-09-26 13:25                           ` Johannes Stezenbach
2014-09-26 14:25                             ` Shuah Khan
2014-09-26 14:25                             ` Johannes Stezenbach
2014-09-26 14:30                               ` Shuah Khan
2014-09-26 15:06                                 ` Johannes Stezenbach
2014-09-26 15:22                                   ` Johannes Stezenbach
2014-09-26 15:43                                     ` Mauro Carvalho Chehab
2014-09-28 10:55                                       ` Johannes Stezenbach
2014-09-28 11:12                                         ` Mauro Carvalho Chehab
2014-09-28 11:54                                           ` Johannes Stezenbach
2014-09-28 12:35                                             ` Mauro Carvalho Chehab
2014-09-28 12:57                                             ` Mauro Carvalho Chehab
2014-09-29  2:38                                             ` Mauro Carvalho Chehab
2014-09-26 15:22                                   ` Shuah Khan
2014-09-26 15:35                                     ` Mauro Carvalho Chehab
2014-09-26 15:40                                     ` Mauro Carvalho Chehab
2014-09-26 15:42                                     ` Johannes Stezenbach
2014-09-26 15:48                                       ` Mauro Carvalho Chehab

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=20140926091105.24ddf929@recife.lan \
    --to=mchehab@osg.samsung.com \
    --cc=js@linuxtv.org \
    --cc=linux-media@vger.kernel.org \
    --cc=shuah.kh@samsung.com \
    --cc=shuahkh@osg.samsung.com \
    /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;
as well as URLs for NNTP newsgroup(s).