All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ewan Mellor <ewan@xensource.com>
To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@hp.com>
Cc: Xen Mailing List <xen-devel@lists.xensource.com>
Subject: Re: Hotplug scripts not working... xen/ia64 domU stopped working
Date: Thu, 1 Dec 2005 01:01:52 +0000	[thread overview]
Message-ID: <20051201010152.GD26248@leeni.uk.xensource.com> (raw)
In-Reply-To: <516F50407E01324991DD6D07B0531AD5875E66@cacexc12.americas.cpqcorp.net>

On Wed, Nov 30, 2005 at 01:13:49PM -0800, Magenheimer, Dan (HP Labs Fort Collins) wrote:

>  > > > Switched back to cset 8122, ran make uninstall, make 
> > install-tools,
> > > > and copied proper dom0, domU, and xen images back into 
> > place, booted
> > > > xen/dom0 and tried to run domU.  Failed with the same 
> > hotplug message.
> > > > Then ran xen-bugtool and got:
> > > > 
> > > > Traceback (most recent call last):
> > > >   File "/usr/sbin/xen-bugtool", line 17, in ?
> > > >     sys.exit(bugtool.main())
> > > >   File "/usr/lib/python/xen/util/bugtool.py", line 73, in main
> > > >     bugball.append(string_iterator('physinfo',
> > > > prettyDict(xc,physinfo())))
> > > > xen.lowlevel.xc.error: (38, 'Function not implemented')
> > > > 
> > > > Since I've never run xen-bugtool before, I don't know if this
> > > > is a side effect of leftover dregs from other installs.  Also,
> > > > not sure if this (even with error) is supposed to put results
> > > > in a file somewhere?
> > > 
> > > The physinfo call has been around forever.  I'd say that 
> > your kernel and tools
> > > are disagreeing on the size of a structure or something like that.
> 
> Could be.  I'll take a look to see if what data structures changed.
> 
> > Actually, is physinfo even implemented on ia64?  (Does xm info work?)
> 
> No apparently not.  It's never been needed before now.  It can probably
> be easily implemented.

That would be a good idea.  I can work around the problem, but bug tracking
will certainly be easier if the hardware details are reported correctly.

> Are you suspecting this is a related to my problem (e.g. the
> hotplug issue) or just needed for xen-bugtool and xm info?

Just the latter.

> > Regarding the hotplug failure, please send your
> > /var/log/{debug,messages,syslog} and I'll take a look.
> 
> I don't have a /var/log/debug or /var/log/syslog and /var/log/messages
> is unrevealing.  Do you mean xend.log and xend-debug.log?  If so,
> attached (along with my very simple xmdefconfig).

No, I really meant /var/log/messages -- the hotplug scripts log there, and you
usually see hotplug or udev events going through there too.

> By the way, I've never had to deal with any of the hotplug stuff
> on Xen/ia64... did some new requirement get added in the last few
> days (post-8006)?

No extra requirement, no.  We've been using hotplug scripts for ages.  There
have been changes to these scripts recently, so something might have broken,
but no extra requirements.

If you're not seeing any hotplug script logging at all you are going to have to
trace the hotplug event until you find out where it disappears.  Start with
cat /proc/sys/kernel/hotplug.  If that's udevsend and udevinfo -V reports 
greater than 059 then you are using udev, so check that
/etc/udev/rules.d/xen-backend.rules is in place, otherwise you are using 
hotplug, so put logging into /sbin/hotplug (usually a script)
and /etc/hotplug/xen-backend.agent.  Either way, you'll need logging in
/etc/xen/scripts/block.

HTH,

Ewan.

  reply	other threads:[~2005-12-01  1:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30 21:13 Hotplug scripts not working... xen/ia64 domU stopped working Magenheimer, Dan (HP Labs Fort Collins)
2005-12-01  1:01 ` Ewan Mellor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-12-03 20:31 Magenheimer, Dan (HP Labs Fort Collins)
2005-12-02 20:40 Magenheimer, Dan (HP Labs Fort Collins)
2005-12-02 21:22 ` David F Barrera
2005-12-02 17:41 Magenheimer, Dan (HP Labs Fort Collins)
2005-12-02 20:17 ` Ewan Mellor
2005-12-02  0:54 Magenheimer, Dan (HP Labs Fort Collins)
2005-12-02  0:39 Magenheimer, Dan (HP Labs Fort Collins)
2005-12-02  0:51 ` Ewan Mellor
2005-12-01 21:54 Magenheimer, Dan (HP Labs Fort Collins)
2005-12-01 23:31 ` Ewan Mellor
2005-12-01 20:49 Magenheimer, Dan (HP Labs Fort Collins)
2005-12-01 23:38 ` Ewan Mellor
2005-12-02  0:53   ` Adam Heath
2005-12-02  1:44     ` Ewan Mellor
2005-12-02  2:16       ` Adam Heath
2005-11-30 16:56 Magenheimer, Dan (HP Labs Fort Collins)
2005-11-30 18:10 ` Himanshu Raj
2005-11-30 16:48 Magenheimer, Dan (HP Labs Fort Collins)
2005-11-30 16:53 ` Ryan Harper
2005-11-30 17:16 ` Ewan Mellor
2005-11-30 17:22   ` Ewan Mellor
2005-11-30 14:26 Petersson, Mats
2005-12-01  0:26 ` Hotplug scripts not working... xen/ia64 domU?stopped working Horms
2005-11-30 14:17 Hotplug scripts not working... xen/ia64 domU stopped working Magenheimer, Dan (HP Labs Fort Collins)
2005-11-30  5:50 Magenheimer, Dan (HP Labs Fort Collins)
2005-11-30  4:43 Magenheimer, Dan (HP Labs Fort Collins)
2005-11-30 11:52 ` Ewan Mellor

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=20051201010152.GD26248@leeni.uk.xensource.com \
    --to=ewan@xensource.com \
    --cc=dan.magenheimer@hp.com \
    --cc=xen-devel@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.