Return to BSD News archive
Xref: sserve comp.os.386bsd.questions:1389 comp.unix.bsd:11761 Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!wongm Newsgroups: comp.os.386bsd.questions,comp.unix.bsd Subject: Can't logon after running buildworld.sh (patchkit-0.2.2) Message-ID: <1993Apr6.144035.21705@latcs1.lat.oz.au> From: wongm@latcs1.lat.oz.au (M.C. Wong) Date: Tue, 6 Apr 1993 14:40:35 GMT Organization: Comp Sci, La Trobe Uni, Australia Lines: 49 Hi, Ok, this is the situation : 1) Having installed the full bin01, src01 and etc01 dist. sets, I ftp'ed the file kernel-1.2.pccons-fix-1.tar.Z and have the new kernel extracted in place of the old one, for purpose of X support. 2) Next, I got crypt.c and add crypt.o into libc.a, and rebuild login/passwd/ ftpd/su etc! Tried out a few login/passwd/ftp/su commands, and they work fine. 3) Then, I got hold of the patchkit-0.2.2, got it installed except for the patches in >= 10000 range. Run afterinstall.sh, rebuild the kernel and restart the system. Well, it works fine, and I still got the encryption facility. 4) Next, I was a bit curious (actually foolish) to try executing buildworld.sh, and hell, that lasted for more than 10 hrs on a 486/33 machine !! The worst thing yet to come! Having waited long for the buildworld.sh, I reboot the system, and then trajedy, I can never login as root or as any other users I created!! I tried to use back the old kernel (the one extracted from kernel-1.2.pccons-fix-1.tar.Z) and it didn't work either. Well, with the initial boot disk, I can stil mount my harddisk on the floppy root file system. But, is there any otherway for me to quicky get myself back into the system ? I tried blanking out the root passwd field in passwd and master.passwd file, but they won't do any good, as kvm_mkdb has to be invoked to update the system database. Can anyone suggest any quick fix without resinstalling 386bsd from scratch ? Also, does the kernel extracted from kernel-1.2.pccons-fix-1.tar.Z include all the patches fixes in patchkit-0.2.2 , crypt.o in libc.a ? And, does the patchkit-0.2.2 include fix for crypt.o in libc.a as well ? I tried not to do redundant thing there with 2 versions of kernel ( ie one built after installing patchkit-0.2.2, and one extracted out from XFree86 groups). Well, it happens that the size of the later (kernel-1.2.pccons-fix-1.tar.Z is larger than one that is built with the patchkit-0.2.2). So, I found myself confused over the status of the patchkit-0.2.2 vs. kernel-1.2.pccons.fix-1.tar.Z . I wonder if anyone out there can kindly shed some LIGHT on this confusion ? So, in order for me to get an updated version of kernel, is patchkit more recommended, or simple pinch a copy of the latest kernel binary from any site out there , which is prefered ? Many many many ... thanks in advance!!! -- - wongm@latcs1.lat.oz.au