All of lore.kernel.org
 help / color / mirror / Atom feed
* State of Stubdomains on NetBSD
@ 2013-02-07 10:56 tech mailinglists
  2013-02-07 11:03 ` Samuel Thibault
  2013-02-07 11:05 ` [Xen-users] " Ian Campbell
  0 siblings, 2 replies; 12+ messages in thread
From: tech mailinglists @ 2013-02-07 10:56 UTC (permalink / raw)
  To: xen-users, xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 248 bytes --]

Hello all,

I read in the wiki that stubdomains aren't support on NetBSD. Will subdoms
be supported on NetBSD? Is someone working on that topic actually?

On the NetBSD Xen mailinglist I got no reply. Hope that someone could help
me.

Best Regards

[-- Attachment #1.2: Type: text/html, Size: 331 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

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

* Re: State of Stubdomains on NetBSD
  2013-02-07 10:56 State of Stubdomains on NetBSD tech mailinglists
@ 2013-02-07 11:03 ` Samuel Thibault
  2013-02-07 12:14   ` Samuel Thibault
  2013-05-08 10:37   ` Christoph Egger
  2013-02-07 11:05 ` [Xen-users] " Ian Campbell
  1 sibling, 2 replies; 12+ messages in thread
From: Samuel Thibault @ 2013-02-07 11:03 UTC (permalink / raw)
  To: tech mailinglists; +Cc: xen-users, xen-devel@lists.xen.org

Hello,

tech mailinglists, le Thu 07 Feb 2013 11:56:39 +0100, a écrit :
> I read in the wiki that stubdomains aren't support on NetBSD. Will subdoms be
> supported on NetBSD? Is someone working on that topic actually?

I see no reason why it should be hard to do it, so it should be just a
matter of someone with a NetBSD box to just try and fix the few missing
bits.

Samuel

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

* Re: [Xen-users] State of Stubdomains on NetBSD
  2013-02-07 10:56 State of Stubdomains on NetBSD tech mailinglists
  2013-02-07 11:03 ` Samuel Thibault
@ 2013-02-07 11:05 ` Ian Campbell
  1 sibling, 0 replies; 12+ messages in thread
From: Ian Campbell @ 2013-02-07 11:05 UTC (permalink / raw)
  To: tech mailinglists; +Cc: xen-users

-devel to bcc.

On Thu, 2013-02-07 at 10:56 +0000, tech mailinglists wrote:

> I read in the wiki that stubdomains aren't support on NetBSD. Will
> subdoms be supported on NetBSD? Is someone working on that topic
> actually?

I don't follow NetBSD closely but AFAIK while you can't build a stubdom
on NetBSD stubdoms images built elsewhere should work.

Ian.

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

* Re: State of Stubdomains on NetBSD
  2013-02-07 11:03 ` Samuel Thibault
@ 2013-02-07 12:14   ` Samuel Thibault
  2013-02-07 12:25     ` Roger Pau Monné
  2013-05-08 10:37   ` Christoph Egger
  1 sibling, 1 reply; 12+ messages in thread
From: Samuel Thibault @ 2013-02-07 12:14 UTC (permalink / raw)
  To: tech mailinglists, xen-users, xen-devel@lists.xen.org

Samuel Thibault, le Thu 07 Feb 2013 12:03:47 +0100, a écrit :
> tech mailinglists, le Thu 07 Feb 2013 11:56:39 +0100, a écrit :
> > I read in the wiki that stubdomains aren't support on NetBSD. Will subdoms be
> > supported on NetBSD? Is someone working on that topic actually?
> 
> I see no reason why it should be hard to do it,

Except that you need a gcc compiler which is able to build mini-os &
such, but I guess this is already the case?  I see that there is already
a -U __FreeBSD__ in the stubdom/Makefile, so it looks like somebody has
already given a try on FreeBSD, and NetBSD shouldn't be very far.

Samuel

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

* Re: State of Stubdomains on NetBSD
  2013-02-07 12:14   ` Samuel Thibault
@ 2013-02-07 12:25     ` Roger Pau Monné
  2013-02-07 12:28       ` tech mailinglists
  2013-02-07 12:28       ` Samuel Thibault
  0 siblings, 2 replies; 12+ messages in thread
From: Roger Pau Monné @ 2013-02-07 12:25 UTC (permalink / raw)
  To: Samuel Thibault, tech mailinglists, xen-users,
	xen-devel@lists.xen.org

On 07/02/13 13:14, Samuel Thibault wrote:
> Samuel Thibault, le Thu 07 Feb 2013 12:03:47 +0100, a écrit :
>> tech mailinglists, le Thu 07 Feb 2013 11:56:39 +0100, a écrit :
>>> I read in the wiki that stubdomains aren't support on NetBSD. Will subdoms be
>>> supported on NetBSD? Is someone working on that topic actually?
>>
>> I see no reason why it should be hard to do it,
> 
> Except that you need a gcc compiler which is able to build mini-os &
> such, but I guess this is already the case?  I see that there is already
> a -U __FreeBSD__ in the stubdom/Makefile, so it looks like somebody has
> already given a try on FreeBSD, and NetBSD shouldn't be very far.

I've given it a look some time ago, but the build of newlib (if I
remember correctly) had dependencies on a bunch of Linux header files
which are not present on NetBSD. I guess a solution would be to ship all
those necessary headers with stubdoms, and use them when needed, but I'm
afraid that will probably crash with headers already present in NetBSD.

