Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 1999 15:28:21 -0400 (EDT)
From:      "Stan Brown" <stanb@awod.com>
To:        freebsd-stable@FreeBSD.ORG (FreeBSD Stable Mailing List)
Subject:   3.0 -> 3.1 upgrade troubles
Message-ID:  <19990410193037.50C42151EE@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
	Help, please.

	I decided to use this weekend to upgrade my mainn work machine from 3.0
	to 3.1-STABLE. I am having problems though. heres what I did.

	1. Bot from 3.1 CD and do an upgrade.

	2. Reboot.

	3, Find out I could not log in!

	4. Boot in single user mode to find out that password encryption had
	   cahnged!. Redid roots password.

	5. Tride to build a new kernel. It failed as follows:


root@brown.fas.com:/usr/src/sys/compile/BROWN
$ make
loading kernel
syscons.o: In function `scvidprobe':
syscons.o(.text+0x231): undefined reference to `vid_configure'
syscons.o(.text+0x24e): undefined reference to `vid_allocate'
syscons.o(.text+0x26b): undefined reference to `vid_get_adapter'
syscons.o: In function `sckbdprobe':
syscons.o(.text+0x29a): undefined reference to `kbd_configure'
syscons.o(.text+0x2be): undefined reference to `kbd_allocate'
syscons.o(.text+0x2db): undefined reference to `kbd_get_keyboard'
syscons.o: In function `scresume':
syscons.o(.text+0x301): undefined reference to `kbdsw'
syscons.o: In function `sc_attach_unit':
syscons.o(.text+0x3ca): undefined reference to `kbdsw'
syscons.o: In function `scopen':
syscons.o(.text+0x622): undefined reference to `kbdsw'
syscons.o: In function `sckbdevent':
syscons.o(.text+0x88d): undefined reference to `kbd_release'
syscons.o(.text+0x94b): undefined reference to `kbdsw'
syscons.o: In function `scioctl':
syscons.o(.text+0x1e35): undefined reference to `kbdsw'
syscons.o(.text+0x1ea3): undefined reference to `kbdsw'
syscons.o(.text+0x1ee2): undefined reference to `kbdsw'
syscons.o(.text+0x1fb6): undefined reference to `kbdsw'
syscons.o(.text+0x204e): undefined reference to `kbd_get_keyboard'
syscons.o(.text+0x2089): undefined reference to `kbd_allocate'
syscons.o(.text+0x20b6): undefined reference to `kbd_release'
syscons.o(.text+0x20bf): undefined reference to `kbd_get_keyboard'
syscons.o(.text+0x20dc): undefined reference to `kbdsw'
syscons.o(.text+0x214e): undefined reference to `kbd_release'
syscons.o(.text+0x21ce): undefined reference to `kbdsw'
syscons.o: In function `sccngetch':
syscons.o(.text+0x2779): undefined reference to `kbdsw'
syscons.o(.text+0x27aa): undefined reference to `kbdsw'
syscons.o(.text+0x27f8): undefined reference to `kbdsw'
syscons.o(.text+0x281f): undefined reference to `kbdsw'
syscons.o: In function `scrn_timer':
syscons.o(.text+0x29bd): undefined reference to `kbd_allocate'
syscons.o(.text+0x29cf): undefined reference to `kbd_get_keyboard'
syscons.o(.text+0x29e5): undefined reference to `kbdsw'
syscons.o: In function `exchange_scr':
syscons.o(.text+0x2f5b): undefined reference to `vidsw'
syscons.o(.text+0x2fac): undefined reference to `kbdsw'
syscons.o: In function `scinit':
syscons.o(.text+0x45f3): undefined reference to `vid_get_adapter'
syscons.o(.text+0x4600): undefined reference to `vidsw'
syscons.o(.text+0x461c): undefined reference to `vidsw'
syscons.o(.text+0x47dd): undefined reference to `vidsw'
syscons.o(.text+0x47fc): undefined reference to `vidsw'
syscons.o: In function `init_scp':
syscons.o(.text+0x4ad4): undefined reference to `vid_get_adapter'
syscons.o(.text+0x4ae0): undefined reference to `vidsw'
syscons.o: In function `scgetc':
syscons.o(.text+0x4eaa): undefined reference to `kbdsw'
syscons.o(.text+0x5498): undefined reference to `kbdsw'
syscons.o: In function `scmmap':
syscons.o(.text+0x5697): undefined reference to `vidsw'
syscons.o: In function `save_kbd_state':
syscons.o(.text+0x5739): undefined reference to `kbdsw'
syscons.o: In function `update_kbd_state':
syscons.o(.text+0x579d): undefined reference to `kbdsw'
syscons.o(.text+0x57f4): undefined reference to `kbdsw'
syscons.o: In function `update_kbd_leds':
syscons.o(.text+0x583e): undefined reference to `kbdsw'
syscons.o: In function `set_mode':
syscons.o(.text+0x5879): undefined reference to `vidsw'
syscons.o(.text+0x58b3): undefined reference to `vidsw'
syscons.o(.text+0x593e): undefined reference to `vidsw'
syscons.o(.text+0x599b): undefined reference to `vidsw'
syscons.o: In function `set_border':
syscons.o(.text+0x59cb): undefined reference to `vidsw'
syscons.o(.text+0x5b0c): more undefined references to `vidsw' follow
psm.o: In function `enable_aux_dev':
psm.o(.text+0xd): undefined reference to `send_aux_command'
psm.o: In function `disable_aux_dev':
psm.o(.text+0x4d): undefined reference to `send_aux_command'
psm.o: In function `get_mouse_status':
psm.o(.text+0xa9): undefined reference to `empty_aux_buffer'
psm.o(.text+0xb0): undefined reference to `send_aux_command'
psm.o(.text+0xfa): undefined reference to `read_aux_data'
psm.o: In function `get_aux_id':
psm.o(.text+0x154): undefined reference to `empty_aux_buffer'
psm.o(.text+0x15f): undefined reference to `send_aux_command'
psm.o(.text+0x19c): undefined reference to `read_aux_data'
psm.o: In function `set_mouse_sampling_rate':
psm.o(.text+0x1d6): undefined reference to `send_aux_command_and_data'
psm.o: In function `set_mouse_scaling':
psm.o(.text+0x232): undefined reference to `send_aux_command'
psm.o: In function `set_mouse_resolution':
psm.o(.text+0x28e): undefined reference to `send_aux_command_and_data'
psm.o: In function `set_mouse_mode':
psm.o(.text+0x2d1): undefined reference to `send_aux_command'
psm.o: In function `recover_from_error':
psm.o(.text+0x3d3): undefined reference to `empty_both_buffers'
psm.o(.text+0x3d9): undefined reference to `test_controller'
psm.o(.text+0x3f5): undefined reference to `test_kbd_port'
psm.o: In function `restore_controller':
psm.o(.text+0x42b): undefined reference to `empty_both_buffers'
psm.o(.text+0x437): undefined reference to `set_controller_command_byte'
psm.o: In function `reinitialize':
psm.o(.text+0x482): undefined reference to `test_aux_port'
psm.o(.text+0x4f5): undefined reference to `reset_aux_dev'
psm.o(.text+0x54e): undefined reference to `empty_both_buffers'
psm.o(.text+0x67a): undefined reference to `empty_aux_buffer'
psm.o: In function `doopen':
psm.o(.text+0x730): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0x73c): undefined reference to `set_controller_command_byte'
psm.o: In function `psmprobe':
psm.o(.text+0x7d6): undefined reference to `kbdc_open'
psm.o(.text+0x80b): undefined reference to `kbdc_lock'
psm.o(.text+0x846): undefined reference to `empty_both_buffers'
psm.o(.text+0x84e): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0x85b): undefined reference to `get_controller_command_byte'
psm.o(.text+0x8a4): undefined reference to `set_controller_command_byte'
psm.o(.text+0x8bc): undefined reference to `write_controller_command'
psm.o(.text+0x8c7): undefined reference to `test_aux_port'
psm.o(.text+0x952): undefined reference to `reset_aux_dev'
psm.o(.text+0xbcd): undefined reference to `send_aux_command'
psm.o(.text+0xc43): undefined reference to `empty_aux_buffer'
psm.o(.text+0xc95): undefined reference to `set_controller_command_byte'
psm.o(.text+0xcd1): undefined reference to `kbdc_set_device_mask'
psm.o(.text+0xcdb): undefined reference to `kbdc_lock'
psm.o(.text+0xd04): undefined reference to `kbdc_set_device_mask'
psm.o(.text+0xd0e): undefined reference to `kbdc_lock'
psm.o: In function `psmopen':
psm.o(.text+0xef6): undefined reference to `kbdc_lock'
psm.o(.text+0xf18): undefined reference to `get_controller_command_byte'
psm.o(.text+0xf2c): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0xf38): undefined reference to `set_controller_command_byte'
psm.o(.text+0xf49): undefined reference to `kbdc_lock'
psm.o(.text+0xf8e): undefined reference to `kbdc_lock'
psm.o: In function `psmclose':
psm.o(.text+0xfbc): undefined reference to `kbdc_lock'
psm.o(.text+0xfdf): undefined reference to `get_controller_command_byte'
psm.o(.text+0xff4): undefined reference to `kbdc_lock'
psm.o(.text+0x100e): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0x101a): undefined reference to `set_controller_command_byte'
psm.o(.text+0x1048): undefined reference to `empty_aux_buffer'
psm.o(.text+0x10b7): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0x10c3): undefined reference to `set_controller_command_byte'
psm.o(.text+0x10eb): undefined reference to `empty_aux_buffer'
psm.o(.text+0x10f9): undefined reference to `kbdc_lock'
psm.o: In function `block_mouse_data':
psm.o(.text+0x142a): undefined reference to `kbdc_lock'
psm.o(.text+0x1447): undefined reference to `get_controller_command_byte'
psm.o(.text+0x145b): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0x1467): undefined reference to `set_controller_command_byte'
psm.o(.text+0x147e): undefined reference to `kbdc_lock'
psm.o(.text+0x1492): undefined reference to `empty_aux_buffer'
psm.o(.text+0x149a): undefined reference to `read_aux_data_no_wait'
psm.o: In function `unblock_mouse_data':
psm.o(.text+0x14cc): undefined reference to `empty_aux_buffer'
psm.o(.text+0x14d8): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0x14e4): undefined reference to `set_controller_command_byte'
psm.o(.text+0x14fa): undefined reference to `kbdc_lock'
psm.o: In function `psmintr':
psm.o(.text+0x1a10): undefined reference to `read_aux_data_no_wait'
psm.o: In function `enable_kmouse':
psm.o(.text+0x1fba): undefined reference to `empty_aux_buffer'
psm.o: In function `psmresume':
psm.o(.text+0x211f): undefined reference to `kbdc_lock'
psm.o(.text+0x2142): undefined reference to `empty_both_buffers'
psm.o(.text+0x214a): undefined reference to `get_controller_command_byte'
psm.o(.text+0x2178): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0x2184): undefined reference to `set_controller_command_byte'
psm.o(.text+0x219d): undefined reference to `kbdc_lock'
psm.o(.text+0x21cc): undefined reference to `empty_aux_buffer'
psm.o(.text+0x225c): undefined reference to `kbdc_get_device_mask'
psm.o(.text+0x2268): undefined reference to `set_controller_command_byte'
psm.o(.text+0x2290): undefined reference to `kbdc_lock'
*** Error code 1

