Subject: Re: -current broken due to kernfs changes
To: Juan RP <juan@xtrarom.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-xen
Date: 05/23/2005 18:43:32
On Mon, May 23, 2005 at 06:01:23PM +0200, Juan RP wrote:
>
> Hi, I've upgraded my NetBSD/Xen system to a newer -current kernel
> and Xen 2.0.6, booted fine... when trying to create a domU it failed:
>
> Error: Error creating domain: Failed to map domain control interface
>
> Backing out this change seems to work fine again:
>
> Module Name: src
> Committed By: chs
> Date: Fri May 20 13:16:54 UTC 2005
>
> Modified Files:
> src/sys/miscfs/kernfs: kernfs.h kernfs_vnops.c
>
> Log Message:
> kernfs does not support mmap(), remove code that pretends that it does.
>
> Please fix kernfs again, thanks.
I'm not sure why this change would cause this problem. xend won't mmap a file
in /kern, it will mmap anonymous memory and use it in a ioctl().
Chuck, any idea why this would cause xend to fail ? Do some kernfs code
need to be updated following your change ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--