From: eXeC001er Subject: Re: Crash DomU and after it Dom0 is frozen. Date: Sun, 24 May 2009 10:07:55 +0400 Message-ID: References: <905282.7713.qm@web56105.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1361258741==" Return-path: In-Reply-To: <905282.7713.qm@web56105.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Boris Derzhavets , Xen-devel List-Id: xen-devel@lists.xenproject.org --===============1361258741== Content-Type: multipart/alternative; boundary=0016e64605fa912c9f046aa25003 --0016e64605fa912c9f046aa25003 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Ok. I will try. Which distro of Linux do you use for your Dom0? Thanks. 2009/5/24 Boris Derzhavets > Ok. Please, take a look at http://www.howtoforge.com/linux_lvm > and remove LVM. Try partition of type 83 like /dev/sdb6 any size > you need. > > For example my development box has second drive with partitions > for DomUs and 2 Ubuntu Server Instances > root@ServerXen331:~# fdisk /dev/sdb > > The number of cylinders for this disk is set to 30401. > There is nothing wrong with that, but this is larger than 1024, > and could in certain setups cause problems with: > 1) software that runs at boot time (e.g., old versions of LILO) > 2) booting and partitioning software from other OSs > (e.g., DOS FDISK, OS/2 FDISK) > > Command (m for help): p > > Disk /dev/sdb: 250.0 GB, 250059350016 bytes > 255 heads, 63 sectors/track, 30401 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > Disk identifier: 0x000e7f99 > > Device Boot Start End Blocks Id System > /dev/sdb1 * 1 3647 29294496 83 Linux > /dev/sdb2 3648 4133 3903795 82 Linux swap / > Solaris > /dev/sdb3 4134 6134 16073032+ 83 Linux > /dev/sdb4 6135 30282 193968810 5 Extended > /dev/sdb5 6135 8135 16073001 83 Linux > /dev/sdb6 8136 10136 16073001 83 Linux > /dev/sdb7 10137 12137 16073001 83 Linux > /dev/sdb8 12138 14138 16073001 83 Linux > /dev/sdb9 14139 16139 16073001 83 Linux > /dev/sdb10 16140 18140 16073001 83 Linux > /dev/sdb11 18141 20141 16073001 83 Linux > /dev/sdb12 20142 22142 16073001 83 Linux > /dev/sdb13 22143 24143 16073001 83 Linux > /dev/sdb14 24144 29796 45407691 83 Linux > /dev/sdb15 29797 30282 3903763+ 82 Linux swap / > Solaris > > To install DomU :- > # losetup -f /var/isos/f10.iso > # losetup -a > Entry into installation python profile:- > > disk = ['phy:/dev/sdb6,xvda,w','phy:/dev/loop0,hdc:cdrom,r'] > > I am pretty sure similar profile would work you. > I guess it's Ubuntu issue with LVM. > > Boris. > > --- On *Sat, 5/23/09, eXeC001er * wrote: > > > From: eXeC001er > Subject: Re: [Xen-devel] Crash DomU and after it Dom0 is frozen. > To: "Boris Derzhavets" , "Xen-devel" < > xen-devel@lists.xensource.com> > Date: Saturday, May 23, 2009, 3:42 PM > > I installed guest domain on disk_in_file (disk=['file:/path_to_file']). > The problem disappeared. > What is it? Xen have problem with LVM ? > > 2009/5/23 eXeC001er > > > >> I'm not understood. Can you explain more? >> >> 2009/5/23 Boris Derzhavets >> > >> >>> Just a second , could you install on /dev/sda(X) , b(X) not LVM ? >>> Boris. >>> >>> --- On *Sat, 5/23/09, eXeC001er >>> >* wrote: >>> >>> >>> From: eXeC001er >>> > >>> Subject: Re: [Xen-devel] Crash DomU and after it Dom0 is frozen. >>> To: "Boris Derzhavets" >, >>> "Xen-devel" >>> > >>> Date: Saturday, May 23, 2009, 8:12 AM >>> >>> No, Dom0 does not restart, it is frozen with blinking Caps and Scroll >>> leds on keyboard. >>> I try another kernel from OpenSolaris. >>> >>> 2009/5/23 Boris Derzhavets >>> > >>> >>>> Do you mean, it reboots your Dom0 ? >>>> If yes, try something like Nevada b113/b114 (for me better b106 or >>>> OS200811) DomU >>>> with ZFS image. Would it cause the same to Dom0 ? >>>> If yes, then something is wrong with Xen 3.4 or kernel. I have OS0811 >>>> and SNV (b106) running with no issues in same Xen-Kernel environment . Yes, >>>> shutdown is slow , some >>>> services may be placed in maintenance mode, but no harm to Dom0. >>>> If no, I am sorry about NexentaOS. >>>> >>>> Boris. >>>> >>>> --- On *Sat, 5/23/09, eXeC001er >>>> >* wrote: >>>> >>>> >>>> From: eXeC001er >>>> > >>>> Subject: Re: [Xen-devel] Crash DomU and after it Dom0 is frozen. >>>> To: "Xen-devel" >>>> > >>>> Date: Saturday, May 23, 2009, 6:53 AM >>>> >>>> Boot is ok. Work is ok. Reboot is crash. >>>> >>>> 2009/5/23 Boris Derzhavets >>>> > >>>> >>>>> What's gonna happen if you try to load NexentaOS PV DomU again ? >>>>> >>>>> Boris. >>>>> >>>>> --- On *Sat, 5/23/09, eXeC001er >>>>> >* wrote: >>>>> >>>>> >>>>> From: eXeC001er >>>>> > >>>>> Subject: [Xen-devel] Crash DomU and after it Dom0 is frozen. >>>>> To: "Xen-devel" >>>>> > >>>>> Date: Saturday, May 23, 2009, 5:25 AM >>>>> >>>>> Hello! >>>>> I installed NexentaOS (Opensolaris kernel b104+). >>>>> First booting system is true. Before first rebooting system updates >>>>> boot_archive. It's false. >>>>> Computer is freeze and CapsLock and ScrollLock is blinking. >>>>> Helps only RESET button. >>>>> My system is Ubuntu 8.10, kernel-2.6.30-rc3-tip, Xen-3.4-Stable with >>>>> debug options enabled. >>>>> My hardware: AMD Athlon64X2 5400+, RAM 4GB. >>>>> For DomU: mem=1024, LVM disk >>>>> DomU loaded with the help of PYGRUB. >>>>> In attach: my .config for kernel, debug log from Xen, and >>>>> domain-builder log. >>>>> Thanks. >>>>> >>>>> -----Inline Attachment Follows----- >>>>> >>>>> _______________________________________________ >>>>> Xen-devel mailing list >>>>> Xen-devel@lists.xensource.com >>>>> http://lists.xensource.com/xen-devel >>>>> >>>>> >>>>> >>>> >>>> -----Inline Attachment Follows----- >>>> >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> http://lists.xensource.com/xen-devel >>>> >>>> >>>> >>> >>> -----Inline Attachment Follows----- >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> >>> >>> >> > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > --0016e64605fa912c9f046aa25003 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Ok. I will try.
Which distro of Linux do you use for your Do= m0?
Thanks.

