Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i915 hangs after 201612251500Z changes



>>>>> "Jun" == Jun Ebihara <jun%soum.co.jp@localhost> writes:

    Jun> Hi Cherry!
    Jun> From: "Cherry G. Mathew" <cherry%zyx.in@localhost>
    Jun> Subject: Re: i915 hangs after 201612251500Z changes
    Jun> Date: Sun, 08 Jan 2017 13:02:34 +0530

    >> I'm trying to figure out if any of the assumptions that I've made are
    >> drastically different. Does your laptop have a peculiar RAM layout ? 
    >> Do you have an e820 map that can be shared ?

    Jun> boot up debian8 and put /proc/iomem

    Jun> https://github.com/ebijun/NetBSD/blob/master/dmesg/i386/iomem/Acer_AspireONE_ZG8/dmesg
    Jun> https://github.com/ebijun/NetBSD/blob/master/dmesg/i386/iomem/Acer_AspireONE_ZG8/iomem


[...]


Hi - could you try -current - I just checked in a change that may
possibly be triggering your boot problem.

>>>>> "Jarle" == Jarle Greipsland <jarle%uninett.no@localhost> writes:

    Jarle> Cherry G. Mathew <cherry%zyx.in@localhost> writes:
    >>>>>>> "Jun" == Jun Ebihara <jun%soum.co.jp@localhost> writes:
    Jarle> [ ... ]
    >> Does the following patch solve your problem ?
    >> 
    >> -- 
    >> ~cherry
    >> 
    >> --- x86_machdep.c.~1.80.~       2017-01-02 21:20:21.682422476 +0530
    >> +++ x86_machdep.c       2017-01-09 13:20:12.018133390 +0530
    >> @@ -938,7 +938,7 @@
    >> msgbuf_p_seg[msgbuf_p_cnt++].paddr =
    >> ctob(uvm_physseg_get_avail_end(x));
    >> 
    >> /* Now find where the new avail_end is. */
    >> -       avail_end = ctob(uvm_physseg_get_avail_end(x));
    >> +       avail_end = ctob(uvm_physseg_get_highest_frame());
    >> 
    >> if (sz == reqsz)
    >> return;
    Jarle> I cannot speak for Jun Ebihara, but this patch made my Lenovo
    Jarle> T400s boot again.  Without this patch it would just reset early
    Jarle> in the boot process, return to the BIOS, and try again.

There was still an error in the above patch - I checked in the complete
change on -current.

Could you test it and let us know how it goes please ?

-- 
~cherry


Home | Main Index | Thread Index | Old Index