Subject: Re: current linux kernels with NetBSD dom0? (timekeeping issues)
To: None <port-xen@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: port-xen
Date: 01/03/2008 20:56:20
On Thu, Jan 03, 2008 at 08:11:17PM -0500, Thor Lancelot Simon wrote:
> It appears I can build a linux 2.6.23 kernel from Gentoo's source
> distribution to run as a 32-bit non-PAE domU.  However, when I try to
> run it under NetBSD, it hangs starting the network, printing out:
> 
> 	net eth0: backend does not support copying receive path
> 
> A look at the Linux source makes this appear to be a fatal error.  What
> would we need to do to support this as a dom0?  Without it I don't think
> current Linux kernels will run even once coerced to build as non-PAE,
> which itself is not a trivial thing to do.

A kernel from Gentoo's package for the XenSource 2.6.20-xen-r6 sources
(which seem to be end-of-the-line for the separate Xen patches?) has
working net when run with a NetBSD dom0, but has this problem instead:

	madcow dev # date
	Thu Jan  3 16:51:01 EST 2008
	madcow dev # ntpdate pool.ntp.org
 	3 Jan 16:51:08 ntpdate[3761]: step time server 69.31.13.210 offset 14495.938724 sec
	madcow dev # date
	Thu Jan  3 16:51:10 EST 2008
	madcow dev # date 01031951
	Thu Jan  3 19:51:00 EST 2008
	madcow dev # date
	Thu Jan  3 16:51:26 EST 2008
	madcow dev # 

If I could find any way to solve that, I could probably stop bothering to
try to make 2.6.23 work.  Any ideas?

Thor