9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Plan 9 won't boot on Xen 8.0
@ 2019-07-05  6:22 Alexander Kapshuk
  2019-07-08  7:51 ` Alexander Sychev
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Kapshuk @ 2019-07-05  6:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Plan 9 won't boot on Xen 8.0
  2019-07-05  6:22 [9fans] Plan 9 won't boot on Xen 8.0 Alexander Kapshuk
@ 2019-07-08  7:51 ` Alexander Sychev
  2019-07-17 18:28   ` Alexander Kapshuk
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Sychev @ 2019-07-08  7:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Plan 9 won't boot on Xen 8.0
  2019-07-08  7:51 ` Alexander Sychev
@ 2019-07-17 18:28   ` Alexander Kapshuk
  2019-07-18  9:43     ` Alexander Sychev
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Kapshuk @ 2019-07-17 18:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Thanks for your response, and apologies for the delay in replying.
I was thinking if it would also be possible to migrate the current
Plan 9 setup that is used with Xen to Qemu.
Thanks.

On Mon, Jul 8, 2019 at 10:53 AM Alexander Sychev <santucco@gmail.com> wrote:
>
> 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Plan 9 won't boot on Xen 8.0
  2019-07-17 18:28   ` Alexander Kapshuk
@ 2019-07-18  9:43     ` Alexander Sychev
  2019-07-18 11:13       ` hiro
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Sychev @ 2019-07-18  9:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]

You are welcome, i hope it helps.
Can i ask, why do you want to migrate from Xen to Qemu?
I am triyint to do the opposite, to use Xen only without any part of Qemu.
Some time ago i made support of Xen keyboard and framebuffer, and full
Plan9 was working in an  X session.
But since Xen 4.10.x the framebuffer support stoped to work, i don't know
why, it seems only VNC is supported now.
But Xen framebuffer uses Qemu, so i was  anyway going to reimplement the
graphic output via DRM.
For the moment i can't say when i finish it.


On Wed, Jul 17, 2019 at 9:31 PM Alexander Kapshuk <
alexander.kapshuk@gmail.com> wrote:

> Thanks for your response, and apologies for the delay in replying.
> I was thinking if it would also be possible to migrate the current
> Plan 9 setup that is used with Xen to Qemu.
> Thanks.
>
> On Mon, Jul 8, 2019 at 10:53 AM Alexander Sychev <santucco@gmail.com>
> wrote:
> >
> > 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
>
>

--
Best regards,
  Alexander

[-- Attachment #2: Type: text/html, Size: 3069 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Plan 9 won't boot on Xen 8.0
  2019-07-18  9:43     ` Alexander Sychev
@ 2019-07-18 11:13       ` hiro
  2019-07-18 11:33         ` Alexander Sychev
  0 siblings, 1 reply; 7+ messages in thread
From: hiro @ 2019-07-18 11:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Plan9 was working in an  X session.
> But since Xen 4.10.x the framebuffer support stoped to work, i don't know
> why, it seems only VNC is supported now.
> But Xen framebuffer uses Qemu, so i was  anyway going to reimplement the
> graphic output via DRM.

why not use drawterm instead?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Plan 9 won't boot on Xen 8.0
  2019-07-18 11:13       ` hiro
@ 2019-07-18 11:33         ` Alexander Sychev
  2019-07-18 14:12           ` hiro
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Sychev @ 2019-07-18 11:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

As usual for me, i have longterm plans for that usecase :-)
drawterm supposes one Plan9 machine and one machine with any other OS +
drawterm.
I would like to have Plan9 in Xen with a support of peripherals as much as
possible, and without X.
Linux (or something similar) has to be minimal Dom0


On Thu, Jul 18, 2019 at 2:14 PM hiro <23hiro@gmail.com> wrote:

> > Plan9 was working in an  X session.
> > But since Xen 4.10.x the framebuffer support stoped to work, i don't know
> > why, it seems only VNC is supported now.
> > But Xen framebuffer uses Qemu, so i was  anyway going to reimplement the
> > graphic output via DRM.
>
> why not use drawterm instead?
>
>

--
Best regards,
  Alexander

[-- Attachment #2: Type: text/html, Size: 1187 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Plan 9 won't boot on Xen 8.0
  2019-07-18 11:33         ` Alexander Sychev
@ 2019-07-18 14:12           ` hiro
  0 siblings, 0 replies; 7+ messages in thread
From: hiro @ 2019-07-18 14:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

avoiding X sounds great. but i guess then it's probably a lot of work.
unless you just go native! :)



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-18 14:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05  6:22 [9fans] Plan 9 won't boot on Xen 8.0 Alexander Kapshuk
2019-07-08  7:51 ` Alexander Sychev
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

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).