All of lore.kernel.org
 help / color / mirror / Atom feed
From: list user <xktnniuymlla@mailinator.com>
To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com
Subject: Re: BUG? domU reboot fails when using "pci =" option
Date: Thu, 04 May 2006 10:53:32 -0700	[thread overview]
Message-ID: <445A3F9C.90601@mailinator.com> (raw)
In-Reply-To: <445A3037.1030208@mailinator.com>

list user wrote:
> Hi all,
> 
> I believe I've found a bug.
> 
> Running xen-3.0.2-2 with linux-2.6.16 built from sources.
> 
> Domain-0 has one hidden PCI slot:  pciback.hide=(00:0d.0)
> 
> It is exposed in a domU with pci = ['00:0d.0'].
> 
> If that domU is shutdown with xm destroy, or with a shutdown -h now, all
> works as expected.  But if instead it is rebooted, either by xm reboot
> or shutdown -r now, it shuts down, attempts to restart and fails
> silently.  This is evidenced by the fact that an xm list has used up one
> increment on its domU counter.  At that point a manual start works.
> 
> Now, if the pci device is NOT enabled in the domU config file, reboot
> works correctly.
> 
> Checking xend.log provides a clue:
> 
>   dev_config referenced before assignment in
>                         /usr/lib/xen/xend/server/pciif.py
> 
> Not really a python coder but it looks like the invocation in question
> is on line 97, which indicates that whole section of code may be borked,
> since it now thinks it's xen-2.0.
> 

Additional info.

If xend and xendomains are set to run automatically at boot time via 
chkconfig the same error occurs, but ONLY when the pci device has been 
exported to a domU.  An "xm list" starts at domid 2, showing that one 
domU has failed at startup.

Again, the error is familiar, but this time displays on the domain-0 
console:

   local variable dev_config referenced before assignment

:m)

> Hope that's helpful to someone.
> 
> Mike Wright
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
> 
> 

  reply	other threads:[~2006-05-04 17:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 16:47 BUG? domU reboot fails when using "pci =" option list user
2006-05-04 17:53 ` list user [this message]
2006-05-04 20:24   ` Ryan
2006-05-04 23:04     ` [Xen-devel] " list user

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=445A3F9C.90601@mailinator.com \
    --to=xktnniuymlla@mailinator.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.