Another (and much simpler option) is to compile the stubdomains on a
Linux system and then copy them to your NetBSD system (or fetch them
from a packaged version of Xen from a Linux distro).

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

* Re: State of Stubdomains on NetBSD
  2013-02-07 12:25     ` Roger Pau Monné
@ 2013-02-07 12:28       ` tech mailinglists
  2013-02-07 12:31         ` Samuel Thibault
  2013-02-07 12:28       ` Samuel Thibault
  1 sibling, 1 reply; 12+ messages in thread
From: tech mailinglists @ 2013-02-07 12:28 UTC (permalink / raw)
  To: Roger Pau Monné; +Cc: Samuel Thibault, xen-devel@lists.xen.org, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 1516 bytes --]

Ok, the building will be no problem to do this on a Linux system. But all
is given in the NetBSD Dom0 kernel and Xen to run Stubdoms on NetBSD am I
right?

Best Regards


2013/2/7 Roger Pau Monné <roger.pau@citrix.com>

> On 07/02/13 13:14, Samuel Thibault wrote:
> > Samuel Thibault, le Thu 07 Feb 2013 12:03:47 +0100, a écrit :
> >> tech mailinglists, le Thu 07 Feb 2013 11:56:39 +0100, a écrit :
> >>> I read in the wiki that stubdomains aren't support on NetBSD. Will
> subdoms be
> >>> supported on NetBSD? Is someone working on that topic actually?
> >>
> >> I see no reason why it should be hard to do it,
> >
> > Except that you need a gcc compiler which is able to build mini-os &
> > such, but I guess this is already the case?  I see that there is already
> > a -U __FreeBSD__ in the stubdom/Makefile, so it looks like somebody has
> > already given a try on FreeBSD, and NetBSD shouldn't be very far.
>
> I've given it a look some time ago, but the build of newlib (if I
> remember correctly) had dependencies on a bunch of Linux header files
> which are not present on NetBSD. I guess a solution would be to ship all
> those necessary headers with stubdoms, and use them when needed, but I'm
> afraid that will probably crash with headers already present in NetBSD.
>
> Another (and much simpler option) is to compile the stubdomains on a
> Linux system and then copy them to your NetBSD system (or fetch them
> from a packaged version of Xen from a Linux distro).
>
>

