WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Unabe to create guest domain on PAE enabled SLES 9 SP2 b

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Unabe to create guest domain on PAE enabled SLES 9 SP2 box, 4GB RAM
From: David F Barrera <dfbp@xxxxxxxxxx>
Date: Wed, 14 Sep 2005 11:42:17 -0500
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Sep 2005 16:40:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <553e670b3de3ca3b7c5fb915071a0ccb@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1126712294.4617.7.camel@dbarrera_tp> <553e670b3de3ca3b7c5fb915071a0ccb@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2005-09-14 at 17:02 +0100, Keir Fraser wrote:
> This should be fixed now. Hopefully the various problems people have 
> had with creating domains in big-mem PAE systems should be gone.

Well, still not working. Rebuilt (twice) completely from scratch. The
error messages in 'xm dmesg' are gone, but I still get the 'Error
creating domain' message.

x335b:/tmp/xen-unstable.hg # hg history | head
changeset:   6812:481a4ce27c15f4ece0293d0e015890b4a20cb694
tag:         tip
user:        kaf24@xxxxxxxxxxxxxxxxxxxx
date:        Wed Sep 14 10:56:06 2005
summary:     Fix xc_domain_memory_decrease_reservation().

changeset:   6811:a8edb2655c5d220b1bbf2b8d8415aae0ac136da3
user:        cl349@xxxxxxxxxxxxxxxxxxxx
date:        Wed Sep 14 10:47:48 2005
summary:     Add methods to read/write Vm/Domain store entries.


x335b:/tmp/xen # xm list
Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)
Domain-0           0      495    0      1   r----     33.0

x335b:/tmp/xen # xm create -c vm1.cfg
Using config file "vm1.cfg".
Error: Error creating domain: (0, 'Error')
x335b:/tmp/xen #

x335b:/tmp/xen # xm list
Unexpected error: xen.xend.XendProtocol.XendError

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib/python/xen/xm/main.py", line 710, in
main
    rc = cmd(args)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib/python/xen/xm/main.py", line 226, in
xm_list
    doms = server.xend_domains()
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib/python/xen/xend/XendClient.py", line
199, in xend_domains
    return self.xendGet(self.domainurl())
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib/python/xen/xend/XendClient.py", line
152, in xendGet
    return self.client.xendGet(url, args)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib/python/xen/xend/XendProtocol.py", line
86, in xendGet
    return self.xendRequest(url, "GET", args)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib/python/xen/xend/XendProtocol.py", line
170, in xendRequest
    val = self.handleStatus(resp.version, resp.status, resp.reason)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib/python/xen/xend/XendProtocol.py", line
106, in handleStatus
    return self.handleException(XendError(message))
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib/python/xen/xend/XendProtocol.py", line
132, in handleException
    raise err
xen.xend.XendProtocol.XendError: Internal server error

x335b:/tmp/xen # xm list
Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)
Domain-0           0      495    0      1   r----     35.2

x335b:/tmp/xen-unstable.hg # xm dmesg
 __  __            _____  ___         _                _
 \ \/ /___ _ __   |___ / / _ \     __| | _____   _____| |
  \  // _ \ '_ \    |_ \| | | |__ / _` |/ _ \ \ / / _ \ |
  /  \  __/ | | |  ___) | |_| |__| (_| |  __/\ V /  __/ |
 /_/\_\___|_| |_| |____(_)___/    \__,_|\___| \_/ \___|_|

 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0-devel (root@xxxxxxxxxxxxxxxxxx) (gcc version 3.3.3
(SuSE Linux)) Wed Sep 14 11:22:40 CDT 2005
 Latest ChangeSet: Wed Sep 14 10:56:06 2005
481a4ce27c15f4ece0293d0e015890b4a20cb694

(XEN) Physical RAM map:
(XEN)  0000000000000000 - 000000000009d400 (usable)
(XEN)  000000000009d400 - 00000000000a0000 (reserved)
(XEN)  00000000000e0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000f7fec140 (usable)
(XEN)  00000000f7fec140 - 00000000f7ff0000 (ACPI data)
(XEN)  00000000f7ff0000 - 00000000f8000000 (reserved)
(XEN)  00000000fec00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000108000000 (usable)
(XEN) System RAM: 4095MB (4193828kB)
(XEN) Xen heap: 10MB (10496kB)
(XEN) PAE enabled, limit: 16 GB
(XEN) found SMP MP-table at 0009d540
(XEN) DMI 2.3 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 IBM                                   ) @
0x000fdfc0
(XEN) ACPI: RSDT (v001 IBM    SERONYXP 0x00001000 IBM  0x45444f43) @
0xf7feff80
(XEN) ACPI: FADT (v001 IBM    SERONYXP 0x00001000 IBM  0x45444f43) @
0xf7feff00
(XEN) ACPI: MADT (v001 IBM    SERONYXP 0x00001000 IBM  0x45444f43) @
0xf7fefe40
(XEN) ACPI: ASF! (v016 IBM    SERONYXP 0x00000001 IBM  0x45444f43) @
0xf7fefd80
(XEN) ACPI: DSDT (v001 IBM    SERTURQU 0x00001000 MSFT 0x0100000b) @
0x00000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
(XEN) Processor #0 15:2 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x06] enabled)
(XEN) Processor #6 15:2 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 15:2 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x07] enabled)
(XEN) Processor #7 15:2 APIC version 20
(XEN) ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x06] dfl dfl lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x07] dfl dfl lint[0x1])
(XEN) ACPI: IOAPIC (id[0x0e] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 14, version 17, address 0xfec00000, GSI 0-15
(XEN) ACPI: IOAPIC (id[0x0d] address[0xfec01000] gsi_base[16])
(XEN) IOAPIC[1]: apic_id 13, version 17, address 0xfec01000, GSI 16-31
(XEN) ACPI: IOAPIC (id[0x0c] address[0xfec02000] gsi_base[32])
(XEN) IOAPIC[2]: apic_id 12, version 17, address 0xfec02000, GSI 32-47
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 3 I/O APICs
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) Initializing CPU#0
(XEN) Detected 3189.473 MHz processor.
(XEN) Using scheduler: Simple EDF Scheduler (sedf)
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K
(XEN) CPU: L2 cache: 512K
(XEN) CPU: L3 cache: 1024K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU0: Intel(R) Xeon(TM) CPU 3.20GHz stepping 05
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K
(XEN) CPU: L2 cache: 512K
(XEN) CPU: L3 cache: 1024K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU1: Intel(R) Xeon(TM) CPU 3.20GHz stepping 05
(XEN) Booting processor 2/6 eip 90000
(XEN) Initializing CPU#2
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K
(XEN) CPU: L2 cache: 512K
(XEN) CPU: L3 cache: 1024K
(XEN) CPU: Physical Processor ID: 3
(XEN) CPU2: Intel(R) Xeon(TM) CPU 3.20GHz stepping 05
(XEN) Booting processor 3/7 eip 90000
(XEN) Initializing CPU#3
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K
(XEN) CPU: L2 cache: 512K
(XEN) CPU: L3 cache: 1024K
(XEN) CPU: Physical Processor ID: 3
(XEN) CPU3: Intel(R) Xeon(TM) CPU 3.20GHz stepping 05
(XEN) Total of 4 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) ..TIMER: vector=0x31 pin1=2 pin2=-1
(XEN) checking TSC synchronization across 4 CPUs: passed.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 4 CPUs
(XEN) mtrr: v2.0 (20020519)
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found:
'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=3.0,VIRT_BASE=0xC0000000,PAE=yes,LOADER=generic'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000003800000->0000000004000000 (125952 pages
to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c0639f24
(XEN)  Init. ramdisk: c063a000->c063a000
(XEN)  Phys-Mach map: c063a000->c06b7000
(XEN)  Start info:    c06b7000->c06b8000
(XEN)  Page tables:   c06b8000->c06c1000
(XEN)  Boot stack:    c06c1000->c06c2000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Scrubbing Free
RAM: ...........................................done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
input to Xen).
(XEN) microcode: CPU1 updated from revision 0x11 to 0x29, date =
08112004
(XEN) microcode: CPU2 updated from revision 0x11 to 0x29, date =
08112004
(XEN) microcode: CPU3 updated from revision 0x11 to 0x29, date =
08112004
(XEN) microcode: CPU0 updated from revision 0x11 to 0x29, date =
08112004
(XEN) mtrr: type mismatch for fd000000,800000 old: write-back new:
write-combining
(XEN) mtrr: type mismatch for fd000000,800000 old: write-back new:
write-combining


xm log output:

[2005-09-14 11:33:53 xend] INFO (SrvDaemon:296) Xend Daemon started
[2005-09-14 11:33:53 xend] INFO (XendDomain:365) Creating entry for
unknown domain: id=0 uuid=b8e5144d-5f41-4396-88d6-3f3fad0197f2
[2005-09-14 11:33:53 xend] DEBUG (XendDomainInfo:158) info=
{'vcpu_to_cpu': [0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1],
'cpu_time': 31137740551L, 'ssidref': 0, 'shutdown_reason': 0, 'dying':
0, 'dom': 0, 'running': 1, 'maxmem_kb': -4, 'paused': 0, 'crashed': 0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 506880, 'cpumap': [-1, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0], 'blocked': 0}
[2005-09-14 11:33:53 xend] DEBUG (XendDomainInfo:159) config='None'

[2005-09-14 11:33:53 xend] INFO (XendRoot:141) EVENT> xend.domain.create
['Domain-0', 0]
[2005-09-14 11:33:53 xend] INFO (SrvServer:83) unix
path=/var/lib/xend/xend-socket
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + set -e
[2005-09-14 11:33:53 xend] INFO (XendRoot:141) EVENT> xend.start 0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
OP=start
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + shift
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + export
bridge=xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
bridge=xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + export
antispoof=no
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
antispoof=no
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
bridge=xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
netdev=eth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
antispoof=no
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + echo
'*network start bridge=xen-br0 netdev=eth0 antispoof=no'
[2005-09-14 11:33:53 xend] INFO (process:35) [network-bridge] network
start bridge=xen-br0 netdev=eth0 antispoof=no
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
op_start
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + '['
xen-br0 == null ']'
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
create_bridge xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + local
bridge=xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + brctl
show
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + grep -q
xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + brctl
addbr xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + brctl
stp xen-br0 off
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + brctl
setfd xen-br0 0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
ifconfig xen-br0 up
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
ifconfig
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + grep -q
veth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
ifconfig veth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + grep -q
veth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] ++
ifconfig eth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] ++ grep
HWadd
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] ++ sed -e
's/.*\(..:..:..:..:..:..\).*/\1/'
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
mac=00:11:25:3E:39:F2
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + ifdown
eth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + ip link
set eth0 name peth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + ip link
set veth0 name eth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
ifconfig peth0 0.0.0.0 -arp down
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
ifconfig peth0 hw ether fe:ff:ff:ff:ff:ff
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
ifconfig eth0 hw ether 00:11:25:3E:39:F2
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
add_to_bridge xen-br0 vif0.0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + local
bridge=xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + local
dev=vif0.0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + brctl
show
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + grep -q
vif0.0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + brctl
addif xen-br0 vif0.0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] +
add_to_bridge xen-br0 peth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + local
bridge=xen-br0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + local
dev=peth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + brctl
show
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + grep -q
peth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + brctl
addif xen-br0 peth0
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + ip link
set xen-br0 up
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + ip link
set vif0.0 up
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + ip link
set peth0 up
[2005-09-14 11:33:53 xend] ERROR (process:37) [network-bridge] + ifup
eth0
[2005-09-14 11:34:56 xend] DEBUG (image:157) initDomain: cpu=-1
mem_kb=524288 ssidref=-1 dom=1
[2005-09-14 11:34:56 xend] DEBUG (XendDomainInfo:809) init_domain>
Created domain=1 name=vm1 memory=512
[2005-09-14 11:34:56 xend] INFO (XendRoot:141) EVENT> xend.domain.create
['vm1', 1]
[2005-09-14 11:34:56 xend] INFO (image:217) buildDomain os=linux dom=1
vcpus=4
[2005-09-14 11:34:56 xend] DEBUG (image:261) dom            = 1
[2005-09-14 11:34:56 xend] DEBUG (image:262) image
= /boot/vmlinuz-2.6-xenU
[2005-09-14 11:34:56 xend] DEBUG (image:263) store_evtchn   = 1
[2005-09-14 11:34:56 xend] DEBUG (image:264) console_evtchn = 2
[2005-09-14 11:34:56 xend] DEBUG (image:265) cmdline        =
root=/dev/sdb6 ro
[2005-09-14 11:34:56 xend] DEBUG (image:266) ramdisk        =
[2005-09-14 11:34:56 xend] DEBUG (image:267) flags          = 0
[2005-09-14 11:34:56 xend] DEBUG (image:268) vcpus          = 4

--------
xend-debug.log attached to message


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

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides

Attachment: xend-debug.log
Description: Text Data

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