Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 01:54:25 +0200
From:      Philippe Regnauld <regnauld@deepo.prosa.dk>
To:        freebsd-current@FreeBSD.ORG
Subject:   Softupdates panic (finally!)
Message-ID:  <19980522015425.42138@deepo.prosa.dk>

next in thread | raw e-mail | index | archive | help
I finally managed to catch the critter (i.e.: get a dump, and trace
it).

Note: -current (22/5), SMP P5-133x2, 48Mb, 7880 SCSI + 4GbUW

/usr/src: mounted normally
/var: async (contains /tmp)
/pub: softupdates (contains /usr/obj)

Panic: ffs_blockfree: freeing free block
mp_lock=01000001  cpuid=1  lapic.id=01000000

- reboot, savecore, gdb -k :

#0  boot (howto=260) at ../../kern/kern_shutdown.c:281
281                                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=260) at ../../kern/kern_shutdown.c:281
#1  0xf0119352 in panic (fmt=0x0) at ../../kern/kern_shutdown.c:421
#2  0xf01017e6 in db_fncall (dummy1=-210002852, dummy2=0, dummy3=-266368704,
    dummy4=0xf37b9c18 "\n") at ../../ddb/db_command.c:532
#3  0xf0101505 in db_command (last_cmdp=0xf01e7af4, cmd_table=0xf01e7954,
    aux_cmd_tablep=0xf01f7258) at ../../ddb/db_command.c:332
#4  0xf010169a in db_command_loop () at ../../ddb/db_command.c:455
#5  0xf0103e43 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xf019c864 in kdb_trap (type=3, code=0, regs=0xf37b9d08)
    at ../../i386/i386/db_interface.c:157
#7  0xf01ae628 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -260026156,
      tf_esi = 256, tf_ebp = -210002612, tf_isp = -210002640,
      tf_ebx = -266908080, tf_edx = -266745196, tf_ecx = 16777217,
      tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -266745143, tf_cs = 8,
      tf_eflags = 582, tf_esp = -266745212, tf_ss = -267283789})
    at ../../i386/i386/trap.c:507
#8  0xf019cac9 in Debugger (msg=0xf01192b3 "panic")
    at ../../i386/i386/db_interface.c:316
#9  0xf0119349 in panic (fmt=0xf0174e50 "ffs_blkfree: freeing free block")
    at ../../kern/kern_shutdown.c:419
#10 0xf0175047 in ffs_blkfree (ip=0xf37b9e3c, bno=11200, size=8192)
    at ../../ufs/ffs/ffs_alloc.c:1332
#11 0xf017a1c4 in indir_trunc (ip=0xf37b9e3c, dbn=1267520, level=0, lbn=12,
    countp=0xf37b9e2c) at ../../ufs/ffs/ffs_softdep.c:2050
#12 0xf0179ea8 in handle_workitem_freeblocks (freeblks=0xf0b13400)
    at ../../ufs/ffs/ffs_softdep.c:1948
#13 0xf017807c in softdep_process_worklist (matchmnt=0x0)
    at ../../ufs/ffs/ffs_softdep.c:541
#14 0xf013b0aa in sched_sync () at ../../kern/vfs_subr.c:958
#15 0xf010c3e6 in kproc_start (udata=0xf01ea274) at ../../kern/init_main.c:245
#16 0xf019d2e9 in fork_trampoline ()
#17 0x1fec in ?? ()
zsh: segmentation fault  gdb -k kernel.debug /var/crash/vmcore.2
     ^^^^^^^^^^^^^^^^^^^^^^^^^^

I love that part.

-- 
 -[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]-
     «Pluto placed his bad dog at the entrance of Hades to keep the dead
      IN and the living  OUT!  The archetypical corporate firewall?»
                                                       - S. Kelly Bootle

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?19980522015425.42138>