Skip to contentSkip to conversation

stubdomain conf error

DISCUSSION Giorgenes Gelatti 2 participants 18 messages Jul 8, 2009 – Jul 17, 2009

lore
Share & tools
lore
#0 lore raw

Hi there,

i've isntalled xen 3.4 from source on debian lenny and got the following error when running hvm + stubdomain (hvm only works fine):

+ /bin/sh -c 'xm create -c /etc/xen/stubdoms/xmexample.hvm-dm target=15 memory=32 extra=" -d 15"'
Using config file "/etc/xen/stubdoms/xmexample.hvm-dm". Started domain xmexample.hvm-dm (id=16)
Using config file "/etc/xen/stubdoms/xmexample.hvm-dm". Unexpected error: <type 'exceptions.OSError'>

Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 7, in <module>
main.main(sys.argv)
File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2979, in main

    _, rc = _run_cmd(cmd, cmd_name, args)

File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 3003, in
_run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 1360, in
xm_importcommand
cmd.main([command] + args)
File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1371, in
main

    do_console(sxp.child_value(config, 'name', -1))

File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1398, in
do_console
(p, rv) = os.waitpid(cpid, os.WNOHANG)
OSError: [Errno 10] No child processes

This is the content of /etc/xen/stubdoms/xmexample.hvm-dm:
#This file is autogenerated, edit xmexample.hvm instead!
kernel = '/usr/lib/xen/boot/ioemu-stubdom.gz'
vfb = ['sdl=0, opengl=1, xauthority=/root/.Xauthority, vnc=1, vncdisplay=0, vnclisten=0.0.0.0, vncunused=1']
disk = [ 'tap:aio:/home/ggelatti/disk.img,hda:disk,w','tap:aio:/home/ggelatti/debian-501-i386-CD-1.iso,hdc:cdrom,r' ]
vif = [ 'mac=00:16:3e:50:a5:ad' ]

It looks like something is wrong with the generated stub domain file.

Any help?
Thank you.

PS: I've posted on xen-devel cse the log file told me so :P

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 37 lines · Giorgenes Gelatti

Hi there,

i've isntalled xen 3.4 from source on debian lenny and got the following error when running hvm + stubdomain (hvm only works fine):

+ /bin/sh -c 'xm create -c /etc/xen/stubdoms/xmexample.hvm-dm target=15 memory=32 extra=" -d 15"' Using config file "/etc/xen/stubdoms/xmexample.hvm-dm".
Started domain xmexample.hvm-dm (id=16)
Using config file "/etc/xen/stubdoms/xmexample.hvm-dm".
Unexpected error: <type 'exceptions.OSError'>

Please report to [email protected]
Traceback (most recent call last):
  File "/usr/sbin/xm", line 7, in <module>
    main.main(sys.argv)
  File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2979, in main _, rc = _run_cmd(cmd, cmd_name, args)
  File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 3003, in _run_cmd return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 1360, in xm_importcommand cmd.main([command] + args)
  File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1371, in main do_console(sxp.child_value(config, 'name', -1))
  File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1398, in do_console (p, rv) = os.waitpid(cpid, os.WNOHANG)
OSError: [Errno 10] No child processes

This is the content of /etc/xen/stubdoms/xmexample.hvm-dm:
#This file is autogenerated, edit xmexample.hvm instead!
kernel = '/usr/lib/xen/boot/ioemu-stubdom.gz'
vfb = ['sdl=0, opengl=1, xauthority=/root/.Xauthority, vnc=1, vncdisplay=0, vnclisten=0.0.0.0, vncunused=1'] disk = [ 'tap:aio:/home/ggelatti/disk.img,hda:disk,w','tap:aio:/home/ggelatti/debian-501-i386-CD-1.iso,hdc:cdrom,r' ] vif = [ 'mac=00:16:3e:50:a5:ad' ]

Quoted 7 lines

It looks like something is wrong with the generated stub domain file.

Any help?
Thank you.

PS: I've posted on xen-devel cse the log file told me so :P

Unfortunately the error message is just the generic error message you get when the stubdom fails to start; also the generated config file looks fine.
It is difficult to understand what the problem is with these informations.

If you want to track down this bug you need to recompile xen and stubdoms with "debug = y" in Config.mk, then try to start a stubdom again and send me the output of "xm dmesg".

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

