Re: drm-devel-kmod-4.16.g20180824 hangs my laptop

Jakob Alvermark <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
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 <[email protected] 
>> <mailto:[email protected]>> 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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.