Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 1999 08:58:29 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        Erik Funkenbusch <erikf@visi.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Disk locks and weird things
Message-ID:  <Pine.BSF.4.05.9902140854220.3507-100000@janus.syracuse.net>
In-Reply-To: <000701be5801$1d70dce0$0200a8c0@zeus>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Feb 1999, Erik Funkenbusch wrote:

> Recently I've been trying to upgrade an early januarrry -current to
> current -current.  I've rebuilt the kernel several times over the last few
> days (with new cvsup's) so i've eliminated any freak check-in mismatches.
> 
> During a make world (usually about 10-20 minutes in on my P100) everything
> just comes to a grinding halt.  No disk activity, but the screen saver will
> kick in (despite the shell being in the middle of said make world).
> 
> If I switch to any alternate consoles and try to do anything, even an ls, it
> accesses the disk for a brief second, then hangs as well.  Other tasks that
> don't need to access the disk keep running (such as natd and obviously the
> screen saver).
> 
> After waiting about a half hour, I hit the reset and get lots of UNREF
> FILE's and SUMMARY INFORMATION BAD and BLK(S) MISSING IN BIT MAPS.  They all
> say slavaged or cleared.

But you didn't look in /var/log/messages? For shame!

> 
> It doesn't appear to be a problem with the actual disk, since rebooting
> works fine until I try and build again.  Even building the kernel works
> fine.  but doing a make world does not (I don't know if anything else causes
> this).  It never fails in the same place twice either, but it's always the
> same effect.

What you should have said is "It doesn't appear to be a problem with the actual
disk, since rebooting with a different brand disk of the same capabilities
doesn't work." or vice versa.

> 
> Additionally, i've been getting No such user 'tty', service ignored messages
> from ntalk and comsat.  I'm sure these services were updated to make use of
> some tty user or something, but i'd like to know what exactly I should do
> here.

Look in src/etc/master.passwd. vipw and add the lines for users you don't have.

> 
> I'm also getting messages from de0 and lo0 that say:
> 
> de0 XXX: driver didn't set ifq_maxlen

That's mostly harmless. It's a warning to driver maintainers that was just
put in recently; the driver hasn't ever set ifq_maxlen, no doubt.

> 
> Finally, if I try and run top i get:
> 
> top: cannot read swaplist: kvm_read: Bad address
> kvm_open: proc size mismatch (11392 total, 680 chunks)
> top: Out of memory.
> 
> I assume this is from a newer kernel with older support files (such as top)
> but since I can't get world to build, I'm kinda stuck..

Yes it is, but the proper order is to make th world and then make the kernel.

> 
> One more thing.  I figured I might try a complete reinstallation so I tried
> to download the 4.0-snap of 2-11 and was able to successfully create a
> kern.flp but when I tried to create mfsroot.flp it seems to sit in a loop
> forever just moving the disk head back and forth.  I tried it with several
> floppies (including the one I was able to successfully create kern.flp on)
> with the same results.
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 

 Brian Feldman					  _ __  ___ ___ ___  
 green@unixhelp.org			      _ __ ___ | _ ) __|   \ 
	     http://www.freebsd.org/	 _ __ ___ ____ | _ \__ \ |) |
 FreeBSD: The Power to Serve!	   _ __ ___ ____ _____ |___/___/___/ 


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902140854220.3507-100000>