I've recompiled and rerunned it with debug, the results are attached. For the sake of reference, the domain id in question was 5.

Thanks in advance.

[]'s

2009/7/9 Stefano Stabellini <[email protected]>

Quoted 62 lines · Giorgenes Gelatti
Quoted 3 lines

Hi there,

i've isntalled xen 3.4 from source on debian lenny and got the following

error when running hvm + stubdomain (hvm only

Quoted 3 lines

works fine):

+ /bin/sh -c 'xm create -c /etc/xen/stubdoms/xmexample.hvm-dm target=15

memory=32 extra=" -d 15"'

Quoted 10 lines

Using config file "/etc/xen/stubdoms/xmexample.hvm-dm". Started domain xmexample.hvm-dm (id=16)
Using config file "/etc/xen/stubdoms/xmexample.hvm-dm". Unexpected error: <type 'exceptions.OSError'>

Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 7, in <module>
main.main(sys.argv)
File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2979, in

main

Quoted 2 lines
    _, rc = _run_cmd(cmd, cmd_name, args)

File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 3003, in

_run_cmd

Quoted 3 lines

return True, cmd(args)
File "<string>", line 1, in <lambda>
File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 1360, in

xm_importcommand

Quoted 2 lines

cmd.main([command] + args)
File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1371, in

main

Quoted 2 lines
    do_console(sxp.child_value(config, 'name', -1))

File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1398, in

do_console

Quoted 8 lines

(p, rv) = os.waitpid(cpid, os.WNOHANG)
OSError: [Errno 10] No child processes

