Zhang, Frank F
2007-Dec-03 05:53 UTC
How to enable 64bit solaris guest on top of solaris dom0
I can enabling 32bit solaris guest on top of solaris dom0, but I don''t know how to enable 64bit solaris guest on top of solaris dom0. what configuration I need to modify?
Christopher Beal
2007-Dec-03 09:35 UTC
Re: How to enable 64bit solaris guest on top of solaris dom0
If you have a 64bit capable processor, it will start up a 64bit Dom0 by default. You will then be able to install 64bit Paravirtualized domains or 32 bit Full virtualized domains. If you have a 32 bit processor you can only run 32bit guests. There is work to get 64bit Fully virtualized guests working Chris Zhang, Frank F wrote:> > I can enabling 32bit solaris guest on top of solaris dom0, but I don’t > know how to enable 64bit solaris guest on top of solaris dom0. what > configuration I need to modify? > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >
Zhang, Frank F
2007-Dec-03 09:41 UTC
Re: How to enable 64bit solaris guest on top of solaris dom0
I'm running on 64bit capable processor, so how I can install 64bit Paravirtualized domains or 64bit Fully virtualized guests on it? Thanks! -----Original Message----- From: Chris.Beal@Sun.COM [mailto:Chris.Beal@Sun.COM] Sent: 2007年12月3日 17:36 To: Zhang, Frank F Cc: xen-discuss@opensolaris.org Subject: Re: [xen-discuss] How to enable 64bit solaris guest on top of solaris dom0 If you have a 64bit capable processor, it will start up a 64bit Dom0 by default. You will then be able to install 64bit Paravirtualized domains or 32 bit Full virtualized domains. If you have a 32 bit processor you can only run 32bit guests. There is work to get 64bit Fully virtualized guests working Chris Zhang, Frank F wrote:> > I can enabling 32bit solaris guest on top of solaris dom0, but I don’t > know how to enable 64bit solaris guest on top of solaris dom0. what > configuration I need to modify? > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Christopher Beal
2007-Dec-03 09:58 UTC
Re: How to enable 64bit solaris guest on top of solaris dom0
As this is a Solaris dom0 then it should have booted 64bit by default (check with isalist and look for amd64). If so you will only be able to run 64bitParavirtualized domains (so if you run virt-install it will install a 64bit domain). You cannot currently run 64bit fully virtualized guest Chris Zhang, Frank F wrote:> I'm running on 64bit capable processor, so how I can install 64bit Paravirtualized domains or 64bit Fully virtualized guests on it? > > > Thanks! > > -----Original Message----- > From: Chris.Beal@Sun.COM [mailto:Chris.Beal@Sun.COM] > Sent: 2007年12月3日 17:36 > To: Zhang, Frank F > Cc: xen-discuss@opensolaris.org > Subject: Re: [xen-discuss] How to enable 64bit solaris guest on top of solaris dom0 > > If you have a 64bit capable processor, it will start up a 64bit Dom0 by > default. You will then be able to install 64bit Paravirtualized domains > or 32 bit Full virtualized domains. If you have a 32 bit processor you > can only run 32bit guests. > > There is work to get 64bit Fully virtualized guests working > > Chris > > Zhang, Frank F wrote: > >> I can enabling 32bit solaris guest on top of solaris dom0, but I don’t >> know how to enable 64bit solaris guest on top of solaris dom0. what >> configuration I need to modify? >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org >> >>_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets
2007-Dec-03 16:12 UTC
Re: How to enable 64bit solaris guest on top of solaris dom0
View:- http://www.opensolaris.org/os/community/xen/docs/virtinstall/ Virt-install Examples: Example 38-1 Solaris PV Guest virt-install -n solarisPV --paravirt -r 1024 \ --nographics -f /export/solarisPV/root.img -s 16 \ -l /ws/xvm-gate/public/isos/72-0910/solarisdvd.iso Example 38-2 Solaris HVM Guest virt-install -n solarisHVM --hvm -r 1024 --vnc \ -f /export/solarisHVM/root.img -s 16 \ -c /ws/xvm-gate/public/isos/72-0910/solarisdvd.iso Example 38-3 Windows HVM Guest # virt-install -n winxp --hvm -r 1024 --vnc \ -f /export/winxp/root.img -s 16 -c /windows/media.iso This message posted from opensolaris.org
Boris Derzhavets
2007-Dec-03 16:18 UTC
Re: How to enable 64bit solaris guest on top of solaris dom0
A proper virt-install command will create:- 1. SNV 76 PVM 64-bit 2. SNV 76 or Solaris 10 (08/07) U4 HVM 32-bit This message posted from opensolaris.org
Boris Derzhavets
2007-Dec-03 18:53 UTC
Re: How to enable 64bit solaris guest on top of solaris dom0
HVM Guests install requires:- Configuration of vnc password and default nic for xend service. Run "dladm show-link" to determine default nic for xend service. # svccfg -s xvm/xend setprop config/vncpasswd = astring: \"secret\" # svccfg -s xvm/xend setprop config/vnc-listen = astring: \"0.0.0.0\" # svccfg -s xvm/xend setprop config/default-nic="rtls0" # svcadm refresh xvm/xend # svcadm restart xvm/xend This message posted from opensolaris.org
Nils Nieuwejaar
2007-Dec-03 19:46 UTC
Re: How to enable 64bit solaris guest on top of solaris dom0
On Mon 12/03/07 at 08:18 AM, bderzhavets@yahoo.com wrote:> A proper virt-install command will create:- > 1. SNV 76 PVM 64-bit > 2. SNV 76 or Solaris 10 (08/07) U4 HVM 32-bitSolaris doesn''t install as 32-bit or 64-bit - it is a boot time decision. Even if you are running in 32-bit mode when you install a domU (or a dom0, for that matter), the resulting domain will be capable of booting into either 32-bit or 64-bit mode. PV domains will boot into whichever mode dom0 is running. This is a limitation imposed by the Xen 3.0.4 hypervisor. If your dom0 is booted into 32-bit mode, HVM domains must also be booted as 32-bit. If your dom0 is booted into 64-bit mode, you can boot HVM domains as either 32-bit or 64-bit. By default, Solaris will boot into 32-bit mode in an HVM environment due to the way Xen reports CPU capabilities to GRUB. If you want to boot a 64-bit HVM domain, you will have to edit your menu.lst file. Simply replace each ''$ISALIST'' with ''amd64'', and you should be all set. Nils
Boris Derzhavets
2007-Dec-04 17:21 UTC
Re: How to enable 64bit solaris guest on top of solaris dom0
Nils, Thank you very much for your feedback. Boris. This message posted from opensolaris.org
Xu, Jiajun
2007-Dec-05 02:29 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
Nils, Do you mean I can boot up a 64-bit HVM Solaris by editing the menu.lst? I installed a Solaris 10 U4 HVM and it''s installed as 32-bit by default. Seems in menu.lst, there is no $ISALIST. I attached my menu.lst file. Could you help to have a look and tell me any hints to boot into 64-bit mode? Thanks a lot. Best Regards Jiajun>-----Original Message----- >From: xen-discuss-bounces@opensolaris.org >[mailto:xen-discuss-bounces@opensolaris.org] On Behalf Of Nils >Nieuwejaar >Sent: 2007年12月4日 3:47 >To: Boris Derzhavets >Cc: xen-discuss@opensolaris.org >Subject: Re: [xen-discuss] How to enable 64bit solaris guest >ontop of solaris dom0 > >On Mon 12/03/07 at 08:18 AM, bderzhavets@yahoo.com wrote: >> A proper virt-install command will create:- >> 1. SNV 76 PVM 64-bit >> 2. SNV 76 or Solaris 10 (08/07) U4 HVM 32-bit > >Solaris doesn''t install as 32-bit or 64-bit - it is a boot >time decision. >Even if you are running in 32-bit mode when you install a domU >(or a dom0, >for that matter), the resulting domain will be capable of booting into >either 32-bit or 64-bit mode. > >PV domains will boot into whichever mode dom0 is running. This is a >limitation imposed by the Xen 3.0.4 hypervisor. > >If your dom0 is booted into 32-bit mode, HVM domains must also >be booted as >32-bit. > >If your dom0 is booted into 64-bit mode, you can boot HVM >domains as either >32-bit or 64-bit. By default, Solaris will boot into 32-bit >mode in an HVM >environment due to the way Xen reports CPU capabilities to >GRUB. If you >want to boot a 64-bit HVM domain, you will have to edit your >menu.lst file. >Simply replace each ''$ISALIST'' with ''amd64'', and you should be all set. > >Nils > >_______________________________________________ >xen-discuss mailing list >xen-discuss@opensolaris.org >
Mark Johnson
2007-Dec-05 02:38 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
Xu, Jiajun wrote:> Nils, > Do you mean I can boot up a 64-bit HVM Solaris by editing the menu.lst? I installed a Solaris 10 U4 HVM and it's installed as 32-bit by default. Seems in menu.lst, there is no $ISALIST. I attached my menu.lst file. Could you help to have a look and tell me any hints to boot into 64-bit mode? > Thanks a lot.There's a bug in the current release where 64-bit support is not correctly detected in Solaris on HVM. This is fixed in the 3.1.2 bits. You should able able to modify the menu.lst entry by adding the amd64 entries in and boot a 64-bit Solaris HVM domain. MRJ> Best Regards > Jiajun > >> -----Original Message----- >> From: xen-discuss-bounces@opensolaris.org >> [mailto:xen-discuss-bounces@opensolaris.org] On Behalf Of Nils >> Nieuwejaar >> Sent: 2007年12月4日 3:47 >> To: Boris Derzhavets >> Cc: xen-discuss@opensolaris.org >> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >> ontop of solaris dom0 >> >> On Mon 12/03/07 at 08:18 AM, bderzhavets@yahoo.com wrote: >>> A proper virt-install command will create:- >>> 1. SNV 76 PVM 64-bit >>> 2. SNV 76 or Solaris 10 (08/07) U4 HVM 32-bit >> Solaris doesn't install as 32-bit or 64-bit - it is a boot >> time decision. >> Even if you are running in 32-bit mode when you install a domU >> (or a dom0, >> for that matter), the resulting domain will be capable of booting into >> either 32-bit or 64-bit mode. >> >> PV domains will boot into whichever mode dom0 is running. This is a >> limitation imposed by the Xen 3.0.4 hypervisor. >> >> If your dom0 is booted into 32-bit mode, HVM domains must also >> be booted as >> 32-bit. >> >> If your dom0 is booted into 64-bit mode, you can boot HVM >> domains as either >> 32-bit or 64-bit. By default, Solaris will boot into 32-bit >> mode in an HVM >> environment due to the way Xen reports CPU capabilities to >> GRUB. If you >> want to boot a 64-bit HVM domain, you will have to edit your >> menu.lst file. >> Simply replace each '$ISALIST' with 'amd64', and you should be all set. >> >> Nils >> >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
James Cornell
2007-Dec-05 02:49 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
Solaris determines host capabilities for 64-bit mode on boot. But I should make it clear that it choses different kernels when it determines which one to use, specifying the direct path to the AMD64 kernel would force it to boot the 64-bit kernel. I believe the desired files are located in /platform/i86pc/amd64 just update the menu.lst with the exact path to the kernel and boot_archive. James On Dec 4, 2007, at 6:29 PM, Xu, Jiajun wrote:> <menu.lst>
Xu, Jiajun
2007-Dec-05 03:10 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
James, There is no "amd64" folder under my /plaftorm/i86pc/. ########## bash-3.00# ls /platform/i86pc/ biosint boot boot_archive kernel multiboot ########## BTW, what's Solaris version should I install as HVM? Is there any issue w/ specific Solaris version? Best Regards Jiajun>-----Original Message----- >From: James Cornell [mailto:sparcdr@sparcdr.com] >Sent: 2007年12月5日 10:50 >To: Xu, Jiajun >Cc: xen-discuss@opensolaris.org >Subject: Re: [xen-discuss] How to enable 64bit solaris guest >ontop of solaris dom0 > >Solaris determines host capabilities for 64-bit mode on boot. >But I should make it clear that it choses different kernels when it >determines which one to use, specifying the direct path to the AMD64 >kernel would force it to boot the 64-bit kernel. > >I believe the desired files are located in /platform/i86pc/amd64 just >update the menu.lst with the exact path to the kernel and boot_archive. > >James > >On Dec 4, 2007, at 6:29 PM, Xu, Jiajun wrote: > >> <menu.lst> >_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets
2007-Dec-05 06:16 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
> > > Xu, Jiajun wrote: > > Nils, > > Do you mean I can boot up a 64-bit HVM Solaris by > editing the menu.lst? I installed a Solaris 10 U4 HVM > and it''s installed as 32-bit by default. Seems in > menu.lst, there is no $ISALIST. I attached my > menu.lst file. Could you help to have a look and tell > me any hints to boot into 64-bit mode? > > Thanks a lot. > > There''s a bug in the current release where 64-bit > support > is not correctly detected in Solaris on HVM. This is > fixed in the 3.1.2 bits.What is an expected Nevada Build for 3.1.2 bits ? This message posted from opensolaris.org
James Cornell
2007-Dec-05 08:14 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
So I''ve been told, B80 or so. James On Dec 4, 2007, at 10:16 PM, Boris Derzhavets wrote:>> >> >> Xu, Jiajun wrote: >>> Nils, >>> Do you mean I can boot up a 64-bit HVM Solaris by >> editing the menu.lst? I installed a Solaris 10 U4 HVM >> and it''s installed as 32-bit by default. Seems in >> menu.lst, there is no $ISALIST. I attached my >> menu.lst file. Could you help to have a look and tell >> me any hints to boot into 64-bit mode? >>> Thanks a lot. >> >> There''s a bug in the current release where 64-bit >> support >> is not correctly detected in Solaris on HVM. This is >> fixed in the 3.1.2 bits. > > What is an expected Nevada Build for 3.1.2 bits ? > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
James Cornell
2007-Dec-05 08:20 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
Sorry about giving you the wrong path, I'm not on a Solaris box right now, what's in /platform, /platform/i86pc/boot and /platform/i86pc/ kernel (Are they directories?) the actual kernel should be called 'unix' and you could run file on it to see what it was built against, but that's with Solaris 10, I haven't poked around with the kernel on Nevada, it might be contained completely in the boot_archive, doubt it though. You should be able to specify kernel /path/to/unix directly. As for Solaris 10, I'd go with the most current, being U4 08/07, but have U3 handy if things quirk. James> James, > There is no "amd64" folder under my /plaftorm/i86pc/. > ########## > bash-3.00# ls /platform/i86pc/ > biosint boot boot_archive kernel multiboot > ########## > BTW, what's Solaris version should I install as HVM? Is there any > issue w/ specific Solaris version? > > Best Regards > Jiajun > >> -----Original Message----- >> From: James Cornell [mailto:sparcdr@sparcdr.com] >> Sent: 2007年12月5日 10:50 >> To: Xu, Jiajun >> Cc: xen-discuss@opensolaris.org >> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >> ontop of solaris dom0 >> >> Solaris determines host capabilities for 64-bit mode on boot. >> But I should make it clear that it choses different kernels when it >> determines which one to use, specifying the direct path to the AMD64 >> kernel would force it to boot the 64-bit kernel. >> >> I believe the desired files are located in /platform/i86pc/amd64 just >> update the menu.lst with the exact path to the kernel and >> boot_archive. >> >> James >> >> On Dec 4, 2007, at 6:29 PM, Xu, Jiajun wrote: >> >>> <menu.lst> >>_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets
2007-Dec-05 11:57 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
Solaris 10 U4 HVM install works for sure. Through my experience , Solaris 10 U3 HVM install would fail. SNV (build < 68) HVM install issues:- http://bderzhavets.blogspot.com/2007/09/xen-3.html Per Nirmal Agarval :- bug is fixed starting with SNV build 68 This message posted from opensolaris.org
Xu, Jiajun
2007-Dec-06 03:12 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
I am using Solaris 10 U4 08/07. Yes, there is a folder named "/platform/i86pc/kernel". And there are two "unix", one under "/platform/i86pc/kernel", another under "/platform/i86pc/kernel/amd64". I think the first "unix" is for 32-bit, the one under "amd64" folder is for 64-bit. So I tried to boot the 64-bit kernel by adding "/platform/i86pc/kernel/amd64/unix" to grub. But after Guest load kernel, it will panic and prompt "panic: cannot open /platform/i86pc/kernel/amd64/unix". When I boot from "/platform/i86pc/kernel/unix", Guest can boot into 32-bit mode successfullly. Best Regards Jiajun>-----Original Message----- >From: James Cornell [mailto:sparcdr@sparcdr.com] >Sent: 2007年12月5日 16:21 >To: Xu, Jiajun >Cc: xen-discuss@opensolaris.org >Subject: Re: [xen-discuss] How to enable 64bit solaris guest >ontop of solaris dom0 > >Sorry about giving you the wrong path, I'm not on a Solaris box right >now, what's in /platform, /platform/i86pc/boot and /platform/i86pc/ >kernel (Are they directories?) the actual kernel should be called >'unix' and you could run file on it to see what it was built against, >but that's with Solaris 10, I haven't poked around with the kernel on >Nevada, it might be contained completely in the boot_archive, >doubt it >though. You should be able to specify kernel /path/to/unix directly. > >As for Solaris 10, I'd go with the most current, being U4 08/07, but >have U3 handy if things quirk. > >James > >> James, >> There is no "amd64" folder under my /plaftorm/i86pc/. >> ########## >> bash-3.00# ls /platform/i86pc/ >> biosint boot boot_archive kernel multiboot >> ########## >> BTW, what's Solaris version should I install as HVM? Is there any >> issue w/ specific Solaris version? >> >> Best Regards >> Jiajun >> >>> -----Original Message----- >>> From: James Cornell [mailto:sparcdr@sparcdr.com] >>> Sent: 2007年12月5日 10:50 >>> To: Xu, Jiajun >>> Cc: xen-discuss@opensolaris.org >>> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >>> ontop of solaris dom0 >>> >>> Solaris determines host capabilities for 64-bit mode on boot. >>> But I should make it clear that it choses different kernels when it >>> determines which one to use, specifying the direct path to the AMD64 >>> kernel would force it to boot the 64-bit kernel. >>> >>> I believe the desired files are located in >/platform/i86pc/amd64 just >>> update the menu.lst with the exact path to the kernel and >>> boot_archive. >>> >>> James >>> >>> On Dec 4, 2007, at 6:29 PM, Xu, Jiajun wrote: >>> >>>> <menu.lst> >>> >_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
James Cornell
2007-Dec-06 03:30 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
Xu, Jiajun wrote:> I am using Solaris 10 U4 08/07. Yes, there is a folder named "/platform/i86pc/kernel". And there are two "unix", one under "/platform/i86pc/kernel", another under "/platform/i86pc/kernel/amd64". I think the first "unix" is for 32-bit, the one under "amd64" folder is for 64-bit. So I tried to boot the 64-bit kernel by adding "/platform/i86pc/kernel/amd64/unix" to grub. But after Guest load kernel, it will panic and prompt "panic: cannot open /platform/i86pc/kernel/amd64/unix". > When I boot from "/platform/i86pc/kernel/unix", Guest can boot into 32-bit mode successfullly. > > Best Regards > Jiajun > > >> -----Original Message----- >> From: James Cornell [mailto:sparcdr@sparcdr.com] >> Sent: 2007年12月5日 16:21 >> To: Xu, Jiajun >> Cc: xen-discuss@opensolaris.org >> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >> ontop of solaris dom0 >> >> Sorry about giving you the wrong path, I'm not on a Solaris box right >> now, what's in /platform, /platform/i86pc/boot and /platform/i86pc/ >> kernel (Are they directories?) the actual kernel should be called >> 'unix' and you could run file on it to see what it was built against, >> but that's with Solaris 10, I haven't poked around with the kernel on >> Nevada, it might be contained completely in the boot_archive, >> doubt it >> though. You should be able to specify kernel /path/to/unix directly. >> >> As for Solaris 10, I'd go with the most current, being U4 08/07, but >> have U3 handy if things quirk. >> >> James >> >> >>> James, >>> There is no "amd64" folder under my /plaftorm/i86pc/. >>> ########## >>> bash-3.00# ls /platform/i86pc/ >>> biosint boot boot_archive kernel multiboot >>> ########## >>> BTW, what's Solaris version should I install as HVM? Is there any >>> issue w/ specific Solaris version? >>> >>> Best Regards >>> Jiajun >>> >>> >>>> -----Original Message----- >>>> From: James Cornell [mailto:sparcdr@sparcdr.com] >>>> Sent: 2007年12月5日 10:50 >>>> To: Xu, Jiajun >>>> Cc: xen-discuss@opensolaris.org >>>> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >>>> ontop of solaris dom0 >>>> >>>> Solaris determines host capabilities for 64-bit mode on boot. >>>> But I should make it clear that it choses different kernels when it >>>> determines which one to use, specifying the direct path to the AMD64 >>>> kernel would force it to boot the 64-bit kernel. >>>> >>>> I believe the desired files are located in >>>> >> /platform/i86pc/amd64 just >> >>>> update the menu.lst with the exact path to the kernel and >>>> boot_archive. >>>> >>>> James >>>> >>>> On Dec 4, 2007, at 6:29 PM, Xu, Jiajun wrote: >>>> >>>> >>>>> <menu.lst> >>>>>Simple tests are ran to determine the correct kernel to boot, and in this instance, the BIOS is telling the bootstrapper that it's only capable of 32-bit mode, so it won't work with the 64-bit kernel as you have reported. Could you tell me what kind of processor you have, the BIOS revision/vendor, and the motherboard. On this mailinglist, others have noted that HVM mode is not capable of booting into 64-bit mode in some instances, this looks like the case. James _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Xu, Jiajun
2007-Dec-06 03:43 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
I'm using a Quad-Core Intel(r) Xeon(r) 5300 Series machine. And I can boot up 64-bit Windows HVM on it. Best Regards Jiajun>-----Original Message----- >From: James Cornell [mailto:sparcdr@sparcdr.com] >Sent: 2007年12月6日 11:30 >To: Xu, Jiajun >Cc: xen-discuss@opensolaris.org >Subject: Re: [xen-discuss] How to enable 64bit solaris guest >ontop of solaris dom0 > >Xu, Jiajun wrote: >> I am using Solaris 10 U4 08/07. Yes, there is a folder named >"/platform/i86pc/kernel". And there are two "unix", one under >"/platform/i86pc/kernel", another under >"/platform/i86pc/kernel/amd64". I think the first "unix" is >for 32-bit, the one under "amd64" folder is for 64-bit. So I >tried to boot the 64-bit kernel by adding >"/platform/i86pc/kernel/amd64/unix" to grub. But after Guest >load kernel, it will panic and prompt "panic: cannot open >/platform/i86pc/kernel/amd64/unix". >> When I boot from "/platform/i86pc/kernel/unix", Guest can >boot into 32-bit mode successfullly. >> >> Best Regards >> Jiajun >> >> >>> -----Original Message----- >>> From: James Cornell [mailto:sparcdr@sparcdr.com] >>> Sent: 2007年12月5日 16:21 >>> To: Xu, Jiajun >>> Cc: xen-discuss@opensolaris.org >>> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >>> ontop of solaris dom0 >>> >>> Sorry about giving you the wrong path, I'm not on a Solaris >box right >>> now, what's in /platform, /platform/i86pc/boot and /platform/i86pc/ >>> kernel (Are they directories?) the actual kernel should be called >>> 'unix' and you could run file on it to see what it was >built against, >>> but that's with Solaris 10, I haven't poked around with the >kernel on >>> Nevada, it might be contained completely in the boot_archive, >>> doubt it >>> though. You should be able to specify kernel /path/to/unix >directly. >>> >>> As for Solaris 10, I'd go with the most current, being U4 >08/07, but >>> have U3 handy if things quirk. >>> >>> James >>> >>> >>>> James, >>>> There is no "amd64" folder under my /plaftorm/i86pc/. >>>> ########## >>>> bash-3.00# ls /platform/i86pc/ >>>> biosint boot boot_archive kernel multiboot >>>> ########## >>>> BTW, what's Solaris version should I install as HVM? Is there any >>>> issue w/ specific Solaris version? >>>> >>>> Best Regards >>>> Jiajun >>>> >>>> >>>>> -----Original Message----- >>>>> From: James Cornell [mailto:sparcdr@sparcdr.com] >>>>> Sent: 2007年12月5日 10:50 >>>>> To: Xu, Jiajun >>>>> Cc: xen-discuss@opensolaris.org >>>>> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >>>>> ontop of solaris dom0 >>>>> >>>>> Solaris determines host capabilities for 64-bit mode on boot. >>>>> But I should make it clear that it choses different >kernels when it >>>>> determines which one to use, specifying the direct path >to the AMD64 >>>>> kernel would force it to boot the 64-bit kernel. >>>>> >>>>> I believe the desired files are located in >>>>> >>> /platform/i86pc/amd64 just >>> >>>>> update the menu.lst with the exact path to the kernel and >>>>> boot_archive. >>>>> >>>>> James >>>>> >>>>> On Dec 4, 2007, at 6:29 PM, Xu, Jiajun wrote: >>>>> >>>>> >>>>>> <menu.lst> >>>>>> >Simple tests are ran to determine the correct kernel to boot, and in >this instance, the BIOS is telling the bootstrapper that it's only >capable of 32-bit mode, so it won't work with the 64-bit kernel as you >have reported. Could you tell me what kind of processor you have, the >BIOS revision/vendor, and the motherboard. On this mailinglist, others >have noted that HVM mode is not capable of booting into 64-bit mode in >some instances, this looks like the case. > >James >_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Mark Johnson
2007-Dec-06 13:59 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
Xu, Jiajun wrote:> I am using Solaris 10 U4 08/07. Yes, there is a folder named "/platform/i86pc/kernel". And there are two "unix", one under "/platform/i86pc/kernel", another under "/platform/i86pc/kernel/amd64". I think the first "unix" is for 32-bit, the one under "amd64" folder is for 64-bit. So I tried to boot the 64-bit kernel by adding "/platform/i86pc/kernel/amd64/unix" to grub. But after Guest load kernel, it will panic and prompt "panic: cannot open /platform/i86pc/kernel/amd64/unix". > When I boot from "/platform/i86pc/kernel/unix", Guest can boot into 32-bit mode successfullly.I just booted by S10u4 hvm domain in 64-bit... I edited the grub menu.lst adding a 64-bit entry which said.. title 64-bit Solaris HVM kernel /platform/i86pc/multiboot /platform/i86pc/kernel/amd64/unix module /platform/i86pc/boot_archive However, I am running pre-release 3.1.2 based bits. So if this doesn't work for you, it would be a bug in the current bits. MRJ> Best Regards > Jiajun > >> -----Original Message----- >> From: James Cornell [mailto:sparcdr@sparcdr.com] >> Sent: 2007年12月5日 16:21 >> To: Xu, Jiajun >> Cc: xen-discuss@opensolaris.org >> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >> ontop of solaris dom0 >> >> Sorry about giving you the wrong path, I'm not on a Solaris box right >> now, what's in /platform, /platform/i86pc/boot and /platform/i86pc/ >> kernel (Are they directories?) the actual kernel should be called >> 'unix' and you could run file on it to see what it was built against, >> but that's with Solaris 10, I haven't poked around with the kernel on >> Nevada, it might be contained completely in the boot_archive, >> doubt it >> though. You should be able to specify kernel /path/to/unix directly. >> >> As for Solaris 10, I'd go with the most current, being U4 08/07, but >> have U3 handy if things quirk. >> >> James >> >>> James, >>> There is no "amd64" folder under my /plaftorm/i86pc/. >>> ########## >>> bash-3.00# ls /platform/i86pc/ >>> biosint boot boot_archive kernel multiboot >>> ########## >>> BTW, what's Solaris version should I install as HVM? Is there any >>> issue w/ specific Solaris version? >>> >>> Best Regards >>> Jiajun >>> >>>> -----Original Message----- >>>> From: James Cornell [mailto:sparcdr@sparcdr.com] >>>> Sent: 2007年12月5日 10:50 >>>> To: Xu, Jiajun >>>> Cc: xen-discuss@opensolaris.org >>>> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >>>> ontop of solaris dom0 >>>> >>>> Solaris determines host capabilities for 64-bit mode on boot. >>>> But I should make it clear that it choses different kernels when it >>>> determines which one to use, specifying the direct path to the AMD64 >>>> kernel would force it to boot the 64-bit kernel. >>>> >>>> I believe the desired files are located in >> /platform/i86pc/amd64 just >>>> update the menu.lst with the exact path to the kernel and >>>> boot_archive. >>>> >>>> James >>>> >>>> On Dec 4, 2007, at 6:29 PM, Xu, Jiajun wrote: >>>> >>>>> <menu.lst> > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
James Cornell
2007-Dec-07 22:53 UTC
Re: How to enable 64bit solaris guest ontop of solaris dom0
I can't reproduce the issue, since I'm using an AMD Opteron, Sun Ultra-20 M2 (High-end config) Tell me if it's fixed when B79 it out. Internally they're at ON B79, community is still B77, but you can BFU. James On Dec 7, 2007, at 6:42 AM, Xu, Jiajun wrote:> Yes, that's why I feel strange too. Actually we also tested on > another intel platform and got the same result. I would like to try > the latest Nevada later and check if the problem still exists. Very > thanks for your reply, James. :) > > Best Regards > Jiajun > >> -----Original Message----- >> From: James Cornell [mailto:sparcdr@sparcdr.com] >> Sent: 2007年12月6日 15:23 >> To: Xu, Jiajun >> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >> ontop of solaris dom0 >> >> That's strange, Windows was the 64-bit guest with the most issues. >> I'm out of answers since the guest that should work through HVM the >> best under OpenSolaris xVM is not working. Anyone else here >> have this >> issue? Jiajun, sorry about not being able to answer directly, I've >> been meaning to try Solaris 10 through HVM, but I haven't gotten my >> system up to date, other priorties. Once I do, if your problem is >> still onsolved and it works for me, I'll give you my configuration. >> >> James >> On Dec 5, 2007, at 7:43 PM, Xu, Jiajun wrote: >> >>> I'm using a Quad-Core Intel(r) Xeon(r) 5300 Series machine. And I >>> can boot up 64-bit Windows HVM on it. >>> >>> Best Regards >>> Jiajun >>> >>>> -----Original Message----- >>>> From: James Cornell [mailto:sparcdr@sparcdr.com] >>>> Sent: 2007年12月6日 11:30 >>>> To: Xu, Jiajun >>>> Cc: xen-discuss@opensolaris.org >>>> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >>>> ontop of solaris dom0 >>>> >>>> Xu, Jiajun wrote: >>>>> I am using Solaris 10 U4 08/07. Yes, there is a folder named >>>> "/platform/i86pc/kernel". And there are two "unix", one under >>>> "/platform/i86pc/kernel", another under >>>> "/platform/i86pc/kernel/amd64". I think the first "unix" is >>>> for 32-bit, the one under "amd64" folder is for 64-bit. So I >>>> tried to boot the 64-bit kernel by adding >>>> "/platform/i86pc/kernel/amd64/unix" to grub. But after Guest >>>> load kernel, it will panic and prompt "panic: cannot open >>>> /platform/i86pc/kernel/amd64/unix". >>>>> When I boot from "/platform/i86pc/kernel/unix", Guest can >>>> boot into 32-bit mode successfullly. >>>>> >>>>> Best Regards >>>>> Jiajun >>>>> >>>>> >>>>>> -----Original Message----- >>>>>> From: James Cornell [mailto:sparcdr@sparcdr.com] >>>>>> Sent: 2007年12月5日 16:21 >>>>>> To: Xu, Jiajun >>>>>> Cc: xen-discuss@opensolaris.org >>>>>> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >>>>>> ontop of solaris dom0 >>>>>> >>>>>> Sorry about giving you the wrong path, I'm not on a Solaris >>>> box right >>>>>> now, what's in /platform, /platform/i86pc/boot and >> /platform/i86pc/ >>>>>> kernel (Are they directories?) the actual kernel should be called >>>>>> 'unix' and you could run file on it to see what it was >>>> built against, >>>>>> but that's with Solaris 10, I haven't poked around with the >>>> kernel on >>>>>> Nevada, it might be contained completely in the boot_archive, >>>>>> doubt it >>>>>> though. You should be able to specify kernel /path/to/unix >>>> directly. >>>>>> >>>>>> As for Solaris 10, I'd go with the most current, being U4 >>>> 08/07, but >>>>>> have U3 handy if things quirk. >>>>>> >>>>>> James >>>>>> >>>>>> >>>>>>> James, >>>>>>> There is no "amd64" folder under my /plaftorm/i86pc/. >>>>>>> ########## >>>>>>> bash-3.00# ls /platform/i86pc/ >>>>>>> biosint boot boot_archive kernel >>>>>>> multiboot >>>>>>> ########## >>>>>>> BTW, what's Solaris version should I install as HVM? Is there >>>>>>> any >>>>>>> issue w/ specific Solaris version? >>>>>>> >>>>>>> Best Regards >>>>>>> Jiajun >>>>>>> >>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: James Cornell [mailto:sparcdr@sparcdr.com] >>>>>>>> Sent: 2007年12月5日 10:50 >>>>>>>> To: Xu, Jiajun >>>>>>>> Cc: xen-discuss@opensolaris.org >>>>>>>> Subject: Re: [xen-discuss] How to enable 64bit solaris guest >>>>>>>> ontop of solaris dom0 >>>>>>>> >>>>>>>> Solaris determines host capabilities for 64-bit mode on boot. >>>>>>>> But I should make it clear that it choses different >>>> kernels when it >>>>>>>> determines which one to use, specifying the direct path >>>> to the AMD64 >>>>>>>> kernel would force it to boot the 64-bit kernel. >>>>>>>> >>>>>>>> I believe the desired files are located in >>>>>>>> >>>>>> /platform/i86pc/amd64 just >>>>>> >>>>>>>> update the menu.lst with the exact path to the kernel and >>>>>>>> boot_archive. >>>>>>>> >>>>>>>> James >>>>>>>> >>>>>>>> On Dec 4, 2007, at 6:29 PM, Xu, Jiajun wrote: >>>>>>>> >>>>>>>> >>>>>>>>> <menu.lst> >>>>>>>>> >>>> Simple tests are ran to determine the correct kernel to boot, and >>>> in >>>> this instance, the BIOS is telling the bootstrapper that it's only >>>> capable of 32-bit mode, so it won't work with the 64-bit kernel as >>>> you >>>> have reported. Could you tell me what kind of processor you >> have, the >>>> BIOS revision/vendor, and the motherboard. On this mailinglist, >>>> others >>>> have noted that HVM mode is not capable of booting into >> 64-bit mode >>>> in >>>> some instances, this looks like the case. >>>> >>>> James >>>> >>_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Zhang, Frank F
2008-Jan-07 10:07 UTC
Where can I get the change list for nevada latest version
Hi, Anyone know where I can find the official released change list for different release of Nevada so I can learn which new feature has been added and which existed bug has been fixed? Thanks! Frank
Hi, Anyone know how to run PV Guest on solaris dom0? Using "virt_install" or using "xm create xxxx.py"? or both method are OK? Thanks! Frank
Andrew Gabriel
2008-Jan-07 10:19 UTC
Re: Where can I get the change list for nevada latest version
Zhang, Frank F wrote:> Hi, > Anyone know where I can find the official released change list for > different release of Nevada so I can learn which new feature has been > added and which existed bug has been fixed? >For features, have a look at: http://www.opensolaris.org/os/community/on/flag-days/ For bugfixes, you need the putback logs, see: http://www.opensolaris.org/os/community/on/onnv_putback_logs/ or look at the relevant bugid. -- Andrew
LaoTsao(Dr. Tsao)
2008-Jan-07 10:49 UTC
Re: Where can I get the change list for nevada latest version
may be this page http://www.opensolaris.org/os/community/on/flag-days/all/ and what''s new in solairs developer express Zhang, Frank F wrote:> Hi, > Anyone know where I can find the official released change list for > different release of Nevada so I can learn which new feature has been > added and which existed bug has been fixed? > > > > > Thanks! > Frank > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >-- Hung-Sheng Tsao, Ph.D. (LaoTsao) Sr. System Engineer US, GEH East Data Center Ambassador 400 Atrium Dr, 1ST FLOOR P/F:1877 319 0460 (x67079) Somerset, NJ 08873 C: 973 495 0840 http://blogs.sun.com/hstsao/ E:Hung-Sheng.Tsao@sun.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
latest build prefer U use virt_install, AFAIK. Zhang, Frank F wrote:> Hi, > Anyone know how to run PV Guest on solaris dom0? Using > "virt_install" or using "xm create xxxx.py"? or both method are OK? > > > > > Thanks! > Frank > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >-- Hung-Sheng Tsao, Ph.D. (LaoTsao) Sr. System Engineer US, GEH East Data Center Ambassador 400 Atrium Dr, 1ST FLOOR P/F:1877 319 0460 (x67079) Somerset, NJ 08873 C: 973 495 0840 http://blogs.sun.com/hstsao/ E:Hung-Sheng.Tsao@sun.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Mon, Jan 07, 2008 at 06:15:47PM +0800, Zhang, Frank F wrote:> Anyone know how to run PV Guest on solaris dom0? Using > "virt_install" or using "xm create xxxx.py"? or both method are OK?Both will work. virt-install is generally recommended. dme.
On xen-discuss-bounces@opensolaris.org wrote:> On Mon, Jan 07, 2008 at 06:15:47PM +0800, Zhang, Frank F wrote: >> Anyone know how to run PV Guest on solaris dom0? Using >> "virt_install" or using "xm create xxxx.py"? or both method are OK? > > Both will work. virt-install is generally recommended.Where can I find the kernel for PV Guest? I want to boot PV with a python file but there is no suitable kernel for PV Guest. Best Regards Jiajun
* jiajun.xu@intel.com [2008-01-11 08:24:55]> Where can I find the kernel for PV Guest? I want to boot PV with a > python file but there is no suitable kernel for PV Guest.With a Solaris dom0 we use ''pygrub'' to read the kernel (and boot archive) from the root filesystem of the guest. For non-Solaris dom0, where pygrub apparently doesn''t work, you have to extract the kernel and boot archive from the filesystem image (CD, disk, etc.). dme. -- David Edmondson, Sun Microsystems, http://www.dme.org
Hi Jiajun, Xu, Jiajun wrote:> On xen-discuss-bounces@opensolaris.org wrote: > >> On Mon, Jan 07, 2008 at 06:15:47PM +0800, Zhang, Frank F wrote: >>> Anyone know how to run PV Guest on solaris dom0? Using >>> "virt_install" or using "xm create xxxx.py"? or both method are OK? >> Both will work. virt-install is generally recommended. > > Where can I find the kernel for PV Guest? I want to boot PV with a > python file but there is no suitable kernel for PV Guest.What dom0 are you using? Depending on what dom0 and version of Xen, the answer is different for the py format. In general, the Xen aware "unix" lives at /platform/i86xpv/kernel/[amd64]/unix For a solaris dom0, and for modern Linuxes, e.g. FC8, the following should be sufficient for a py file since we added support for auto-detecting the solaris kernel. name = "solaris" vcpus = 1 memory = "512" root = "/dev/dsk/c0d0s0" disk = [''file:/tank/guests/solaris/disk.img,0,w''] vif = [''''] If you have an older linux dom0, or want to boot a cap-eye install kernel, you can use the following. # pygrub path different between linux and Solaris dom0s name = "solaris" vcpus = 1 memory = "512" bootloader = "/usr/lib/xen/bin/pygrub" kernel = "/platform/i86xpv/kernel/amd64/unix" ramdisk = "/platform/i86pc/amd64/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix -k" root = "/dev/dsk/c0d0s0" disk = [''file:/tank/guests/solaris/disk.img,0,w''] vif = [''''] Thanks, MRJ
On Friday, January 11, 2008 8:24 PM Mark.Johnson@Sun.COM wrote:> What dom0 are you using? Depending on what dom0 and > version of Xen, the answer is different for the py > format. > > In general, the Xen aware "unix" lives at > /platform/i86xpv/kernel/[amd64]/unix > > For a solaris dom0, and for modern Linuxes, e.g. FC8, > the following should be sufficient for a py file since > we added support for auto-detecting the solaris kernel. > > name = "solaris" > vcpus = 1 > memory = "512" > root = "/dev/dsk/c0d0s0" > disk = [''file:/tank/guests/solaris/disk.img,0,w''] > vif = ['''']Thanks for your reply, Mark. I am running on a Solaris Dom0 and I can boot up Solaris PV Guest with a py file as you mentioned. Best Regards Jiajun
Reasonably Related Threads
- How to configure default NIC when creating Guest
- Error 16: Inconsistent filesystem structure after a change in the system
- GRUB, zfs-root + Xen: Error 16: Inconsistent filesystem structure
- installing a pseudo driver in a Solaris DOM U and DOM U reboot
- dom0 boot panic after bfu to b75