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

2012-11-08 Thread Takashi Iwai
At Thu, 8 Nov 2012 10:55:50 -0500 (EST), Alan Stern wrote: > > On Thu, 8 Nov 2012, Takashi Iwai wrote: > > > At Thu, 08 Nov 2012 08:31:35 +0100, > > Daniel Mack wrote: > > (snip) > > > >> We can't simply stop both endpoints in the prepare callback. > > > > > > > > The new function doesn't stop t

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

2012-11-08 Thread Alan Stern
On Thu, 8 Nov 2012, Takashi Iwai wrote: > At Thu, 08 Nov 2012 08:31:35 +0100, > Daniel Mack wrote: > (snip) > > >> We can't simply stop both endpoints in the prepare callback. > > > > > > The new function doesn't stop the stream by itself but it just syncs > > > if the stream is being stopped bef

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

2012-11-08 Thread Takashi Iwai
At Thu, 08 Nov 2012 08:31:35 +0100, Daniel Mack wrote: (snip) > >> We can't simply stop both endpoints in the prepare callback. > > > > The new function doesn't stop the stream by itself but it just syncs > > if the stream is being stopped beforehand. So, it's safe to call it > > there. > > > >

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

2012-11-07 Thread Daniel Mack
On 08.11.2012 07:43, Takashi Iwai wrote: > At Thu, 08 Nov 2012 01:42:59 +0100, > Daniel Mack wrote: >> >> On 07.11.2012 20:19, Takashi Iwai wrote: >>> At Wed, 7 Nov 2012 12:34:43 -0500 (EST), >>> Alan Stern wrote: On Mon, 5 Nov 2012, Christof Meerwald wrote: > BTW, I have been ab

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

2012-11-07 Thread Takashi Iwai
At Wed, 7 Nov 2012 15:37:17 -0500 (EST), Alan Stern wrote: > > On Wed, 7 Nov 2012, Takashi Iwai wrote: > > > > What is the right solution for this problem? > > > > How about the patch below? (It's for 3.6, and won't be applied cleanly > > to 3.7, but easy to adapt.) > > I simplified your patch

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

2012-11-07 Thread Takashi Iwai
At Thu, 08 Nov 2012 01:42:59 +0100, Daniel Mack wrote: > > On 07.11.2012 20:19, Takashi Iwai wrote: > > At Wed, 7 Nov 2012 12:34:43 -0500 (EST), > > Alan Stern wrote: > >> > >> On Mon, 5 Nov 2012, Christof Meerwald wrote: > >> > >>> BTW, I have been able to reproduce the problem on a completely >

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

2012-11-07 Thread Daniel Mack
On 07.11.2012 20:19, Takashi Iwai wrote: > At Wed, 7 Nov 2012 12:34:43 -0500 (EST), > Alan Stern wrote: >> >> On Mon, 5 Nov 2012, Christof Meerwald wrote: >> >>> BTW, I have been able to reproduce the problem on a completely >>> different machine (also running Ubuntu 12.10, but different hardware).

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

2012-11-07 Thread Artem S. Tashkinov
On Nov 8, 2012, Takashi Iwai wrote: > How about the patch below? (It's for 3.6, and won't be applied cleanly > to 3.7, but easy to adapt.) This patch fixes my problem, thank you! You can add me as "Tested by". Artem -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

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

2012-11-07 Thread Christof Meerwald
On Wed, Nov 07, 2012 at 08:19:19PM +0100, Takashi Iwai wrote: > How about the patch below? (It's for 3.6, and won't be applied cleanly > to 3.7, but easy to adapt.) Thanks, that patch seems to fix the problem. Christof -- http://cmeerw.org sip:cmeerw at cmeerw.or

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

2012-11-07 Thread Alan Stern
On Wed, 7 Nov 2012, Takashi Iwai wrote: > > What is the right solution for this problem? > > How about the patch below? (It's for 3.6, and won't be applied cleanly > to 3.7, but easy to adapt.) I simplified your patch a little. This is for 3.7, not 3.6. I verified that it does fix the proble

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

2012-11-07 Thread Takashi Iwai
At Wed, 7 Nov 2012 12:34:43 -0500 (EST), Alan Stern wrote: > > On Mon, 5 Nov 2012, Christof Meerwald wrote: > > > BTW, I have been able to reproduce the problem on a completely > > different machine (also running Ubuntu 12.10, but different hardware). > > The important thing appears to be that th

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

2012-11-07 Thread Alan Stern
On Mon, 5 Nov 2012, Christof Meerwald wrote: > BTW, I have been able to reproduce the problem on a completely > different machine (also running Ubuntu 12.10, but different hardware). > The important thing appears to be that the USB audio device is > connected via a USB 2.0 hub (and then using the

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

2012-11-05 Thread Christof Meerwald
On Sat, Nov 03, 2012 at 03:16:36PM +0100, Daniel Mack wrote: > On 03.11.2012 15:10, Christof Meerwald wrote: > > http://comments.gmane.org/gmane.comp.voip.twinkle/3052 and > > http://pastebin.com/aHGe1S1X for a self-contained C test. > Some questions: > > - Are you seeing the same issue with 3.6.

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

2012-11-03 Thread Sven-Haegar Koch
On Sat, 3 Nov 2012, Daniel Mack wrote: > On 03.11.2012 15:10, Christof Meerwald wrote: > > On Sat, 20 Oct 2012 23:15:17 + (GMT), Artem S. Tashkinov wrote: > >> It's almost definitely either a USB driver bug or video4linux driver bug: > >> > >> I'm CC'ing linux-media and linux-usb mailing lists

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

2012-11-03 Thread Daniel Mack
On 03.11.2012 15:10, Christof Meerwald wrote: > On Sat, 20 Oct 2012 23:15:17 + (GMT), Artem S. Tashkinov wrote: >> It's almost definitely either a USB driver bug or video4linux driver bug: >> >> I'm CC'ing linux-media and linux-usb mailing lists, the problem is described >> here: >> https://lk

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

2012-11-03 Thread Christof Meerwald
On Sat, 20 Oct 2012 23:15:17 + (GMT), Artem S. Tashkinov wrote: > It's almost definitely either a USB driver bug or video4linux driver bug: > > I'm CC'ing linux-media and linux-usb mailing lists, the problem is described > here: > https://lkml.org/lkml/2012/10/20/35 > https://lkml.org/lkml/201

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

2012-10-22 Thread Alan Stern
On Mon, 22 Oct 2012, Artem S. Tashkinov wrote: > OK, here's what the kernel prints with your patch: > > usb 6.1.4: ep 86 list del corruption prev: e5103b54 e5103a94 e51039d4 > > A small delay before I got thousands of list_del corruption messages would > have been nice, but I managed to catch th

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

2012-10-22 Thread Artem S. Tashkinov
On Oct 22, 2012, Alan Stern wrote: > A BUG() at these points would crash the machine hard. And where we > came from doesn't matter; what matters is the values in the pointers. OK, here's what the kernel prints with your patch: usb 6.1.4: ep 86 list del corruption prev: e5103b54 e5103a94 e5103

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

2012-10-22 Thread Alan Stern
On Mon, 22 Oct 2012, Daniel Mack wrote: > On 22.10.2012 17:17, Alan Stern wrote: > > On Sun, 21 Oct 2012, Artem S. Tashkinov wrote: > > > >> dmesg messages up to a crash can be seen here: > >> https://bugzilla.kernel.org/attachment.cgi?id=84221 > > > > The first problem in the log is endpoint l

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

2012-10-22 Thread Daniel Mack
On 22.10.2012 17:17, Alan Stern wrote: > On Sun, 21 Oct 2012, Artem S. Tashkinov wrote: > >> dmesg messages up to a crash can be seen here: >> https://bugzilla.kernel.org/attachment.cgi?id=84221 > > The first problem in the log is endpoint list corruption. Here's a > debugging patch which shou

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

2012-10-22 Thread Alan Stern
On Sun, 21 Oct 2012, Artem S. Tashkinov wrote: > dmesg messages up to a crash can be seen here: > https://bugzilla.kernel.org/attachment.cgi?id=84221 The first problem in the log is endpoint list corruption. Here's a debugging patch which should provide a little more information. Alan Stern

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

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-kernel" in the body of

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 su

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 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, thi

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 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 enabl

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 us

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 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 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

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

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.

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 oth

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 m

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 m

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

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 al

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 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 video4li

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

2012-10-20 Thread Alan Stern
On Sat, 20 Oct 2012, 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 video4l

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

2012-10-20 Thread Artem S. Tashkinov
> On Oct 21, 2012, Borislav Petkov wrote: > > On Sat, Oct 20, 2012 at 11:15:17PM +, Artem S. Tashkinov wrote: > > You don't get me - I have *no* VirtualBox (or any proprietary) modules > > running > > Ok, good. We got that out of the way - I wanted to make sure after you > replied with two o

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

2012-10-20 Thread Borislav Petkov
On Sat, Oct 20, 2012 at 11:15:17PM +, Artem S. Tashkinov wrote: > You don't get me - I have *no* VirtualBox (or any proprietary) modules > running Ok, good. We got that out of the way - I wanted to make sure after you replied with two other possibilities of the system freezing. > - but I can

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

2012-10-20 Thread Artem S. Tashkinov
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 driver bug: I'm CC'ing linux-media and linux-usb maili

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

2012-10-20 Thread Borislav Petkov
On Sat, Oct 20, 2012 at 10:32:28PM +0200, Pavel Machek wrote: > On Sat 2012-10-20 17:41:49, Artem S. Tashkinov wrote: > > On Oct 20, 2012, Borislav Petkov wrote: > > > > > Yeah, your kernel is tainted with a proprietary module (vbox*, etc). Can > > > you reproduce your corruptions (this is what i

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

2012-10-20 Thread Artem S. Tashkinov
Hi, I can only reproduce this panic when my USB webcamera is plugged in - when I click settings in Adobe Flash it sends some commands to my USB webcam using, presumably, Video4Linux API calls which cause a kernel hard crash. Your kernel debug features haven't helped at all, even the virtual machi

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

2012-10-20 Thread Artem S. Tashkinov
On Oct 21, 2012, Borislav Petkov wrote: > Ok, here's what you can try: > > * You say this happens with google chrome. Does it happen if you use > another browser: firefox, etc? > > * Can you build a 64-bit kernel and try the same with it? The 32-bit > userspace should work in compat mode just f

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

2012-10-20 Thread Pavel Machek
On Sat 2012-10-20 17:41:49, Artem S. Tashkinov wrote: > On Oct 20, 2012, Borislav Petkov wrote: > > > Yeah, your kernel is tainted with a proprietary module (vbox*, etc). Can > > you reproduce your corruptions (this is what it looks like) without that > > module? > > Yes, I can reproduce this pa

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

2012-10-20 Thread Borislav Petkov
On Sat, Oct 20, 2012 at 05:41:49PM +, Artem S. Tashkinov wrote: > On Oct 20, 2012, Borislav Petkov wrote: > > > Yeah, your kernel is tainted with a proprietary module (vbox*, etc). Can > > you reproduce your corruptions (this is what it looks like) without that > > module? > > Yes, I can rep

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

2012-10-20 Thread Borislav Petkov
On Sat, Oct 20, 2012 at 12:06:55PM +, Artem S. Tashkinov wrote: > Hello, > > I'm running vanilla Linux 3.6.2 x86 on top of CentOS 6.3 userspace. > > Every time when I enter the chat roulette website, right click anywhere and > choose "Settings", > my PC crashes (with or without NVIDIA drive