Skip to main content.

2002-Jul-23

For some reason, vorbis-tools was installed but no ogg123, so reinstalled it.

Last month, I had accidently pressed CTRL-ALT-ESC and received kernel debugger prompt "db>". You can use "trace" to get information and "c" to try to leave the debugger and continue where you were.

Updated cvs in /usr/src. Modified were:

M lib/libresolv/Makefile
M sys/isofs/cd9660/cd9660_vfsops.c
M sys/miscfs/genfs/layer.h
M sys/miscfs/genfs/layer_extern.h
M sys/miscfs/genfs/layer_vnops.c
M sys/miscfs/nullfs/null_vnops.c
** I need to make sure that these patches are used for netbsd-1-5.

My serial mouse is having problems. It barely works and last week I had to turn off computer to get it to work again. (Restarting X didn't help.)

Built new kernel with pms0 and wsmouse support and installed. And rebooted with another mouse. Now running "NetBSD 1.5.3" kernel.

Updated /etc/XF86Config to change to:

Protocol        "wsmouse"
Device          "/dev/wsmouse"
(I have xdm running, so switched to text console by pressing CTRL-ALT-F1, logged in and made changes, switched back to CTRL-ALT-F5 and pressed CTRL-ALT-BACKSPACE to restart X.)

As root under /usr/src, did:

export BUILD=1
export UPDATE=1
time make build

This build took 33 minutes.

Built hood laptop kernel on rainier. Copied new GENERIC_LAPTOP and just enabled verbose pcmcia. (Probably saved over an hour of time!)

Doing a make release using: BUILD_DONE=1, DESTDIR=/, and RELEASEDIR=/backups/netbsd/release. (Because etc/Makefile complained because DESTDIR must be set first.)

On this non-production system, I overwrote /etc, logs, locate database, and more. ssh says: "You don't exist, go away!" and su: "who are you?". So I copied over needed files from /var/backups and restarted syslogd. (I should have used /backups/netbsd/destdir as the DESTDIR.)

Later it died at:

depend ===> utils/x_sh
...
.//usr/src/distrib/utils/x_sh/mkinit: not found

So I changed DESTDIR to /backups/netbsd/destdir and unset BUILD_DONE, BUILD and UPDATE. And tried again.