Current-Users archive

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

Re: i915 hangs after 201612251500Z changes



Cherry G. Mathew <cherry%zyx.in@localhost> writes:
>>>>>> "Jun" == Jun Ebihara <jun%soum.co.jp@localhost> writes:
[ ... ]
> 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;
I cannot speak for Jun Ebihara, but this patch made my Lenovo
T400s boot again.  Without this patch it would just reset early
in the boot process, return to the BIOS, and try again.

					-jarle


Home | Main Index | Thread Index | Old Index