Re: [BUG] divide by zero in uvc_video_clock_update, v3.3-rc4

From: Hans Petter Selasky
Date: Mon Feb 20 2012 - 14:26:24 EST


On Monday 20 February 2012 00:41:51 James Hogan wrote:
> Hi,
>
> I just tried v3.3-rc4 on an Acer Aspire One Happy 2 netbook. I happened
> to open the settings dialog box of kopete, which shows a view of the
> webcam. The kernel switched to a text console with a register dump (see
> below), indicating a divide error in uvc_video_clock_update.
>
> The IP is on 7482, a divide, presumably by %r11 (see objdump output below)
> which is 0 in the register dump. It appears to be the div_u64 in
> uvc_video_clock_update().
>
> I haven't tried any other recent kernel versions.
>
> My asm is rusty and I don't really have any time to look further into it.
> Is this enough to go on?
>
> Thanks
> James

Hi,

This is a known issue which has been fixed by:

http://git.linuxtv.org/pinchartl/uvcvideo.git/commit/5c97eb2eb9c45dad8825de7754ceb33699451978

--HPS
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/