From: Alexander Sychev <santucco@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Plan 9 won't boot on Xen 8.0
Date: Mon, 8 Jul 2019 10:51:34 +0300 [thread overview]
Message-ID: <CAPavXpBqi6KM=aPuBxf5cOyePu2wUUZ4VR585QjAZMt8dHH9Rw@mail.gmail.com> (raw)
In-Reply-To: <CAJ1xhMXw=+KTfSmvORd0jnqYMJoFiwLyxAWGjaVdJMRGYxTneQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]
Hi,
Xen now looks for a section with name '__xen_guest' starting from a second
section.
A simple workaround is to make two '__xen_guest' sections (with a small
patch of xenelf.c):
diff -r xen/mkfile xen2/mkfile
105c107,108
< ./xenelf.$cputype $target.elf $target __xen_guest ''$XENELF''
---
> ./xenelf.$cputype $target.elf $target.elf2 __xen_guest ''$XENELF''
> ./xenelf.$cputype $target.elf2 $target __xen_guest ''$XENELF''
diff -r xen/xenelf.c xen2/xenelf.c
131c131,132
< ns = 0; //GETS(&e.shnum);
---
> ns = GETS(&e.shnum);
I run it on Xen 4.10.3
On Fri, Jul 5, 2019 at 9:25 AM Alexander Kapshuk <
alexander.kapshuk@gmail.com> wrote:
> I had Plan 9 running on Xen 7.5. After upgrading to Xen 8.0 Plan 9
> won't boot any more.
> I get a 'No bootable device' message displayed.
>
> The system was previously setup by someone else.
> If I can, I would like to try and make it run on Xen 8.0.
>
> Any tips would be much appreciated.
>
>
--
Best regards,
Alexander
[-- Attachment #2: Type: text/html, Size: 1676 bytes --]
next prev parent reply other threads:[~2019-07-08 7:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-05 6:22 Alexander Kapshuk
2019-07-08 7:51 ` Alexander Sychev [this message]
2019-07-17 18:28 ` Alexander Kapshuk
2019-07-18 9:43 ` Alexander Sychev
2019-07-18 11:13 ` hiro
2019-07-18 11:33 ` Alexander Sychev
2019-07-18 14:12 ` hiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPavXpBqi6KM=aPuBxf5cOyePu2wUUZ4VR585QjAZMt8dHH9Rw@mail.gmail.com' \
--to=santucco@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).