On Thu, Nov 23, 2006 at 01:07:28PM -0800, Bakul Shah wrote: > > You need to include AIO support in your kernel (or as a module). The > > port should be updated to mention this. > > May be it is time to add a /usr/local/etc/rc.d/qemu script > that kldload aio and kqemu (if it exists)?
The problem is that kldloading a module if it's already in the kernel can cause a panic. Also if the module becomes stale with respect to the running kernel, this approach can cause a lot of confusion. Something I'd like to see is a) Fixing the kldload "double load" problems b) That optional kernel subsystems register themselves with a sysctl, so that userland can easily determine whether a feature is present in the running kernel and take appropriate action (warn user, demand load, etc) if not. compat[45]x support is another such case; there's no way for a port to tell whether the kernel supports running such binaries, and if not then the user will just get an error when they try to run it. I guess these should go on the "projects" list. The second one would be a good SoC project, for ex. Kris
pgpUuNAZTOPPA.pgp
Description: PGP signature
