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

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



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?

> I'll investigate further.
> 
> In case you feel adventurous and want to do some debugging yourself:
> You need to build Xen from the sources. Your scenario includes debugging
> of Xen tools (probably the domain builder in tools/libxc), Mini-OS
> (extras/mini-os-remote) and grub (stubdom/grub-upstream). All paths
> mentioned are in the xen tree, some might be created only during first
> build.
> 
> 
> Juergen
> 
>>>> Once I find a patch to address the issue, I will also forward it to the
>>>> Gentoo maintainers via their bugzilla.
>>>>
>>>>
>>>> Kind Regards,
>>>>   Sven
>>>>
>>>>
>>>> output of xl create -c:
>>>>
>>>>   Booting 'Gentoo'
>>>>
>>>> root (hd0)
>>>>  Filesystem type is ext2fs, using whole disk
>>>> kernel /boot/vmlinuz ro root=/dev/xvda1 rootfstype=ext4
>>>>
>>>> ============= Init TPM Front ================
>>>> Tpmfront:Error Unable to read device/vtpm/0/backend-id during tpmfront
>>>> initialization! error = ENOENT
>>>> Tpmfront:Info Shutting down tpmfront
>>>> pin_table(x) returned 28993
>>>>
>>>> Error 9: Unknown boot failure
>>>>
>>>> Press any key to continue...
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Xen-users mailing list
>>>> Xen-users@xxxxxxxxxxxxx
>>>> https://lists.xen.org/xen-users
>>>>
>>>
>>
> 

Attachment: config-4.4.21
Description: Text document

_______________________________________________
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®.