Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2002 20:52:49 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Subject:   Panics in ffs_clusteracct with todays -current
Message-ID:  <XFMail.20020203205249.jdp@polstra.com>

next in thread | raw e-mail | index | archive | help
This message is in MIME format
--_=XFMail.1.5.1.FreeBSD:20020203205249:211=_
Content-Type: text/plain; charset=us-ascii

The kernel from today's current (CVSupped 3 Feb 2002 around 17:40
PST) can't stay up for more than a few minutes without getting a
page-not-present panic at line 1815 of ufs/ffs/ffs_alloc.c revision
1.86.  It is in this code:

        /*
         * Find the size of the cluster going backward.
         */
        start = blkno - 1;
        end = start - fs->fs_contigsumsize;
        if (end < 0)
                end = -1;
        mapp = &freemapp[start / NBBY];
        map = *mapp--;
              ^^^^^ 
              BANG!

The faulting address is 0xe987dcaf, for what it's worth.
After displaying the panic message and register dump the system is
locked up hard, so I haven't been able to get a stack trace.

I wasn't seeing this with the kernel from around 21 January.  There
were several commits in ffs between then and now:

    blake$ cvs -nq upd -D 1/21/2002
    U ffs_alloc.c
    U ffs_balloc.c
    U ffs_extern.h
    U ffs_inode.c
    U ffs_snapshot.c
    U ffs_softdep.c
    U ffs_softdep_stub.c

The dmesg output (from the good kernel) and config file are
attached.

John

--_=XFMail.1.5.1.FreeBSD:20020203205249:211=_
Content-Disposition: attachment; filename="dmesg.out"
Content-Transfer-Encoding: 7bit
Content-Description: dmesg.out
Content-Type: text/plain; charset=us-ascii; name=dmesg.out; SizeOnDisk=4204

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #16: Tue Jan 22 15:55:01 PST 2002
    jdp@blake.polstra.com:/a/src/sys/i386/compile/BLAKE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc03d8000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc03d80a8.
Timecounter "i8254"  frequency 1193160 Hz
Timecounter "TSC"  frequency 400901723 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.90-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x653  Stepping = 3
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR>
real memory  = 402640896 (393204K bytes)
avail memory = 387747840 (378660K bytes)
Pentium Pro MTRR support enabled
Using $PIR table, 7 entries at 0xc00f0d10
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   P2B-S   > on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
pci0: <mass storage, ATA> at device 4.1 (no driver attached)
pci0: <serial bus, USB> at device 4.2 (no driver attached)
intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at 
device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xd000-0xd0ff mem 0xe0000000
-0xe0000fff irq 5 at device 6.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xb800-0xb83f mem 0xdf000000-0xdf01
ffff,0xdf800000-0xdf800fff irq 10 at device 10.0 on pci0
fxp0: Ethernet address 00:02:b3:63:f9:a2
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <network, ethernet> at device 12.0 (no driver attached)
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0
x3f5 irq 6 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
atkbdc: atkbdc0 already exists; skipping it
fdc: fdc0 already exists; skipping it
sio: sio0 already exists; skipping it
sio: sio1 already exists; skipping it
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
orm0: <Option ROMs> at iomem 0xc8000-0xc97ff,0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
IPsec: Initialized Security Association Processing.
Waiting 2 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
cd0 at ahc0 bus 0 target 5 lun 0
cd0: <TOSHIBA CD-ROM XM-6201TA 1030> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DDRS-34560W S92A> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da1: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)

--_=XFMail.1.5.1.FreeBSD:20020203205249:211=_
Content-Disposition: attachment; filename="BLAKE"
Content-Transfer-Encoding: 7bit
Content-Description: BLAKE
Content-Type: text/plain; charset=us-ascii; name=BLAKE; SizeOnDisk=1648

options		NETGRAPH
options		NETGRAPH_KSOCKET
options		NETGRAPH_SOCKET
#
# BLAKE
#
machine		"i386"
cpu		"I686_CPU"
ident		BLAKE
maxusers	32

options		SOFTUPDATES

options		DDB
options 	INVARIANTS
options 	INVARIANT_SUPPORT

options		NMBCLUSTERS=4096
options		"CLK_USE_I8254_CALIBRATION"
options		CLK_USE_TSC_CALIBRATION
options		INET			#InterNETworking
options 	IPSEC			#IP security
options 	IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
options		KTRACE			#kernel tracing
options		FFS			#Berkeley Fast Filesystem
options		NFSCLIENT
options		NFSSERVER
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"EXT2FS"		#Linux ext2 filesystem
options		NFS_ROOT		#NFS usable as root device
options 	PSEUDOFS		#Pseudo-filesystem framework
options		PROCFS			#Process filesystem (requires PSEUDOFS)
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SYSVSHM

options 	P1003_1B		#Posix P1003_1B real-time extentions
options 	_KPOSIX_PRIORITY_SCHEDULING
# options 	_KPOSIX_VERSION=199309L

device		isa
device		pci

device		fdc

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
device		ahc
options		AHC_ALLOW_MEMIO

device		scbus

device		da
device		sa
device		cd
device		pass

# Keyboard, mouse, display.
device		atkbdc	1
device		atkbd
device		psm
device		sc	1
device		vga
device		splash

device		npx

device		sio

device		miibus
device		de
device		fxp
device		gx

device		bpf
device		ether
device		gzip
device		loop
device		pty
device		random
device		md

# On-board power management controller.
device		smbus
device		intpm
device		smb

--_=XFMail.1.5.1.FreeBSD:20020203205249:211=_--
End of MIME message

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?XFMail.20020203205249.jdp>