RE: The BSOD 0x101 description
by Behpoornia, Kamal
The issue is described bellow:
When running Windows Vista ultimate in a domain with two vcpus,
and then do a heavy disk IO in domain0, the Vista will blue screen with
such message "a clock interrupt was not received on a secondary
processor within the allocated time interval" with Bug Check 0x101.
This bug can always be reproduced by running the memory testing from
Linux Performance Testing suite in domain 0. Note: domain 0 must use the
hard disk as swap place.
I need some helps from Linux expert.
1. Why the system is very slow when you access the hard disk
frequently under Linux?
2. Does it allowed to preempt when do disk i/o access from 2.6.18
Linux kernel?
3. The detailed process of disk I/O handler under Linux. The
interrupt status, the cpu status and buffer lock.
16 years, 5 months
xenbr0 missing on fedora 8
by Thomas von Steiger
Hello,
I try to kickstart domU's on fedora 8 because there is no xenbr0.
The only bridge i can found is virbr0 and this bridge is running on
192.168.22.0
My kickstart source is located on 192.168.1.0 and new guest's can't access
this network.
"virsh net-list" list network "default" with state "active" and "autostart".
How I can bring back automatically xenbr0 on eth0 without create
ifcfg-xenbr0 ?
Many thanks
Thomas
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.0 - Release Date: 16.11.2007 00:00
16 years, 5 months
Attaching a virtual CD to an existing domu?
by John Summerfield
Pls note, you cannot reply off-list..
I have a Debian Etch system, I want to install more software and it's
asking for the DVD.
I created the system a few days ago, I think this is the commaind I used:
virt-install --name=DebianEtch --ram=384 --vcpus=1
--file=/var/lib/xen/images/DebianEtch.img --file-size=3 --vnc --hvm
--cdrom=/var/lib/xen/images/debian-40r1-i386-DVD-1.iso --os-type=unix
I've tried various incantations:
[root@potoroo mail]# virsh attach-disk DebianEtch
/var/lib/xen/images/debian-40r1-i386-DVD-1.iso /dev/hde --driver file
--type cdrom --mode readonly
libvir: Xen Daemon error : POST operation failed: (xend.err 'Device 8448
not connected')
[root@potoroo mail]# virsh attach-disk DebianEtch
/var/lib/xen/images/debian-40r1-i386-DVD-1.iso /dev/hdc --driver file
--type cdrom --mode readonly
libvir: Xen Daemon error : POST operation failed: (xend.err "Refusing to
reconfigure device vbd:5632 to {'uname':
'file:/var/lib/xen/images/debian-40r1-i386-DVD-1.iso', 'mode': 'r',
'dev': '/dev/hdc:cdrom'}")
[root@potoroo mail]# virsh attach-disk DebianEtch
/var/lib/xen/images/debian-40r1-i386-DVD-1.iso /dev/hdb --driver file
--type cdrom --mode readonly
libvir: Xen Daemon error : POST operation failed: (xend.err 'Device 832
not connected')
[root@potoroo mail]#
None of those messages gives me any idea of what's wrong.
I tried the xm command too:
This is based on the manual page. The man page is wrong:
xm block-attach DebianEtch
file://var/lib/xen/images/debian-40r1-i386-DVD-1.iso /dev/hdd ro
DebianEtch thinks its CD drive is /dev/hdc, so I really want the CD
attached to that.
[root@potoroo mail]# xm block-attach DebianEtch
file://var/lib/xen/images/debian-40r1-i386-DVD-1.iso /dev/hdc r
Error: Device /dev/hdc (5632, vbd) is already connected.
Usage: xm block-attach <Domain> <BackDev> <FrontDev> <Mode> [BackDomain]
Create a new virtual block device.
[root@potoroo mail]#
This seems to work:
[root@potoroo mail]# xm block-attach DebianEtch
file://var/lib/xen/images/debian-40r1-i386-DVD-1.iso /dev/hdb r
[root@potoroo mail]#
but DebianEtch doesn't know about it.
How _should_ this work?
I note block-detach doesn't seem to do anything:
[root@potoroo mail]# xm block-detach DebianEtch 832
[root@potoroo mail]# xm block-detach DebianEtch 5696
[root@potoroo mail]# xm block-detach DebianEtch 5632
[root@potoroo mail]# xm list DebianEtch --long | less
[root@potoroo mail]# xm block-list DebianEtch
Vdev BE handle state evt-ch ring-ref BE-path
768 0 0 1 -1 -1 /local/domain/0/backend/vbd/3/768
5632 0 0 1 -1 -1 /local/domain/0/backend/vbd/3/5632
5696 0 0 1 -1 -1 /local/domain/0/backend/vbd/3/5696
832 0 0 1 -1 -1 /local/domain/0/backend/vbd/3/832
[root@potoroo mail]#
Is there a particular reason the install DVD image doesn't, by default,
remain attached?
--
Cheers
John
-- spambait
1aaaaaaa(a)coco.merseine.nu Z1aaaaaaa(a)coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
Please do not reply off-list
16 years, 5 months
Fedora 8, qemu-kvm and networking
by John Lagrue
Having installed F8 and tried out the latest virt-manager, I have to say I'm
impressed.
But........I am still utterly baffled by guest networking.
What I *want* to do is have a Windows XP guest that runs on the same network
as my laptop, the host; in other words, the guest should be able to access
all the network that the laptop can see. But I can't for the life of me find
out how to do this.
I'll put up,if I have to, with the guest only working through the eth0
interface (though it would be nicer if it could work via wireless too). But
I can't find any documentation that discusses this that isn't either at
least a year old, or is written for someone who already knows the answer and
understands the jargon of virtual networking.
Can anyone help, or at least point me to a reasonably clear how-to ? Note
that I am not running XEN ( I need Windows) and am doing this with qemu-kvm.
John
16 years, 5 months
Minimal Fedora 8 Xen Setup for Laptop
by Mathew Brown
Hi,
I was considering installing a minimal Fedora 8 setup with the Xen
kernel and then performing most of my work in several different DomUs
(perhaps Fedora of Ubuntu) as well as running Windows in a VMware
setup (don't currently have hardware virtualization support). Note
that this is on a laptop. Are there any specific issues that I should
be aware of (such as suspend/resume issues, etc.) and does anyone have
any specific recommendations? Thank you for your help.
--
Mathew Brown
mathewbrown(a)fastmail.fm
--
http://www.fastmail.fm - Access your email from home and the web
16 years, 5 months
Re: [Fedora-xen] Prb manualy creating new VM.
by Guillaume
2007/11/13, Dustin Henning <Dustin.Henning(a)prd-inc.com>:
> Try changing this line:
> disk = [ 'phy:/dev/sda4,sda1,w' ]
I change the line to "disk = [ 'phy:/dev/sda4,sda1,w' ]" but that not
working too.
> disk = [ 'phy:/dev/sda4,hda,w' ]
I test this line previously in this day but same result.
Is there a way to check if disk are detected by kernel while booting ?
--
Guillaume
16 years, 5 months
Re: [Fedora-xen] Fedora's Xen Compared to XenExpress
by Richard W.M. Jones
thewird wrote:
> --- "Richard W.M. Jones" <rjones(a)redhat.com> wrote:
>> Mathew Brown wrote:
>>> Hi,
>>> I was wondering what the differences between Fedora 8's Xen and
>>> XenExpress v4 are (besides the limits of 4GB or RAM and four
>> virtual
>>> hosts). Is the functionality and stability the same or is
>> Fedora's
>>> Xen more cutting-edge? Thank you for your help.
>> I'm not very familiar with XenExpress, but I'm fairly sure that the
>> management software used by XE is some proprietary code. Fedora uses
>>
>> libvirt and virt-manager for management, has no artificial
>> limitations
>> on memory, CPUs, guests etc., and is completely open source.
>
> Does Fedora 8 have any way to limit the network speed on the guests?
I assume, though I've not tried it, that you should be able to use
ordinary Linux mechanisms such as the 'tc(8)' command to enforce a
traffic control and shaping on the vifX.0 devices.
To be honest, it's a bit of an unusual request: mostly people complain
about not getting enough network performance :-)
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
16 years, 5 months
Prb manualy creating new VM.
by Guillaume
Hi,
after a previous thread I start & some feedback you gave to me, about
creating xen VM I ask you for your help.
Here is the problem : `mount`. It was unable to find the disk/device
to mount it as root (/). After the linux kernel bootup (domU)
I create the VM by theses steps:
i'm on fedora 8 with xen 3.1.0-13
a) #fdisk /dev/sda create a new part (sda4) type linux
b)format it with
#mkfs.ext3 /dev/sda4
c)Copy on it all files from my distrib with :
#cp -a / /mnt/sda4
Edit the /mnt/sda4/etc/fstab to meet the reqs for the VM.
d)Start the vm from config file (see below).
#xm create testvm.conf -c
Booom! failed :'(
I check every thing i can, fstab, VM config file & test several
things... But i was unable to fix the problem.
Someone can help me, point out whats wrong ?
Thanks,
---
Guillaume
---begin of xenVM config file---
kernel = "/boot/vmlinuz-2.6.21-2950.fc8xen"
ramdisk = "/boot/initrd-2.6.21-2950.fc8xen.img"
root = "root=/dev/sda1 ro"
#extra = "1"
memory = "128"
name = "Fedora-8-Guest"
disk = [ 'phy:sda4,sda1,w' ]
---EOF---
---begin of boot---
#xm create testvm.conf -c
Using config file "./testvm.conf".
Started domain Fedora-8-Guest
Linux version 2.6.21-2950.fc8xen
(kojibuilder(a)xenbuilder2.fedora.redhat.com) (gcc version 4.1.2
20070925 (Red Hat 4.1.2-32)) #1 SMP Tue Oct 23 12:24:34 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000008800000 end:
0000000008800000 type: 1
Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
DMA 0 -> 34816
Normal 34816 -> 34816
HighMem 34816 -> 34816
early_node_map[1] active PFN ranges
0: 0 -> 34816
ACPI in unprivileged domain disabled
Detected 2001.289 MHz processor.
Built 1 zonelists. Total pages: 34544
Kernel command line: root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 1024 (order: 10, 4096 bytes)
Xen reported: 2000.198 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-f4ffe000, maxmem 2d7fe000
Memory: 118016k/139264k available (2071k kernel code, 12968k reserved,
1080k data, 188k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xf5315000 - 0xf57fe000 (5028 kB)
pkmap : 0xf5000000 - 0xf5200000 (2048 kB)
vmalloc : 0xc9000000 - 0xf4ffe000 ( 703 MB)
lowmem : 0xc0000000 - 0xc8800000 ( 136 MB)
.init : 0xc1319000 - 0xc1348000 ( 188 kB)
.data : 0xc1205e5e - 0xc1313fd4 (1080 kB)
.text : 0xc1000000 - 0xc1205e5e (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4070.78 BogoMIPS (lpj=8141572)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
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
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7064k freed
audit: initializing netlink socket (disabled)
audit(1194965135.393:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
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
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Linux version 2.6.21-2950.fc8xen
(kojibuilder(a)xenbuilder2.fedora.redhat.com) (gcc version 4.1.2
20070925 (Red Hat 4.1.2-32)) #1 SMP Tue Oct 23 12:24:34 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000008800000 end:
0000000008800000 type: 1
Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
DMA 0 -> 34816
Normal 34816 -> 34816
HighMem 34816 -> 34816
early_node_map[1] active PFN ranges
0: 0 -> 34816
ACPI in unprivileged domain disabled
Detected 2001.289 MHz processor.
Built 1 zonelists. Total pages: 34544
Kernel command line: root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 1024 (order: 10, 4096 bytes)
Xen reported: 2000.198 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-f4ffe000, maxmem 2d7fe000
Memory: 118016k/139264k available (2071k kernel code, 12968k reserved,
1080k data, 188k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xf5315000 - 0xf57fe000 (5028 kB)
pkmap : 0xf5000000 - 0xf5200000 (2048 kB)
vmalloc : 0xc9000000 - 0xf4ffe000 ( 703 MB)
lowmem : 0xc0000000 - 0xc8800000 ( 136 MB)
.init : 0xc1319000 - 0xc1348000 ( 188 kB)
.data : 0xc1205e5e - 0xc1313fd4 (1080 kB)
.text : 0xc1000000 - 0xc1205e5e (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4070.78 BogoMIPS (lpj=8141572)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
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
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7064k freed
audit: initializing netlink socket (disabled)
audit(1194965135.393:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
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
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2049
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 188k freed
Write protecting the kernel read-only data: 795k
Red Hat nash version 6.0.19 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading ehci-hcd.ko module
Loading ohci-hcd.ko module
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading mbcache.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading ata_piix.ko module
Waiting for driver initialization.
Loading ata_generic.ko module
Loading BusLogic.ko module
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.
---End of boot---
---begin of fstab (domU)---
# cat /mnt/etc/fstab
/dev/sda1 / ext3 defaults 1 1
---end of file---
16 years, 5 months
Fedora's Xen Compared to XenExpress
by Mathew Brown
Hi,
I was wondering what the differences between Fedora 8's Xen and
XenExpress v4 are (besides the limits of 4GB or RAM and four virtual
hosts). Is the functionality and stability the same or is Fedora's
Xen more cutting-edge? Thank you for your help.
--
Mathew Brown
mathewbrown(a)fastmail.fm
--
http://www.fastmail.fm - The way an email service should be
16 years, 5 months