Cherry G. Mathew <che...@zyx.in> writes:
>>>>>> "Jarle" == Jarle Greipsland <ja...@uninett.no> writes:
> Jarle> Cherry G. Mathew <che...@zyx.in> writes:
> >>>>>>> "Jun" == Jun Ebihara <j...@soum.co.jp> 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