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

Re: [Xen-devel] [Xen-users] pvgrub: Error 9: Unknown boot failure



On 27/09/16 14:09, Sven Köhler wrote:
> Am 27.09.2016 um 14:02 schrieb Juergen Gross:
>> On 27/09/16 13:13, Sven Köhler wrote:
>>> Am 27.09.2016 um 07:31 schrieb Juergen Gross:
>>>> On 27/09/16 00:48, Sven Köhler wrote:
>>>>> Am 26.09.2016 um 07:43 schrieb Juergen Gross:
>>>>>> On 25/09/16 18:04, Sven Köhler wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm experiencing the bug below which was discussed on xen-devel December
>>>>>>> last year buy Ian and Juergen. I'm using xen-pvgrub-4.7.0 on Gentoo.
>>>>>>>
>>>>>>> The bug only seems to occur with the last domU booted on my machine.
>>>>>>> Where do I find a patch that fixes that?
>>>>>>
>>>>>> The issue back in December was fixed by commit
>>>>>> c8eb0ec277ae387e78d685523e0fee633e46f046 which is included in Xen 4.7.
>>>>>> Either gentoo didn't update to the official Xen 4.7 release (including
>>>>>> pvgrub) or you are seeing a new issue.
>>>>>
>>>>> From the looks of it, the Gentoo package is using the grub from the
>>>>> xen-4.7.0 tarball.
>>>>>
>>>>> I downgraded to pvgrub 4.6.3 and the problem went away.
>>>>>
>>>>> So I assume I'm seeing a new issue. How do I debug it?
>>>>
>>>> Interesting. Just tested it on upstream Xen and saw the same problem
>>>> with a rather old guest kernel (3.0 based, xen flavor), while a newer
>>>> kernel (4.1, pvops) is working.
>>>>
>>>> Can you give me some more details about the kernel you are trying to
>>>> boot?
>>>
>>> It's an unmodified 4.4.21 kernel which I compile by hand. The config is
>>> attached. Does that help?
>>
>> Not really. OTOH I think I don't need more help, as I've found a problem
>> in pvgrub. I have a patch which seems to correct the issue. Are you fine
>> with me adding you as the original reporter of the problem in the patch?
> 
> Yes, I'm fine with adding me as the reporter.
> Do you want me to test the patch first?

Sure. The attached patch is for Xen upstream, but I think it should
apply to Xen 4.7, too.


Juergen

Attachment: 0001-pvgrub-fix-crash-when-booting-kernel-with-p2m-list-o.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.