Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 01:15, Artem S. Tashkinov wrote: You don't get me - I have *no* VirtualBox (or any proprietary) modules running - but I can reproduce this problem using *the same system running under* VirtualBox in Windows 7 64. It's almost definitely either a USB driver bug or video4linux

Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Borislav Petkov
On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote: The freeze happens on my *host* Linux PC. For an experiment I decided to check if I could reproduce the freeze under a virtual machine - it turns out the Linux kernel running under it also freezes. I know that - but a freeze

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 12:34, Daniel Mack wrote: On 21.10.2012 01:15, Artem S. Tashkinov wrote: You don't get me - I have *no* VirtualBox (or any proprietary) modules running - but I can reproduce this problem using *the same system running under* VirtualBox in Windows 7 64. It's almost

Re: Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Artem S. Tashkinov
On Oct 21, 2012, Borislav Petkov wrote: On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote: The freeze happens on my *host* Linux PC. For an experiment I decided to check if I could reproduce the freeze under a virtual machine - it turns out the Linux kernel running under

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 13:59, Artem S. Tashkinov wrote: On Oct 21, 2012, Borislav Petkov wrote: On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote: The freeze happens on my *host* Linux PC. For an experiment I decided to check if I could reproduce the freeze under a virtual machine -

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 13:59, Artem S. Tashkinov wrote: On Oct 21, 2012, Borislav Petkov wrote: On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote: The freeze happens on my *host* Linux PC. For an experiment I decided to check if I could reproduce the freeze under a virtual machine -

Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Artem S. Tashkinov
On Oct 21, 2012, Daniel Mack wrote: A hint at least. How did you enable the audio record exactly? Can you reproduce this with arecord? What chipset are you on? Please provide both lspci -v and lsusb -v dumps. As I said, I fail to reproduce that issue on any of my machines. All other

Re: was: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
[Cc: alsa-devel] On 21.10.2012 14:30, Artem S. Tashkinov wrote: On Oct 21, 2012, Daniel Mack wrote: A hint at least. How did you enable the audio record exactly? Can you reproduce this with arecord? What chipset are you on? Please provide both lspci -v and lsusb -v dumps. As I said, I

Re: Re: was: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Artem S. Tashkinov
On Oct 21, 2012, Daniel Mack wrote: [Cc: alsa-devel] On 21.10.2012 14:30, Artem S. Tashkinov wrote: On Oct 21, 2012, Daniel Mack wrote: A hint at least. How did you enable the audio record exactly? Can you reproduce this with arecord? What chipset are you on? Please provide

Re: was: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 16:57, Artem S. Tashkinov wrote: On Oct 21, 2012, Daniel Mack wrote: [Cc: alsa-devel] On 21.10.2012 14:30, Artem S. Tashkinov wrote: On Oct 21, 2012, Daniel Mack wrote: A hint at least. How did you enable the audio record exactly? Can you reproduce this with arecord?

Re: Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Alan Stern
On Sun, 21 Oct 2012, Artem S. Tashkinov wrote: What I've found out is that my system crashes *only* when I try to enable usb-audio (from the same webcam) - I still have no idea how to capture a panic message, but I ran while :; do dmesg -c; done in xterm, then I got like thousands of

Re: was: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Alan Stern
On Sun, 21 Oct 2012, Daniel Mack wrote: As the usb list is still in Cc: - Artem's lcpci dump shows that his machine features XHCI controllers. Can anyone think of a relation to this problem? And Artem, is there any way you boot your system on an older machine that only has EHCI ports?

Re: Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Borislav Petkov
On Sun, Oct 21, 2012 at 11:59:36AM +, Artem S. Tashkinov wrote: http://imageshack.us/a/img685/9452/panicz.jpg list_del corruption. prev-next should be ... but was ... Btw, this is one of the debug options I told you to enable. I cannot show you more as I have no serial console to use :(

[PATCH 03/23] em28xx: rename isoc packet number constants and parameters

