Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 14:22:23 +0200
From:      Jakob Alvermark <jakob@alvermark.net>
To:        Johannes Lundberg <johalun0@gmail.com>
Cc:        Niclas Zeising <zeising+freebsd@daemonic.se>, x11@freebsd.org
Subject:   Re: drm-devel-kmod-4.16.g20180824 hangs my laptop
Message-ID:  <07de3211-6c67-9b1c-5f96-e77f8d49248d@alvermark.net>
In-Reply-To: <7c8d6ce8-4435-eec8-4b69-574354ddb0ad@alvermark.net>
References:  <4c80c55c-fa61-b5cf-8720-0b5317763841@alvermark.net> <86zhwuc3rt.fsf@gmail.com> <9f829bf0-e2dd-49ab-ebc6-11a472888c2b@daemonic.se> <db9783e6-6881-a329-c6ae-20219d0ac04f@alvermark.net> <c863eaed-63ae-32f9-cbc5-09fa54b8f33a@alvermark.net> <CAECmPwtTDTuZNLi-B9yu7CwjOPP6K_7=vdi1v%2BME7tyDb7XDJA@mail.gmail.com> <7c8d6ce8-4435-eec8-4b69-574354ddb0ad@alvermark.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/14/18 9:03 PM, Jakob Alvermark wrote:
> On 9/14/18 11:30 AM, Johannes Lundberg wrote:
>>
>>
>> On Thu, Sep 13, 2018 at 4:37 PM Jakob Alvermark <jakob@alvermark.net 
>> <mailto:jakob@alvermark.net>> wrote:
>>
>>     On 9/6/18 1:25 PM, Jakob Alvermark wrote:
>>     > On 9/6/18 12:45 PM, Niclas Zeising wrote:
>>     >> On 09/06/18 12:35, Johannes Lundberg wrote:
>>     >>>
>>     >>> Jakob Alvermark writes:
>>     >>>
>>     >>>> Hi,
>>     >>>>
>>     >>>>
>>     >>>> When I updated to drm-devel-kmod-4.16.g20180824 my laptop 
>> hangs.
>>     >>>> Previous version of drm-devel-kmod worked.
>>     >>>>
>>     >>>> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
>>     >>>>
>>     >>>> When it boots and the modules load the screen goes blank
>>     (backlight
>>     >>>> still on) and the machine is totally non-responsive.
>>     >>>>
>>     >>>> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz
>>     K8-class
>>     >>>> CPU)
>>     >>>>
>>     >>>> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025
>>     chip=0x0f318086
>>     >>>> rev=0x0e hdr=0x00
>>     >>>>    vendor = 'Intel Corporation'
>>     >>>>    device = 'Atom Processor Z36xxx/Z37xxx Series Graphics &
>>     Display'
>>     >>>>    class = display
>>     >>>>    subclass = VGA
>>     >>>>
>>     >>>
>>     >>> Hi
>>     >>>
>>     >>> Did you update the kernel as well?
>>     >>>
>>     >>> I think this is due to a change in HEAD. You need to wait until
>>     >>> the binary packages have been updated with a new build or
>>     build drm
>>     >>> drivers from ports/source with the new head in /usr/src.
>>     >>>
>>     >>> This would be the same for stable/next as well.
>>     >>
>>     >> Which versions of FreeBSD and of the -devel port were the last
>>     ones
>>     >> that worked?  What happens if you downgrade the port to that
>>     version,
>>     >> but keep the same version of FreeBSD base as is failing?
>>     >
>>     >
>>     > Did some further testing:
>>     >
>>     > drm-devel-kmod-4.16.g20180822 does not work. Same thing as above,
>>     > blank screen and hang.
>>     >
>>     > drm-devel-kmod-4.15.g20180802 works.
>>     >
>>     > I am now at r338488
>>
>>
>>     Another thing I have noticed:
>>
>>     With drm-devel-kmod-4.15.g20180802 my machine hangs after a while,
>>     around 24 hours. If I leave it on overnight it is usually is hung 
>> the
>>     next day.
>>
>>     Black screen an no response to anything, keyboard or power button. I
>>     have to power off hard.
>>
>>     This doesn't seem to happen with drm-next-kmod-4.11.g20180822.
>>
>> Thanks for reporting. I think there's a memory leak affecting all 
>> drivers in drm-devel-kmod.
>
>
> I was guessing it was a memory leak.
>
> I will stay on drm-next-kmod-4.11.g20180822 for now, but I will be 
> happy to test anything if requested.


On request from Niclas, I tried to get a dump with 
drm-devel-kmod-4.16.g20180824 on r339036 but it does not give me a dump.

Manually triggering a dump with 'sysctl debug.kdb.panic=1' works fine.


Jakob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07de3211-6c67-9b1c-5f96-e77f8d49248d>