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:
>>>>>> "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 ?
I tried a new -current kernel with x86_machdep.c version 1.81,
and it booted just fine.  Even better than last time -- now also
dmesg could get hold of msgbuf and print out the boot messages.
Excellent work!
					-jarle


Home | Main Index | Thread Index | Old Index