2009/5= /24 Boris Derzhavets <bderzhavets@yahoo.com>
Ok. Pleas= e, take a look at http://www.howtoforge.com/linux_lvm
and remove LVM. Try partition of type 83 like /dev/sdb6 any size
you nee= d.

For example my development box has second drive with partitionsfor DomUs and 2 Ubuntu Server Instances
root@ServerXen331:~# fdisk /de= v/sdb

The number of cylinders for this disk is set to 30401.
There is noth= ing wrong with that, but this is larger than 1024,
and could in certain = setups cause problems with:
1) software that runs at boot time (e.g., ol= d versions of LILO)
2) booting and partitioning software from other OSs
=A0=A0 (e.g., DOS FD= ISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdb: 250.0= GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units =3D cylinders of 16065 * 512 =3D 8225280 bytes
Disk identifier: 0x000e7f99

=A0=A0 Device Boot=A0=A0=A0=A0=A0 Start=A0=A0=A0=A0=A0= =A0=A0=A0 End=A0=A0=A0=A0=A0 Blocks=A0=A0 Id=A0 System
/dev/sdb1=A0=A0 *= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0 3647=A0=A0=A0 2929449= 6=A0=A0 83=A0 Linux
/dev/sdb2=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 3648=A0= =A0=A0=A0=A0=A0=A0 4133=A0=A0=A0=A0 3903795=A0=A0 82=A0 Linux swap / Solari= s
/dev/sdb3=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 4134=A0=A0=A0=A0=A0=A0=A0 6134= =A0=A0=A0 16073032+=A0 83=A0 Linux
/dev/sdb4=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 6135=A0=A0=A0=A0=A0=A0 30282=A0=A0 193968810=A0=A0=A0 5=A0 Extended
/dev/sdb5=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 6135=A0=A0=A0=A0=A0= =A0=A0 8135=A0=A0=A0 16073001=A0=A0 83=A0 Linux
/dev/sdb6=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 8136=A0=A0=A0=A0=A0=A0 10136=A0=A0=A0 16073001=A0=A0 83= =A0 Linux
/dev/sdb7=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 10137=A0=A0=A0=A0=A0= =A0 12137=A0=A0=A0 16073001=A0=A0 83=A0 Linux
/dev/sdb8=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 12138=A0=A0=A0=A0=A0=A0 14138=A0=A0=A0 16073001=A0=A0 83=A0= Linux
/dev/sdb9=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 14139=A0=A0=A0=A0=A0=A0 16139=A0=A0= =A0 16073001=A0=A0 83=A0 Linux
/dev/sdb10=A0=A0=A0=A0=A0=A0=A0=A0=A0 16140=A0=A0=A0=A0=A0=A0 18140=A0=A0=A0 16073001=A0=A0 83=A0 Linux
/dev/= sdb11=A0=A0=A0=A0=A0=A0=A0=A0=A0 18141=A0=A0=A0=A0=A0=A0 20141=A0=A0=A0 160= 73001=A0=A0 83=A0 Linux
/dev/sdb12=A0=A0=A0=A0=A0=A0=A0=A0=A0 20142=A0= =A0=A0=A0=A0=A0 22142=A0=A0=A0 16073001=A0=A0 83=A0 Linux
/dev/sdb13=A0= =A0=A0=A0=A0=A0=A0=A0=A0 22143=A0=A0=A0=A0=A0=A0 24143=A0=A0=A0 16073001=A0= =A0 83=A0 Linux
/dev/sdb14=A0=A0=A0=A0=A0=A0=A0=A0=A0 24144=A0=A0=A0=A0=A0=A0 29796=A0=A0= =A0 45407691=A0=A0 83=A0 Linux
/dev/sdb15=A0=A0=A0=A0=A0=A0=A0=A0=A0 297= 97=A0=A0=A0=A0=A0=A0 30282=A0=A0=A0=A0 3903763+=A0 82=A0 Linux swap / Solaris

To install DomU :-
# losetup -f /var/isos/f10.iso
# l= osetup -a
Entry into installation python profile:-

disk =3D ['= ;phy:/dev/sdb6,xvda,w','phy:/dev/loop0,hdc:cdrom,r']

I am pretty sure similar profile would work you.
I guess it's Ubuntu= issue with LVM.


Boris.

--- On Sat, 5/23= /09, eXeC001er <execooler@gmail.com> wrote:

From: eXeC001er <execooler@gmail.com&g= t;
Subject: Re: [Xen-devel] Crash DomU and after it Dom0 is frozen.
To: &qu= ot;Boris Derzhavets" <bderzhavets@yahoo.com>, "Xen-devel" <xen-devel@li= sts.xensource.com>
Date: Saturday, May 23, 2009, 3:42 PM


<= div>
I installed guest domain on disk_in_file (disk=3D['file:/path_= to_file']).
The problem disappeared.
What is it? Xe= n have problem with LVM ?

2009/5/23 eXeC001er <execooler@gmail.com>
I'm not understood.= Can you explain more?


2009/5/2= 3 Boris Derzhavets <bderzhavets@yahoo= .com>
Just a second , could you install on /dev/sda(X) , b(X) not LVM ?

B= oris.

--- On Sat, 5/23/09, eXeC001er <execoo= ler@gmail.com> wrote:

From: eXeC001er <execoo= ler@gmail.com>
Subject: Re: [Xen-devel] Crash DomU and after it Dom0 is frozen.
T= o: "Boris Derzhavets" <bderzhavets@yahoo.com<= /a>>, "Xen-devel" <xen-devel@lists= .xensource.com>
Date: Saturday, May 23, 2009, 8:12 AM


No, Dom0 d= oes not restart, it is frozen with blinking Caps and Scroll leds on keyboar= d.
I try another kernel from OpenSolaris.

2009/5/23 Boris Derzhavets <bderzhavets@yahoo.com>
Do you mean, it reboots your Dom0 ?
If yes, try=A0 something like Nevada b113/b114 (for me better b106 or OS200= 811) DomU
with ZFS image. Would it cause the same to Dom0 ?
=A0 If ye= s, then something is wrong with Xen 3.4 or kernel. I have OS0811 and SNV (b= 106) running with no issues in same Xen-Kernel environment .=A0 Yes, shutdo= wn is slow , some
services may be placed in maintenance mode, but no harm to Dom0.
=A0 If = no, I am sorry about NexentaOS.


Boris.

--- On Sat, 5/= 23/09, eXeC001er <execooler@gmail.com> = wrote:

From: eXeC001er <execoo= ler@gmail.com>
Subject: Re: [Xen-devel] Crash DomU and after it Dom0 is frozen.
=
To: "Xen-devel" <xen-devel@lists.= xensource.com>
Date: Saturday, May 23, 2009, 6:53 AM


Boot is ok. Work is ok. Reboot= is crash.

2009/5/23 Boris Derzhavets <bderzhavets@yahoo.com>
What's gonna happen if you try to load NexentaOS PV DomU again ?
Boris.

--- On Sat, 5/23/09, eXeC001er <exec= ooler@gmail.com> wrote:

From: eXeC001er <execooler@gmail.c= om>
Subject: [Xen-devel] Crash DomU and after it Dom0 is frozen.
To: "Xen-devel" <xen-devel@lists.xens= ource.com>
Date: Saturday, May 23, 2009, 5:25 AM

Hello!
I installed NexentaOS (Opensolaris kernel b104+).
First boot= ing system is true. Before first rebooting system updates boot_archive. It&= #39;s false.
Computer is freeze and CapsLock and ScrollLock is bl= inking.
Helps only RESET button.
My system is Ubuntu 8.10, kernel-2.= 6.30-rc3-tip, Xen-3.4-Stable with debug options enabled.
My hardw= are: AMD Athlon64X2 5400+, RAM 4GB.
For DomU: mem=3D1024, LVM disk
DomU loaded with the help of = PYGRUB.
In attach: my .config for kernel, debug log from Xen, and= domain-builder log.
Thanks.

-----Inline Attachment Follows-----

_____= __________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel



-----Inline Attachment Follows-----

_________________= ______________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel



-----Inline Attachment Follows-----

_________________= ______________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel




-----Inline Attachment Follows-----

_________________= ______________________________
Xen-devel mailing list
Xen-dev= el@lists.xensource.com
http://l= ists.xensource.com/xen-devel


--0016e64605fa912c9f046aa25003-- --===============1361258741== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1361258741==--