Subject: Re: UVM build problem
To: Brad Salai <bsalai@tmonline.com>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: current-users
Date: 02/09/1998 12:33:21
On Mon, 9 Feb 1998, Brad Salai wrote:

> I tried to build a sparc kernel with UVM support and got the following:

[many error messages]

> I set up the config file like this:
> 
> ## Virtual memory configuration.  There are two choices, the old Mach
> ## based VM system, or the new UVM system.  Old VM requires the pager
> ## options.
> #options        OLDVM           # MACH VM
> #options         SWAPPAGER       # swap paging
> #options         DEVPAGER        # paging to devices
> #options         VNODEPAGER      # paging to vnodes
> options         UVM             # UVM VM
> 
> but there is some strangeness, if I try with the pager options set, like this:
> 
> config          netbsd  root on ? type ?
> 
> ## Virtual memory configuration.  There are two choices, the old Mach
> ## based VM system, or the new UVM system.  Old VM requires the pager
> ## options.
> #options        OLDVM           # MACH VM
> options         SWAPPAGER       # swap paging
> options         DEVPAGER        # paging to devices
> options         VNODEPAGER      # paging to vnodes
> options         UVM             # UVM VM
> APOLLO: 482 lines, 17160 characters
> law:conf {113} config APOLLO
> APOLLO:41: already have options `SWAPPAGER'
> APOLLO:42: already have options `DEVPAGER'
> APOLLO:43: already have options `VNODEPAGER'
> *** Stop.
> 
> Which looks like they are being set elsewhere.

I think the old *PAGERs are defined in std.arch for now.

Did you do a make clean before the make? A number of the .o files might
still be refering to the old vm routines.

Take care,

Bill