2012-10-21 Thread Frank Schäfer
Rename EM28XX_NUM_PACKETS to EM28XX_NUM_ISOC_PACKETS and EM28XX_DVB_MAX_PACKETS to EM28XX_DVB_NUM_ISOC_PACKETS to clarify that these values are used only for isoc usb transfers. Also use the term num_packets instead of max_packets, as this is how these values are used and called in struct urb.

[PATCH 04/23] em28xx: rename struct em28xx_usb_isoc_bufs to em28xx_usb_bufs

2012-10-21 Thread Frank Schäfer
It will be used for USB bulk transfers, too. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-core.c |8 drivers/media/usb/em28xx/em28xx.h | 10 +- 2 Dateien geändert, 9 Zeilen hinzugefügt(+), 9 Zeilen entfernt(-) diff

[PATCH 05/23] em28xx: rename struct em28xx_usb_isoc_ctl to em28xx_usb_ctl

2012-10-21 Thread Frank Schäfer
Also rename the corresponding field isoc_ctl in struct em28xx to usb_ctl. We will use this struct for USB bulk transfers, too. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-core.c | 24

[PATCH 06/23] em28xx: remove obsolete #define EM28XX_URB_TIMEOUT

2012-10-21 Thread Frank Schäfer
It isn't used anymore and uses constants which no longer exist. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx.h |4 1 Datei geändert, 4 Zeilen entfernt(-) diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h

[PATCH 07/23] em28xx: update description of em28xx_irq_callback

2012-10-21 Thread Frank Schäfer
em28xx_irq_callback can be used for isoc and bulk transfers. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-core.c |3 ++- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/drivers/media/usb/em28xx/em28xx-core.c

[PATCH 08/23] em28xx: rename function em28xx_uninit_isoc to em28xx_uninit_usb_xfer

2012-10-21 Thread Frank Schäfer
This function will be used to uninitialize USB bulk transfers, too. Also rename the local variable isoc_bufs to usb_bufs. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-cards.c |4 +-- drivers/media/usb/em28xx/em28xx-core.c | 43

[PATCH 09/23] em28xx: create a common function for isoc and bulk URB allocation and setup

2012-10-21 Thread Frank Schäfer
Rename the existing function for isoc transfers em28xx_init_isoc to em28xx_init_usb_xfer and extend it. URB allocation and setup is now done depending on the USB transfer type, which is selected with a new function parameter. Signed-off-by: Frank Schäfer fschaefer@googlemail.com ---

[PATCH 10/23] em28xx: create a common function for isoc and bulk USB transfer initialization

2012-10-21 Thread Frank Schäfer
- rename em28xx_init_isoc to em28xx_init_usb_xfer - add parameter for isoc/bulk transfer selection which is passed to em28xx_alloc_urbs - rename local variable isoc_buf to usb_bufs Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-core.c | 30

[PATCH 10/23] em28xx: create a common function for isoc and bulk USB transfer initialization

2012-10-21 Thread Frank Schäfer
- rename em28xx_init_isoc to em28xx_init_usb_xfer - add parameter for isoc/bulk transfer selection which is passed to em28xx_alloc_urbs - rename local variable isoc_buf to usb_bufs Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-core.c | 30

[PATCH 12/23] em28xx: remove double checks for urb-status == -ENOENT in urb_data_copy functions

2012-10-21 Thread Frank Schäfer
This check is already done in the URB handler em28xx_irq_callback before calling these functions. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-dvb.c |5 + drivers/media/usb/em28xx/em28xx-video.c | 10 ++ 2 Dateien geändert, 3

[PATCH 13/23] em28xx: rename function em28xx_isoc_copy and extend for USB bulk transfers

2012-10-21 Thread Frank Schäfer
The URB data processing for bulk transfers is very similar to what is done with isoc transfers, so create a common function that works with both transfer types based on the existing isoc function. Signed-off-by: Frank Schäfer fschaefer@googlemail.com ---

[PATCH 15/23] em28xx: rename function em28xx_dvb_isoc_copy and extend for USB bulk transfers

2012-10-21 Thread Frank Schäfer
The URB data processing for DVB bulk transfers is very similar to what is done with isoc transfers, so create a common function that works with both transfer types based on the existing isoc function. This patch has been compilation tested only, because I don't have a DVB device ! Signed-off-by:

