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

Re: [Xen-users] Guest - slow response to keystroke (SOLVED)


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Stephen Liu <satimis@xxxxxxxxx>
  • Date: Sat, 29 Nov 2008 23:06:11 +0800 (CST)
  • Cc:
  • Delivery-date: Sat, 29 Nov 2008 07:07:19 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=lpVSRZA8922fdWKWs8mwveP2dvwkEw2XA5jFiC+2XXYZxNHhc5Ps1ajjftclzpxDjpyW4mVz/SRbYYCh1PXNJZ9ATA9lhjnF7In7nIFQkPCqvojnKjTkZsp5wSqBqdR3FKtzYVY7jyiLkfVgm+Mv1DAdjTC1eWVPBj/Y+ghvGiM=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

--- Thomas Halinka <lists@xxxxxxxxx> wrote:

> Am Freitag, den 28.11.2008, 23:46 +0800 schrieb Stephen Liu:
> > Hi Thomas,
> > 
> > 
> > > Removing the mac-adress is not a good idea, since xen generates
> one
> > > on
> > > every domu-startup, if this is not defined.
> > > 
> > > So you will increase your ethX on every domu-startup, because for
> > > udev
> > > its a new nic, since it has a new MAC-Adress.
> > 
> > 
> > I have 19 guests created on the Xen box.  Most *.cfg file don't
> have
> > MAC-Address, only 2 of them having it.
> 
> ok, take one of this 17 guests, which has no mac assigned.
> 
> xm console guestxyz
>       e.g. shows eth0 with MAC-ADRESS_A
> xm shutdown guestxyz
> xm create guestxyz
>         no more eth0 is present, since a new mac is assigned.
>       ifconfig -a shows only eth1
> xm shutdown 
> xm create
>       eth1 is gone, now you have eth2 because mac has changed.
> and so on....


Performed following steps;


# xm create /etc/xen/xen1.satimis.com.cfg
Using config file "/etc/xen/xen1.satimis.com.cfg".
Started domain xen1.satimis.com