This is the content of /etc/xen/stubdoms/xmexample.hvm-dm:
#This file is autogenerated, edit xmexample.hvm instead! kernel = '/usr/lib/xen/boot/ioemu-stubdom.gz'
vfb = ['sdl=0, opengl=1, xauthority=/root/.Xauthority, vnc=1,

vncdisplay=0, vnclisten=0.0.0.0, vncunused=1']

Quoted 1 line

disk = [

'tap:aio:/home/ggelatti/disk.img,hda:disk,w','tap:aio:/home/ggelatti/debian-501-i386-CD-1.iso,hdc:cdrom,r' ]

Quoted 10 lines

vif = [ 'mac=00:16:3e:50:a5:ad' ]

It looks like something is wrong with the generated stub domain file.

Any help?
Thank you.

PS: I've posted on xen-devel cse the log file told me so :P

Unfortunately the error message is just the generic error message you get when the stubdom fails to start; also the generated config file looks fine.
It is difficult to understand what the problem is with these informations.

Quoted 6 lines

If you want to track down this bug you need to recompile xen and stubdoms with "debug = y" in Config.mk, then try to start a stubdom again and send me the output of "xm dmesg".

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Ops, forgot the xm dmesg. attached.

2009/7/9 Giorgenes Gelatti <[email protected]>

Quoted 78 lines

I've recompiled and rerunned it with debug, the results are attached. For the sake of reference, the domain id in question was 5.

Thanks in advance.

[]'s

2009/7/9 Stefano Stabellini <[email protected]>

Quoted 67 lines · Giorgenes Gelatti
Quoted 3 lines

Hi there,

i've isntalled xen 3.4 from source on debian lenny and got the following

error when running hvm + stubdomain (hvm only

Quoted 3 lines

works fine):

+ /bin/sh -c 'xm create -c /etc/xen/stubdoms/xmexample.hvm-dm target=15

memory=32 extra=" -d 15"'

Quoted 10 lines

Using config file "/etc/xen/stubdoms/xmexample.hvm-dm". Started domain xmexample.hvm-dm (id=16)
Using config file "/etc/xen/stubdoms/xmexample.hvm-dm". Unexpected error: <type 'exceptions.OSError'>

Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 7, in <module>
main.main(sys.argv)
File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2979, in

main

Quoted 2 lines
    _, rc = _run_cmd(cmd, cmd_name, args)

File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 3003, in

_run_cmd

Quoted 3 lines

return True, cmd(args)
File "<string>", line 1, in <lambda>
File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 1360, in

xm_importcommand

Quoted 2 lines

cmd.main([command] + args)
File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1371, in

main

Quoted 2 lines
    do_console(sxp.child_value(config, 'name', -1))

File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1398, in

do_console

Quoted 8 lines

(p, rv) = os.waitpid(cpid, os.WNOHANG)
OSError: [Errno 10] No child processes

This is the content of /etc/xen/stubdoms/xmexample.hvm-dm:
#This file is autogenerated, edit xmexample.hvm instead! kernel = '/usr/lib/xen/boot/ioemu-stubdom.gz'
vfb = ['sdl=0, opengl=1, xauthority=/root/.Xauthority, vnc=1,

vncdisplay=0, vnclisten=0.0.0.0, vncunused=1']

Quoted 1 line

disk = [

'tap:aio:/home/ggelatti/disk.img,hda:disk,w','tap:aio:/home/ggelatti/debian-501-i386-CD-1.iso,hdc:cdrom,r' ]

Quoted 10 lines

vif = [ 'mac=00:16:3e:50:a5:ad' ]

It looks like something is wrong with the generated stub domain file.

Any help?
Thank you.

PS: I've posted on xen-devel cse the log file told me so :P

Unfortunately the error message is just the generic error message you get when the stubdom fails to start; also the generated config file looks fine.
It is difficult to understand what the problem is with these informations.

If you want to track down this bug you need to recompile xen and stubdoms with "debug = y" in Config.mk, then try to start a stubdom again and send me the output of "xm dmesg".

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 2 lines · Giorgenes Gelatti

Ops, forgot the xm dmesg. attached.

It seems that the stubdom fails to start with a memory problem:

(XEN) memory.c:128:d0 Could not allocate order=9 extent: id=1 memflags=0 (2 of 3)

I have seen this message appearing on the console only recently and since then stubdoms fail to start.
Do anyone know the reason for this?

#5 lore raw

I've read something out there about stubdomains failing with non-PAE xen, could it have something to do with it?
Where could I enable it in the sources?

Thank you.

2009/7/10 Stefano Stabellini <[email protected]>

Quoted 14 lines · Giorgenes Gelatti
Quoted 2 lines

Ops, forgot the xm dmesg. attached.

It seems that the stubdom fails to start with a memory problem:

(XEN) memory.c:128:d0 Could not allocate order=9 extent: id=1 memflags=0 (2 of 3)

I have seen this message appearing on the console only recently and since then stubdoms fail to start.
Do anyone know the reason for this?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#6 lore raw
Quoted 10 lines · Giorgenes Gelatti

I've read something out there about stubdomains failing with non-PAE xen, could it have something to do with it? Where could I enable it in the sources?

Thank you.

2009/7/10 Stefano Stabellini <[email protected]>
On Thu, 9 Jul 2009, Giorgenes Gelatti wrote:
> Ops, forgot the xm dmesg. attached.
>

Quoted 8 lines

It seems that the stubdom fails to start with a memory problem:

(XEN) memory.c:128:d0 Could not allocate order=9 extent: id=1 memflags=0 (2 of 3)

I have seen this message appearing on the console only recently and since then stubdoms fail to start.
Do anyone know the reason for this?

The patch I just sent should fix the issue.

#7 lore raw

To which version should I apply the patch?
My version (3.4) doesn't have the lines in the patch. I tryed adding the lines to the stubdom-dm but it didn't work. Should I get the "unstable" version?

Thank you.

[]'s

2009/7/10 Stefano Stabellini <[email protected]>

Quoted 15 lines · Giorgenes Gelatti
Quoted 1 line

I've read something out there about stubdomains failing with non-PAE xen,

could it have something to do with it?

Quoted 4 lines

Where could I enable it in the sources?

Thank you.

Quoted 8 lines

2009/7/10 Stefano Stabellini <[email protected]>
On Thu, 9 Jul 2009, Giorgenes Gelatti wrote:
> Ops, forgot the xm dmesg. attached.
>

It seems that the stubdom fails to start with a memory problem:

(XEN) memory.c:128:d0 Could not allocate order=9 extent: id=1 memflags=0

Quoted 9 lines

(2 of 3)

Quoted 5 lines

I have seen this message appearing on the console only recently and since then stubdoms fail to start.
Do anyone know the reason for this?

The patch I just sent should fix the issue.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw
Quoted 3 lines · Giorgenes Gelatti

To which version should I apply the patch?
My version (3.4) doesn't have the lines in the patch. I tryed adding the lines to the stubdom-dm but it didn't work.

Uhm.. I couldn't reproduce the issue on 3.4 testing.
If you are using 3.4, which CS is the tip of you xen and qemu trees?

Quoted 1 line

Should I get the "unstable" version?

The "unstable" version works for me at the moment, you can give it a try.

#9 lore raw

#xen-3.4.0> cat .hg_archival.txt
repo: ab039beb22dc9d53f224a5ef2ef88d534b561898
node: d2a5c477c647dc7b3f51a761ab481ed80d5a1771

2009/7/10 Stefano Stabellini <[email protected]>

Quoted 5 lines · Giorgenes Gelatti
Quoted 3 lines

To which version should I apply the patch?
My version (3.4) doesn't have the lines in the patch. I tryed adding the lines to the stubdom-dm but it didn't work.

Quoted 8 lines

Uhm.. I couldn't reproduce the issue on 3.4 testing.
If you are using 3.4, which CS is the tip of you xen and qemu trees?

Quoted 1 line

Should I get the "unstable" version?

The "unstable" version works for me at the moment, you can give it a try.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

Well, I've just find out that I was missing a basic step: running fs-backend.
I couldn't run the stubdomain running it either.
Now i'm trying with xen-unstable and I'm getting this error:

# xm create xmexample.hvm-stubdom
Using config file "./xmexample.hvm-stubdom".
Error: Device 768 (vbd) could not be connected.
File /home/ggelatti/disk.img is loopback-mounted through /dev/loop2,
which is mounted in a guest domain,
and so cannot be mounted now.

Any thoughts on that?
Tks again.

2009/7/13 Giorgenes Gelatti <[email protected]>

Quoted 5 lines

#xen-3.4.0> cat .hg_archival.txt
repo: ab039beb22dc9d53f224a5ef2ef88d534b561898
node: d2a5c477c647dc7b3f51a761ab481ed80d5a1771

Quoted 17 lines

2009/7/10 Stefano Stabellini <[email protected]>

Quoted 13 lines · Giorgenes Gelatti
Quoted 3 lines

To which version should I apply the patch?
My version (3.4) doesn't have the lines in the patch. I tryed adding the lines to the stubdom-dm but it didn't work.

Uhm.. I couldn't reproduce the issue on 3.4 testing.
If you are using 3.4, which CS is the tip of you xen and qemu trees?

Quoted 1 line

Should I get the "unstable" version?

The "unstable" version works for me at the moment, you can give it a try.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw
Quoted 11 lines · Giorgenes Gelatti

Well, I've just find out that I was missing a basic step: running fs-backend. I couldn't run the stubdomain running it either.
Now i'm trying with xen-unstable and I'm getting this error:

# xm create xmexample.hvm-stubdom
Using config file "./xmexample.hvm-stubdom".
Error: Device 768 (vbd) could not be connected.
File /home/ggelatti/disk.img is loopback-mounted through /dev/loop2,
which is mounted in a guest domain,
and so cannot be mounted now.
Quoted 3 lines

Any thoughts on that?
Tks again.

Try unmouting /dev/loop2, it probably remained mounted from one of your previous failed attempts.

#12 lore raw

I think it isn't the case. mount and losetup don't show anything. I looks like it just happens the first time I run xm create. If I try it again it "works".
Well, the first time it "worked" it freezed the whole system actually. After reboot, I issued xm create again, which caused the same error again. I rerunned it and this time it created the VM pair: the hvm and the stubdomain.
Connecting to the VNC interface works, but only shows a black screen. Running xm list shows the stubdomain isn't running at all:

# xm list
Name                                        ID   Mem VCPUs      State
Time(s)
Domain-0                                     0   252     2     r-----
204.0
debstubhvm                                   3   128     1     r-----
9356.5
debstubhvm-dm                                4    32     1     -b----
0.0

the stubdomain status started with "p", then I unpaused it manually and it went into "b" forever.

Any clue?
Thanks for your help.

2009/7/14 Stefano Stabellini <[email protected]>

Quoted 13 lines · Giorgenes Gelatti
Quoted 1 line

Well, I've just find out that I was missing a basic step: running

fs-backend.

Quoted 10 lines

I couldn't run the stubdomain running it either. Now i'm trying with xen-unstable and I'm getting this error:

# xm create xmexample.hvm-stubdom
Using config file "./xmexample.hvm-stubdom".
Error: Device 768 (vbd) could not be connected.
File /home/ggelatti/disk.img is loopback-mounted through /dev/loop2,
which is mounted in a guest domain,
and so cannot be mounted now.
Quoted 8 lines
Quoted 3 lines

Any thoughts on that?
Tks again.

Try unmouting /dev/loop2, it probably remained mounted from one of your previous failed attempts.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#13 lore raw
Quoted 15 lines · Giorgenes Gelatti

I think it isn't the case. mount and losetup don't show anything. I looks like it just happens the first time I run xm create.
If I try it again it "works".
Well, the first time it "worked" it freezed the whole system actually. After reboot, I issued xm create again, which caused the same error again. I rerunned it and this time it created the VM pair: the hvm and the stubdomain. Connecting to the VNC interface works, but only shows a black screen. Running xm list shows the stubdomain isn't running at all:

# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   252     2     r-----    204.0
debstubhvm                                   3   128     1     r-----   9356.5
debstubhvm-dm                                4    32     1     -b----      0.0
Quoted 3 lines

the stubdomain status started with "p", then I unpaused it manually and it went into "b" forever.

Any clue?

It is hard to say with these informations.
What does the xm dmesg say?
Could you also send the qemu and stubdom logs?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#14 lore raw

Attached.

tks again

[]'s

2009/7/15 Stefano Stabellini <[email protected]>

Quoted 22 lines · Giorgenes Gelatti
Quoted 5 lines

I think it isn't the case. mount and losetup don't show anything. I looks like it just happens the first time I run xm create. If I try it again it "works".
Well, the first time it "worked" it freezed the whole system actually. After reboot, I issued xm create again, which caused the same error

again.

Quoted 1 line

I rerunned it and this time it created the VM pair: the hvm and the

stubdomain.

Quoted 5 lines

Connecting to the VNC interface works, but only shows a black screen. Running xm list shows the stubdomain isn't running at all:

# xm list
Name                                        ID   Mem VCPUs      State

Time(s)

Quoted 1 line

Domain-0 0 252 2 r-----

204.0

Quoted 1 line

debstubhvm 3 128 1 r-----

9356.5

Quoted 1 line

debstubhvm-dm 4 32 1

-b---- 0.0

Quoted 1 line
Quoted 8 lines
Quoted 1 line

the stubdomain status started with "p", then I unpaused it manually and

it went into "b" forever.

Quoted 2 lines

Any clue?

It is hard to say with these informations.
What does the xm dmesg say?
Could you also send the qemu and stubdom logs?

__ __ _____ ____ _ _ _

 \ \/ /___ _ __   |___ / | ___|    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \    |_ \ |___ \ __| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | |  ___) | ___) |__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_| |____(_)____/    \__,_|_| |_|___/\__\__,_|_.__/|_|\___|