[-- Attachment #1.2: Type: text/html, Size: 1984 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

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

* Re: State of Stubdomains on NetBSD
  2013-02-07 12:25     ` Roger Pau Monné
  2013-02-07 12:28       ` tech mailinglists
@ 2013-02-07 12:28       ` Samuel Thibault
  1 sibling, 0 replies; 12+ messages in thread
From: Samuel Thibault @ 2013-02-07 12:28 UTC (permalink / raw)
  To: Roger Pau Monné
  Cc: tech mailinglists, xen-users, xen-devel@lists.xen.org

Roger Pau Monné, le Thu 07 Feb 2013 13:25:04 +0100, a écrit :
> the build of newlib (if I remember correctly) had dependencies on a
> bunch of Linux header files which are not present on NetBSD.

Ah?  I don't see why newlib should fetch such header, since we configure
it with target=arch-xen-elf, it's not supposed to assume anything
linuxish.

> Another (and much simpler option) is to compile the stubdomains on a
> Linux system and then copy them to your NetBSD system (or fetch them
> from a packaged version of Xen from a Linux distro).

Yes, this should just work.

Samuel

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

* Re: State of Stubdomains on NetBSD
  2013-02-07 12:28       ` tech mailinglists
@ 2013-02-07 12:31         ` Samuel Thibault
  0 siblings, 0 replies; 12+ messages in thread
From: Samuel Thibault @ 2013-02-07 12:31 UTC (permalink / raw)
  To: tech mailinglists
  Cc: xen-users, xen-devel@lists.xen.org, Roger Pau Monné

tech mailinglists, le Thu 07 Feb 2013 13:28:37 +0100, a écrit :
> Ok, the building will be no problem to do this on a Linux system. But all is
> given in the NetBSD Dom0 kernel and Xen to run Stubdoms on NetBSD am I right?

Dom0 is not really involved when using a stubdom, so be it Linux or
NetBSD should not matter.

Samuel

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

* Re: State of Stubdomains on NetBSD
  2013-02-07 11:03 ` Samuel Thibault
  2013-02-07 12:14   ` Samuel Thibault
@ 2013-05-08 10:37   ` Christoph Egger
  2013-05-08 15:20     ` Samuel Thibault
  1 sibling, 1 reply; 12+ messages in thread
From: Christoph Egger @ 2013-05-08 10:37 UTC (permalink / raw)
  To: Samuel Thibault, tech mailinglists, xen-devel@lists.xen.org

On 07.02.13 12:03, Samuel Thibault wrote:
> Hello,
> 
> tech mailinglists, le Thu 07 Feb 2013 11:56:39 +0100, a écrit :
>> I read in the wiki that stubdomains aren't support on NetBSD. Will subdoms be
>> supported on NetBSD? Is someone working on that topic actually?
> 
> I see no reason why it should be hard to do it, so it should be just a
> matter of someone with a NetBSD box to just try and fix the few missing
> bits.

It fails to build with 'stddef.h: No such file or directory'.
stddef.h is in /usr/include/ which is not part of the search-path.

Christoph

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

* Re: State of Stubdomains on NetBSD
  2013-05-08 10:37   ` Christoph Egger
@ 2013-05-08 15:20     ` Samuel Thibault
  2013-05-08 15:27       ` Egger, Christoph
  0 siblings, 1 reply; 12+ messages in thread
From: Samuel Thibault @ 2013-05-08 15:20 UTC (permalink / raw)
  To: Christoph Egger; +Cc: tech mailinglists, xen-devel@lists.xen.org

Christoph Egger, le Wed 08 May 2013 12:37:57 +0200, a écrit :
> On 07.02.13 12:03, Samuel Thibault wrote:
> > Hello,
> > 
> > tech mailinglists, le Thu 07 Feb 2013 11:56:39 +0100, a écrit :
> >> I read in the wiki that stubdomains aren't support on NetBSD. Will subdoms be
> >> supported on NetBSD? Is someone working on that topic actually?
> > 
> > I see no reason why it should be hard to do it, so it should be just a
> > matter of someone with a NetBSD box to just try and fix the few missing
> > bits.
> 
> It fails to build with 'stddef.h: No such file or directory'.
> stddef.h is in /usr/include/ which is not part of the search-path.

This is supposed to be coming from

GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p')
TARGET_CPPFLAGS += -isystem $(GCC_INSTALL)include

Samuel

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

* Re: State of Stubdomains on NetBSD
  2013-05-08 15:20     ` Samuel Thibault
@ 2013-05-08 15:27       ` Egger, Christoph
  2013-05-08 15:34         ` Samuel Thibault
  0 siblings, 1 reply; 12+ messages in thread
From: Egger, Christoph @ 2013-05-08 15:27 UTC (permalink / raw)
  To: Samuel Thibault, tech mailinglists, xen-devel@lists.xen.org

On 08.05.13 17:20, Samuel Thibault wrote:
> Christoph Egger, le Wed 08 May 2013 12:37:57 +0200, a écrit :
>> On 07.02.13 12:03, Samuel Thibault wrote:
>>> Hello,
>>>
>>> tech mailinglists, le Thu 07 Feb 2013 11:56:39 +0100, a écrit :
>>>> I read in the wiki that stubdomains aren't support on NetBSD. Will subdoms be
>>>> supported on NetBSD? Is someone working on that topic actually?
>>>
>>> I see no reason why it should be hard to do it, so it should be just a
>>> matter of someone with a NetBSD box to just try and fix the few missing
>>> bits.
>>
>> It fails to build with 'stddef.h: No such file or directory'.
>> stddef.h is in /usr/include/ which is not part of the search-path.
> 
> This is supposed to be coming from
> 
> GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p')
> TARGET_CPPFLAGS += -isystem $(GCC_INSTALL)include

GCC_INSTALL is empty on NetBSD.

Christoph

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

* Re: State of Stubdomains on NetBSD
  2013-05-08 15:27       ` Egger, Christoph
@ 2013-05-08 15:34         ` Samuel Thibault
  0 siblings, 0 replies; 12+ messages in thread
From: Samuel Thibault @ 2013-05-08 15:34 UTC (permalink / raw)
  To: Egger, Christoph; +Cc: tech mailinglists, xen-devel@lists.xen.org

Egger, Christoph, le Wed 08 May 2013 17:27:33 +0200, a écrit :
> On 08.05.13 17:20, Samuel Thibault wrote:
> > Christoph Egger, le Wed 08 May 2013 12:37:57 +0200, a écrit :
> >> On 07.02.13 12:03, Samuel Thibault wrote:
> >>> Hello,
> >>>
> >>> tech mailinglists, le Thu 07 Feb 2013 11:56:39 +0100, a écrit :
> >>>> I read in the wiki that stubdomains aren't support on NetBSD. Will subdoms be
> >>>> supported on NetBSD? Is someone working on that topic actually?
> >>>
> >>> I see no reason why it should be hard to do it, so it should be just a
> >>> matter of someone with a NetBSD box to just try and fix the few missing
> >>> bits.
> >>
> >> It fails to build with 'stddef.h: No such file or directory'.
> >> stddef.h is in /usr/include/ which is not part of the search-path.
> > 
> > This is supposed to be coming from
> > 
> > GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p')
> > TARGET_CPPFLAGS += -isystem $(GCC_INSTALL)include
> 
> GCC_INSTALL is empty on NetBSD.

Ok, so that's what needs to be looked at.

Samuel

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

end of thread, other threads:[~2013-05-08 15:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-07 10:56 State of Stubdomains on NetBSD tech mailinglists
2013-02-07 11:03 ` Samuel Thibault
2013-02-07 12:14   ` Samuel Thibault
2013-02-07 12:25     ` Roger Pau Monné
2013-02-07 12:28       ` tech mailinglists
2013-02-07 12:31         ` Samuel Thibault
2013-02-07 12:28       ` Samuel Thibault
2013-05-08 10:37   ` Christoph Egger
2013-05-08 15:20     ` Samuel Thibault
2013-05-08 15:27       ` Egger, Christoph
2013-05-08 15:34         ` Samuel Thibault
2013-02-07 11:05 ` [Xen-users] " Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.