Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 1998 18:39:00 +0200
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        current@FreeBSD.ORG
Subject:   Panic with yesterday's kernel
Message-ID:  <19980515183900.07115@caerdonn.eurocontrol.fr>

next in thread | raw e-mail | index | archive | help
My kernel (from sources of 13th) paniced with the following during "make
world".

May 15 18:25:00 caerdonn savecore: reboot after panic: ffs_blkfree: freeing free block
May 15 18:25:00 caerdonn savecore: writing core to /var/crash/vmcore.8
May 15 18:25:25 caerdonn savecore: writing kernel to /var/crash/kernel.8

I've a dump but gdb seems to have difficulties reading it so I can't "up"
and print structures.

#0  boot (howto=256) at ../../kern/kern_shutdown.c:296
#1  0xf0114426 in panic (fmt=0xf0169d80 "ffs_blkfree: freeing free block")
    at ../../kern/kern_shutdown.c:436
#2  0xf0169f77 in ffs_blkfree (ip=0xf3fe2e3c, bno=10544, size=8192)
    at ../../ufs/ffs/ffs_alloc.c:1359
#3  0xf016f12c in softdep_setup_directory_add (bp=0xf3fe2e3c, dp=0x146e0, 
    diroffset=0x0000000c00000000, newinum=-201445844, newdirbp=0xf09a3000)
    at ../../ufs/ffs/ffs_softdep.c:2177
#4  0xf016ee10 in indir_trunc (ip=0xf09a3000, dbn=0, level=-260335172, 
    lbn=-201495808, countp=0xf3fe2f8c) at ../../ufs/ffs/ffs_softdep.c:2030
#5  0xf016cfac in checklimit (resource=0x0, islocked=-266547532)
    at ../../ufs/ffs/ffs_softdep.c:672
#6  0xf013580e in sched_sync () at ../../kern/vfs_subr.c:958
#7  0xf010773e in kproc_start (udata=0xf01cceb4) at ../../kern/init_main.c:245
#8  0xf018d379 in Xfastintr1 ()
cannot read proc at 0

"make world" itself got problems in the perl subdirectories during "make
depend" because it is calling perl which is not yet build.

-=-=-=-
#
# TCAERDONN

machine		"i386"
cpu 		"I686_CPU"
ident		CAERDONN
maxusers	20

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		PROCFS			#Process filesystem
options		"CD9660"		#Process filesystem
options     NULLFS
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options     USER_LDT                #allow user-level control of i386 ldt

options         "CLK_USE_TSC_CALIBRATION"

options     "VM86"

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options     "SHMMAXPGS=1024"

options     SOFTUPDATES

options     "P1003_1B"
options     "_KPOSIX_PRIORITY_SCHEDULING"
options     "_KPOSIX_VERSION=199309L"

options		KTRACE		#kernel tracing

config		kernel	root on sd0 swap on sd0 and sd1 dumps on sd0

controller	isa0
controller	pci0

device fxp0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0	#IDE CD-ROM

controller	ahc0
options         AHC_TAGENABLE
options         AHC_ALLOW_MEMIO
options         AHC_SCBPAGING_ENABLE

controller	scbus0
device		sd0
device		st0
device		cd0	#Only need one of these, the code dynamically grows

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x15 vector pcmintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	tun	2
pseudo-device	pty	64
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	bpfilter	4
pseudo-device	snp	4
pseudo-device   su              #scsi user
pseudo-device   ssc             #super scsi

-=-=-=-
-- 
Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr


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