(XEN) Xen version 3.5-unstable ([email protected]) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) Tue Jul 14 08:26:21 EDT 2009 (XEN) Latest ChangeSet: Mon Jul 13 12:35:34 2009 +0100 19932:c0cb307d927f
(XEN) Command line: noreboot com1=9600,8n1 console=com1,vga dom0_mem=256M
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 2 seconds
(XEN) Disc information:
(XEN) Found 1 MBR signatures
(XEN) Found 1 EDD information structures
(XEN) Xen-e820 RAM map:

(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e8000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 0000000077eb7f00 (usable)
(XEN)  0000000077eb7f00 - 0000000080000000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fec00000 - 00000000fed40000 (reserved)
(XEN)  00000000fed45000 - 0000000100000000 (reserved)

(XEN) System RAM: 1918MB (1964376kB)
(XEN) ACPI: RSDP 000E7610, 0014 (r0 COMPAQ)
(XEN) ACPI: RSDT 77EC7F40, 0040 (r1 HPQOEM SLIC-BPC 20070125 0)
(XEN) ACPI: FACP 77EC7FE8, 0074 (r1 COMPAQ HP_RS485 1 0)
(XEN) ACPI: DSDT 77EC8343, 934E (r1 COMPAQ DSDT_PRJ 1 MSFT 100000E)
(XEN) ACPI: FACS 77EC7F00, 0040
(XEN) ACPI: APIC 77EC805C, 0068 (r1 COMPAQ HP_RS485 1 0)
(XEN) ACPI: ASF! 77EC80C4, 0063 (r32 COMPAQ HP_RS485 1 0)

(XEN) ACPI: MCFG 77EC8127, 003C (r1 COMPAQ HP_RS485        1             0)
(XEN) ACPI: TCPA 77EC8163, 0032 (r1 COMPAQ HP_RS485        1             0)
(XEN) ACPI: SLIC 77EC8195, 0176 (r1 HPQOEM SLIC-BPC        1             0)
(XEN) ACPI: HPET 77EC830B, 0038 (r1 COMPAQ HP_RS485        1             0)

(XEN) Xen heap: 9MB (9796kB)
(XEN) Domain heap initialised
(XEN) Processor #0 15:11 APIC version 16
(XEN) Processor #1 15:11 APIC version 16
(XEN) IOAPIC[0]: apic_id 2, version 33, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2094.825 MHz processor.
(XEN) AMD SVM: ASIDs enabled.
(XEN) HVM: SVM enabled
(XEN) CPU0: AMD K8 machine check reporting enabled.
(XEN) CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ stepping 01 (XEN) Booting processor 1/1 eip 8c000
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) AMD SVM: ASIDs enabled.
(XEN) CPU1: AMD K8 machine check reporting enabled.
(XEN) CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ stepping 01 (XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using new ACK method
(XEN) checking TSC synchronization across 2 CPUs:
(XEN) CPU#0 had -528663 usecs TSC skew, fixed it up.
(XEN) CPU#1 had 0 usecs TSC skew, fixed it up.
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs
(XEN) I/O virtualisation disabled
(XEN) HP Compaq Laptop series board detected. Selecting BIOS-method for reboots. (XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 32-bit, PAE, lsb
(XEN) Dom0 kernel: 32-bit, PAE, lsb, paddr 0x1000000 -> 0x1948000 (XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000038000000->000000003c000000 (49152 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:

(XEN)  Loaded kernel: c1000000->c1948000
(XEN)  Init. ramdisk: c1948000->c2895c00
(XEN)  Phys-Mach map: c2896000->c28d6000
(XEN)  Start info:    c28d6000->c28d647c
(XEN)  Page tables:   c28d7000->c28f2000
(XEN)  Boot stack:    c28f2000->c28f3000
(XEN)  TOTAL:         c0000000->c2c00000
(XEN)  ENTRY ADDRESS: c170c000

(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM: ................done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 124kB init memory.
(XEN) ioapic_guest_write: apic=0, pin=2, old_irq=0, new_irq=-1
(XEN) ioapic_guest_write: old_entry=000009f0, new_entry=00010900 (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=-1
(XEN) ioapic_guest_write: old_entry=000009f1, new_entry=00010900 (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=0, old_irq=-1, new_irq=0
(XEN) ioapic_guest_write: old_entry=00010900, new_entry=000009f0 (XEN) ioapic_guest_write: Attempt to add IO-APIC pin for in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=17, old_irq=17, new_irq=17 (XEN) ioapic_guest_write: old_entry=0000a9b0, new_entry=0001a9b0 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=18, old_irq=18, new_irq=18 (XEN) ioapic_guest_write: old_entry=0000a9b8, new_entry=0001a9b8 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) ioapic_guest_write: apic=0, pin=16, old_irq=16, new_irq=16 (XEN) ioapic_guest_write: old_entry=0000a9a8, new_entry=0001a9a8 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) tmem: must specify tmem parameter on xen boot line

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#15 lore raw
Quoted 4 lines · Giorgenes Gelatti

Attached.

tks again

Unfortunately there is nothing on the logs: did you compile xen and stubdom with debug = y?

#17 lore raw

Hi,

Tks for all the help.
It's seems like i've being failing miserably to use the kernels that comes with the xen source.
I've tryed different versions: 3.4.0 stable, 3.5-unstable, and 3.4.1-rc7. All kernels gave me different errors, some crashed with the debug options on.
But the setup that ended up working for me was xen 3.5.1-rc7 with kernel 3.6.26-2 from the debian packages. The one released with the xen source didn't work for me.

Now I've successfully ran an hvm with a stubdomain.

tks.

2009/7/16 Giorgenes Gelatti <[email protected]>

Quoted 4 lines

Xen is crashing on boot with debug = y :(
It gives a "FATAL PAGE FAULT" and kernel panics.

Quoted 14 lines

2009/7/15 Stefano Stabellini <[email protected]>

Quoted 11 lines · Giorgenes Gelatti
Quoted 5 lines

Attached.

tks again

Unfortunately there is nothing on the logs: did you compile xen and stubdom with debug = y?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel