Subject: Re: cmos ram access?
To: Takahiro Kambe <taca@back-street.net>
From: Werner Backes <werner@bit-1.de>
List: current-users
Date: 03/30/2003 23:30:24
Hello Takahiro,
Hello Takahiro,

Thanks for sharing your code with me (and the rest
of the netbsd comunity :)
I tried to apply your patches to NetBSD-current and 
have some problems with this. I understand that the
patches are meant for 1.6.1_RC3 but only have -current
here and thought it would be worth a try. One problem
is that I don't have the following files in -current:

 sys/arch/i386/i386/conf.c
 sys/arch/i386/include/conf.h

so the patch fails for this two file. Do you know what 
happend to them in -current? I just ignored this and
went on. I assume I have to add the new devices to my 
kernel-config so I added:

bios at isa?    
pseudo-device cmos

and created the devices:

crw-r--r--  1 root  wheel  33, 0 Mar 31 01:20 bios
crw-r--r--  1 root  wheel  34, 0 Mar 31 01:19 cmos

Then I did:

firebird# config FIREBIRD
FIREBIRD:317: invalid device name `bios'

After removing the "bios" entry from my config, I could
a least configure & build a new kernel which said during
boot: "cmos: attached." But when I try to access /dev/cmos
I get "/dev/cmos: Device not configured".
Do you have any idea what I can to make this work?

thanks very much for your help
                                 Werner