Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore
Quoted 7 lines
That is, I think the following config should work on those Ubuntu systems
PYTHON=python
PYTHON_PREFIX_ARG=''
although you may need to do
PREFIX=/usr/local
too.
# make tools
fails on Ubuntu 9.04 Server with
Config.mk suggested above
This one Config.mk (untouched) works fine:-
PYTHON ?= pythonPYTHON_PREFIX_ARG ?= --prefix="$(PREFIX)"
# The above requires that PREFIX contains *no
spaces*. This variable is here
# to permit the user to set PYTHON_PREFIX_ARG to '' to workaround this bug: # https://bugs.launchpad.net/ubuntu/+bug/362570
When :-
root@ServerJaunty:/usr/bin# ls -l pyt* lrwxrwxrwx 1 root root 9 2009-05-11 14:56 python -> python2.5 -rwxr-xr-x 1 root root 1399288 2009-04-04 15:28 python2.5 -rwxr-xr-x 1 root root 1419 2009-04-04 15:27 python2.5-config -rwxr-xr-x 1 root root 2579968 2009-04-18 22:52 python2.6 -rwxr-xr-x 1 root root 1452 2009-04-18 22:50 python2.6-config -rwxr-xr-x 1 root root 5585562 2009-04-18 22:51 python2.6-dbg -rwxr-xr-x 1 root root 1456 2009-04-18 22:51 python2.6-dbg-config lrwxrwxrwx 1 root root 13 2009-05-08 07:17 python-dbg -> python2.6-dbg lrwxrwxrwx 1 root root 20 2009-05-08 07:17 python-dbg-config -> python2.6-dbg-config
Xen Host boots fine.
Pygrub still fails.
But it's not a core issue (view attached report)!!
Profile bellow fails as well with 2.6.30-rc3-tip :-
root@ServerJaunty:/home/boris/kernel# cat f10.cfg memory = 1024 name = "FedoraPV" ramdisk="/home/boris/kernel/initrd-2.6.27.19-170.2.35.fc10.x86_64.img" kernel="/home/boris/kernel/vmlinuz-2.6.27.19-170.2.35.fc10.x86_64" root="/dev/VolGroup00/LogVol00 ro" extra = 'console=hvc0' disk = [ 'phy:/dev/sdb7,xvda,w'] vif = [ 'bridge=eth1' ]
# xm create -c f10.cfg . . . .
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
Magic number: 1:252:3141
Freeing unused kernel memory: 1296k freed
Write protecting the kernel read-only data: 4752k
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Loading
/lib/kbd/keymaps/i386/qwerty/us.map
XENBUS: Timeout connecting to device: device/vbd/51712 (state 3) root@ServerJaunty:/home/boris/kernel#
Error: Device 0 (vif) could not be connected. Hotplug scripts not working
Backend support modules linked built-in with 2.6.30-rc3-tip kernel
Boris.
--- On Tue, 5/12/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore
To: [email protected]
Cc: "Keir Fraser" <[email protected]>, "[email protected]" <[email protected]>
Date: Tuesday, May 12, 2009, 10:13 AM
Boris Derzhavets writes ("[Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):
Quoted 1 line
I was able to rebuild xen& tools with only one line modified in
Config.mk :-
Quoted 2 lines
PYTHON ?= /usr/bin/python2.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is the line you changed ? I'm afraid your message wasn't very clear.
Quoted 1 line
IF
PYTHON_PREFIX_ARG?=''
This is the feature I put in to let you override the --prefix specification from the Xen build system, specifically to try to work around the Ubuntu python installation bug. If it doesn't work then something is wrong.
Ian.
root@ServerJaunty:/home/boris/kernel# xm create -c f10.cfg Using config file "./f10.cfg". Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.27.19-170.2.35.fc10.x86_64 ([email protected]) (gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) ) #1 SMP Mon Feb 23 13:00:23 EST 2009 Command line: root=/dev/VolGroup00/LogVol00 ro console=hvc0 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD Centaur CentaurHauls ACPI in unprivileged domain disabled BIOS-provided physical RAM map: Xen: 0000000000000000 - 00000000000a0000 (usable) Xen: 00000000000a0000 - 0000000000100000 (reserved) Xen: 0000000000100000 - 0000000002079000 (usable) Xen: 0000000002079000 - 000000000227c000 (reserved) Xen: 000000000227c000 - 0000000040000000 (usable) DMI not present or invalid. last_pfn = 0x40000 max_arch_pfn = 0x3ffffffff init_memory_mapping last_map_addr: 40000000 end: 40000000 RAMDISK: 01830000 - 02079000 No NUMA configuration found Faking a node at 0000000000000000-0000000040000000 Bootmem setup node 0 0000000000000000-0000000040000000 NODE_DATA [0000000000008000 - 000000000001cfff] bootmap [000000000001d000 - 0000000000024fff] pages 8 (6 early reservations) ==> bootmem [0000000000 - 0040000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] #2 [000227c000 - 0002291000] XEN PAGETABLES ==> [000227c000 - 0002291000] #3 [0001000000 - 000182f0cc] TEXT DATA BSS ==> [0001000000 - 000182f0cc] #4 [0001830000 - 0002079000] RAMDISK ==> [0001830000 - 0002079000] #5 [0000100000 - 00002ea000] PGTABLE ==> [0000100000 - 00002ea000] Zone PFN ranges: DMA 0x00000000 -> 0x00001000 DMA32 0x00001000 -> 0x00100000 Normal 0x00100000 -> 0x00100000 Movable zone start PFN for each node early_node_map[3] active PFN ranges 0: 0x00000000 -> 0x000000a0 0: 0x00000100 -> 0x00002079 0: 0x0000227c -> 0x00040000 SMP: Allowing 1 CPUs, 0 hotplug CPUs No local APIC present PM: Registered nosave memory: 00000000000a0000 - 0000000000100000 PM: Registered nosave memory: 0000000002079000 - 000000000227c000 Allocating PCI resources starting at 50000000 (gap: 40000000:c0000000) PERCPU: Allocating 65184 bytes of per cpu data Built 1 zonelists in Node order, mobility grouping on. Total pages: 257456 Policy zone: DMA32 Kernel command line: root=/dev/VolGroup00/LogVol00 ro console=hvc0 Initializing CPU#0 PID hash table entries: 4096 (order: 12, 32768 bytes) Detected 2833.010 MHz processor. Console: colour dummy device 80x25 console [tty0] enabled console [hvc0] enabled Checking aperture... No AGP bridge found Memory: 1012572k/1048576k available (3307k kernel code, 33560k reserved, 1840k data, 1296k init) SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 installing Xen timer for CPU 0 Calibrating delay loop (skipped), value calculated using timer frequency.. 5666.02 BogoMIPS (lpj=2833010) Security Framework initialized SELinux: Initializing. Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) Mount-cache hash table entries: 256 Initializing cgroup subsys ns Initializing cgroup subsys cpuacct Initializing cgroup subsys devices CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 6144K CPU 0/0 -> Node 0 CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 SMP alternatives: switching to UP code Freeing SMP alternatives: 28k freed cpu 0 spinlock event irq 1 Brought up 1 CPUs net_namespace: 1552 bytes Booting paravirtualized kernel on Xen Xen version: 3.4.0-rc4-pre (preserve-AD) Grant table initialized Time: 165:165:165 Date: 165/165/65 NET: Registered protocol family 16 PCI: Fatal: No config space access function found ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_balloon: Initialising balloon driver. SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: System does not support PCI PCI: System does not support PCI NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default PCI-GART: No AMD northbridge found. tracer: 1286 pages allocated for 65536 entries of 80 bytes actual entries 65586 ACPI Exception (utmutex-0263): AE_BAD_PARAMETER, Thread FFFF88003FDD8000 could not acquire Mutex [1] [20080609] NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 6, 262144 bytes) TCP established hash table entries: 131072 (order: 9, 2097152 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 8484k freed platform rtc_cmos: registered platform RTC device (no PNP device found) audit: initializing netlink socket (disabled) type=2000 audit(1242140874.334:1): initialized HugeTLB registered 2 MB page size, pre-allocated 0 pages VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) msgmni has been set to 2064 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 Non-volatile memory driver v1.2 Linux agpgart interface v0.103 Serial: 8250/16550 driver4 ports, IRQ sharing enabled brd: module loaded loop: module loaded input: Macintosh mouse button emulation as /devices/virtual/input/input0 Driver 'sd' needs updating - please use bus_type methods Driver 'sr' needs updating - please use bus_type methods USB Universal Host Controller Interface driver v3.0 PNP: No PS/2 controller found. Probing ports directly. mice: PS/2 mouse device common for all mice rtc_cmos: probe of rtc_cmos failed with error -16 device-mapper: uevent: version 1.0.3 device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected] cpuidle: using governor ladder cpuidle: using governor menu usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver nf_conntrack version 0.5.0 (8192 buckets, 32768 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 IO APIC resources could be not be allocated. registered taskstats version 1 XENBUS: Device with no driver: device/vbd/51712 XENBUS: Device with no driver: device/vif/0 XENBUS: Device with no driver: device/console/0 Magic number: 1:252:3141 Freeing unused kernel memory: 1296k freed Write protecting the kernel read-only data: 4752k Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Loading /lib/kbd/keymaps/i386/qwerty/us.map XENBUS: Timeout connecting to device: device/vbd/51712 (state 3) root@ServerJaunty:/home/boris/kernel# Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):
Quoted 8 lines
Quoted 7 lines
That is, I think the following config should work on those Ubuntu systems
PYTHON=python
PYTHON_PREFIX_ARG=''
although you may need to do
PREFIX=/usr/local
too.
Quoted 4 lines
# make toolsfails on Ubuntu 9.04 Server with
Config.mk suggested above
I'm not sure I see where you quote the error message ?
Quoted 1 line
This one Config.mk (untouched) works fine:-
But if the default works, then I don't understand why you were changing it ?
Ian.
I returned to default after changing link under /usr/bin python->python 2.5
That is not Ubuntu 9.04 default.
Regarding error with Config.mk, here it goes :-
PREFIX = /usr/local
PYTHON = pythonPYTHON_PREFIX_ARG = ''
# make tools . . . . .
CC="gcc" CFLAGS="-O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .install.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE " python setup.py install \
'' --root="/usr/src/xen-unstable.hg/dist/install" --force
invalid command name ''
make[3]: *** [install] Error 1
make[3]: Leaving directory `/usr/src/xen-unstable.hg/tools/python'
make[2]: *** [subdir-install-python] Error 2
make[2]: Leaving directory `/usr/src/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen-unstable.hg/tools'
make: *** [install-tools] Error 2
Boris.
--- On Tue, 5/12/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>
Date: Tuesday, May 12, 2009, 12:00 PM
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):
Quoted 8 lines
Quoted 7 lines
That is, I think the following config should work on those Ubuntu systems
PYTHON=python
PYTHON_PREFIX_ARG=''
although you may need to do
PREFIX=/usr/local
too.
Quoted 4 lines
# make toolsfails on Ubuntu 9.04 Server with
Config.mk suggested above
I'm not sure I see where you quote the error message ?
Quoted 1 line
This one Config.mk (untouched) works fine:-
But if the default works, then I don't understand why you were changing it ?
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):
Quoted 1 line
invalid command name ''
It looks like my documentation comment was misleading. It gives a syntax valid only in the shell, and not in the Makefile. Try
PYTHON_PREFIX_ARG=
in the Makefile.
Ian.
Yes, now
# make install-xen # make install-tools commit builds
Pygrub doesn't work ( i believe default path is incorrect ) and hotplug scripts don't work as well . The last problem makes Xen Host dead. I've tested Suse's 2.6.27.5 kernel under Xen 3.4 .
It shows same behavior as 2.6.30-rc3-tip. Problem seems to be on Xen side.
Otherwise, backend drivers in both xen-ified and pvops kernel refuse to repond
DomU requests.
Something is wrong with python 2.5 setup on Ubuntu 9.04 Server.
Actually , it seems to be broken in the same way as python 2.6 installed
by default.
Boris.
--- On Tue, 5/12/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>
Date: Tuesday, May 12, 2009, 12:39 PM
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):
Quoted 1 line
invalid command name ''
It looks like my documentation comment was misleading. It gives a syntax valid only in the shell, and not in the Makefile. Try
PYTHON_PREFIX_ARG=
in the Makefile.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):
Quoted 4 lines
Yes, now
# make install-xen # make install-tools commit builds
Good.
Quoted 3 lines
Pygrub doesn't work ( i believe default path is incorrect ) and hotplug scripts don't work as well . The last problem makes Xen Host dead.
But xm create now appears to work ? It's possible that the fix didn't take properly for pygrub. Or perhaps that you are running a version leftover from a previous attempt ?
Quoted 3 lines
I've tested Suse's 2.6.27.5 kernel under Xen 3.4 .
It shows same behavior as 2.6.30-rc3-tip. Problem seems to be on Xen side. Otherwise, backend drivers in both xen-ified and pvops kernel refuse to repond
What errors are in the hotplug logfile ?
Ian.
--- On Tue, 5/12/09, Ian Jackson <[email protected]> wrote:
From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>
Date: Tuesday, May 12, 2009, 1:16 PM
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):
Quoted 4 lines
Yes, now
# make install-xen # make install-tools commit builds
Good.
Quoted 3 lines
Pygrub doesn't work ( i believe default path is incorrect ) and hotplug scripts don't work as well . The last problem makes Xen Host dead.
But xm create now appears to work ? It's possible that the fix didn't take properly for pygrub. Or perhaps that you are running a version leftover from a previous attempt ?
*******************************************************
No "xm create -f DomU.cfg" doesn't appear to work
( *.cfg profile has kernel,ramdisk,root,extra no pygrub involvment). It's not leftover due to :-
# make clean # make uninstall # make install-xen # make install-tools # reboot ******************************************************
Quoted 3 lines
I've tested Suse's 2.6.27.5 kernel under Xen 3.4 .
It shows same behavior as 2.6.30-rc3-tip. Problem seems to be on Xen side. Otherwise, backend drivers in both xen-ified and pvops kernel refuse to
repond
What errors are in the hotplug logfile ?
***************************************
No hotplug.log at all.
DomU gets paused. Then it may be unpaused
or no , but some time later console reports
"(0) vif couldn't be connected. Hotplug scripts
not working"
root@ServerJaunty:/var/log/xen# ls -l
total 636
-rw-r--r-- 1 root root 148858 2009-05-12 12:58 domain-builder-ng.log -rw-r--r-- 1 root root 125338 2009-05-12 12:55 xend-debug.log -rw-r--r-- 1 root root 357212 2009-05-12 12:59 xend.log
xend.log:-
[2009-05-12 12:58:09 3993] DEBUG (XendDomainInfo:1708) XendDomainInfo.handleShutdownWatch
[2009-05-12 12:58:09 3993] DEBUG (DevController:139) Waiting for devices vif.
[2009-05-12 12:58:09 3993] DEBUG (DevController:144) Waiting for 0.
[2009-05-12 12:58:09 3993] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status. [2009-05-12 12:58:58 3993] INFO (XendDomain:1180) Domain FedoraPV (2) unpaused.
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2723) XendDomainInfo.destroy: domid=2
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2198) Destroying device model
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2205) Releasing devices
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2218) Removing vif/0
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:1133) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2218) Removing vbd/51712
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:1133) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712 [2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2218) Removing console/0
Udev is in place:-
root@ServerJaunty:/var/log/xen# ps -ef|grep udev root 1239 1 0 12:54 ? 00:00:00 /sbin/udevd --daemon
Bridge is correct.
Boris
*****************************************************************************************************************************
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel