Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2015 15:43:10 +0200
From:      =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <roger.pau@citrix.com>
To:        Shree Kantha <ya.shreekantha@gmail.com>
Cc:        <freebsd-xen@freebsd.org>
Subject:   Re: Need help : 10.2 + Xen dom0 support
Message-ID:  <561672EE.8080602@citrix.com>
In-Reply-To: <CAL9vNfyv_DvnF2fEeenmQEGkU59DSfXW7qLGfYaz4Loscwm8_A@mail.gmail.com>
References:  <1444141541780-6043366.post@n5.nabble.com> <5613E462.9050000@citrix.com> <CAL9vNfyv_DvnF2fEeenmQEGkU59DSfXW7qLGfYaz4Loscwm8_A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El 08/10/15 a les 12.56, Shree Kantha ha escrit:
> Thanks a lot Roger for this information.
> 
> I am able to progress with this. I took below commits of you to stable 10.2:
> 
>    - rS280954: multiboot: fix error codes
>    <https://reviews.freebsd.org/rS280954>;
>    - Diffusion Commit
>    - rS280953: multiboot: zero mod list array
>    <https://reviews.freebsd.org/rS280953>;
>    - rS277215: loader: implement multiboot support for Xen Dom0
>    <https://reviews.freebsd.org/rS277215>;
> 
> With this, i build kernel, and followed steps mentioned in :
> http://wiki.xen.org/wiki/FreeBSD_Dom0.
> 
> when my system reboots, I see below error:
> 
> 
> "ERROR: Not a Xen-ELF image: No ELF notes or '__xen_ost' section found

Yes, you only applied the patches that allow the FreeBSD loader to load 
Xen, but you also need all the patches for the FreeBSD kernel that 
enable PVH mode and Dom0 support.

The list is quite long TBH, and I haven't looked at whether all of them 
are needed or not, but a good start should be:

$ svn log --search royger | grep -e "^r[0-9]"
r288119 | emaste | 2015-09-22 18:51:40 +0200 (dim, 22 set 2015) | 12 lines
r287132 | araujo | 2015-08-25 17:34:28 +0200 (dim, 25 ago 2015) | 6 lines
r287000 | royger | 2015-08-21 17:57:57 +0200 (div, 21 ago 2015) | 11 lines
r286999 | royger | 2015-08-21 17:53:08 +0200 (div, 21 ago 2015) | 15 lines
r286994 | kib | 2015-08-21 17:13:25 +0200 (div, 21 ago 2015) | 11 lines
r286855 | kib | 2015-08-17 20:42:45 +0200 (dil, 17 ago 2015) | 10 lines
r286786 | jhb | 2015-08-14 20:38:39 +0200 (div, 14 ago 2015) | 6 lines
r286372 | jhb | 2015-08-06 19:07:21 +0200 (dij, 06 ago 2015) | 8 lines
r286077 | royger | 2015-07-30 17:43:26 +0200 (dij, 30 jul 2015) | 6 lines
r286076 | royger | 2015-07-30 17:28:06 +0200 (dij, 30 jul 2015) | 8 lines
r286062 | cperciva | 2015-07-30 05:50:01 +0200 (dij, 30 jul 2015) | 32 lines
r285785 | whu | 2015-07-22 07:05:01 +0200 (dmc, 22 jul 2015) | 11 lines
r285089 | royger | 2015-07-03 14:09:05 +0200 (div, 03 jul 2015) | 11 lines
r284870 | royger | 2015-06-26 09:12:17 +0200 (div, 26 jun 2015) | 57 lines
r284746 | whu | 2015-06-24 08:01:29 +0200 (dmc, 24 jun 2015) | 10 lines
r284723 | cperciva | 2015-06-23 08:50:03 +0200 (dim, 23 jun 2015) | 5 lines
r284296 | royger | 2015-06-12 09:50:34 +0200 (div, 12 jun 2015) | 15 lines
r283516 | royger | 2015-05-25 11:47:16 +0200 (dil, 25 mai 2015) | 7 lines
r283053 | whu | 2015-05-18 12:31:23 +0200 (dil, 18 mai 2015) | 10 lines
r282908 | royger | 2015-05-14 18:29:11 +0200 (dij, 14 mai 2015) | 9 lines
r282634 | royger | 2015-05-08 16:48:40 +0200 (div, 08 mai 2015) | 16 lines
r282274 | jhb | 2015-04-30 17:48:48 +0200 (dij, 30 abr 2015) | 20 lines
r282273 | jhb | 2015-04-30 17:25:30 +0200 (dij, 30 abr 2015) | 6 lines
r282269 | royger | 2015-04-30 09:00:25 +0200 (dij, 30 abr 2015) | 10 lines
r282216 | royger | 2015-04-29 14:53:41 +0200 (dmc, 29 abr 2015) | 10 lines
r282212 | whu | 2015-04-29 12:12:34 +0200 (dmc, 29 abr 2015) | 19 lines
r281774 | araujo | 2015-04-20 19:30:13 +0200 (dil, 20 abr 2015) | 5 lines
r280954 | royger | 2015-04-01 12:10:20 +0200 (dmc, 01 abr 2015) | 8 lines
r280953 | royger | 2015-04-01 12:02:28 +0200 (dmc, 01 abr 2015) | 8 lines
r280838 | royger | 2015-03-30 09:09:07 +0200 (dil, 30 mar 2015) | 9 lines
r279581 | whu | 2015-03-04 10:05:20 +0100 (dmc, 04 mar 2015) | 4 lines
r279394 | royger | 2015-02-28 16:21:06 +0100 (dis, 28 feb 2015) | 9 lines
r279365 | glebius | 2015-02-27 20:12:35 +0100 (div, 27 feb 2015) | 4 lines
r279325 | royger | 2015-02-26 17:05:09 +0100 (dij, 26 feb 2015) | 15 lines
r279286 | kib | 2015-02-25 17:44:07 +0100 (dmc, 25 feb 2015) | 8 lines
r279212 | glebius | 2015-02-23 19:55:26 +0100 (dil, 23 feb 2015) | 5 lines
r278855 | royger | 2015-02-16 17:37:59 +0100 (dil, 16 feb 2015) | 11 lines
r278854 | royger | 2015-02-16 17:30:42 +0100 (dil, 16 feb 2015) | 15 lines
r278844 | royger | 2015-02-16 10:53:43 +0100 (dil, 16 feb 2015) | 17 lines
r278506 | royger | 2015-02-10 14:07:08 +0100 (dim, 10 feb 2015) | 6 lines
r278183 | bryanv | 2015-02-04 09:26:43 +0100 (dmc, 04 feb 2015) | 9 lines
r277735 | royger | 2015-01-26 09:42:47 +0100 (dil, 26 gen 2015) | 13 lines
r277488 | kib | 2015-01-21 17:13:37 +0100 (dmc, 21 gen 2015) | 6 lines
r277418 | royger | 2015-01-20 13:28:24 +0100 (dim, 20 gen 2015) | 9 lines
r277291 | royger | 2015-01-17 09:09:07 +0100 (dis, 17 gen 2015) | 8 lines
r277215 | royger | 2015-01-15 17:27:20 +0100 (dij, 15 gen 2015) | 58 lines
r276406 | royger | 2014-12-30 09:50:50 +0100 (dim, 30 des 2014) | 6 lines
r276405 | royger | 2014-12-30 09:50:07 +0100 (dim, 30 des 2014) | 7 lines
r276064 | royger | 2014-12-22 17:46:07 +0100 (dil, 22 des 2014) | 17 lines
r275679 | royger | 2014-12-10 14:25:21 +0100 (dmc, 10 des 2014) | 12 lines
r275678 | royger | 2014-12-10 12:42:02 +0100 (dmc, 10 des 2014) | 8 lines
r275677 | royger | 2014-12-10 12:35:41 +0100 (dmc, 10 des 2014) | 7 lines
r275675 | royger | 2014-12-10 12:21:52 +0100 (dmc, 10 des 2014) | 8 lines
r275649 | royger | 2014-12-09 19:03:25 +0100 (dim, 09 des 2014) | 26 lines
r275641 | royger | 2014-12-09 12:12:24 +0100 (dim, 09 des 2014) | 8 lines
r273582 | royger | 2014-10-24 11:48:58 +0200 (div, 24 oct 2014) | 32 lines
r273477 | royger | 2014-10-22 19:09:12 +0200 (dmc, 22 oct 2014) | 12 lines
r273476 | royger | 2014-10-22 19:07:20 +0200 (dmc, 22 oct 2014) | 35 lines
r273475 | royger | 2014-10-22 18:58:52 +0200 (dmc, 22 oct 2014) | 15 lines
r273474 | royger | 2014-10-22 18:57:11 +0200 (dmc, 22 oct 2014) | 29 lines
r273473 | royger | 2014-10-22 18:51:52 +0200 (dmc, 22 oct 2014) | 32 lines
r273472 | royger | 2014-10-22 18:49:00 +0200 (dmc, 22 oct 2014) | 8 lines
r272321 | royger | 2014-09-30 19:41:16 +0200 (dim, 30 set 2014) | 46 lines
r272320 | royger | 2014-09-30 19:38:21 +0200 (dim, 30 set 2014) | 9 lines
r272319 | royger | 2014-09-30 19:37:26 +0200 (dim, 30 set 2014) | 16 lines
r272318 | royger | 2014-09-30 19:31:04 +0200 (dim, 30 set 2014) | 19 lines
r272317 | royger | 2014-09-30 19:27:56 +0200 (dim, 30 set 2014) | 18 lines
r272314 | royger | 2014-09-30 19:14:11 +0200 (dim, 30 set 2014) | 8 lines
r272312 | royger | 2014-09-30 18:53:08 +0200 (dim, 30 set 2014) | 10 lines
r272311 | royger | 2014-09-30 18:49:17 +0200 (dim, 30 set 2014) | 11 lines
r272310 | royger | 2014-09-30 18:46:45 +0200 (dim, 30 set 2014) | 57 lines
r272162 | royger | 2014-09-26 11:05:55 +0200 (div, 26 set 2014) | 4 lines
r272098 | royger | 2014-09-25 10:28:10 +0200 (dij, 25 set 2014) | 44 lines
r272026 | mjg | 2014-09-23 13:41:09 +0200 (dim, 23 set 2014) | 12 lines
r271629 | royger | 2014-09-15 17:15:52 +0200 (dil, 15 set 2014) | 9 lines
r271099 | royger | 2014-09-04 16:56:24 +0200 (dij, 04 set 2014) | 9 lines
r270339 | royger | 2014-08-22 17:38:21 +0200 (div, 22 ago 2014) | 11 lines
r270337 | royger | 2014-08-22 17:34:56 +0200 (div, 22 ago 2014) | 6 lines
r270333 | royger | 2014-08-22 17:10:26 +0200 (div, 22 ago 2014) | 15 lines
r270332 | royger | 2014-08-22 17:05:51 +0200 (div, 22 ago 2014) | 17 lines
r270321 | kib | 2014-08-22 10:19:08 +0200 (div, 22 ago 2014) | 19 lines
r270212 | royger | 2014-08-20 16:57:20 +0200 (dmc, 20 ago 2014) | 25 lines
r270041 | royger | 2014-08-16 12:47:24 +0200 (dis, 16 ago 2014) | 13 lines
r269814 | royger | 2014-08-11 17:37:02 +0200 (dil, 11 ago 2014) | 26 lines
r269675 | royger | 2014-08-07 19:00:50 +0200 (dij, 07 ago 2014) | 12 lines
r269634 | royger | 2014-08-06 19:45:59 +0200 (dmc, 06 ago 2014) | 12 lines
r269580 | royger | 2014-08-05 12:29:01 +0200 (dim, 05 ago 2014) | 21 lines
r269515 | royger | 2014-08-04 11:05:28 +0200 (dil, 04 ago 2014) | 23 lines
r269514 | royger | 2014-08-04 11:02:49 +0200 (dil, 04 ago 2014) | 14 lines
r269513 | royger | 2014-08-04 11:01:21 +0200 (dil, 04 ago 2014) | 22 lines
r269512 | royger | 2014-08-04 10:58:50 +0200 (dil, 04 ago 2014) | 24 lines
r269511 | royger | 2014-08-04 10:56:20 +0200 (dil, 04 ago 2014) | 19 lines
r269510 | royger | 2014-08-04 10:54:34 +0200 (dil, 04 ago 2014) | 26 lines
r269509 | royger | 2014-08-04 10:52:10 +0200 (dil, 04 ago 2014) | 10 lines
r269508 | royger | 2014-08-04 10:43:27 +0200 (dil, 04 ago 2014) | 12 lines
r269507 | royger | 2014-08-04 10:42:29 +0200 (dil, 04 ago 2014) | 27 lines
r269017 | royger | 2014-07-23 17:53:29 +0200 (dmc, 23 jul 2014) | 8 lines
r268982 | emaste | 2014-07-22 15:58:33 +0200 (dim, 22 jul 2014) | 8 lines
r268672 | jhb | 2014-07-15 17:40:33 +0200 (dim, 15 jul 2014) | 5 lines
r268660 | kib | 2014-07-15 11:30:43 +0200 (dim, 15 jul 2014) | 7 lines
r268451 | royger | 2014-07-09 10:12:58 +0200 (dmc, 09 jul 2014) | 19 lines
r267858 | royger | 2014-06-25 11:51:08 +0200 (dmc, 25 jun 2014) | 27 lines
r267607 | royger | 2014-06-18 15:41:20 +0200 (dmc, 18 jun 2014) | 9 lines
r267575 | kib | 2014-06-17 11:33:22 +0200 (dim, 17 jun 2014) | 8 lines
r267553 | gjb | 2014-06-16 22:20:54 +0200 (dil, 16 jun 2014) | 5 lines
r267536 | royger | 2014-06-16 10:54:04 +0200 (dil, 16 jun 2014) | 7 lines
r267535 | royger | 2014-06-16 10:49:16 +0200 (dil, 16 jun 2014) | 10 lines
r267534 | royger | 2014-06-16 10:48:42 +0200 (dil, 16 jun 2014) | 34 lines
r267533 | royger | 2014-06-16 10:48:06 +0200 (dil, 16 jun 2014) | 15 lines
r267532 | royger | 2014-06-16 10:47:15 +0200 (dil, 16 jun 2014) | 11 lines
r267531 | royger | 2014-06-16 10:46:31 +0200 (dil, 16 jun 2014) | 11 lines
r267530 | royger | 2014-06-16 10:45:51 +0200 (dil, 16 jun 2014) | 16 lines
r267529 | royger | 2014-06-16 10:45:12 +0200 (dil, 16 jun 2014) | 15 lines
r267528 | royger | 2014-06-16 10:44:33 +0200 (dil, 16 jun 2014) | 28 lines
r267527 | royger | 2014-06-16 10:43:45 +0200 (dil, 16 jun 2014) | 31 lines
r267526 | royger | 2014-06-16 10:43:03 +0200 (dil, 16 jun 2014) | 35 lines
r267525 | royger | 2014-06-16 10:41:57 +0200 (dil, 16 jun 2014) | 8 lines
r265100 | kib | 2014-04-29 20:42:37 +0200 (dim, 29 abr 2014) | 16 lines
r264882 | royger | 2014-04-24 16:44:42 +0200 (dij, 24 abr 2014) | 8 lines
r264178 | imp | 2014-04-06 00:43:18 +0200 (diu, 06 abr 2014) | 4 lines
r263268 | royger | 2014-03-17 17:45:28 +0100 (dil, 17 mar 2014) | 8 lines
r263014 | royger | 2014-03-11 11:27:57 +0100 (dim, 11 mar 2014) | 29 lines
r263013 | royger | 2014-03-11 11:26:53 +0100 (dim, 11 mar 2014) | 13 lines
r263012 | royger | 2014-03-11 11:26:16 +0100 (dim, 11 mar 2014) | 15 lines
r263011 | royger | 2014-03-11 11:25:08 +0100 (dim, 11 mar 2014) | 16 lines
r263010 | royger | 2014-03-11 11:24:13 +0100 (dim, 11 mar 2014) | 19 lines
r263009 | royger | 2014-03-11 11:23:03 +0100 (dim, 11 mar 2014) | 25 lines
r263008 | royger | 2014-03-11 11:20:42 +0100 (dim, 11 mar 2014) | 51 lines
r263007 | royger | 2014-03-11 11:16:17 +0100 (dim, 11 mar 2014) | 18 lines
r263006 | royger | 2014-03-11 11:15:25 +0100 (dim, 11 mar 2014) | 22 lines
r263005 | royger | 2014-03-11 11:13:06 +0100 (dim, 11 mar 2014) | 23 lines
r263004 | royger | 2014-03-11 11:09:23 +0100 (dim, 11 mar 2014) | 39 lines
r263003 | royger | 2014-03-11 11:07:55 +0100 (dim, 11 mar 2014) | 8 lines
r263002 | royger | 2014-03-11 11:07:01 +0100 (dim, 11 mar 2014) | 45 lines
r263001 | royger | 2014-03-11 11:03:29 +0100 (dim, 11 mar 2014) | 31 lines
r258684 | royger | 2013-11-27 16:58:07 +0100 (dmc, 27 nov 2013) | 4 lines

I don't think all those are needed, you will have to look at each one 
and apply the ones that are related to PVH or Dom0 support, giving a 
proper list of the exact patches needed is not a trivial task at all.

Roger.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?561672EE.8080602>