Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2011 16:23:49 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        multimedia-list freebsd <freebsd-multimedia@freebsd.org>
Subject:   Re: webcamd regression 0.1.20->0.1.23: recv bulk message failed: -32
Message-ID:  <4DB583F5.4090904@janh.de>
In-Reply-To: <201104242003.25569.hselasky@c2i.net>
References:  <4DAB4E21.3070906@janh.de> <201104241047.57511.hselasky@c2i.net> <4DB4584D.3020104@janh.de> <201104242003.25569.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/24/2011 20:03, Hans Petter Selasky wrote:
> On Sunday 24 April 2011 19:05:17 Jan Henrik Sylvester wrote:
>> On 04/24/2011 10:47, Hans Petter Selasky wrote:
>>> The V4L sources I've used might be a bit out of date. I've refreshed the
>>> onces I have and uploaded a new tarball.
>>
>> Thanks, now your 0.1.25 tarball, which is still not working for me, and
>> my 0.1.24 tarball from revision 1797, which is working for me, are much
>> more similar.
>>
>> Besides the version number, the only difference is which files are
>> contained. You got these files that I have not gotten in my tarball:
>>
>> cx24116.c
>> dummy/compat.h.orig
>> dummy/fcntl.h.orig
> ^^ I've removed these files now.
>> dvb-usb-urb.c
>> stb0899_drv.c
>> v4l2-dev.c
> ^^^ can you send me the diff between your working and non-working tarball off-
> list, and I will check it.

The difference is really only which files are present and which are not.

Your 0.1.25 tarball produces a webcamd that has my issue. Your 0.1.25 
tarball with dvb-usb-urb.c deleted produces a webcamd that does not seem 
to have my issue.

I have compared buildlogs and saw that the only difference is that in 
one case it is compiling 
v4l-dvb/linux/drivers/media/dvb/dvb-usb/dvb-usb-urb.c and in the other 
case is is compiling dvb-usb-urb.c (without the path).

Looking at the difference of the two files, one has the zero pointer 
check in lines 45 to 46 while the other has the stability fix in lines 
54 to 65. Thus, I created dvb-usb-urb.c with both or none of the fixes 
to see which is affecting me.

For me, it does not matter, whether or not the zero pointer check is in 
dvb-usb-urb.c, but if the stability fix is in there, I have my issue, 
without the stability fix, I have no issue.

Can the stability fix be removed or is there a way to correct the 
stability fix that it does not have these side effects for me?

Thanks,
Jan Henrik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB583F5.4090904>