[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Xen-users] Cannot complete WinXP installation under Xen
- To: "Art Fore" <art.fore@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
- From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
- Date: Tue, 24 Oct 2006 11:14:16 +0200
- Delivery-date: Tue, 24 Oct 2006 02:15:13 -0700
- List-id: Xen user discussion <xen-users.lists.xensource.com>
- Thread-index: Acb3LyE/6eEbZi2kTKKLWnA2a4PxtgAHMjCA
- Thread-topic: [Xen-users] Cannot complete WinXP installation under Xen
So it's Dom0 or Xen kernel that hangs, rather than the
DomU, from what you say...
You need a "crossover serial cable", aka "Laplink" or
"null-modem" cable with suitable size (9 or 25-pin) connector on either ends -
commonly today it's 9-pin female cable into a male connector on the motherboard.
If you have a laptop as "recipient", it will work fine to use a USB-to-Serial
converter as well.
You need a terminal program, minicomm is one for Linux. For
windows it will work to use HyperTerminal that comes with Windows, but I prefer
something called TeraTerm which is freely downloadable on the 'net.
You need to configure Xen with:
comX=115200,8n1 console=comX (X should be replaced
with the number of your serial port 1 or 2 is the common variants).
You may want to add sync_console too to ensure that the
very last of the output is sent to the serial port.
Logging the serial output into a file is a good idea, as
you may find that the "important" stuff is stored a little bit above what you
can see on the terminal window...
--
Mats
Problem with xm dmesg is the machine is locked up with no control
via keyboard or mouse. As far as connecting another computer to the serial
port, how would you do this and what program would one use?
Art
On 10/23/06, Petersson,
Mats <Mats.Petersson@xxxxxxx>
wrote:
>
-----Original Message----- > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx >
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx
] On Behalf Of Art Fore > Sent: 23 October 2006 12:38 > To:
xen-users@xxxxxxxxxxxxxxxxxxx >
Subject: [Xen-users] Cannot complete WinXP installation under Xen
> > Have not reeived any responses to my eail, so guess no
one > knows anything about it. Have posted also on Suse list,
again > no responses. Does anyone know where I can get some help
with > this problem?
I don't know how much help it will
actually be, but you may want to (if possible) connect another machine to
the serial port on the machine in question, and see if something useful
comes out.
It looks to me like the hvm_shutdown catches the domain
dieing, so it's probably something to do with that...
"xm dmesg"
may also tell us something - as long as the machine stays up, that's as
good as a serial port.
-- Mats > >
Art > > \ > > Running Suse 10.1 Xen kernel and
trying to install win XP. (Machine is > amd64 X2 dual core mother
board.)I first followed this howto > http://en.opensuse.org/Xen_Full_Virtualization_Example > >
However, qemu does not recognize the harddisk or cdrom. > > So I
went to Yast,System, Xen virtural machinemanagement. > > I set
up the machine,full virtualization, it starts up with CD install > of
WinXP. Go through it, it gets up to about 1/3rd of the Registering >
Components, which is the last thing. It them hangs the machine, both >
mouse and keyboard. It was doing this about 2/3rds through the driver
> installation, then I changed the nvidia to nv drivers in
xorg.conf. > > I was reading about maxmem_kb, but have not found
out how to set that. > Machne has 2GBytes ram and I alocated 512 MByte
to the > virtual machine. > I get a line in messages about
maxmem-kb =17GByte, so thought that may > be the problem. Anyhow here
is the info from the > /var/log/xend-debug.log > interface tun0
does not exist! > interface tun0 does not exist! > interface
tun0 does not exist! > interface tun0 does not exist! >
interface tun0 does not exist! > > anf from the
/var/log/xend.log I get: > > [2006-10-21 15:24:03
xend.XendDomainInfo] WARNING (XendDomainInfo:823) > Domain has
crashed: name=winxp id=3. > [2006-10-21 15:24:03 xend.XendDomainInfo]
DEBUG (XendDomainInfo:1364) > XendDomainInfo.destroyDomain (3) >
[2006-10-21 15:24:03 xend] DEBUG (image:416) hvm shutdown watch >
unregistered > [2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG
(XendDomainInfo:180) > XendDomainInfo.create(['domain', ['domid', 3],
['uuid', > '4d9f050b-c0e3-044c-5c5d-2cf092918dd4'], ['ssidref', 0],
['vcpus', 1], > ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory',
512], ['maxmem', > 512], ['name', 'winxp'], ['on_poweroff',
'destroy'], ['on_reboot', > 'restart'], ['on_crash', 'restart'],
['image', ['hvm', ['kernel', > '/usr/lib/xen/boot/hvmloader'],
['device_model', > '/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1],
['cdrom', '/dev/hda'], > ['boot', 'c'], ['sdl', 1], ['display', ':
0.0'], ['xauthority', > '/tmp/xauth.XXXX6XRC0v']]], ['device', ['vif',
['backend', 0], > ['script', 'vif-bridge'], ['mac',
'00:16:3e:91:c4:57'], ['type', > 'ioemu']]], ['device', ['vbd',
['backend', 0], ['dev', 'ioemu:hdd'], > ['uname',
'file:/windows/WinXP/winxp/hdd'], ['mode', 'w']]], ['state', >
'----c-'], ['shutdown_reason', 'crash'], ['cpu_time', >
195.89091289500001], ['online_vcpus', 1], ['up_time', > '864.157013178
'], > ['start_time', '1161414579.62'], ['store_mfn', 478921]]) >
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:286) >
parseConfig: config is ['domain', ['domid', 3], ['uuid', >
'4d9f050b-c0e3-044c-5c5d-2cf092918dd4'], ['ssidref', 0], ['vcpus', 1],
> ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 512],
['maxmem', > 512], ['name', 'winxp'], ['on_poweroff', 'destroy'],
['on_reboot', > 'restart'], ['on_crash', 'restart'], ['image', ['hvm',
['kernel', > '/usr/lib/xen/boot/hvmloader'], ['device_model', >
'/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['cdrom', '/dev/hda'], >
['boot', 'c'], ['sdl', 1], ['display', ':0.0'], ['xauthority', >
'/tmp/xauth.XXXX6XRC0v']]], ['device', ['vif', ['backend', 0], >
['script', 'vif-bridge'], ['mac', '00:16:3e:91:c4:57'], ['type', >
'ioemu']]], ['device', ['vbd', ['backend', 0], ['dev', 'ioemu:hdd'], >
['uname', 'file:/windows/WinXP/winxp/hdd'], ['mode', 'w']]], ['state',
> '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', >
195.89091289500001], ['online_vcpus', 1], ['up_time', >
'864.157013178'], > ['start_time', '1161414579.62'], ['store_mfn',
478921]] > [2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG
(XendDomainInfo:382) > parseConfig: result is {'ssidref': 0,
'uuid': > '4d9f050b-c0e3-044c-5c5d-2cf092918dd4', 'on_crash':
'restart', > 'on_reboot': 'restart', 'localtime': None, 'image':
['hvm', ['kernel', > '/usr/lib/xen/boot/hvmloader'],
['device_model', > '/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1],
['cdrom', '/dev/hda'], > ['boot', 'c'], ['sdl', 1], ['display',
':0.0'], ['xauthority', > '/tmp/xauth.XXXX6XRC0v']], 'on_poweroff':
'destroy', 'cpus': None, > 'name': 'winxp', 'backend': [], 'cpu':
None, 'vcpus': 1, 'cpu_weight': > 1.0, 'vcpu_avail': 1, 'memory': 512,
'device': [('vif', ['vif', > ['backend', 0], ['script', 'vif-bridge'],
['mac', > '00:16:3e:91:c4:57'], > ['type', 'ioemu']]), ('vbd',
['vbd', ['backend', 0], ['dev', > 'ioemu:hdd'], ['uname',
'file:/windows/WinXP/winxp/hdd'], ['mode', > 'w']])], 'bootloader':
None, 'root': None, 'bootentry': None, > 'maxmem': >
512} > [2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG
(XendDomainInfo:1189) > XendDomainInfo.construct: None 0 >
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG
(XendDomainInfo:1221) > XendDomainInfo.initDomain : 4 1.0 >
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: cdrom, > val:
/dev/hda > [2006-10-21 15:24:04 xend] DEBUG (image:269) args: boot,
val: c > [2006-10-21 15:24:04 xend] DEBUG (image:269) args: fda, val:
None > [2006-10-21 15:24:04 xend] DEBUG (image:269) args: fdb, val:
None > [2006-10-21 15:24:04 xend] DEBUG (image:269) args: >
nic-ne2000, val: None > [2006-10-21 15:24:04 xend] DEBUG (image:269)
args: enable-audio, val: > None > [2006-10-21 15:24:04 xend]
DEBUG (image:269) args: localtime, > val: None > [2006-10-21
15:24:04 xend] DEBUG (image:269) args: serial, val: None > [2006-10-21
15:24:04 xend] DEBUG (image:269) args: std-vga, val: None >
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: isa, val: None >
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: vcpus, val: 1 >
[2006-10-21 15:24:04 xend] DEBUG (balloon:143) Balloon: > 169192 KiB
free; > 370228 to scrub; need 537808; retries: 20. >
[2006-10-21 15:24:04 xend] DEBUG (balloon:151) Balloon: waiting on >
scrubbing > [2006-10-21 15:24:04 xend] DEBUG (balloon:137)
Balloon: > 539420 KiB free; > need 537808; done. >
[2006-10-21 15:24:04 xend] INFO (image:136) buildDomain os=hvm dom=4 >
vcpus=1 > [2006-10-21 15:24:04 xend] DEBUG (image:227)
dom =
4 > [2006-10-21 15:24:04 xend] DEBUG (image:228) image > =
/usr/lib/xen/boot/hvmloader > [2006-10-21 15:24:04 xend] DEBUG
(image:229) store_evtchn = 1 > [2006-10-21 15:24:04 xend]
DEBUG (image:230) memsize =
512 > [2006-10-21 15:24:04 xend] DEBUG (image:231)
vcpus = 1
> [2006-10-21 15:24:04 xend] DEBUG (image:232)
pae =
0 > [2006-10-21 15:24:04 xend] DEBUG (image:233)
acpi = 0 >
[2006-10-21 15:24:04 xend] DEBUG (image:234)
apic = 0 >
[2006-10-21 15:24:04 xend] DEBUG (image:404) hvm shutdown watch >
registered > [2006-10-21 15:24:04 xend] DEBUG (DevController:103)
DevController: > writing {'state': '1', 'backend-id': '0',
'backend': > '/local/domain/0/backend/vif/4/0'} to
/local/domain/4/device/vif/0. > [2006-10-21 15:24:04 xend] DEBUG
(DevController:105) DevController: > writing {'domain': 'winxp',
'handle': '0', 'script': > '/etc/xen/scripts/vif-bridge', 'state':
'1', 'frontend': > '/local/domain/4/device/vif/0', 'mac':
'00:16:3e:91:c4:57', > 'frontend-id': '4', 'type': 'ioemu'}
to > /local/domain/0/backend/vif/4/0. > [2006-10-21 15:24:04
xend] DEBUG (blkif:24) exception looking > up device > number
for hdd: [Errno 2] No such file or directory: '/dev/hdd' >
[2006-10-21 15:24:04 xend] DEBUG (DevController:103) DevController: >
writing {'state': '1', 'backend-id': '0', 'backend': >
'/local/domain/0/backend/vbd/4/5696'} > to
/local/domain/4/device/vbd/5696. > [2006-10-21 15:24:04 xend] DEBUG
(DevController:105) DevController: > writing {'domain': 'winxp',
'frontend': > '/local/domain/4/device/vbd/5696', 'dev': 'ioemu:hdd',
'state': '1', > 'params': '/windows/WinXP/winxp/hdd', 'mode': 'w',
'frontend-id': '4', > 'type': 'file'} to
/local/domain/0/backend/vbd/4/5696. > [2006-10-21 15:24:04 xend] INFO
(image:358) spawning device > models: /usr/lib/xen/bin/qemu-dm
['/usr/lib/xen/bin/qemu-dm', > '-d', '4', > '-m', '512',
'-cdrom', '/dev/hda', '-boot', 'c', '-vcpus', '1', > '-domain-name',
'winxp', '-macaddr', '00:16:3e:91:c4:57', '-bridge', > 'xenbr0',
'-hdd', '/windows/WinXP/winxp/hdd', '-nics', '1'] > [2006-10-21
15:24:04 xend] INFO (image:360) device model pid: 7404 > [2006-10-21
15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:675) > Storing VM
details: {'ssidref': '0', 'uuid': >
'4d9f050b-c0e3-044c-5c5d-2cf092918dd4', 'on_reboot': 'restart', >
'start_time': ' 1161415444.46', 'on_poweroff': 'destroy', 'name': >
'winxp', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '512',
'on_crash': > 'restart', 'image': '(hvm (kernel
/usr/lib/xen/boot/hvmloader) > (device_model /usr/lib/xen/bin/qemu-dm)
(vcpus 1) (cdrom > /dev/hda) (boot > c) (sdl 1) (display :0.0)
(xauthority /tmp/xauth.XXXX6XRC0v))', > 'maxmem': '512'} >
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:700) >
Storing domain details: {'console/port': '2', 'name': 'winxp', >
'console/limit': '1048576', 'vm': >
'/vm/4d9f050b-c0e3-044c-5c5d-2cf092918dd4', 'domid': '4', >
'cpu/0/availability': 'online', 'memory/target': '524288', >
'store/ring-ref': '118472', 'store/port': '1'} > [2006-10-21 15:24:04
xend] DEBUG (image:427) hvm_shutdown fired, > shutdown
reason=None > [2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG
(XendDomainInfo:881) > XendDomainInfo.handleShutdownWatch
> > Has anyone any suggestions on fixing this? > >
Art > > Also cannot install Win2k, Win98, and Knoppix. Trying to
do > Suse 10.0 takes about a minute per package, so I gave up.
> > I guess some people have gotten it to work with
this > motherboard (K9n neo). Would sure like to know the
secret. > > Art > > >
_______________________________________________ > Xen-users mailing
list > Xen-users@xxxxxxxxxxxxxxxxxxx >
http://lists.xensource.com/xen-users >
> >
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|