From owner-freebsd-current Sun Feb 3 20:53: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id E5C7737B41E for ; Sun, 3 Feb 2002 20:52:49 -0800 (PST) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g144qnM43246 for ; Sun, 3 Feb 2002 20:52:49 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.5.1.FreeBSD:20020203205249:211=_" Date: Sun, 03 Feb 2002 20:52:49 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: current@freebsd.org Subject: Panics in ffs_clusteracct with todays -current Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 real memory = 402640896 (393204K bytes) avail memory = 387747840 (378660K bytes) Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00f0d10 npx0: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 4.0 on pci0 isa0: on isab0 pci0: at device 4.1 (no driver attached) pci0: at device 4.2 (no driver attached) intpm0: port 0xe800-0xe80f irq 9 at device 4.3 on pci0 intpm0: I/O mapped e800 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped e400 ahc0: 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: 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: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 12.0 (no driver attached) fdc0: 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: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 psm0: 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: