Subject: building new kernel under current
To: None <current-users@sun-lamp.CS.Berkeley.EDU>
From: None <kue@zerberus.gud.siemens.co.at>
List: current-users
Date: 01/13/1994 11:47:09
Hi All !

Finally I got some progress installing current on mu machine. I have now reached
the state where it is time to build a new kernel, but when the new kernel is
about to get linked I get the following messages :
pmap.o: Undefined symbol _pmap_steal_memory from text segment
ioconf.o: Undefined symbol _swappagerattach from data segment
ioconf.o: Undefined symbol _vnodepagerattach from data segment
ioconf.o: Undefined symbol _devpagerattach from data segment

I have set the appropriate options in my config file (SWAPPAGER,VNODEPAGER and
DEVPAGER) and I have the corresponding pseudo-devices. I tried all combinations
of including the above mentioned options and pseudo-devices, but without any
success. I include my config file :

------ start of config file ------
#
# GENERICAHBBT -- Generic machine w/ahb and bt drivers -- distribution floppy
#
#	$Id: GENERICAHA,v 1.20.2.4 1993/08/25 23:58:11 cgd Exp $
#

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
ident		TAMIAMI
timezone	0 dst
maxusers	32
options		INET,ISOFS,NFSCLIENT
options		"COMPAT_43"
options		"TCP_COMPAT_42"
options		XSERVER,UCONSOLE
options		MSDOSFS
options		KERNFS
options		SCSI
options		"MATH_EMULATE"
options		"COMPAT_NOMID"
#options		"USE_LDT"
options		DDB
options		MACHINE_NONCONTIG
options		SWAPPAGER
options		VNODEPAGER,DEVPAGER
options		FIFO

config		netbsd	root on wd0 swap on wd0 and sd0 at 0xfe100000

controller	isa0
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	ahb0	at isa? bio irq 11 vector ahbintr
disk		sd0	at ahb0 flags 0 drive ?
disk		sd1	at ahb0 flags 0 drive ?
disk		sd2	at ahb0 flags 0 drive ?
disk		sd3	at ahb0 flags 0 drive ?
tape		st0	at ahb0 flags 1 drive ?
tape		st1	at ahb0 flags 1 drive ?
disk		cd0	at ahb0	flags 2 drive ?
disk		cd1	at ahb0	flags 2 drive ?

#controller	bt0	at isa? port "IO_BT0" bio irq 11  vector btintr
#disk		sd0	at bt0 flags 0 drive ?
#disk		sd1	at bt0 flags 0 drive ?
#disk		sd2	at bt0 flags 0 drive ?
#disk		sd3	at bt0 flags 0 drive ?
#tape		st0	at bt0 flags 1 drive ?
#tape		st1	at bt0 flags 1 drive ?
#disk		cd0	at bt0 flags 2 drive ?
#disk		cd1	at bt0 flags 2 drive ?

#controller	uha0	at isa? port "IO_UHA0" bio irq 11 drq 5 vector uhaintr
#disk		sd0	at uha0 flags 0 drive ?
#disk		sd1	at uha0 flags 0 drive ?
#disk		sd2	at uha0 flags 0 drive ?
#disk		sd3	at uha0 flags 0 drive ?
#tape		st0	at uha0 flags 1 drive ?
#tape		st1	at uha0 flags 1 drive ?
#disk		cd0	at uha0	flags 2 drive ?
#disk		cd1	at uha0	flags 2 drive ?

device		pc0	at isa? port "IO_KBD" tty irq 1 vector pcrint
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
device		com0	at isa? port "IO_COM1" tty irq 4 vector comintr
device		com1	at isa? port "IO_COM2" tty irq 3 vector comintr
device		com2	at isa? port "IO_COM3" tty irq 5 vector comintr
device		com3	at isa? port "IO_COM4" tty irq 9 vector comintr

device		lpt0	at isa? port "IO_LPT3" tty irq 7 vector lptintr
device		lpa0	at isa? port "IO_LPT1" tty
device		lpa1	at isa? port "IO_LPT2" tty

#device ed0 at isa? port 0x280 net irq 9 iomem 0xd0000 vector edintr
#device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
#device we0 at isa? port 0x280 net irq 9 iomem 0xd0000 iosiz 8192 vector weintr
#device ec0 at isa? port 0x250 net irq 9 iomem 0xd8000 iosiz 8192 vector ecintr
#device ne0 at isa? port 0x300 net irq 9 vector neintr
#device is0 at isa? port 0x320 net irq 10 drq 7 vector isintr

#device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr

pseudo-device	ether
pseudo-device	log
pseudo-device	loop
pseudo-device	pty	16
pseudo-device	sl	1
pseudo-device	speaker

pseudo-device	swappager
pseudo-device	vnodepager
pseudo-device	devpager
------ end of config file ------

Any hints appreciated.

	Regards
		Werner Kuehnert

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
|	E-Mail : kue@zerberus.gud.siemens.co.at          |
|	Tel.   : 0043-222-60171-5205                     |
|	FAX    : 0043-222-60171-5202                     |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|              Make a nice day :-)                       |
\_______________________________________________________/

------------------------------------------------------------------------------