[PATCH 17/23] em28xx: rename some USB parameter fields in struct em28xx to clarify their role

2012-10-21 Thread Frank Schäfer
Also improve the comments. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-cards.c | 20 +++- drivers/media/usb/em28xx/em28xx-core.c |8 drivers/media/usb/em28xx/em28xx-dvb.c |4 ++--

[PATCH 18/23] em28xx: add fields for analog and DVB USB transfer type selection to struct em28xx

2012-10-21 Thread Frank Schäfer
Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx.h |4 1 Datei geändert, 4 Zeilen hinzugefügt(+) diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h index 8b96413..f013650 100644 ---

[PATCH 11/23] em28xx: clear USB halt/stall condition in em28xx_init_usb_xfer when using bulk transfers

2012-10-21 Thread Frank Schäfer
Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-core.c | 11 +++ 1 Datei geändert, 11 Zeilen hinzugefügt(+) diff --git a/drivers/media/usb/em28xx/em28xx-core.c b/drivers/media/usb/em28xx/em28xx-core.c index d8a8e8b..8b8f783 100644 ---

[PATCH 19/23] em28xx: set USB alternate settings for analog video bulk transfers properly

2012-10-21 Thread Frank Schäfer
Extend function em28xx_set_alternate: - use alternate setting 0 for bulk transfers as default - respect module parameter 'alt'=0 for bulk transfers - set max_packet_size to 512 bytes for bulk transfers Signed-off-by: Frank Schäfer fschaefer@googlemail.com ---

[PATCH 20/23] em28xx: improve USB endpoint logic, also use bulk transfers

2012-10-21 Thread Frank Schäfer
The current enpoint logic ignores all bulk endpoints and uses a fixed mapping between endpint addresses and the supported data stream types (analog/audio/DVB): Ep 0x82, isoc = analog Ep 0x83, isoc = audio Ep 0x84, isoc = DVB Now that the code can also do bulk transfers, the endpoint logic

[PATCH 22/23] em28xx: use common urb data copying function for vbi and non-vbi devices

2012-10-21 Thread Frank Schäfer
em28xx_urb_data_copy_vbi is actually an extended version of em28xx_urb_data_copy. With some minor fixes applied, it can be used for non-vbi-devices, too, without any performance impacts. Tested with a non-VBI device only. Signed-off-by: Frank Schäfer fschaefer@googlemail.com ---

[PATCH 23/23] em28xx: enable VBI-support for em2840 devices

2012-10-21 Thread Frank Schäfer
I just noticed that the eMPIA hardware specification from 02/01/2004 says that the em2840 supports VBI, too. I don't have this device, so this patch is compilation tested only ! Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-core.c |3 ++- 1

[PATCH 21/23] em28xx: add module parameter for selection of the preferred USB transfer type

2012-10-21 Thread Frank Schäfer
By default, isoc transfers are used if possible. With the new module parameter, bulk can be selected as the preferred USB transfer type. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-cards.c |9 +++-- 1 Datei geändert, 7 Zeilen

[PATCH 16/23] em28xx: rename usb debugging module parameter and macro

2012-10-21 Thread Frank Schäfer
Rename module parameter isoc_debug to usb_debug and macro em28xx_isocdbg to em28xx_usb dbg to reflect that they are used for isoc and bulk USB transfers. Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-video.c | 58 +++

[PATCH v2, RESEND] libv4lconvert: clarify the behavior and resulting restrictions of v4lconvert_convert()

2012-10-21 Thread Frank Schäfer
Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- lib/include/libv4lconvert.h | 20 ++-- 1 Datei geändert, 18 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-) diff --git a/lib/include/libv4lconvert.h b/lib/include/libv4lconvert.h index 167b57d..509655e 100644 ---

Re: [PATCH 00/23] em28xx: add support fur USB bulk transfers

