From: Mark Lord <kernel@teksavvy.com>
To: Andy Walls <awalls@radix.net>
Cc: Hans Verkuil <hverkuil@xs4all.nl>,
linux-media@vger.kernel.org, ivtv-devel@ivtvdriver.org
Subject: Re: cx18: Unable to find blank work order form to schedule incoming mailbox ...
Date: Tue, 02 Mar 2010 00:57:49 -0500 [thread overview]
Message-ID: <4B8CA8DD.5030605@teksavvy.com> (raw)
In-Reply-To: <1267493641.4035.17.camel@palomino.walls.org>
On 03/01/10 20:34, Andy Walls wrote:
> On Mon, 2010-03-01 at 11:07 -0500, Mark Lord wrote:
>> I'm using MythTV-0.21-fixes (from svn) on top of Linux-2.6.33 (from kernel.org),
>> with an HVR-1600 tuner card. This card usually works okay (with workarounds for
>> the known analog recording bugs) in both analog and digital modes.
>>
>> Last night, for the first time ever, MythTV chose to record from both the analog
>> and digital sides of the HVR-1600 card at exactly the same times..
>>
>> The kernel driver failed, and neither recording was successful.
>> The only message in /var/log/messages was:
>>
>> Feb 28 19:59:45 duke kernel: cx18-0: Unable to find blank work order form to schedule incoming mailbox command processing
>
>
> This is really odd. It means:
>
> 1. Your machine had a very busy burst of cx18 driver buffer handling
> activity. Stopping a number of different streams, MPEG, VBI, and (DTV)
> TS at nearly the same time could do it
>
> 2. The firmware locked up.
>
> 3. The work handler kernel thread, cx18-0-in, got killed, if that's
> possible, or the processor it was running on got really bogged down.
..
Yeah, it was pretty strange.
I wonder.. the system also has a Hauppauge 950Q USB tuner,
which is also partially controlled by the cx18 driver (I think).
I wonder if perhaps that had anything to do with it?
> If you want to make the problem "just go away" then up this parameter in
> cx18-driver.h:
>
> #define CX18_MAX_IN_WORK_ORDERS (CX18_MAX_FW_MDLS_PER_STREAM + 7)
> to something like
> #define CX18_MAX_IN_WORK_ORDERS (2*CX18_MAX_FW_MDLS_PER_STREAM + 7)
..
Heh.. Yup, that's the first thing I did after looking at the code. :)
Dunno if it'll help or not, but easy enough to do.
And if the cx18 is indeed being used by two cards (HVR-1600 and HVR-950Q),
then perhaps that number does need to be bigger or dynamic (?).
I've since tried to reproduce the failure on purpose, with no luck to date.
Thanks guys!
next prev parent reply other threads:[~2010-03-02 5:57 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 16:07 cx18: Unable to find blank work order form to schedule incoming mailbox Mark Lord
2010-03-02 1:34 ` Andy Walls
2010-03-02 5:57 ` Mark Lord [this message]
2010-03-02 12:40 ` Andy Walls
2010-03-02 15:00 ` Mark Lord
2010-03-03 1:05 ` Andy Walls
2010-03-15 2:48 ` cx18: "missing audio" for analog recordings Mark Lord
2010-03-15 11:51 ` Andy Walls
2010-03-16 4:49 ` Mark Lord
2010-03-16 11:11 ` Andy Walls
2010-04-10 22:28 ` Mark Lord
2010-04-10 22:54 ` Andy Walls
2010-04-11 0:58 ` Andy Walls
2010-04-11 3:21 ` Mark Lord
2010-04-11 4:56 ` Andy Walls
2010-04-11 5:03 ` [ivtv-devel] " Andy Walls
2010-04-11 11:47 ` Andy Walls
2010-04-11 13:24 ` Mark Lord
2010-04-11 19:01 ` Andy Walls
2010-04-11 20:52 ` Mark Lord
2010-04-12 20:08 ` Mark Lord
2010-04-12 21:17 ` Andy Walls
2010-04-13 2:22 ` Mark Lord
2010-04-13 2:30 ` Mark Lord
2010-04-13 2:34 ` Mark Lord
2010-04-13 10:35 ` Andy Walls
2010-04-13 12:42 ` Mark Lord
2010-04-14 1:45 ` Andy Walls
2010-04-14 4:32 ` Mark Lord
2010-04-14 4:34 ` Mark Lord
2010-04-14 22:26 ` Mark Lord
2010-04-15 4:46 ` Andy Walls
2010-04-15 5:16 ` Mark Lord
2010-04-15 14:15 ` Mark Lord
2010-04-17 4:43 ` Andy Walls
2010-04-17 12:09 ` Mark Lord
2010-04-17 13:01 ` Mark Lord
2010-04-17 17:18 ` Andy Walls
2010-04-17 17:03 ` Andy Walls
2010-04-16 12:59 ` Andy Walls
2010-04-17 12:18 ` Mark Lord
2010-04-17 17:37 ` Andy Walls
2010-04-16 13:15 ` Andy Walls
2010-04-16 13:29 ` Andy Walls
2010-04-11 19:49 ` Darren Blaber
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=4B8CA8DD.5030605@teksavvy.com \
--to=kernel@teksavvy.com \
--cc=awalls@radix.net \
--cc=hverkuil@xs4all.nl \
--cc=ivtv-devel@ivtvdriver.org \
--cc=linux-media@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