Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 11:28:51 -0400
From:      Outback Dingo <outbackdingo@gmail.com>
To:        Mark Felder <feld@freebsd.org>
Cc:        freebsd-xen@freebsd.org, gibbs@freebsd.org
Subject:   Re: FreeBSD Alpha5 amd64 - Citrix Xen 6.2 problem
Message-ID:  <CAKYr3zyYcTjfLTa5aDpmg%2Bgn1k1QSB5cEnE7wRqWSKbbkMrQ0A@mail.gmail.com>
In-Reply-To: <1381763835.23774.33816289.4C29471F@webmail.messagingengine.com>
References:  <etPan.52541a74.66334873.190@MacBook-Pro-de-Josias.local> <1381247394.22461.31501241.11EE316E@webmail.messagingengine.com> <8F3E4CEF-75BB-4F96-8512-87B21C5AC44E@shankerbalan.net> <525509C4.9010407@citrix.com> <1381319360.6600.31880785.6E83A2F9@webmail.messagingengine.com> <52555FF4.8010107@citrix.com> <1381329411.11572.31947565.7C2A280B@webmail.messagingengine.com> <849AB77F-D2E3-4BFB-B957-F9A9E53D1070@shankerbalan.net> <7B7BC687-3A64-4B3D-9F90-B73FC6938225@shankerbalan.net> <A438A9A6-39E8-4F25-9B8B-92EDC4ECDBF5@scsiguy.com> <1381676322.11187.33436965.1BBB5473@webmail.messagingengine.com> <1381759048.14147.33785945.2DAF9556@webmail.messagingengine.com> <525BFFAD.4010208@citrix.com> <1381763835.23774.33816289.4C29471F@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 14, 2013 at 11:17 AM, Mark Felder <feld@freebsd.org> wrote:

> On Mon, Oct 14, 2013, at 9:29, Roger Pau Monn=E9 wrote:
> > On 14/10/13 15:57, Mark Felder wrote:
> > > Patching 9-STABLE with this applies cleanly, but I'm guessing the wor=
k
> > > done with the restructuring so it fits in GENERIC is not permitting i=
t
> > > to build.
> > >
> > >
> > > /usr/src/sys/dev/xen/blkfront/blkfront.c: In function 'blkfront_probe=
':
> > > /usr/src/sys/dev/xen/blkfront/blkfront.c:405: warning: implicit
> > > declaration of function 'xen_hvm_domain'
> > > /usr/src/sys/dev/xen/blkfront/blkfront.c:405: warning: nested extern
> > > declaration of 'xen_hvm_domain' [-Wnested-externs]
> > > *** [blkfront.o] Error code 1
> > >
> > > Stop in /usr/obj/usr/src/sys/XENHVM.
> > > *** [buildkernel] Error code 1
> > >
> > > Stop in /usr/src.
> > > *** [buildkernel] Error code 1
> > >
> > > Stop in /usr/src.
> >
> > Yes, the xen_hvm_domain function is not available in 9-STABLE, you
> > should be able to replace the 'if' gate with a '#ifdef XENHVM .. #endif=
'
> > (not pretty, but should do it's job).
> >
>
> I have just tested that patched on FreeBSD 9.1-p7 and it works
> perfectly. I am able to boot the OS with no issues and mounting CDROMs
> works fine as well. One thing to note is that it does change the disk
> from /dev/adX to /dev/adaX which is something that was happening between
> FreeBSD 9 and FreeBSD 10 anyway. Anyone who applies this patch should
> update their fstab before rebooting.
>
> https://feld.me/freebsd/freebsd9-xen-cdrom-fix.patch
>
> Thanks again Roger and Justin -- you've just made a huge impact in
> FreeBSD usability on XenServer.
>

Congrats, finally we have some parity with XEN and Cloud for FreeBSD....


> _______________________________________________
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKYr3zyYcTjfLTa5aDpmg%2Bgn1k1QSB5cEnE7wRqWSKbbkMrQ0A>