Subject: Re: Installing a UPS for a NetBSD server... software and procedures?
To: Gilles Gravier <Gilles@Gravier.org>
From: Thomas Bieg <tomsbsd04@tiscali.de>
List: netbsd-users
Date: 04/21/2007 11:44:48
Gilles Gravier wrote:
> Thomas.
> 
> Thanks!
> 
> But... I'm not a "kernel manipulation" specialist... So... how do I get 
> the ugen driver loaded? I have no special problem with HID mice or 
> keyboards as they are both PS/2 devices on the server... so all I need 
> is to load ugen... but do I really need to rebuild a kernel for that? Or 
> is there a more "dynamic" way on a running system (I'm OK with having to 
> reboot... but rebuilding a kernel... well... haven't done that since the 
> SunOS 4.0.3 times... so I'm a bit rusty.).

The only way to go without rebuilding a kernel is probably to disable
uhid at the boot prompt on every reboot...

But you don't have to be a specialist to build a kernel. The needed
steps are documented on the Kernel FAQ page; you can follow them almost
blindly once you managed to get the sources and appropriately replace
<ARCH> and <MYCONF>:
http://www.netbsd.org/Documentation/kernel/#how_to_build_a_kernel

The patch I'm running my system without disabling uhid is found
here (there are other patches floating around but this is probably
the simplest that does the job):
http://mail-index.netbsd.org/netbsd-users/2005/07/20/0014.html

Regards,
Tom