From: Boris Derzhavets Subject: Re: Crash DomU and after it Dom0 is frozen. Date: Sat, 23 May 2009 13:43:32 -0700 (PDT) Message-ID: <905282.7713.qm@web56105.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2065152223==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel , eXeC001er List-Id: xen-devel@lists.xenproject.org --===============2065152223== Content-Type: multipart/alternative; boundary="0-100446028-1243111412=:7713" --0-100446028-1243111412=:7713 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 =A0=A0 (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 =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 29294496=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 / Solaris /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 16073001=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 29797=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 # losetup -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 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, 3:42 PM I installed guest domain on disk_in_file (disk=3D['file:/path_to_file']).Th= e problem disappeared.What is it? Xen have problem with LVM ? 2009/5/23 eXeC001er =0AI'm not understood. Can you explain more? 2009/5/23 Boris Derzhavets =0A=0AJust a second , could you install on /dev/sda(X) , b(X) not LVM ? Boris. --- On Sat, 5/23/09, eXeC001er wrote: =0A=0A From: eXeC001er =0ASubject: Re: [Xen-devel] Crash DomU and after it Dom0 is frozen. To: "Boris Derzhavets" , "Xen-devel" =0A=0ADate: Saturday, May 23, 2009, 8:12 AM No, Dom0 does not restart, it is frozen with blinking Caps and Scroll leds = on keyboard.=20 I try another kernel from OpenSolaris.=0A 2009/5/23 Boris Derzhavets =0A=0A=0ADo you mean, it reboots your Dom0 ? =0AIf yes, try=A0 something like Nevada b113/b114 (for me better b106 or OS= 200811) DomU with ZFS image. Would it cause the same to Dom0 ? =A0 If yes, then something is wrong with Xen 3.4 or kernel. I have OS0811 a= nd SNV (b106) running with no issues in same Xen-Kernel environment .=A0 Ye= s, shutdown is slow , some =0A=0A=0Aservices 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 wrote: =0A=0A=0A From: eXeC001er =0A=0A=0ASubject: Re: [Xen-devel] Crash DomU and after it Dom0 is frozen. To: "Xen-devel" =0A=0A=0ADate: Saturday,=0A May 23, 2009, 6:53 AM Boot is ok. Work is ok. Reboot is crash. 2009/5/23 Boris Derzhavets =0A=0A=0A=0A=0A=0A=0AWhat's gonna happen if you try to load NexentaOS PV Do= mU again ? Boris. --- On Sat, 5/23/09, eXeC001er wrote: =0A=0A=0A=0A From: eXeC001er =0A=0A=0ASubject: [Xen-devel] Crash DomU and after it Dom0 is frozen. =0ATo: "Xen-devel" Date: Saturday, May 23, 2009, 5:25 AM =0A=0A=0AHello! =0AI installed NexentaOS (Opensolaris kernel b104+).First booting system is= true. Before first rebooting system updates boot_archive. It's false.Compu= ter is freeze and CapsLock and ScrollLock is blinking.=0A=0A=0A=0A=0AHelps = 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 4G= B.=0AFor DomU: mem=3D1024, LVM diskDomU loaded with the help of PYGRUB.In a= ttach: my .config for kernel, debug log from Xen, and domain-builder log.Th= anks.=0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com =0A=0A=0A=0Ahttp://lists.xensource.com/xen-devel =0A=0A =20 =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com =0A=0A=0Ahttp://lists.xensource.com/xen-devel =0A=0A =20 =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com =0A=0Ahttp://lists.xensource.com/xen-devel =0A=0A =20 =0A =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-100446028-1243111412=:7713 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Ok. Please, take a look at http://www.howtofo= rge.com/linux_lvm
and remove LVM. Try partition of type 83 like /dev/sdb= 6 any size
you need.

For example my development box has second dr= ive with partitions
for DomUs and 2 Ubuntu Server Instances
root@Serv= erXen331:~# 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 th= at runs at boot time (e.g., old versions of LILO)
2) booting and partiti= oning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)=

Command (m for help): p

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

   Device Boot      S= tart         End   &= nbsp;  Blocks   Id  System
