Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: -current broken due to kernfs changes
On Tue, May 24, 2005 at 06:40:28PM +0900, YAMAMOTO Takashi wrote:
> > On Tue, May 24, 2005 at 10:50:41AM +0900, YAMAMOTO Takashi wrote:
> > > > OK, I finally found where it mmaps /kern/xen/privcmd. MAP_ANON seems
> > > > to work equally well, so I fixed this in pkgsrc.
> > >
> > > then, old xentools binaries doesn't work on -current
> > > (and netbsd-3 once pulled up) anymore?
> > >
> > > i guess it's a good chance to change IOCTL_PRIVCMD_INITDOMAIN_EVTCHN
> > > without compatibility considerations :-)
> >
> > The problem isn't that simple. The new tools will work with an older kernel.
> > In the IOCTL_PRIVCMD_INITDOMAIN_EVTCHN case it's not the case (old tools/new
> > kernel and old kernel/new tools won't work), so some kind of compat is
> > needed
> > to ease the transition.
>
> is it (new userland + old kernel) expected to work? i don't think so.
In this case it's not "new userland", it's a software from a newer pkgsrc
built on an older system. The upgrade path for the /kern mmap issue is:
update pkgsrc and rebuild xentools20
update kernel
reboot
if something goes wrong with the new kenrel you can still go back to the
old one.
--
Manuel Bouyer, LIP6, Universite Paris VI.
Manuel.Bouyer%lip6.fr@localhost
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index