# xm console xen1.satimis.com
Linux version 2.6.18-xen (shand@endor) (gcc version 3.4.4 20050314
(prerelease) (Debian 3.4.3-13)) #1 SMP Fri May 18 16:11:33 BST 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000002800000 (usable)
0MB HIGHMEM available.
40MB LOWMEM available.
ACPI in unprivileged domain disabled
Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000)
Detected 2009.274 MHz processor.
Built 1 zonelists.  Total pages: 10240
Kernel command line: root=/dev/hda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 256 (order: 8, 1024 bytes)
Xen reported: 2009.258 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Software IO TLB disabled
vmalloc area: c3000000-fb7fe000, maxmem 33ffe000
Memory: 28788k/40960k available (2075k kernel code, 3960k reserved,
738k data, 192k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor
mode... Ok.
Calibrating delay using timer specific routine.. 4021.22 BogoMIPS
(lpj=20106147)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
migration_cost=0
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
IA-32 Microcode Update Driver: v1.14a-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1227969147.575:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15
(usb?)
Failed to obtain physical IRQ 6
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
netfront: device eth0 has copying receive path.
xen-vbd: registered block device major 3
blkfront: hda1: barriers enabled
blkfront: hda2: barriers enabled
XENBUS: Device with no driver: device/console/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT2-fs warning (device hda1): ext2_fill_super: mounting ext3
filesystem as ext2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 192k freed
serial_core: no version for "struct_module" found: kernel tainted.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
disabled
INIT: version 2.86 booting
Activating swap...Adding 262136k swap on /dev/hda2.  Priority:-1
extents:1 across:262136k
done.
Checking root file system...fsck 1.40-WIP (14-Nov-2006)
/dev/hda1: clean, 26007/262144 files, 143870/524288 blocks
done.
Setting the system clock..
Cleaning up ifupdown....
Loading kernel modules...done.
Loading device-mapper supportdevice-mapper: ioctl: 4.7.0-ioctl
(2006-06-24) initialised: dm-devel@xxxxxxxxxx
.
Checking file systems...fsck 1.40-WIP (14-Nov-2006)
done.
Setting kernel variables...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Not starting estmaster - edit /etc/default/hyperestraier and change
NO_START to be 0.
* Not starting internet superserver: no services enabled.
Starting Postfix Mail Transport Agent: postfix.
Starting OpenBSD Secure Shell server: sshdNET: Registered protocol
family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
.
Starting mail server: dovecot.
Starting periodic command scheduler: crond.

Debian GNU/Linux 4.0 xen1.satimis.com tty1


No MAC address found.


# xm shutdow xen1.satimis.com
No complaint


# nano /etc/xen/xen1.satimis.com.cfg

Can't find MAC address on file


# xm create /etc/xen/xen1.satimis.com.cfg
Using config file "/etc/xen/xen1.satimis.com.cfg".
StAddarted domain xen1.satimis.com


# xm console xen1.satimis.com
Linux version 2.6.18-xen (shand@endor) (gcc version 3.4.4 20050314
(prerelease) (Debian 3.4.3-13)) #1 SMP Fri May 18 16:11:33 BST 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000002800000 (usable)
0MB HIGHMEM available.
40MB LOWMEM available.
ACPI in unprivileged domain disabled
Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000)
Detected 2009.288 MHz processor.
Built 1 zonelists.  Total pages: 10240
Kernel command line: root=/dev/hda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 256 (order: 8, 1024 bytes)
Xen reported: 2009.258 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Software IO TLB disabled
vmalloc area: c3000000-fb7fe000, maxmem 33ffe000
Memory: 28788k/40960k available (2075k kernel code, 3960k reserved,
738k data, 192k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor
mode... Ok.
Calibrating delay using timer specific routine.. 4021.00 BogoMIPS
(lpj=20105012)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
migration_cost=0
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
IA-32 Microcode Update Driver: v1.14a-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1227971109.885:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15
(usb?)
Failed to obtain physical IRQ 6
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
xen-vbd: registered block device major 3
blkfront: hda1: barriers enabled
blkfront: hda2: barriers enabled
netfront: device eth0 has copying receive path.
XENBUS: Device with no driver: device/console/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT2-fs warning (device hda1): ext2_fill_super: mounting ext3
filesystem as ext2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 192k freed
serial_core: no version for "struct_module" found: kernel tainted.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
disabled
INIT: version 2.86 booting
Activating swap...Adding 262136k swap on /dev/hda2.  Priority:-1
extents:1 across:262136k
done.
Checking root file system...fsck 1.40-WIP (14-Nov-2006)
/dev/hda1: clean, 26007/262144 files, 143883/524288 blocks
done.
Setting the system clock..
Cleaning up ifupdown....
Loading kernel modules...done.
Loading device-mapper supportdevice-mapper: ioctl: 4.7.0-ioctl
(2006-06-24) initialised: dm-devel@xxxxxxxxxx
.
Checking file systems...fsck 1.40-WIP (14-Nov-2006)
done.
Setting kernel variables...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Not starting estmaster - edit /etc/default/hyperestraier and change
NO_START to be 0.
* Not starting internet superserver: no services enabled.
Starting Postfix Mail Transport Agent: postfix.
Starting OpenBSD Secure Shell server: sshdNET: Registered protocol
family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
.
Starting mail server: dovecot.
Starting periodic command scheduler: crond.

Debian GNU/Linux 4.0 xen1.satimis.com tty1


Also no MAC address found.


B.R.
Stephen




> 
> >   I checked them to confirm.  So
> > I just follow them.  I have no idea how this happens.
> > 
> > 
> > > Please supply a Mac, but it _has_ to be unique!
> > 
> > What does it mean "it _has_ to be unique"
> 
> That in your entire Network, a MAC-Adress is only used once! the same
> with ip-adresses - they also have to be unique in a network - same
> for
> macs.
> 
> >   Please provide an  example.
> 
> its useless....
> 
> >  TIA.
> > 
> > 
> > B.R.
> > Stephen L
> 
> 
> hth
> 
> Thomas
> 
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

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


 


Rackspace

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