Stop.

	6. Rebooted suing kernel.prev which allowed me to ge networking up.

	7. cvsuped all the latest 3.1-SATBLE sources.

	8. Tried to do a make world. It failed as follows:


===> netboot
===> rawboot
===> cdboot
===> dosboot
===> kzipboot
===> netboot
===> rawboot
===> cdboot
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  -DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -I/usr/src/sys/i386/boot/cdboot/../biosboot -DCDBOOT -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -aout -nostdinc -I/usr/src/sys/i386/boot/cdboot/../../../../include -I/usr/src/sys/i386/boot/cdboot/../../.. -I/usr/obj/aout/usr/src/sys/i386/boot/cdboot   -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/sys/i386/boot/cdboot/../biosboot/start.S
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  -DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -I/usr/src/sys/i386/boot/cdboot/../biosboot -DCDBOOT -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -aout -nostdinc -I/usr/src/sys/i386/boot/cdboot/../../../../include -I/usr/src/sys/i386/boot/cdboot/../../.. -I/usr/obj/aout/usr/src/sys/i386/boot/cdboot   -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/sys/i386/boot/cdboot/../biosboot/table.c
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  -DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -I/usr/src/sys/i386/boot/cdboot/../biosboot -DCDBOOT -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -aout -nostdinc -I/usr/src/sys/i386/boot/cdboot/../../../../include -I/usr/src/sys/i386/boot/cdboot/../../.. -I/usr/obj/aout/usr/src/sys/i386/boot/cdboot   -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/sys/i386/boot/cdboot/../biosboot/boot2.S
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  -DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -I/usr/src/sys/i386/boot/cdboot/../biosboot -DCDBOOT -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -aout -nostdinc -I/usr/src/sys/i386/boot/cdboot/../../../../include -I/usr/src/sys/i386/boot/cdboot/../../.. -I/usr/obj/aout/usr/src/sys/i386/boot/cdboot   -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/sys/i386/boot/cdboot/boot.c
/usr/src/sys/i386/boot/cdboot/boot.c: In function `boot':
/usr/src/sys/i386/boot/cdboot/boot.c:118: warning: unused variable `i'
/usr/src/sys/i386/boot/cdboot/boot.c: In function `loadprog':
/usr/src/sys/i386/boot/cdboot/boot.c:256: warning: unsigned int format, long unsigned int arg (arg 2)
/usr/src/sys/i386/boot/cdboot/boot.c:273: warning: unsigned int format, long unsigned int arg (arg 2)
/usr/src/sys/i386/boot/cdboot/boot.c:279: warning: unsigned int format, long unsigned int arg (arg 2)
/usr/src/sys/i386/boot/cdboot/boot.c:303: warning: unsigned int format, long unsigned int arg (arg 4)
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  -DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -I/usr/src/sys/i386/boot/cdboot/../biosboot -DCDBOOT -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -aout -nostdinc -I/usr/src/sys/i386/boot/cdboot/../../../../include -I/usr/src/sys/i386/boot/cdboot/../../.. -I/usr/obj/aout/usr/src/sys/i386/boot/cdboot   -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/sys/i386/boot/cdboot/asm.S
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  -DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -I/usr/src/sys/i386/boot/cdboot/../biosboot -DCDBOOT -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -aout -nostdinc -I/usr/src/sys/i386/boot/cdboot/../../../../include -I/usr/src/sys/i386/boot/cdboot/../../.. -I/usr/obj/aout/usr/src/sys/i386/boot/cdboot   -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/sys/i386/boot/cdboot/../biosboot/bios.S
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  -DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -I/usr/src/sys/i386/boot/cdboot/../biosboot -DCDBOOT -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -aout -nostdinc -I/usr/src/sys/i386/boot/cdboot/../../../../include -I/usr/src/sys/i386/boot/cdboot/../../.. -I/usr/obj/aout/usr/src/sys/i386/boot/cdboot   -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/sys/i386/boot/cdboot/../biosboot/serial.S
make: don't know how to make /usr/src/sys/i386/boot/cdboot/../../../i386/isa/kbdio.h. Stop
*** Error code 2

	I am stumped at this point in time.

	I need to getthis machine back up in time for work Monday morning.
	Has anyomne got any sugestions?

	Thansk for the help.

-- 
Stan Brown     stanb@netcom.com                                    843-745-3154
Westvaco
Charleston SC.
-- 
Windows 98: n.
	useless extension to a minor patch release for 32-bit extensions and
	a graphical shell for a 16-bit patch to an 8-bit operating system
	originally coded for a 4-bit microprocessor, written by a 2-bit 
	company that can't stand for 1 bit of competition.
-
(c) 1999 Stan Brown.  Redistribution via the Microsoft Network is prohibited.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990410193037.50C42151EE>