Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 1997 13:21:47 -0500 (EST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        Tom <tom@uniserve.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Nov 21st stable kernel panicking...
Message-ID:  <Pine.NEB.3.95.971230131411.324C-100000@hub.org>
In-Reply-To: <Pine.BSF.3.96.971230100232.15309G-100000@shell.uniserve.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Dec 1997, Tom wrote:

> 
> On Tue, 30 Dec 1997, The Hermit Hacker wrote:
> 
> > On Tue, 30 Dec 1997, Wut!? wrote:
> > 
> > > Hrmm.. Did you update your whole etc. dir when you did a CVSUP or 
> > > whatever you did.. I used to have those problems and when I got the 
> > > updated RC and rc.conf etc, mine worked fine. I don't know, give it a try :)
> > 
> > 	This could very well be where I screwed up :(  I just rebuild and
> > installed a new kernel...am doing a make world right now to go alone with
> > it.  Does anyone have a "clean" method of updating /etc, or do you
just go
> > through one file at a time and decide what needs to be updated and what
> > doesn't? :(
> 
>   Do an entire make world is important, updating /etc/ isn't.  After all,
> the /etc/rc* stuff is just shell scripts.  I have 2.2.5 boxes running with
> /etc/rc* from 2.1.  However these shell scripts don't work so well, if
> bins that mess with the kernel aren't updated.

	Except that right now, I can't even get through a 'make world'
without it crashing :( The only thing that I can think of is that it has
something to do with my re-arranging (ccd) my news spool, but then I
wouldn't have expected to get an error in sockets, I wouldn't think... 
would I? 

	I got another crash after upgrading the kernel, this time looking
like the following.  I would suspect swap space, based on it being in the 
vm_ code, except that I haven't added or removed any swap space in several
months:

# gdb -k kernel.Dec30 vmcore.10
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd),
Copyright 1996 Free Software Foundation, Inc...
IdlePTD 1b8000
current pcb at 19f018
panic: vm_object_deallocate: object deallocated too many times
#0  boot (howto=256) at ../../kern/kern_shutdown.c:266
266                                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:266
#1  0xf010eca2 in panic (
    fmt=0xf016cb93 "vm_object_deallocate: object deallocated too many
times")
    at ../../kern/kern_shutdown.c:390
#2  0xf016cbfd in vm_object_deallocate (object=0xf1e2f580)
    at ../../vm/vm_object.c:264
#3  0xf016b154 in vm_map_entry_delete (map=0xf101af00, entry=0xf17f5340)
    at ../../vm/vm_map.c:1885
#4  0xf016b2d0 in vm_map_delete (map=0xf_map_delete (map=0xf101af00,
start=40918
91712,
    end=4091899904) at ../../vm/vm_map.c:1986
#5  0xf012779e in bfreekva (bp=0xf368785c) at ../../kern/vfs_bio.c:194
#6  0xf01280a0 in brelse (bp=0xf368785c) at ../../kern/vfs_bio.c:603
#7  0xf0128988 in getnewbuf (slpflag=0, slptimeo=0, size=1024,
maxsize=8192)
    at ../../kern/vfs_bio.c:1000
#8  0xf0128d25 in getblk (vp=0xf1d77800, blkno=0, size=1024, slpflag=0,
    slptimeo=0) at ../../kern/vfs_bio.c:1197
#9  0xf015a7bd in ffs_balloc (ip=0xf184df00, bn=0, size=6,
cred=0xf1e60080,
    bpp=0xefbffecc, flags=1) at ../../ufs/ffs/ffs_balloc.c:149
#10 0xf015db1d in ffs_write (ap=0xefbffef4)
    at ../../ufs/ufs/ufs_readwrite.c:260
#11 0xf0131fdb in vn_write (fp=0xf1efd700, uio=0xefbfff38,
cred=0xf1e60080)
    at vnode_if.h:283
#12 0xf0115ce6 in write (p=0xf16aa400, uap=0xefbfff94, retval=0xefbfff84)
    at ../../kern/sys_generic.c:263
#13 0xf017c8f3 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 3,
      tf_esi = -272638568, tf_ebp = -272638732, tf_isp = -27232, tf_isp =
-27262
9788,
      tf_ebx = 6, tf_edx = 6, tf_ecx = 7, tf_eax = 4, tf_trapno = 7,
      tf_err = 7, tf_eip = 268975457, tf_cs = 31, tf_eflags = 662,
      tf_esp = -272640824, tf_ss = 39}) at ../../i386/i386/trap.c:914
#14 0x10083d61 in ?? ()
Cannot access memory at address 0xefbfdcf8.
(kgdb) quit




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