2012-10-21 Thread Devin Heitmueller
Hi Frank, On Sun, Oct 21, 2012 at 12:52 PM, Frank Schäfer fschaefer@googlemail.com wrote: This patch series adds support for USB bulk transfers to the em28xx driver. This is a welcome change that some users have been asking about for a while. Patch 1 is a bugfix for the image data

Re: [PATCH 1/2] media: V4L2: add temporary clock helpers

2012-10-21 Thread Sylwester Nawrocki
Hi Guennadi, On 10/20/2012 12:20 AM, Guennadi Liakhovetski wrote: Typical video devices like camera sensors require an external clock source. Many such devices cannot even access their hardware registers without a running clock. These clock sources should be controlled by their consumers.

[PATCH 1/1] v4l: Correct definition of v4l2_buffer.flags related to cache management

2012-10-21 Thread Sakari Ailus
V4L2_BUF_FLAG_NO_CACHE_INVALIDATE and V4L2_BUF_FLAG_NO_CACHE_CLEAN were define incorrectly in the documentation. Fix this by changing the documentation to match reality. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/io.xml |4 ++-- 1 files changed, 2

Re: Re: Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Artem S. Tashkinov
On Oct 21, 2012, Borislav Petkov b...@alien8.de wrote: On Sun, Oct 21, 2012 at 11:59:36AM +, Artem S. Tashkinov wrote: http://imageshack.us/a/img685/9452/panicz.jpg list_del corruption. prev-next should be ... but was ... Btw, this is one of the debug options I told you to

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 21:49, Artem S. Tashkinov wrote: On Oct 21, 2012, Borislav Petkov b...@alien8.de wrote: On Sun, Oct 21, 2012 at 11:59:36AM +, Artem S. Tashkinov wrote: http://imageshack.us/a/img685/9452/panicz.jpg list_del corruption. prev-next should be ... but was ... Btw, this is

cron job: media_tree daily build: WARNINGS

2012-10-21 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Sun Oct 21 19:00:21 CEST 2012 git hash:74df06daf632ce2d321d01cb046004768352efc4 gcc version: i686-linux-gcc

Re: Re: Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Borislav Petkov
On Sun, Oct 21, 2012 at 07:49:01PM +, Artem S. Tashkinov wrote: I ran it this way: while :; do dmesg -c; done | scat /dev/sda11 (yes, straight to a hdd partition to eliminate a FS cache) Well, I'm no fs guy but this should still go through the buffer cache. I think the O_SYNC flag makes

Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Artem S. Tashkinov
Nice. Could you do that again with the patch applied I sent yo some hours ago? That patch was of no help - the system has crashed and I couldn't spot relevant messages. I've no idea what it means. Artem -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 22:43, Artem S. Tashkinov wrote: Nice. Could you do that again with the patch applied I sent yo some hours ago? That patch was of no help - the system has crashed and I couldn't spot relevant messages. I've no idea what it means. The sequence of driver callbacks issued on

[no subject]

2012-10-21 Thread TAN WONG
I am Mr. Tan Wong,I have a business to inform you about, it involve the transfer of funds ($24,500,000,00) contact (tan.wong...@yahoo.com.hk) with your full names. Mr. Tan Wong -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

Re:

2012-10-21 Thread Jens Bauer
FYI: This Tain Wong has been shut down and will not spam us again. Love Jens On Mon, 22 Oct 2012 05:55:20 +0900, TAN WONG wrote: I am Mr. Tan Wong,I have a business to inform you about, it involve the transfer of funds ($24,500,000,00) contact (tan.wong...@yahoo.com.hk) with your full

Re: Buyers Urgently Needed.

2012-10-21 Thread Jens Bauer
Eliminated. Love Jens -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] [media] mx2_camera: fix missing unlock on error in mx2_start_streaming()

2012-10-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing unlock on the error handle path in function mx2_start_streaming(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/media/platform/soc_camera/mx2_camera.c | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH] [media] davinci: vpbe: fix missing unlock on error in vpbe_initialize()

2012-10-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing unlock on the error handling path in function vpbe_initialize(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- no test --- drivers/media/platform/davinci/vpbe.c | 6 -- 1 file changed, 4 insertions(+), 2