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

Bug#488284: linux-image-2.6.25-2-xen-686: kernel BUG at arch/x86/kernel/paravirt.c:241



maximilian attems <max@stro.at> writes:

> On Fri, Jul 04, 2008 at 11:29:39AM +0200, Ferenc Wagner wrote:
>> Ian Campbell <ijc@hellion.org.uk> writes:
>> 
>>> This appears to have been seen a couple of times before:
>>> http://www.kerneloops.org/raw.php?rawid=8416&msgid=http://mid.gmane.org/480CC04C.2020100@theshore.net
>>> and
>>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1248 
>>>
>>> in particular the later suggests that 2.6.26-rc2 is ok -- are you able
>>> to test that kernel (or a later one)?
>> 
>> I wgot linux-image-2.6.26-rc8-xen-686_2.6.26~rc8-1~experimental.1~snapshot.11752_i386.deb
>> and the corresponding modules, and the incriminated virtual machine
>> *booted up fine* with that.  This is something which never happened
>> with the 2.6.25 kernels I tried, so this problem is probably fixed.
>> I'll keep running this kernel for a while and report if anything goes
>> wrong.  I guess this bug can be closed now.
>
> thanks for the testing adding bug closure to changelog.
> will be closed on upload of 2.6.26
>
> good to see improvements in xen mainline support :)

Yes.  Unfortunately I still can't save this domain.  Xen 3.0 doesn't
even try (xend.log):

[2008-07-04 12:22:45 xend 3797] DEBUG (__init__:1072) [xc_save]: /usr/lib/xen-3.0.3-1/bin/xc_save 19 14 0 0 0
[2008-07-04 12:22:45 xend 3797] ERROR (__init__:1072) Couldn't map p2m_frame_list_list (errno 14): 14
[2008-07-04 12:22:45 xend 3797] ERROR (__init__:1072) Save exit rc=1
[2008-07-04 12:22:45 xend 3797] ERROR (__init__:1072) Save failed on domain papigw.aai (14).
Traceback (most recent call last):
  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendCheckpoint.py", line 100, in save
    forkHelper(cmd, fd, saveInputHandler, False)
  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendCheckpoint.py", line 227, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib/xen-3.0.3-1/bin/xc_save 19 14 0 0 0 failed

Xen 3.2 starts "migrating", but never finishes:

[2008-07-04 13:28:12 3753] DEBUG (__init__:1072) [xc_save]: /usr/lib/xen-3.2-1/bin/xc_save 24 1 0 0 0
[2008-07-04 13:28:12 3753] DEBUG (__init__:1072) suspend
[2008-07-04 13:28:12 3753] DEBUG (__init__:1072) In saveInputHandler suspend
[2008-07-04 13:28:12 3753] DEBUG (__init__:1072) Suspending 1 ...
[2008-07-04 13:28:12 3753] DEBUG (__init__:1072) XendDomainInfo.shutdown(suspend)
[2008-07-04 13:28:12 3753] DEBUG (__init__:1072) XendDomainInfo.handleShutdownWatch
[2008-07-04 13:28:12 3753] DEBUG (__init__:1072) XendDomainInfo.handleShutdownWatch

# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   256     4     r-----     83.7
migrating-papigw.aai                         1   512     1     -b----     41.6

The domU was running all right for minutes, then I logged in and
halted it:

[2008-07-04 13:33:43 3753] INFO (__init__:1072) Domain has shutdown: name=migrating-papigw.aai id=1 reason=poweroff.
[2008-07-04 13:33:43 3753] INFO (__init__:1072) Domain 1 suspended.
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=1
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) Written done
[2008-07-04 13:33:43 3753] INFO (__init__:1072) ERROR Internal error: domain has shut down
[2008-07-04 13:33:43 3753] INFO (__init__:1072) ERROR Internal error: Domain appears not to have suspended
[2008-07-04 13:33:43 3753] INFO (__init__:1072) Save exit rc=1
[2008-07-04 13:33:43 3753] ERROR (__init__:1072) Save failed on domain papigw.aai (1).
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py", line 109, in save
    forkHelper(cmd, fd, saveInputHandler, False)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py", line 353, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib/xen-3.2-1/bin/xc_save 24 1 0 0 0 failed
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(1)
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) XendDomainInfo.resumeDomain(1)
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) Destroying device model
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) Releasing devices
Jul  4 13:33:43 xen2 kernel: ttyS0: 1 input overrun(s)
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) Removing vif/0
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) Destroying device model
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) Releasing devices
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) Removing vif/0
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) Removing vbd/51712
[2008-07-04 13:33:43 3753] DEBUG (__init__:1072) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2008-07-04 13:33:44 3753] DEBUG (__init__:1072) Removing vbd/51712
[2008-07-04 13:33:44 3753] DEBUG (__init__:1072) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2008-07-04 13:33:44 3753] DEBUG (__init__:1072) Removing console/0
[2008-07-04 13:33:44 3753] DEBUG (__init__:1072) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2008-07-04 13:33:44 3753] DEBUG (__init__:1072) Removing console/0
[2008-07-04 13:33:44 3753] DEBUG (__init__:1072) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2008-07-04 13:33:44 3753] DEBUG (__init__:1072) XendDomainInfo.resumeDomain: devices released
Jul  4 13:33:44 xen2 kernel: br894: port 2(vif1.0) entering disabled state
Jul  4 13:33:44 xen2 logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBUS_PATH=backend/console/1/0
Jul  4 13:33:44 xen2 kernel: device vif1.0 left promiscuous mode
Jul  4 13:33:44 xen2 kernel: audit(1215171224.673:6): dev=vif1.0 prom=0 old_prom=256 auid=4294967295
Jul  4 13:33:44 xen2 kernel: br894: port 2(vif1.0) entering disabled state
Jul  4 13:33:44 xen2 logger: /etc/xen/scripts/block: remove XENBUS_PATH=backend/vbd/1/51712
Jul  4 13:33:44 xen2 logger: /etc/xen/scripts/vif-bridge: offline XENBUS_PATH=backend/vif/1/0
Jul  4 13:33:44 xen2 logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBUS_PATH=backend/vbd/1/51712
Jul  4 13:33:44 xen2 heartbeat: [3923]: WARN: string2msg_ll: node [xen1] failed authentication
Jul  4 13:33:45 xen2 logger: /etc/xen/scripts/vif-bridge: brctl delif br894 vif1.0 failed
[2008-07-04 13:33:44 3753] ERROR (__init__:1072) XendDomainInfo.resume: xc.domain_resume failed on domain None.
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 1941, in resumeDomain
    self._introduceDomain()
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 1679, in _introduceDomain
    assert self.domid is not None
AssertionError
[2008-07-04 13:33:44 3753] ERROR (__init__:1072) Internal error handling xend.domain.save
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/lib/python/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line 1334, in domain_save
    raise e
AttributeError: 'NoneType' object has no attribute 'resumeDeviceModel'
Jul  4 13:33:45 xen2 logger: /etc/xen/scripts/vif-bridge: ifconfig vif1.0 down failed
Jul  4 13:33:45 xen2 logger: /etc/xen/scripts/vif-bridge: Successful vif-bridge offline for vif1.0, bridge br894.
Jul  4 13:33:45 xen2 logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBUS_PATH=backend/vif/1/0

This probably warrants another bug report, but against which package?
-- 
Thanks,
Feri.



Reply to: