Hypervisor error messages after xl block-detach with linux 3.18-rc5
Hi,
while testing my "linear p2m list" patches I saw the following problem (even without my patches in place):
In dom0 running linux 3.18-rc5 on top of Xen 4.4.1 I modified the disk image of a guest by attaching it to dom0:
xl block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w mount /dev/xvda2 /mnt
...
umount /mnt
xl block-detach 0 xvda
Worked without any problem. After some seconds the following messages were issued on the console:
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61110 (pfn 1f3f21c) (XEN) mm.c:2995:d0 Error while pinning mfn 61110
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61110 (pfn 1f3f21c) (XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61111 (pfn 1f3f21d) (XEN) mm.c:2995:d0 Error while pinning mfn 61111
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61111 (pfn 1f3f21d) (XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61120 (pfn 1f3f22c) (XEN) mm.c:2995:d0 Error while pinning mfn 61120
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61120 (pfn 1f3f22c) (XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61121 (pfn 1f3f22d) (XEN) mm.c:2995:d0 Error while pinning mfn 61121
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61121 (pfn 1f3f22d) (XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61102 (pfn 1f3f20e) (XEN) mm.c:2995:d0 Error while pinning mfn 61102
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61102 (pfn 1f3f20e) (XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61103 (pfn 1f3f20f) (XEN) mm.c:2995:d0 Error while pinning mfn 61103
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61103 (pfn 1f3f20f) (XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms
Is this a known issue?
Juergen
Quoted 54 lines · Juergen Gross
Hi,
while testing my "linear p2m list" patches I saw the following problem (even without my patches in place):
In dom0 running linux 3.18-rc5 on top of Xen 4.4.1 I modified the disk image of a guest by attaching it to dom0:
xl block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w mount
/dev/xvda2/mnt
...
umount /mnt
xl block-detach 0 xvdaWorked without any problem. After some seconds the following messages were issued on the console:
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61110 (pfn 1f3f21c)
(XEN) mm.c:2995:d0 Error while pinning mfn 61110
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61110 (pfn 1f3f21c)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61111 (pfn 1f3f21d)
(XEN) mm.c:2995:d0 Error while pinning mfn 61111
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61111 (pfn 1f3f21d)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61120 (pfn 1f3f22c)
(XEN) mm.c:2995:d0 Error while pinning mfn 61120
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61120 (pfn 1f3f22c)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61121 (pfn 1f3f22d)
(XEN) mm.c:2995:d0 Error while pinning mfn 61121
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61121 (pfn 1f3f22d)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61102 (pfn 1f3f20e)
(XEN) mm.c:2995:d0 Error while pinning mfn 61102
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61102 (pfn 1f3f20e)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61103 (pfn 1f3f20f)
(XEN) mm.c:2995:d0 Error while pinning mfn 61103
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61103 (pfn 1f3f20f)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms
Quoted 1 line
Is this a known issue?
No. First time I see it.
Quoted 8 lines
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 6 lines · Konrad Rzeszutek Wilk
Quoted 5 lines · Juergen Gross
Hi,
while testing my "linear p2m list" patches I saw the following problem (even without my patches in place):
Quoted 8 lines
Quoted 8 lines
In dom0 running linux 3.18-rc5 on top of Xen 4.4.1 I modified the disk image of a guest by attaching it to dom0:
xl block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w mount
/dev/xvda2/mnt
...
umount /mnt
xl block-detach 0 xvda
Did some more testing:
- Seems to occur only when attaching a block device to dom0, problem shows up only after doing the block-detach.
- Sometimes I see only NMI watchdog messages, looking into hanging cpu state via xen debug keys I can see the cpu(s) in question are spinning in _raw_spin_lock():
__handle_mm_fault()->__pte_alloc()->pmd_lock()->_raw_spin_lock() The hanging cpus were executing some random user processes (cron, bash, xargs), cr2 contained user addresses.
- Up to now I've seen the problem on a rather huge machine only (128GB, 120 cpus). I just did a quick test on my laptop and nothing bad happened.
- Even on the huge machine just doing block-attach and block-detach without mounting the filesystem on the disk was harmless.
Any ideas how to find the problem?
Juergen
Quoted 58 lines
Quoted 41 lines
Worked without any problem. After some seconds the following messages were issued on the console:
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61110 (pfn 1f3f21c)
(XEN) mm.c:2995:d0 Error while pinning mfn 61110
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61110 (pfn 1f3f21c)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61111 (pfn 1f3f21d)
(XEN) mm.c:2995:d0 Error while pinning mfn 61111
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61111 (pfn 1f3f21d)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61120 (pfn 1f3f22c)
(XEN) mm.c:2995:d0 Error while pinning mfn 61120
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61120 (pfn 1f3f22c)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61121 (pfn 1f3f22d)
(XEN) mm.c:2995:d0 Error while pinning mfn 61121
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61121 (pfn 1f3f22d)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61102 (pfn 1f3f20e)
(XEN) mm.c:2995:d0 Error while pinning mfn 61102
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61102 (pfn 1f3f20e)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write perms (XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61103 (pfn 1f3f20f)
(XEN) mm.c:2995:d0 Error while pinning mfn 61103
(XEN) mm.c:2352:d0 Bad type (saw 7400000000000002 != exp 1000000000000000) for mfn 61103 (pfn 1f3f20f)
(XEN) mm.c:906:d0 Attempt to create linear p.t. with write permsQuoted 1 line
Is this a known issue?
No. First time I see it.
Quoted 8 lines
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 10 lines · Juergen Gross
Quoted 9 lines · Konrad Rzeszutek Wilk
Quoted 8 lines · Juergen Gross
Hi,
while testing my "linear p2m list" patches I saw the following problem (even without my patches in place):
In dom0 running linux 3.18-rc5 on top of Xen 4.4.1 I modified the disk image of a guest by attaching it to dom0:
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
xl block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w mount
/dev/xvda2/mnt
...
umount /mnt
xl block-detach 0 xvdaDid some more testing:
- Seems to occur only when attaching a block device to dom0
That means a qdisk backed situation then, I think.
Is your qemu up to date?
http://xenbits.xen.org/gitweb/?p=qemu-upstream-unstable.git;a=commit;h=abbbc2f09a53f8f9ee565356ab11a78af006e45e resulted in slightly different messages, but could be related?
Ian.
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 24.11.14 at 10:55, <[email protected]> wrote:
- Sometimes I see only NMI watchdog messages, looking into hanging cpu state via xen debug keys I can see the cpu(s) in question are spinning in
_raw_spin_lock():
__handle_mm_fault()->__pte_alloc()->pmd_lock()->_raw_spin_lock() The hanging cpus were executing some random user processes (cron, bash, xargs), cr2 contained user addresses.
Is this perhaps what
http://lists.xenproject.org/archives/html/xen-devel/2014-11/msg02135.html
appears to be about?
Jan
Quoted 11 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 24.11.14 at 10:55, <[email protected]> wrote:
- Sometimes I see only NMI watchdog messages, looking into hanging cpu state via xen debug keys I can see the cpu(s) in question are spinning in
_raw_spin_lock():
__handle_mm_fault()->__pte_alloc()->pmd_lock()->_raw_spin_lock() The hanging cpus were executing some random user processes (cron, bash, xargs), cr2 contained user addresses.Is this perhaps what
http://lists.xenproject.org/archives/html/xen-devel/2014-11/msg02135.html
appears to be about?
Hmm, I'm not sure.
I'll try a 3.17 kernel to verify.
Juergen
Quoted 10 lines · Juergen Gross
Quoted 9 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 24.11.14 at 10:55, <[email protected]> wrote:
- Sometimes I see only NMI watchdog messages, looking into hanging cpu state via xen debug keys I can see the cpu(s) in question are
spinning
in_raw_spin_lock():
__handle_mm_fault()->__pte_alloc()->pmd_lock()->_raw_spin_lock() The hanging cpus were executing some random user processes (cron, bash, xargs), cr2 contained user addresses.
Quoted 7 lines
Quoted 3 lines
Is this perhaps what
http://lists.xenproject.org/archives/html/xen-devel/2014-11/msg02135.html
appears to be about?Hmm, I'm not sure.
I'll try a 3.17 kernel to verify.
Still seeing the issue, but less frequent. OTOH I just found in above thread in lkml that 3.17 is showing that issue, too. :-(
I'll try to setup a pv-variant of Linus' patch and test it...
Juergen
Quoted 16 lines · Juergen Gross
Quoted 15 lines · Juergen Gross
Quoted 13 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 24.11.14 at 10:55, <[email protected]> wrote:
- Sometimes I see only NMI watchdog messages, looking into hanging cpu state via xen debug keys I can see the cpu(s) in question are
spinning
in_raw_spin_lock():
__handle_mm_fault()->__pte_alloc()->pmd_lock()->_raw_spin_lock() The hanging cpus were executing some random user processes (cron, bash, xargs), cr2 contained user addresses.Is this perhaps what
http://lists.xenproject.org/archives/html/xen-devel/2014-11/msg02135.htmlappears to be about?
Quoted 8 lines
Quoted 3 lines
Hmm, I'm not sure.
I'll try a 3.17 kernel to verify.
Still seeing the issue, but less frequent. OTOH I just found in above thread in lkml that 3.17 is showing that issue, too. :-(
I'll try to setup a pv-variant of Linus' patch and test it...
First test seems to be okay, no immediate NMI message...
Any idea why the block-attach/detach would trigger this problem so easily? I can see the dependency on the high cpu count, but fail to do so for the xl actions.
Juergen
Quoted 16 lines · Juergen Gross
Quoted 15 lines · Juergen Gross
Quoted 13 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 24.11.14 at 10:55, <[email protected]> wrote:
- Sometimes I see only NMI watchdog messages, looking into hanging cpu state via xen debug keys I can see the cpu(s) in question are
spinning
in_raw_spin_lock():
__handle_mm_fault()->__pte_alloc()->pmd_lock()->_raw_spin_lock() The hanging cpus were executing some random user processes (cron, bash, xargs), cr2 contained user addresses.Is this perhaps what
http://lists.xenproject.org/archives/html/xen-devel/2014-11/msg02135.htmlappears to be about?
Quoted 8 lines
Quoted 3 lines
Hmm, I'm not sure.
I'll try a 3.17 kernel to verify.
Still seeing the issue, but less frequent. OTOH I just found in above thread in lkml that 3.17 is showing that issue, too. :-(
I'll try to setup a pv-variant of Linus' patch and test it...
Okay, test survived the night. Seems really to be the same issue.
I think I'm seeing the qemu issue now Ian mentioned:
[ 140.182849] xen:grant_table: WARNING: g.e. 0x10 still in use! [ 140.182859] deferring g.e. 0x10 (pfn 0xffffffffffffffff) [ 140.182864] xen:grant_table: WARNING: g.e. 0xf still in use! [ 140.182866] deferring g.e. 0xf (pfn 0xffffffffffffffff) ... [ 140.183128] xen:grant_table: WARNING: g.e. 0x2a still in use! [ 140.183129] deferring g.e. 0x2a (pfn 0xffffffffffffffff) [ 142.182274] xen:grant_table: freeing g.e. 0x9 [ 145.182284] xen:grant_table: freeing g.e. 0x44 [ 147.182272] xen:grant_table: freeing g.e. 0x43 [ 501.182282] xen:grant_table: g.e. 0x10 still pending [ 501.182315] xen:grant_table: g.e. 0xf still pending
...
I'll update qemu and try again...
Juergen
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 24.11.14 at 18:27, <[email protected]> wrote:
Quoted 3 lines · Juergen Gross
Still seeing the issue, but less frequent. OTOH I just found in above thread in lkml that 3.17 is showing that issue, too. :-(
Quoted 7 lines
Quoted 1 line
I'll try to setup a pv-variant of Linus' patch and test it...
First test seems to be okay, no immediate NMI message...
Any idea why the block-attach/detach would trigger this problem so easily? I can see the dependency on the high cpu count, but fail to do so for the xl actions.
No, no idea. It was only the similar symptoms that made me consider this a possibility.
Jan
Quoted 17 lines · Ian Campbell
Quoted 16 lines · Juergen Gross
Quoted 14 lines · Konrad Rzeszutek Wilk
Quoted 13 lines · Juergen Gross
Hi,
while testing my "linear p2m list" patches I saw the following problem (even without my patches in place):
In dom0 running linux 3.18-rc5 on top of Xen 4.4.1 I modified the disk image of a guest by attaching it to dom0:
xl block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w mount
/dev/xvda2/mnt
...
umount /mnt
xl block-detach 0 xvda
Quoted 8 lines
Quoted 2 lines
Did some more testing:
- Seems to occur only when attaching a block device to dom0That means a qdisk backed situation then, I think.
Is your qemu up to date?
http://xenbits.xen.org/gitweb/?p=qemu-upstream-unstable.git;a=commit;h=abbbc2f09a53f8f9ee565356ab11a78af006e45e resulted in slightly different messages, but could be related?
Tried it with xen-unstable and newest qemu. Now I have another problem:
xl -vvv block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w
libxl: debug: libxl.c:4178:libxl_device_disk_add: ao 0xbac0f0: create: how=(nil) callback=(nil) poller=0xbac1d0
libxl: error: libxl.c:1897:device_addrm_aocomplete: unable to add device
libxl: debug: libxl_event.c:1739:libxl__ao_complete: ao 0xbac0f0: complete, rc=-16
libxl: debug: libxl.c:4178:libxl_device_disk_add: ao 0xbac0f0: inprogress: poller=0xbac1d0, flags=ic
libxl: debug: libxl_event.c:1711:libxl__ao__destroy: ao 0xbac0f0: destroy libxl_device_disk_add failed.
rc=-16 means ERROR_JSON_CONFIG_EMPTY. Could it be that newest tools won't let me attach a block device to dom0?
IMHO that's a severe regression!
Juergen
Quoted 41 lines · Juergen Gross
Quoted 17 lines · Ian Campbell
Quoted 16 lines · Juergen Gross
Quoted 14 lines · Konrad Rzeszutek Wilk
Quoted 13 lines · Juergen Gross
Hi,
while testing my "linear p2m list" patches I saw the following problem (even without my patches in place):
In dom0 running linux 3.18-rc5 on top of Xen 4.4.1 I modified the disk image of a guest by attaching it to dom0:
xl block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w mount
/dev/xvda2/mnt
...
umount /mnt
xl block-detach 0 xvdaQuoted 8 lines
Quoted 2 lines
Did some more testing:
- Seems to occur only when attaching a block device to dom0That means a qdisk backed situation then, I think.
Is your qemu up to date?
http://xenbits.xen.org/gitweb/?p=qemu-upstream-unstable.git;a=commit;h=abbbc2f09a53f8f9ee565356ab11a78af006e45e resulted in slightly different messages, but could be related?
Tried it with xen-unstable and newest qemu. Now I have another problem:
xl -vvv block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w
libxl: debug: libxl.c:4178:libxl_device_disk_add: ao0xbac0f0: create:
how=(nil) callback=(nil) poller=0xbac1d0
libxl: error: libxl.c:1897:device_addrm_aocomplete: unable to add device
libxl: debug: libxl_event.c:1739:libxl__ao_complete: ao0xbac0f0:
complete, rc=-16
libxl: debug: libxl.c:4178:libxl_device_disk_add: ao0xbac0f0:
inprogress: poller=0xbac1d0, flags=ic
libxl: debug: libxl_event.c:1711:libxl__ao__destroy: ao0xbac0f0: destroylibxl_device_disk_addfailed.
Quoted 1 line
rc=-16 means
ERROR_JSON_CONFIG_EMPTY.
Have you updated your initscripts to run the xen-init-dom0 helper? This replaced the manual xenstore-write stuff a little while back and added some other init, including creating the necessary json description of dom0.
Ian.
Quoted 42 lines · Ian Campbell
Quoted 41 lines · Juergen Gross
Quoted 17 lines · Ian Campbell
Quoted 16 lines · Juergen Gross
Quoted 14 lines · Konrad Rzeszutek Wilk
Quoted 13 lines · Juergen Gross
Hi,
while testing my "linear p2m list" patches I saw the following problem (even without my patches in place):
In dom0 running linux 3.18-rc5 on top of Xen 4.4.1 I modified the disk image of a guest by attaching it to dom0:
xl block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w mount
/dev/xvda2/mnt
...
umount /mnt
xl block-detach 0 xvdaQuoted 8 lines
Quoted 2 lines
Did some more testing:
- Seems to occur only when attaching a block device to dom0That means a qdisk backed situation then, I think.
Is your qemu up to date?
http://xenbits.xen.org/gitweb/?p=qemu-upstream-unstable.git;a=commit;h=abbbc2f09a53f8f9ee565356ab11a78af006e45e resulted in slightly different messages, but could be related?
Tried it with xen-unstable and newest qemu. Now I have another problem:
xl -vvv block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w
libxl: debug: libxl.c:4178:libxl_device_disk_add: ao0xbac0f0: create:
how=(nil) callback=(nil) poller=0xbac1d0
libxl: error: libxl.c:1897:device_addrm_aocomplete: unable to add device
libxl: debug: libxl_event.c:1739:libxl__ao_complete: ao0xbac0f0:
complete, rc=-16
libxl: debug: libxl.c:4178:libxl_device_disk_add: ao0xbac0f0:
inprogress: poller=0xbac1d0, flags=ic
libxl: debug: libxl_event.c:1711:libxl__ao__destroy: ao0xbac0f0: destroylibxl_device_disk_addfailed.
Quoted 6 lines
Quoted 1 line
rc=-16 means
ERROR_JSON_CONFIG_EMPTY.Have you updated your initscripts to run the xen-init-dom0 helper? This replaced the manual xenstore-write stuff a little while back and added some other init, including creating the necessary json description of dom0.
Bingo! Now it works.
Thanks,
Juergen
Quoted 17 lines · Ian Campbell
Quoted 16 lines · Juergen Gross
Quoted 14 lines · Konrad Rzeszutek Wilk
Quoted 13 lines · Juergen Gross
Hi,
while testing my "linear p2m list" patches I saw the following problem (even without my patches in place):
In dom0 running linux 3.18-rc5 on top of Xen 4.4.1 I modified the disk image of a guest by attaching it to dom0:
xl block-attach 0 file:/var/lib/libvirt/images/opensuse13-1/xvda,xvda,w mount
/dev/xvda2/mnt
...
umount /mnt
xl block-detach 0 xvda
Quoted 8 lines
Quoted 2 lines
Did some more testing:
- Seems to occur only when attaching a block device to dom0That means a qdisk backed situation then, I think.
Is your qemu up to date?
http://xenbits.xen.org/gitweb/?p=qemu-upstream-unstable.git;a=commit;h=abbbc2f09a53f8f9ee565356ab11a78af006e45e resulted in slightly different messages, but could be related?
Newest qemu and xen-unstable together with my dom0 kernel patch made all issues go away at a first glance.
Juergen