[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty


  • To: Dulloor <dulloor@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Tue, 20 Oct 2009 07:39:45 -0700 (PDT)
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Marc - A. Dahlhaus" <mad@xxxxxx>
  • Delivery-date: Tue, 20 Oct 2009 07:40:35 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=PiCodLACAE0xQcBsngr23f5XCJrvI/dRKqL4v53IqraV19+3oNLLyUDbo3LR5tTqfGpsjctWHovffLucKzG158hXNV/32WzZSfLIEsFLceB+X5XEPDHzr9iZOdWCfHjyozR1MuhA9ujB2Yw/b6VTWPRFMg/TFhxJIITZHp0SeoE=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

You have to take care of hvc0 like tty1 entry under /etc/event.d on:
1. Ubuntu's <= 9.04 pv guest
# cd /etc/event.d
# cp tty1 hvc0
and edit hvc0 file correspondently
2. /etc/inittab on CentOS 5.3 DomU
should have entry
hvc0:23:respawn:...:hvc0
like for tty1,tty2 and etc

and so on,  console=hvc0 at /boot/vmlinuz-xen  module's line requires
activating hvc0 via guest's specific location, view for instance :-

http://bderzhavets.wordpress.com/2009/05/21/install-ubuntu-jaunty-pv-hvm-domus-at-xen-3-4-dom0-kernel-2-6-30-rc6-tip/

or just tell exactly which one (linux) PV DomU is causing you trouble with serial console.

Boris.
P.S. F11, U 9.04 Server , OpenSuse 11.1(2)  PV DomUs may loaded via vfb as well,but U 9.10 Server (beta) requires serial console




--- On Tue, 10/20/09, Dulloor <dulloor@xxxxxxxxx> wrote:

From: Dulloor <dulloor@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Marc - A. Dahlhaus" <mad@xxxxxx>
Date: Tuesday, October 20, 2009, 6:22 AM

Boris,

The "hotplug" error is gone with 9.04 server. The VMs boot fine (atleast per logs and xm list).

I am not able to access VM via console(hvc0) though. I have tried everything out there in your blogs, but the console just freezes at this same point :
"
[    0.010000] Initializing cgroup subsys memory
[    0.010000] Initializing cgroup subsys freezer
"
Any clues on how to go about debugging this ?

I use the default network-nat configuration for VMs(with addresses from 10.0.0.1/24). That doesn't work either. Is that expected too ?
I am sure the bridge configuration should work though (will try tomorrow).

-dulloor


On Sun, Oct 18, 2009 at 3:48 AM, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
> I will try 9.04-Server (not sure if it will help though)
1. I believe it will help.
2. Bruce's  Edge feed would be also very much wanted.

Boris.


--- On Sun, 10/18/09, Dulloor <dulloor@xxxxxxxxx> wrote:

From: Dulloor <dulloor@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Marc - A. Dahlhaus" <mad@xxxxxx>, "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Sunday, October 18, 2009, 3:09 AM


I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation.

-dulloor


On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
Please, tell how you setup Xen 3.4.1 or Xen  Unstable on 9.04 server ?

Boris.

P.S. Working sample:-

http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/



--- On Sun, 10/18/09, Dulloor <dulloor@xxxxxxxxx> wrote:

From: Dulloor <dulloor@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Marc - A. Dahlhaus" <mad@xxxxxx>, "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Sunday, October 18, 2009, 1:37 AM


I am at the tip of xen/master branch of Jeremy's tree.

commit 2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
Date:   Thu Oct 15 11:34:28 2009 -0700

    Merge branch 'xen/vsyscall' into xen/master

    * xen/vsyscall:
      x86/vsyscall: fix 32-bit compile

-dulloor

On Sun, Oct 18, 2009 at 12:49 AM, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
> Boris Derzhavets schrieb:
>>
>> By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup
>> on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to
>> re-enable ability start DomUs without hotplug scripts failure.
>>
>> Boris.

It  was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1  tarball and via xen-unstable.hg  but, every time the most recent JF's pvops kernel had been built to
support Dom0. Problem with hot-plug scripts was gone far away.
My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On Sat, 10/17/09, Dulloor <dulloor@xxxxxxxxx> wrote:

From: Dulloor <dulloor@xxxxxxxxx>
Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Marc - A. Dahlhaus" <mad@xxxxxx>Date: Saturday, October 17, 2009, 6:08 PM


- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules
and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make
install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :
KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)
KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend)
KERNEL[1255816932.786000] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend)
UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend)
KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend)
UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend)
UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend)
------------- ****After the error****
UDEV  [1255817033.334001] remove   /devices/console-22-0 (xen-backend)

-dulloor


