Re: Panic when starting X with Intel KMS

2013-07-29 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I wrote: Post SVN r252653, I have experienced a similar problem but I'm not sure it's related .. This is related to SVN r252653 - reverting it solves the instances of the panic detailed below. The recent modification to amd64 addresses the issue

Re: Panic when starting X with Intel KMS

2013-07-29 Thread Neel Natu
Hi Michael, On Mon, Jul 29, 2013 at 7:05 AM, Michael Butler i...@protected-networks.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I wrote: Post SVN r252653, I have experienced a similar problem but I'm not sure it's related .. This is related to SVN r252653 - reverting it

Re: Panic when starting X with Intel KMS

2013-07-23 Thread Gustau Pérez i Querol
Al 22/07/2013 23:27, En/na Neel Natu ha escrit: Could you apply the following patch to amd64/amd64/pmap.c and see if it fixes the problem: http://people.freebsd.org/~neel/patches/pmap_remove_pages.patch Neel came with another patch:

Re: Panic when starting X with Intel KMS

2013-07-22 Thread Gustau Pérez i Querol
Show me the verbose dmesg, including the i915 driver attach. Will do it tomorrow morning (I'm UTC+1). Here you have the verbose dmesg and the i915 before the panic: https://dl.dropboxusercontent.com/u/2094962/panic_r252653.tar.gz As a blind shot, try to revert r252653.

Re: Panic when starting X with Intel KMS

2013-07-22 Thread Konstantin Belousov
On Mon, Jul 22, 2013 at 12:43:56PM +0200, Gustau P??rez i Querol wrote: As a blind shot, try to revert r252653. r252652 works OK. r252653 panics. What if, instead of reverting r252653, apply the following: diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c index 66f3b0c..78f07f7 100644

Re: Panic when starting X with Intel KMS

2013-07-22 Thread Gustau Pérez i Querol
Al 22/07/2013 13:19, En/na Konstantin Belousov ha escrit: On Mon, Jul 22, 2013 at 12:43:56PM +0200, Gustau P??rez i Querol wrote: As a blind shot, try to revert r252653. r252652 works OK. r252653 panics. What if, instead of reverting r252653, apply the following: diff --git

Re: Panic when starting X with Intel KMS

2013-07-22 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/21/13 03:18, Konstantin Belousov wrote: On Sat, Jul 20, 2013 at 01:20:56PM +0200, Oliver Pinter wrote: On 7/20/13, Gustau P?rez i Querol gpe...@entel.upc.edu wrote: Reading the backtrace I see this: panic: pmap_release: pmap

Re: Panic when starting X with Intel KMS

2013-07-22 Thread Neel Natu
Hi Gustau, On Mon, Jul 22, 2013 at 12:38 PM, Gustau Pérez i Querol gpe...@entel.upc.edu wrote: Al 22/07/2013 13:19, En/na Konstantin Belousov ha escrit: On Mon, Jul 22, 2013 at 12:43:56PM +0200, Gustau P??rez i Querol wrote: As a blind shot, try to revert r252653. r252652 works OK.

Re: Panic when starting X with Intel KMS

2013-07-21 Thread Konstantin Belousov
On Sat, Jul 20, 2013 at 01:20:56PM +0200, Oliver Pinter wrote: On 7/20/13, Gustau P?rez i Querol gpe...@entel.upc.edu wrote: Reading the backtrace I see this: panic: pmap_release: pmap resident count -398580 != 0 which comes from amd64/amd64/pmap.c:1936. I suspect that

Re: Panic when starting X with Intel KMS

2013-07-21 Thread Gustau Pérez i Querol
The issue happened somewhere before the process exit. Try the patch below, the idea is that your overflow count is really big, so the wrong-doer could cause underflow when acting. diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 19be4e0..fcdc6af 100644 ---

Re: Panic when starting X with Intel KMS

2013-07-21 Thread Konstantin Belousov
On Sun, Jul 21, 2013 at 11:31:34AM +0200, Gustau P?rez i Querol wrote: The issue happened somewhere before the process exit. Try the patch below, the idea is that your overflow count is really big, so the wrong-doer could cause underflow when acting. diff --git

Re: Panic when starting X with Intel KMS

2013-07-21 Thread Gustau Pérez i Querol
Al 21/07/2013 20:51, En/na Konstantin Belousov ha escrit: Hi, the assert doesn't happen (that's resident_count is not bigger than count). You can find the complete core at: https://dl.dropboxusercontent.com/u/2094962/core.txt.5 I do not understand what do you mean, it seems

Re: Panic when starting X with Intel KMS

2013-07-21 Thread Andriy Gapon
on 21/07/2013 23:25 Gustau Pérez i Querol said the following: github repo hasn't the svn revision The github repo does have svn revision numbers -- as git notes (google for this term). -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list

Re: Panic when starting X with Intel KMS

2013-07-20 Thread Gustau Pérez i Querol
Al 17/07/2013 21:05, En/na Gustau Pérez i Querol ha escrit: Hi, I'm having panics or hard freezes when starting X with an Intel video card. The machine is able to start old X+twm without problems but when I try gnome3 (in normal or fallback mode, doesn't matter) the machine panics or hard

Re: Panic when starting X with Intel KMS

2013-07-20 Thread Oliver Pinter
On 7/20/13, Gustau Pérez i Querol gpe...@entel.upc.edu wrote: Al 17/07/2013 21:05, En/na Gustau Pérez i Querol ha escrit: Hi, I'm having panics or hard freezes when starting X with an Intel video card. The machine is able to start old X+twm without problems but when I try gnome3 (in

Panic when starting X with Intel KMS

2013-07-17 Thread Gustau Pérez i Querol
Hi, I'm having panics or hard freezes when starting X with an Intel video card. The machine is able to start old X+twm without problems but when I try gnome3 (in normal or fallback mode, doesn't matter) the machine panics or hard freezes. This doesn't happen when running X with

Panic when starting X with Intel KMS

2013-07-17 Thread Gustau Pérez i Querol
Hi, I'm having panics or hard freezes when starting X with an Intel video card. The machine is able to start old X+twm without problems but when I try gnome3 (in normal or fallback mode, doesn't matter) the machine panics or hard freezes. This doesn't happen when running X with