Skip to contentSkip to conversation

Problems "upgrading" 3.1 to 3.2?

DISCUSSION Dan Magenheimer 4 participants 6 messages Dec 18, 2007 – Dec 19, 2007

lore
Share & tools
lore
#0 lore raw

I have a 3.1-based system (OracleVM actually) and am trying to build/run xen-unstable on it (c/s 16618). From xen-unstable.hg, I am doing a "make distclean", then building and installing normally (plus normal depmod, mkinitrd, cp initrd, and grub.conf changes). However when I reboot, xend won't run. /var/log/xen/xend-debug.log says:

sysctl operation failed -- need to rebuild the user-space tool set? Exception starting xend: (13, 'Permission denied')

Another "make install" and reboot still doesn't fix the problem.

I can build and run xen-unstable on another system with a fresh install with no xen, so I don't think it's pilot error.

Anybody else try "upgrading" and run into similar probs? My xend is definitely the new one from xen-unstable, so I'm thinking there must be some leftover 3.1 residue messing things up.

IIRC from years ago, there was some trick to resolve a similar problem, e.g. removing /var/lib/xen* and rebooting but that doesn't work here.

Thanks for any help or debugging ideas.

Thanks,
Dan

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

#1 lore raw

Hi Dan,

Quoted 9 lines

I have a 3.1-based system (OracleVM actually) and am trying to build/run xen-unstable on it (c/s 16618). From xen-unstable.hg, I am doing a "make distclean", then building and installing normally (plus normal depmod, mkinitrd, cp initrd, and grub.conf changes). However when I reboot, xend won't run. /var/log/xen/xend-debug.log says:

sysctl operation failed -- need to rebuild the user-space tool set? Exception starting xend: (13, 'Permission denied')

Quoted 8 lines

Another "make install" and reboot still doesn't fix the problem.

I can build and run xen-unstable on another system with a fresh install with no xen, so I don't think it's pilot error.

Anybody else try "upgrading" and run into similar probs? My xend is definitely the new one from xen-unstable, so I'm thinking there must be some leftover 3.1 residue messing things up.

Yeah, it'll be some kind of "residue" problem. Unfortunately there's not a particularly clean way to uninstall Xen.

You could try removing /usr/lib/libxen* and /usr/lib/python/xen and then reinstalling the tools. Does that help?

Otherwise, I'm afraid you're going to need to keep hunting down Xen-installed binaries until the problem goes away :-(

Cheers,
Mark

Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
#2 lore raw
Quoted 2 lines · Mark Williamson

Yeah, it'll be some kind of "residue" problem. Unfortunately there's not a particularly clean way to uninstall Xen.

'make uninstall' from the root of a Xen repository should do it. If it's not comprehensive then I'd like patches.

-- Keir

#3 lore raw
Quoted 5 lines
Quoted 2 lines

Yeah, it'll be some kind of "residue" problem. Unfortunately there's not a particularly clean way to uninstall Xen.

'make uninstall' from the root of a Xen repository should do it. If it's not comprehensive then I'd like patches.

Well, I have a number of problems in mind: it's not necessarily so simple if you're mixing installs from different versions or if you don't have the original repository around. Obviously, recreating the original repository is always doable and ought to work. But it seemed worth mentioning in case one of these was tripping things up.

The other problem wrt uninstalls is that I'm not sure the binary tarball has an uninstall option (?) because it omits the makefile. If that's the case then that is probably something that does merit a patch.

Cheers,
Mark

Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
#4 lore raw
Quoted 12 lines · Mark Williamson
Quoted 5 lines
Quoted 2 lines

Yeah, it'll be some kind of "residue" problem. Unfortunately there's not a particularly clean way to uninstall Xen.

'make uninstall' from the root of a Xen repository should do it. If it's not comprehensive then I'd like patches.

Well, I have a number of problems in mind: it's not necessarily so simple if you're mixing installs from different versions or if you don't have the original repository around. Obviously, recreating the original repository is always doable and ought to work. But it seemed worth mentioning in case one of these was tripping things up.

Quoted 3 lines

The other problem wrt uninstalls is that I'm not sure the binary tarball has an uninstall option (?) because it omits the makefile. If that's the case then that is probably something that does merit a patch.

If you really care about cleanly un-installing Xen then this is what packaging tools are for - RPM / Dpkg. Its very easy to update Fedora Xen RPMs to new Xen-unstable snapshots - just drop in a new tar.gz and update the changeset number in the spec.

Dan.

Signature · 4 lines
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
#5 lore raw
In reply to Mark Williamson

Snakes in the grass, alas!

I had two different python directories and the old one was being used.

Removing of /usr/lib/xen may also have been necessary... I did that earlier.

Thanks for the help!
Dan

Quoted 50 lines

-----Original Message-----
From: M.A. Williamson [mailto:[email protected]]On Behalf Of Mark Williamson
Sent: Tuesday, December 18, 2007 10:25 PM
To: [email protected]; [email protected]
Subject: Re: [Xen-devel] Problems "upgrading" 3.1 to 3.2?

Hi Dan,

Quoted 1 line

I have a 3.1-based system (OracleVM actually) and am trying

to build/run

Quoted 1 line

xen-unstable on it (c/s 16618). From xen-unstable.hg, I am

doing a "make

Quoted 1 line

distclean", then building and installing normally (plus

normal depmod,

Quoted 1 line

mkinitrd, cp initrd, and grub.conf changes). However when

I reboot, xend

Quoted 3 lines

won't run. /var/log/xen/xend-debug.log says:

sysctl operation failed -- need to rebuild the user-space

tool set?

Quoted 5 lines

Exception starting xend: (13, 'Permission denied')

Another "make install" and reboot still doesn't fix the problem.

I can build and run xen-unstable on another system with a

fresh install

Quoted 4 lines

with no xen, so I don't think it's pilot error.

Anybody else try "upgrading" and run into similar probs? My xend is definitely the new one from xen-unstable, so I'm thinking

there must be

Quoted 1 line

some leftover 3.1 residue messing things up.

Yeah, it'll be some kind of "residue" problem. Unfortunately there's not a
particularly clean way to uninstall Xen.

You could try removing /usr/lib/libxen* and
/usr/lib/python/xen and then
reinstalling the tools. Does that help?

Otherwise, I'm afraid you're going to need to keep hunting down Xen-installed
binaries until the problem goes away :-(

Cheers,
Mark

Quoted 8 lines

--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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