Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2013 13:20:56 +0200
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        =?ISO-8859-1?Q?Gustau_P=E9rez_i_Querol?= <gperez@entel.upc.edu>
Cc:        freebsd-current@freebsd.org, kib@freebsd.org
Subject:   Re: Panic when starting X with Intel KMS
Message-ID:  <CAPjTQNG7CBYNMQ4yitXv3Wy81YMk-osqcSH=BB1=HjsOqweszw@mail.gmail.com>
In-Reply-To: <51EA5166.4020508@entel.upc.edu>
References:  <51E6EB0A.2060407@entel.upc.edu> <51EA5166.4020508@entel.upc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/20/13, Gustau P=E9rez i Querol <gperez@entel.upc.edu> wrote:
> Al 17/07/2013 21:05, En/na Gustau P=E9rez 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 freezes.
>>
>>    This doesn't happen when running X with vesa. With vesa the gnome
>> is able to start in fallback (no composition) mode. Also, an old i386
>> with an nvidia card is able to run that gnome3 with composition so I'd
>> say it has to do with the intel card.
>>
>>    These are the specs of the machine:
>>
>>      FreeBSD 10.0-CURRENT #4 r+3dc57aa: Wed Jul 17 15:13:07 CEST 2013
>>      root@portgus:/usr/obj/usr/src/sys/CUSTOM amd64
>>      FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
>>      RAM: 8GB
>>      Video Card: Intel chipid=3D0x00468086
>>
>>    The debugging knobs in the kernel config are there. I can also
>> confirm that I can break to the debugger with CTRL+ALT+ESC before
>> starting X. The world was build without debug symbols.
>>
>>    Because the machine runs with an Intel card, I had to use my $work
>> dockstation to obtain a serial port and do the debug via serial port
>> with another machine.
>>
>>   When starting X, either the machine freezes hard (and so no
>> CTRL+ALT+ESC) or the machine panics. It has never executed X without
>> panics or freezes.
>>
>>    I was able to obtain a core dump, the results are at:
>>
>>         https://dl.dropboxusercontent.com/u/2094962/core.txt.4
>>
>>    I was unable to dive any further because the dump only shows the
>> kernel side of things. The bt only seems to show the kernel side and
>> the user side of things seems to be corrupt.
>>
>>    Any other info I can obtain from the machine in the moment of the
>> panic, let me know. I can easy do the debug via serial port.
>>
>>    Gus
>>
>
>     Reading the backtrace I see this:
>
>           panic: pmap_release: pmap resident count -398580 !=3D 0
>
>     which comes from amd64/amd64/pmap.c:1936. I suspect that
> pmap->pm_stats.resident_count being negative is a bug.
>
>     Can this be caused by a userspace process? If that's possible, any
> idea why I get a corrupted stack an thus I'm not able to find the root
> of the problem.

Added kib@ to CC.

>
>     G.
>
>
> --
>     Salut i for=E7a,
>
>     Gustau
>
> -------------------------------------------------------------------------=
--
> Prou top-posting :	http://ca.wikipedia.org/wiki/Top-posting
> Stop top-posting :	http://en.wikipedia.org/wiki/Posting_style=09
>
> O O O Gustau P=E9rez i Querol
> O O O Unitat de Gesti=F3 dels departaments
> O O O Matem=E0tica Aplicada IV i Enginyeria Telem=E0tica
>
>        Universitat Polit=E8cnica de Catalunya
>        Edifici C3 - Despatx S101-B
>   UPC  Campus Nord UPC
>        C/ Jordi Girona, 1-3
>        08034 - Barcelona
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPjTQNG7CBYNMQ4yitXv3Wy81YMk-osqcSH=BB1=HjsOqweszw>