/dev/sdb1   *&n= bsp;          1  &nb= sp;     3647    29294496   83&= nbsp; Linux
/dev/sdb2        &nb= sp;   3648        4133 &n= bsp;   3903795   82  Linux swap / Solaris
/dev/= sdb3            4134=         6134    16073032+=   83  Linux
/dev/sdb4       = ;     6135       30282&nb= sp;  193968810    5  Extended
/dev/sdb5         = ;   6135        8135 &nbs= p;  16073001   83  Linux
/dev/sdb6   =          8136   &nbs= p;   10136    16073001   83  Linux<= br>/dev/sdb7           10= 137       12137    16073001&nb= sp;  83  Linux
/dev/sdb8      &n= bsp;    12138       14138 = ;   16073001   83  Linux
/dev/sdb9  &= nbsp;        14139   &nbs= p;   16139    16073001   83  Linux<= br>/dev/sdb10          16140       18140    16073001=    83  Linux
/dev/sdb11     &nbs= p;    18141       20141 &= nbsp;  16073001   83  Linux
/dev/sdb12  &n= bsp;       20142     = ;  22142    16073001   83  Linux
/dev= /sdb13          22143 &nb= sp;     24143    16073001   83=   Linux
/dev/sdb14        &= nbsp; 24144       29796    454= 07691   83  Linux
/dev/sdb15     = ;     29797       30282&n= bsp;    3903763+  82  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 si= milar 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 <exe= cooler@gmail.com>
Subject: Re: [Xen-devel] Crash DomU and after it Do= m0 is frozen.
To: "Boris Derzhavets" <bderzhavets@yahoo.com>, "Xen= -devel" <xen-devel@lists.xensource.com>
Date: Saturday, May 23, 20= 09, 3:42 PM

I installed guest domain = on disk_in_file (disk=3D['file:/path_to_file']).
The problem disa= ppeared.
What is it? Xen have problem with LVM ?

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


2009/5/23 Boris Derzhavets <bderzhavets@yahoo.com>=0A
=0A=
Just a seco= nd , could you install on /dev/sda(X) , b(X) not LVM ?

Boris.
--- On Sat, 5/23/09, eXeC001er <execooler@gmail.com> wrote:
=0A=0A
<= blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5= px; padding-left: 5px;">

From: eXeC001er <execooler@gmail.com>
=0ASubject: Re: [X= en-devel] Crash DomU and after it Dom0 is frozen.
To: "Boris Derzh= avets" <bderzhavets@= yahoo.com>, "Xen-devel" <xen-devel@lists.xensource.com>
=0A=0A= 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.
=0A
2009/5/23 Boris Derzhavets <bderzhavets@yahoo.com>
=0A
=0A=0ADo you mean, it reboots your Dom0 ?
=0AIf yes, try&n= bsp; something like Nevada b113/b114 (for me better b106 or OS200811) DomU<= br>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) ru= nning with no issues in same Xen-Kernel environment .  Yes, shutdown i= s slow , some
=0A=0A=0Aservices may be placed in maintenance mode, but n= o harm to Dom0.
  If no, I am sorry about NexentaOS.


Bo= ris.

--- On Sat, 5/23/09, eXeC001er <execool= er@gmail.com> wrote:
=0A=0A=0A

From: eXeC001er <execooler@gmail.com>=
=0A=0A=0A
Subject: Re: [Xen-devel] Crash DomU and after it Dom0 is= frozen.

To: "Xen-devel" <xen-devel@lis= ts.xensource.com>
=0A=0A=0A
Date: Saturday,=0A May 23, 2009,= 6:53 AM


Boot is ok. Work is ok. Reboot is crash.
=
2009/5/23 Boris Derzhavets <bderzhavets@yahoo.com>
=0A=0A=0A=0A
=0A=0A=0AWhat's gonna happen if you try to= load NexentaOS PV DomU again ?

Boris.

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

From: eXeC001er <execooler@gmail.com>
=0A=0A=0ASubject: [Xen-devel] Crash Do= mU and after it Dom0 is frozen.
=0ATo: "Xen-devel" <xen-devel@lists.xensource.com>
Date: Saturday, May 23, 20= 09, 5:25 AM


=0A=0A=0A
Hello!
=0A
I i= nstalled NexentaOS (Opensolaris kernel b104+).
First booting syst= em is true. Before first rebooting system updates boot_archive. It's false.=
Computer is freeze and CapsLock and ScrollLock is blinking.=0A=0A=0A=0A=0A
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.
=0A
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.
=0A

-----Inline Attachmen= t Follows-----

_______________________________________________<= br>Xen-devel mailing list
Xen-devel@lists.xenso= urce.com
=0A=0A=0A=0Ahttp://lists.xensource.com/xen-devel

=0A=0A

=0A

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

_______________________________________________
Xen-devel mailing list<= br>Xen-devel@lists.xensource.com
=0A=0A=0A<= a rel=3D"nofollow" target=3D"_blank" href=3D"http://lists.xensource.com/xen= -devel">http://lists.xensource.com/xen-devel

=0A=0A

= =0A

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

______________= _________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
=0A=0Ahttp://lis= ts.xensource.com/xen-devel

=0A=0A

=0A

=0A

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

<= div class=3D"plainMail">_______________________________________________
= Xen-devel mailing list
Xen-devel@lists.= xensource.com
http://lists.xensource.com/xen-devel

=0A=0A --0-100446028-1243111412=:7713-- --===============2065152223== 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 --===============2065152223==--