*BSD News Article 10763


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA632 ; Sat, 06 Feb 93 09:00:37 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!spool.mu.edu!uunet!infoserv!lila!dorsey
From: dorsey@lila.com (Bill Dorsey)
Subject: /usr won't mount
Message-ID: <C1vEFJ.2oJ@lila.com>
Organization: Yoyodyne Propulsion Systems, Inc.
Date: Wed, 3 Feb 1993 11:26:06 GMT
Lines: 27

I just rebuilt my kernel after installing the new patchkit (everything up
to patch 75).  Upon rebooting, I was informed that my /usr filesystem has
a bad magic number in the superblock.  This is a completely bogus message
because as soon as I replaced the new kernel with the old one (pl 58), it
booted perfectly.  I ran fsck, and there were no problems.

I've compared the kernel sources in ufs, and the only routine that has
changed is ufs_vnops.c.  Bruce Evans "Fixed access()" patch.  That's not
the problem.  I also looked at the vfs_*.c routines in the kern directory,
but none of them have changed.  Finally, I compared lots of include files
in the sys and other directories, but couldn't find anything that looked
promising.

I doubt the system configuration matters, but it's a 486 with a 130 mega-
byte IDE drive divided into a tiny (5mb) dos partition, and root, usr, and
swap partitions of roughly 16, 80, and 20 megabytes each.  I took a snap-
shot of the /usr/src/sys.orig source code on ref.tfs.com and removed all
the patches by hand before applying the latest patchkit (0.2) to it and
the rest of the source tree.

Has anyone else had this problem?  Any suggestions?

-- 
Bill Dorsey      "Most people mistake law for justice and authority for
dorsey@lila.com   liberty.  You will hear them talk of 'liberty under law,'
PGP 2.x public    and they are content to see it so deep under the law that
key on request    it is completely obliterated." -- Herbert Spencer