On Sat, Oct 17, 2009 at 4:04 PM, Marc - A. Dahlhaus <mad@xxxxxx> wrote:
> Hello,
>
> Dulloor schrieb:
>>
>> I see that these patches made it to xen-unstable, but I still see the
>> "Hotplug Scripts not working ..." error on my jaunty dom0 machine.
>
> The patches only fixed the build-time and installation-time detection of
>  udev to work with version above of 124.
>
> Have no jaunty based box around here to get some impressions of what goes
> wrong in this setup.
>
> Could you check what udev version it has and if /etc/hotplug and/or
> /etc/udev contains xen related stuff?
>
> As udev is in charge of hotplug events on jaunty a
> "udevadm monitor" might get you some further details on what events are
> generated.
>
>> I am trying to run a simple para-VM. xend starts fine (had to build
>> tools with PYTHON_PREFIX_ARG set to ""). And, I tried
>> xen-hotplug-cleanup too, but still getting the error.
>>
>> Any ideas ?
>
> Check what files get installed in /etc/udev and /etc/hotplug during
> installation. If you find anything xen related in /etc/hotplug remove it and
> check if that fixes your problem.
>
> It would be interesting to know how you install xen...
>
> Marc
>
>> -dulloor
>>
>> On Sat, Jun 27, 2009 at 4:02 PM, Marc - A. Dahlhaus <mad@xxxxxx> wrote:
>>>
>>> Hello Boris,
>>>
>>> as the problem you are describing is unrelated to the patch (which
>>> changes
>>> the detection of udev during buildtime only),
>>> can you please change the subject line to something more appropriate and
>>> give some additional details about the problem?
>>>
>>>
>>> Marc
>>>
>>> Boris Derzhavets schrieb:
>>>>
>>>> By some reasons i have to run  on regular basis run
>>>> ./xen-hotplug-cleanup
>>>> on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to
>>>> re-enable ability start DomUs without hotplug scripts failure.
>>>>
>>>> Boris.
>>>>
>>>> --- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann
>>>> GmbH ] /<mad@xxxxxx>/* wrote:
>>>>
>>>>
>>>>   From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
>>>>   <mad@xxxxxx>
>>>>   Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
>>>>   version 124
>>>>   To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
>>>>   Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Keir Fraser"
>>>>   <keir.fraser@xxxxxxxxxxxxx>
>>>>   Date: Friday, June 26, 2009, 5:12 AM
>>>>
>>>>   Could go into 3.4 and unstable IMO.
>>>>
>>>>   On 3.3 there is no tools/hotplug/Linux/Makefile so it must be altered
>>>>   there to use tools/examples/Makefile for the first chunk and
>>>>   should work
>>>>   fine there.
>>>>
>>>>
>>>>   Marc
>>>>
>>>>   Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
>>>>   > Where this patch is supposed to go either xen-unstable.hg or
>>>>   > xen-3.4-testing.hg (both) ?
>>>>   > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon).
>>>>   >
>>>>   > Boris
>>>>   >
>>>>   > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration |
>>>>   Westermann
>>>>   > GmbH ] <mad@xxxxxx </mc/compose?to=mad@xxxxxx>> wrote:
>>>>   >            >         From: Marc - A. Dahlhaus [ Administration |
>>>> Westermann
>>>>   GmbH ]
>>>>   >         <mad@xxxxxx </mc/compose?to=mad@xxxxxx>>
>>>>   >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect
>>>>   udev >
>>>>   >         version 124
>>>>   >         To: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>   </mc/compose?to=xen-devel@xxxxxxxxxxxxxxxxxxx>>
>>>>   >         Cc: "Daniel Schroeder" <sec@xxxxxxxxxxxxxxx
>>>>   </mc/compose?to=sec@xxxxxxxxxxxxxxx>>, "Keir Fraser"
>>>>   >         <keir.fraser@xxxxxxxxxxxxx
>>>>   </mc/compose?to=keir.fraser@xxxxxxxxxxxxx>>
>>>>   >         Date: Wednesday, June 24, 2009, 12:26 PM
>>>>   >            >         udev removed the udevinfo symlink from versions
>>>> higher than
>>>>   >         123 and xens
>>>>   >         build-system could not detect if udev is in place and
>>>>   has the
>>>>   >         required
>>>>   >         version. Attached patch fixes this.
>>>>   >            >            >         Signed-off-by: Marc-A. Dahlhaus
>>>> <mad@xxxxxx
>>>>   </mc/compose?to=mad@xxxxxx>>
>>>>   >            >            >            >            >
>>>> -----Inline Attachment Follows-----
>>>>   >            >         _______________________________________________
>>>>   >         Xen-devel mailing list
>>>>   >         Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>   </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
>>>>   >         http://lists.xensource.com/xen-devel
>>>>   >            >
>>>>   > _______________________________________________
>>>>   > Xen-devel mailing list
>>>>   > Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>   </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
>>>>   > http://lists.xensource.com/xen-devel
>>>>
>>>>
>>>>   _______________________________________________
>>>>   Xen-devel mailing list
>>>>   Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>   </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
>>>>   http://lists.xensource.com/xen-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>> http://lists.xensource.com/xen-devel
>>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-devel
>>>
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel







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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.