On 5/11/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
On Thu, May 10, 2007 at 11:14:29PM +0530, satyaakam goswami wrote: > installed xen-unstable , and xend is running > > # xm list > Name ID Mem VCPUs State > Time(s) > Domain-0 0 0 4 r----- 985.9 > > > when i try to run virt-install i get the following error > > Traceback (most recent call last): > File "/usr/bin/virt-install", line 630, in ? > main() > File "/usr/bin/virt-install", line 489, in main > conn = libvirt.open(options.connect) > File "/usr/local/lib/python2.4/site-packages/libvirt.py", line 100, in open > if ret is None:raise libvirtError('virConnectOpen() failed') > libvirt.libvirtError: virConnectOpen() failed What user did you run it as ? Does 'virsh list' work ? What Xen version, kernel version & architecture. Finally what libvirt version
libvirt version 0.2.2 #xm dmesg output xm dmesg __ __ _____ ___ _ _ _ \ \/ /___ _ __ |___ / / _ \ _ _ _ __ ___| |_ __ _| |__ | | ___ \ // _ \ '_ \ |_ \| | | |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \ / \ __/ | | | ___) | |_| |__| |_| | | | \__ \ || (_| | |_) | | __/ /_/\_\___|_| |_| |____(_)___/ \__,_|_| |_|___/\__\__,_|_.__/|_|\___| http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 3.0-unstable (root@xxxxxxxxxxx) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) Wed May 9 13:08:10 IST 2007 Latest ChangeSet: Sat May 05 13:48:05 2007 +0100 15011:e370c94bd6fd (XEN) Command line: /xen-3.0.gz console=vga (XEN) 0000000000000000 - 000000000009f000 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000e4000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000dfff0000 (usable) (XEN) 00000000dfff0000 - 00000000dfffe000 (ACPI data) (XEN) 00000000dfffe000 - 00000000e0000000 (ACPI NVS) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fec00000 - 00000000fec01000 (reserved) (XEN) 00000000fee00000 - 00000000fef00000 (reserved) (XEN) 00000000ff780000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000120000000 (usable) (XEN) System RAM: 4095MB (4193852kB) (XEN) Xen heap: 13MB (14144kB) (XEN) Domain heap initialised: DMA width 32 bits (XEN) Processor #0 15:1 APIC version 16 (XEN) Processor #1 15:1 APIC version 16 (XEN) Processor #2 15:1 APIC version 16 (XEN) Processor #3 15:1 APIC version 16 (XEN) IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2613.453 MHz processor. (XEN) HVM: SVM enabled (XEN) CPU0: AMD Dual-Core AMD Opteron(tm) Processor 2218 stepping 02 (XEN) Mapping cpu 0 to node 255 (XEN) Booting processor 1/1 eip 90000 (XEN) Mapping cpu 1 to node 255 (XEN) AMD: Disabling C1 Clock Ramping Node #0 (XEN) AMD: Disabling C1 Clock Ramping Node #1 (XEN) CPU1: AMD Dual-Core AMD Opteron(tm) Processor 2218 stepping 02 (XEN) Booting processor 2/2 eip 90000 (XEN) Mapping cpu 2 to node 255 (XEN) CPU2: AMD Dual-Core AMD Opteron(tm) Processor 2218 stepping 02 (XEN) Booting processor 3/3 eip 90000 (XEN) Mapping cpu 3 to node 255 (XEN) CPU3: AMD Dual-Core AMD Opteron(tm) Processor 2218 stepping 02 (XEN) Total of 4 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 4 CPUs (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80200000 -> 0xffffffff805a8e6c (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000011a000000->000000011c000000 (987869 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff80200000->ffffffff805a8e6c (XEN) Init. ramdisk: ffffffff805a9000->ffffffff80b37400 (XEN) Phys-Mach map: ffffffff80b38000->ffffffff812d16e8 (XEN) Start info: ffffffff812d2000->ffffffff812d249c (XEN) Page tables: ffffffff812d3000->ffffffff812e0000 (XEN) Boot stack: ffffffff812e0000->ffffffff812e1000 (XEN) TOTAL: ffffffff80000000->ffffffff81400000 (XEN) ENTRY ADDRESS: ffffffff80200000 (XEN) Dom0 has maximum 4 VCPUs (XEN) Initrd len 0x58e400, start at 0xffffffff805a9000 (XEN) Scrubbing Free RAM: .done. (XEN) Xen trace buffers: disabled (XEN) Std. Loglevel: Errors and warnings (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen). (XEN) mtrr: type mismatch for fd000000,800000 old: write-back new: write-combining Satya