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-users

[Xen-users] where is my console? i'm confused

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] where is my console? i'm confused
From: "Martin Frank" <gotfried1@xxxxxx>
Date: Wed, 16 Nov 2005 23:24:25 +0100
Delivery-date: Wed, 16 Nov 2005 22:26:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi!

Now I'm totally confused.

I'm running suse 10.0 x86_64 with xen 3.0 7608-2.1

I have two images for xen. One is SuSE 9.3 and the other SuSE 10.0

When I start the domain for suse 10.0, the domain starts but I'm not able to
get a console.
When I start the domain for suse 9.3, the domain starts and sometimes I get
a normal login prompt, but sometimes I'm not able to get a console.
When I get a login prompt from the 9.3 domain. I can login normally, but no
service (such as syslog,ssh ...) is running, although they are enabled. Here
is a thread list:
# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.4    724   256 ?        S    Nov16   0:00 init [3]
root         2  0.0  0.0      0     0 ?        S    Nov16   0:00
[migration/0]
root         3  0.0  0.0      0     0 ?        SN   Nov16   0:00
[ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S<   Nov16   0:00 [events/0]
root         5  0.0  0.0      0     0 ?        S<   Nov16   0:00 [khelper]
root         6  0.0  0.0      0     0 ?        S<   Nov16   0:00 [kthread]
root         7  0.0  0.0      0     0 ?        S<   Nov16   0:00 [xenwatch]
root         8  0.0  0.0      0     0 ?        S<   Nov16   0:00 [xenbus]
root        24  0.0  0.0      0     0 ?        S<   Nov16   0:00 [kblockd/0]
root        56  0.0  0.0      0     0 ?        S    Nov16   0:00 [pdflush]
root        57  0.0  0.0      0     0 ?        S    Nov16   0:00 [pdflush]
root        58  0.0  0.0      0     0 ?        S    Nov16   0:00 [kswapd0]
root        59  0.0  0.0      0     0 ?        S<   Nov16   0:00 [aio/0]
root       580  0.0  0.0      0     0 ?        S<   Nov16   0:00 [kseriod]
root       620  0.0  0.0      0     0 ?        S    Nov16   0:00 [xenblkd]
root       712  0.0  0.0      0     0 ?        S<   Nov16   0:00 [ata/0]
root       760  0.0  0.0      0     0 ?        S    Nov16   0:00 [kjournald]
root      1440  0.0  2.5  24964  1348 ?        Ss   Nov16   0:00 login --
root
root      1441  2.0  4.0  13708  2152 tty1     Ss   00:10   0:00 -bash
root      1460  0.0  1.8   7856   968 tty1     R+   00:10   0:00 ps aux

I tried to track down the problems, but I'm totally lost. I have no idea
what's wrong.

Why do the services in my 9.3 domain don't start up automatically?
Why is there no console on my 10.0 domain?

The only difference I see is the State of xm list
What does r,b mean?

Some more info:
when i start domain 9.3 and there is no console:

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      507     1 r-----    99.1
mail                               2       58     1 r-----  2209.9

# xenstore-list  backend/vbd/2/769
domain
params
frontend-id
type
dev
frontend
physical-device
node
hotplug-status
sectors
info
sector-size

# xm create -n /etc/xen/mail_config
Using config file "/etc/xen/mail_config".
(vm
    (name mail)
    (memory 64)
    (image
        (linux
            (kernel /boot/vmlinuz-xen)
            (ramdisk /boot/initrd-xen)
            (ip
192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off)
            (root /dev/hda1)
            (args 3)
            (vcpus 1)
            (vcpus 1)
            (boot c)
        )
    )
    (device (vbd (uname file:/mnt/vserver/images/mail.img) (dev hda1) (mode
w)))
    (device (vif (mac aa:00:00:00:00:11) (bridge xenbr0)))
)


#/var/log/messages
Nov 16 22:17:35 xen logger: xen-vbd: vbd-2-769 up [backend/vbd/2/769]
Nov 16 22:17:35 xen logger: xen-vif: vif-2-0 up [backend/vif/2/0]
Nov 16 22:17:35 xen logger: /etc/xen/scripts/vif-bridge: up
XENBUS_PATH=backend/vif/2/0
Nov 16 22:17:35 xen logger: /etc/xen/scripts/block: bind
/mnt/vserver/images/mail.img XENBUS_PATH=backend/vbd/2/769
Nov 16 22:17:35 xen kernel: device vif2.0 entered promiscuous mode
Nov 16 22:17:35 xen kernel: xenbr0: port 3(vif2.0) entering learning state
Nov 16 22:17:35 xen kernel: xenbr0: topology change detected, propagating
Nov 16 22:17:35 xen kernel: xenbr0: port 3(vif2.0) entering forwarding state
Nov 16 22:17:35 xen logger: /etc/xen/scripts/block: Writing
backend/vbd/2/769/physical-device 0x0700 backend/vbd/2/769/node /dev/loop0
to xenstore.
Nov 16 22:17:35 xen logger: /etc/xen/scripts/vif-bridge: Writing
backend/vif/2/0/hotplug-status connected to xenstore.
Nov 16 22:17:35 xen kernel: changing physical-device not supported
Nov 16 22:17:35 xen kernel: changing physical-device not supported
Nov 16 22:17:35 xen logger: /etc/xen/scripts/block: Writing
backend/vbd/2/769/hotplug-status connected to xenstore.
Nov 16 22:17:35 xen logger: /etc/xen/scripts/vif-bridge: Successful
vif-bridge operation for vif2.0, bridge xenbr0.
Nov 16 22:17:35 xen kernel: changing physical-device not supported
Nov 16 22:17:36 xen kernel: changing physical-device not supported
Nov 16 22:17:36 xen kernel: changing physical-device not supported
Nov 16 22:17:36 xen kernel: changing physical-device not supported
Nov 16 22:17:41 xen ifup: No configuration found for vif2.0
Nov 16 22:17:46 xen kernel: vif2.0: no IPv6 routers present


#/var/log/xend.log
[2005-11-16 22:17:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:147)
XendDomainInfo.create(['vm', ['name', 'mail'], ['memory', '64'], ['image',
['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'],
['ip', '192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off'],
['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'],
['boot', 'c']]], ['device', ['vbd', ['uname',
'file:/mnt/vserver/images/mail.img'], ['dev', 'hda1'], ['mode', 'w']]],
['device', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xenbr0']]]])
[2005-11-16 22:17:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:250)
parseConfig: config is ['vm', ['name', 'mail'], ['memory', '64'], ['image',
['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'],
['ip', '192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off'],
['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'],
['boot', 'c']]], ['device', ['vbd', ['uname',
'file:/mnt/vserver/images/mail.img'], ['dev', 'hda1'], ['mode', 'w']]],
['device', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xenbr0']]]]
[2005-11-16 22:17:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:308)
parseConfig: result is {'ssidref': None, 'name': 'mail', 'on_reboot': None,
'maxmem': None, 'on_poweroff': None, 'mem_kb': None, 'maxmem_kb': None,
'on_crash': None, 'backend': [], 'vcpus': 1, 'cpu_weight': None,
'vcpu_avail': None, 'memory': 64, 'device': [('vbd', ['vbd', ['uname',
'file:/mnt/vserver/images/mail.img'], ['dev', 'hda1'], ['mode', 'w']]),
('vif', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xenbr0']])],
'bootloader': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-xen'],
['ramdisk', '/boot/initrd-xen'], ['ip',
'192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off'], ['root',
'/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']],
'cpu': None, 'uuid': None}
[2005-11-16 22:17:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:1047)
XendDomainInfo.construct: None 0
[2005-11-16 22:17:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:1077)
XendDomainInfo.initDomain: 2 65536 1.0
[2005-11-16 22:17:35 xend] INFO (image:131) buildDomain os=linux dom=2
vcpus=1
[2005-11-16 22:17:35 xend] DEBUG (image:169) dom            = 2
[2005-11-16 22:17:35 xend] DEBUG (image:170) image          =
/boot/vmlinuz-xen
[2005-11-16 22:17:35 xend] DEBUG (image:171) store_evtchn   = 1
[2005-11-16 22:17:35 xend] DEBUG (image:172) console_evtchn = 2
[2005-11-16 22:17:35 xend] DEBUG (image:173) cmdline        =
ip=192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off
root=/dev/hda1 3
[2005-11-16 22:17:35 xend] DEBUG (image:174) ramdisk        =
/boot/initrd-xen
[2005-11-16 22:17:35 xend] DEBUG (image:175) vcpus          = 1
[2005-11-16 22:17:35 xend] DEBUG (blkif:24) exception looking up device
number for hda1: [Errno 2] No such file or directory: '/dev/hda1'
[2005-11-16 22:17:35 xend] DEBUG (DevController:256) DevController: writing
{'virtual-device': '769', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vbd/2/769'} to /local/domain/2/device/vbd/769.
[2005-11-16 22:17:35 xend] DEBUG (DevController:258) DevController: writing
{'domain': 'mail', 'params': '/mnt/vserver/images/mail.img', 'frontend-id':
'2', 'type': 'file', 'dev': 'hda1', 'frontend':
'/local/domain/2/device/vbd/769'} to /local/domain/0/backend/vbd/2/769.
[2005-11-16 22:17:35 xend] DEBUG (DevController:256) DevController: writing
{'backend-id': '0', 'mac': 'aa:00:00:00:00:11', 'handle': '0', 'backend':
'/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.
[2005-11-16 22:17:35 xend] DEBUG (DevController:258) DevController: writing
{'bridge': 'xenbr0', 'mac': 'aa:00:00:00:00:11', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'frontend-id': '2', 'domain': 'mail',
'frontend': '/local/domain/2/device/vif/0'} to
/local/domain/0/backend/vif/2/0.
[2005-11-16 22:17:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:589) Storing
VM details: {'ssidref': '0', 'uuid': 'b8f21fce-7c1a-ce98-53c9-39a97feb42f2',
'on_reboot': 'restart', 'image': '(linux (kernel /boot/vmlinuz-xen) (ramdisk
/boot/initrd-xen) (ip
192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off) (root
/dev/hda1) (args 3) (vcpus 1) (vcpus 1) (boot c))', 'on_poweroff':
'destroy', 'vcpus': '1', 'on_crash': 'restart', 'memory/target': '65536',
'vcpu_avail': '1', 'name': 'mail'}
[2005-11-16 22:17:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:614) Storing
domain details: {'console/ring-ref': '104501', 'console/port': '2', 'name':
'mail', 'console/limit': '1048576', 'vm':
'/vm/b8f21fce-7c1a-ce98-53c9-39a97feb42f2', 'domid': '2',
'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref':
'104502', 'store/port': '1'}
[2005-11-16 22:17:35 xend] INFO (XendDomain:349) Domain mail (2) unpaused.


# xm dmesg
 __  __            _____  ___    _____ __    ___   ___    ____    _
 \ \/ /___ _ __   |___ / / _ \  |___  / /_  / _ \ ( _ )  |___ \  / |
  \  // _ \ '_ \    |_ \| | | |    / / '_ \| | | |/ _ \ __ __) | | |
  /  \  __/ | | |  ___) | |_| |   / /| (_) | |_| | (_) |__/ __/ _| |
 /_/\_\___|_| |_| |____(_)___/___/_/  \___/ \___/ \___/  |_____(_)_|
                            |_____|
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0_7608-2.1 (abuild@xxxxxxx) (gcc version 4.0.2 20050901
(prerelease) (SUSE Linux)) Mon Nov  7 00:26:31 UTC 2005
 Latest ChangeSet: Wed Nov  2 11:12:30 2005 +0100 7608:76fbcb25d174

(XEN) Physical RAM map:
(XEN)  0000000000000000 - 00000000000a0000 (usable)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007fe8cc00 (usable)
(XEN)  000000007fe8cc00 - 000000007fe8ec00 (ACPI NVS)
(XEN)  000000007fe8ec00 - 000000007fe90c00 (ACPI data)
(XEN)  000000007fe90c00 - 0000000080000000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fec00000 - 00000000fed00400 (reserved)
(XEN)  00000000fed20000 - 00000000feda0000 (reserved)
(XEN)  00000000fee00000 - 00000000fef00000 (reserved)
(XEN)  00000000ffb00000 - 0000000100000000 (reserved)
(XEN) System RAM: 2046MB (2095280kB)
(XEN) Xen heap: 14MB (14652kB)
(XEN) found SMP MP-table at 000fe710
(XEN) DMI 2.3 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 DELL                                  ) @
0x00000000000fec10
(XEN) ACPI: RSDT (v001 DELL    PE1420  0x00000007 ASL  0x00000061) @
0x00000000000fcb6c
(XEN) ACPI: FADT (v001 DELL    PE1420  0x00000007 ASL  0x00000061) @
0x00000000000fcbac
(XEN) ACPI: SSDT (v001   DELL    st_ex 0x00001000 MSFT 0x0100000d) @
0x00000000fffc48bc
(XEN) ACPI: MADT (v001 DELL    PE1420  0x00000007 ASL  0x00000061) @
0x00000000000fcc20
(XEN) ACPI: BOOT (v001 DELL    PE1420  0x00000007 ASL  0x00000061) @
0x00000000000fccaa
(XEN) ACPI: ASF! (v016 DELL    PE1420  0x00000007 ASL  0x00000061) @
0x00000000000fccd2
(XEN) ACPI: MCFG (v001 DELL    PE1420  0x00000007 ASL  0x00000061) @
0x00000000000fcd39
(XEN) ACPI: HPET (v001 DELL    PE1420  0x00000007 ASL  0x00000061) @
0x00000000000fcd77
(XEN) ACPI: DSDT (v001   DELL    dt_ex 0x00001000 MSFT 0x0100000d) @
0x0000000000000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 15:4 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x06] enabled)
(XEN) Processor #6 15:4 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled)
(XEN) Processor #1 15:4 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] enabled)
(XEN) Processor #7 15:4 APIC version 20
(XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1])
(XEN) ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
(XEN) ACPI: IOAPIC (id[0x09] address[0xfec80000] gsi_base[24])
(XEN) IOAPIC[1]: apic_id 9, version 32, address 0xfec80000, GSI 24-47
(XEN) ACPI: IOAPIC (id[0x0a] address[0xfec80800] gsi_base[48])
(XEN) IOAPIC[2]: apic_id 10, version 32, address 0xfec80800, GSI 48-71
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 3 I/O APICs
(XEN) ACPI: HPET id: 0x8086a201 base: 0xfed00000
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) Initializing CPU#0
(XEN) Detected 2992.636 MHz processor.
(XEN) Using scheduler: Simple EDF Scheduler (sedf)
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
(XEN) CPU: L2 cache: 1024K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU0: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
(XEN) CPU: L2 cache: 1024K
(XEN) CPU: Physical Processor ID: 0
(XEN) CPU1: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01
(XEN) Booting processor 2/6 eip 90000
(XEN) Initializing CPU#2
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
(XEN) CPU: L2 cache: 1024K
(XEN) CPU: Physical Processor ID: 3
(XEN) CPU2: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01
(XEN) Booting processor 3/7 eip 90000
(XEN) Initializing CPU#3
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
(XEN) CPU: L2 cache: 1024K
(XEN) CPU: Physical Processor ID: 3
(XEN) CPU3: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01
(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 14.318MHz HPET
(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=0xffffffff80000000,LOADE
R=generic'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000007e000000->000000007f000000 (126968 pages to be
allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80100000->ffffffff80530c90
(XEN)  Init. ramdisk: ffffffff80531000->ffffffff80b0a000
(XEN)  Phys-Mach map: ffffffff80b0a000->ffffffff80c09fc0
(XEN)  Start info:    ffffffff80c0a000->ffffffff80c0b000
(XEN)  Page tables:   ffffffff80c0b000->ffffffff80c16000
(XEN)  Boot stack:    ffffffff80c16000->ffffffff80c17000
(XEN)  TOTAL:         ffffffff80000000->ffffffff81000000
(XEN)  ENTRY ADDRESS: ffffffff80100000
(XEN) Initrd len 0x5d9000, start at 0xffffffff80531000
(XEN) Scrubbing Free RAM: .....................done.
(XEN) Xen trace buffers: disabled
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to
Xen).



###################################

when i start domain 9.3 and there is a console

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      507     1 r-----   148.6
mail                               3       58     1 -b----     1.2

# xenstore-list backend/vbd/3/769
domain
params
frontend-id
type
dev
frontend
physical-device
node
hotplug-status
sectors
info
sector-size

# /var/log/messages
Nov 16 23:09:23 xen kernel: xenbr0: port 3(vif2.0) entering disabled state
Nov 16 23:09:23 xen logger: xen-vif: vif-2-0 down [backend/vif/2/0]
Nov 16 23:09:23 xen logger: xen-vbd: vbd-2-769 down [backend/vbd/2/769]
Nov 16 23:09:23 xen kernel: device vif2.0 left promiscuous mode
Nov 16 23:09:23 xen kernel: xenbr0: port 3(vif2.0) entering disabled state
Nov 16 23:09:23 xen logger: /etc/xen/scripts/block: unbind /dev/loop0
XENBUS_PATH=backend/vbd/2/769
Nov 16 23:09:23 xen ifdown: Interface not available and no configuration
found.
Nov 16 23:09:32 xen logger: xen-vbd: vbd-3-769 up [backend/vbd/3/769]
Nov 16 23:09:32 xen logger: /etc/xen/scripts/block: bind
/mnt/vserver/images/mail.img XENBUS_PATH=backend/vbd/3/769
Nov 16 23:09:32 xen logger: /etc/xen/scripts/block: Writing
backend/vbd/3/769/physical-device 0x0700 backend/vbd/3/769/node /dev/loop0
to xenstore.
Nov 16 23:09:32 xen logger: /etc/xen/scripts/block: Writing
backend/vbd/3/769/hotplug-status connected to xenstore.
Nov 16 23:09:32 xen logger: xen-vif: vif-3-0 up [backend/vif/3/0]
Nov 16 23:09:32 xen logger: /etc/xen/scripts/vif-bridge: up
XENBUS_PATH=backend/vif/3/0
Nov 16 23:09:32 xen kernel: device vif3.0 entered promiscuous mode
Nov 16 23:09:32 xen kernel: xenbr0: port 3(vif3.0) entering learning state
Nov 16 23:09:32 xen logger: /etc/xen/scripts/vif-bridge: Writing
backend/vif/3/0/hotplug-status connected to xenstore.
Nov 16 23:09:32 xen kernel: xenbr0: topology change detected, propagating
Nov 16 23:09:32 xen kernel: xenbr0: port 3(vif3.0) entering forwarding state
Nov 16 23:09:32 xen logger: /etc/xen/scripts/vif-bridge: Successful
vif-bridge operation for vif3.0, bridge xenbr0.
Nov 16 23:09:37 xen ifup: No configuration found for vif3.0
Nov 16 23:09:43 xen kernel: vif3.0: no IPv6 routers present
Nov 16 23:11:25 xen syslog-ng[4378]: STATS: dropped 0
Nov 16 23:15:01 xen run-crons[7286]: mcelog returned 1



# /var/log/xend.log
[2005-11-16 23:09:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:147)
XendDomainInfo.create(['vm', ['name', 'mail'], ['memory', '64'], ['image',
['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'],
['ip', '192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off'],
['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'],
['boot', 'c']]], ['device', ['vbd', ['uname',
'file:/mnt/vserver/images/mail.img'], ['dev', 'hda1'], ['mode', 'w']]],
['device', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xenbr0']]]])
[2005-11-16 23:09:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:250)
parseConfig: config is ['vm', ['name', 'mail'], ['memory', '64'], ['image',
['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'],
['ip', '192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off'],
['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'],
['boot', 'c']]], ['device', ['vbd', ['uname',
'file:/mnt/vserver/images/mail.img'], ['dev', 'hda1'], ['mode', 'w']]],
['device', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xenbr0']]]]
[2005-11-16 23:09:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:308)
parseConfig: result is {'ssidref': None, 'name': 'mail', 'on_reboot': None,
'maxmem': None, 'on_poweroff': None, 'mem_kb': None, 'maxmem_kb': None,
'on_crash': None, 'backend': [], 'vcpus': 1, 'cpu_weight': None,
'vcpu_avail': None, 'memory': 64, 'device': [('vbd', ['vbd', ['uname',
'file:/mnt/vserver/images/mail.img'], ['dev', 'hda1'], ['mode', 'w']]),
('vif', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xenbr0']])],
'bootloader': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-xen'],
['ramdisk', '/boot/initrd-xen'], ['ip',
'192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off'], ['root',
'/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']],
'cpu': None, 'uuid': None}
[2005-11-16 23:09:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1047)
XendDomainInfo.construct: None 0
[2005-11-16 23:09:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1077)
XendDomainInfo.initDomain: 3 65536 1.0
[2005-11-16 23:09:32 xend] INFO (image:131) buildDomain os=linux dom=3
vcpus=1
[2005-11-16 23:09:32 xend] DEBUG (image:169) dom            = 3
[2005-11-16 23:09:32 xend] DEBUG (image:170) image          =
/boot/vmlinuz-xen
[2005-11-16 23:09:32 xend] DEBUG (image:171) store_evtchn   = 1
[2005-11-16 23:09:32 xend] DEBUG (image:172) console_evtchn = 2
[2005-11-16 23:09:32 xend] DEBUG (image:173) cmdline        =
ip=192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off
root=/dev/hda1 3
[2005-11-16 23:09:32 xend] DEBUG (image:174) ramdisk        =
/boot/initrd-xen
[2005-11-16 23:09:32 xend] DEBUG (image:175) vcpus          = 1
[2005-11-16 23:09:32 xend] DEBUG (blkif:24) exception looking up device
number for hda1: [Errno 2] No such file or directory: '/dev/hda1'
[2005-11-16 23:09:32 xend] DEBUG (DevController:256) DevController: writing
{'virtual-device': '769', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vbd/3/769'} to /local/domain/3/device/vbd/769.
[2005-11-16 23:09:32 xend] DEBUG (DevController:258) DevController: writing
{'domain': 'mail', 'params': '/mnt/vserver/images/mail.img', 'frontend-id':
'3', 'type': 'file', 'dev': 'hda1', 'frontend':
'/local/domain/3/device/vbd/769'} to /local/domain/0/backend/vbd/3/769.
[2005-11-16 23:09:32 xend] DEBUG (DevController:256) DevController: writing
{'backend-id': '0', 'mac': 'aa:00:00:00:00:11', 'handle': '0', 'backend':
'/local/domain/0/backend/vif/3/0'} to /local/domain/3/device/vif/0.
[2005-11-16 23:09:32 xend] DEBUG (DevController:258) DevController: writing
{'bridge': 'xenbr0', 'mac': 'aa:00:00:00:00:11', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'frontend-id': '3', 'domain': 'mail',
'frontend': '/local/domain/3/device/vif/0'} to
/local/domain/0/backend/vif/3/0.
[2005-11-16 23:09:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:589) Storing
VM details: {'ssidref': '0', 'uuid': 'aac6f94e-78e4-4101-2bc0-e8cab5af0c61',
'on_reboot': 'restart', 'image': '(linux (kernel /boot/vmlinuz-xen) (ramdisk
/boot/initrd-xen) (ip
192.168.0.32:1.2.3.4:192.168.0.220:255.255.255.0:mail:eth0:off) (root
/dev/hda1) (args 3) (vcpus 1) (vcpus 1) (boot c))', 'on_poweroff':
'destroy', 'vcpus': '1', 'on_crash': 'restart', 'memory/target': '65536',
'vcpu_avail': '1', 'name': 'mail'}
[2005-11-16 23:09:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:614) Storing
domain details: {'console/ring-ref': '113221', 'console/port': '2', 'name':
'mail', 'console/limit': '1048576', 'vm':
'/vm/aac6f94e-78e4-4101-2bc0-e8cab5af0c61', 'domid': '3',
'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref':
'113222', 'store/port': '1'}
[2005-11-16 23:09:32 xend] INFO (XendDomain:349) Domain mail (3) unpaused.


Thanks for any help
Martin


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] where is my console? i'm confused, Martin Frank <=