From owner-freebsd-bugs Sat Apr 11 01:40:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08945 for freebsd-bugs-outgoing; Sat, 11 Apr 1998 01:40:02 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08936; Sat, 11 Apr 1998 01:40:01 -0700 (PDT) (envelope-from gnats) Received: from precipice.shockwave.com (ppp-206-170-7-21.rdcy01.pacbell.net [206.170.7.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08567 for ; Sat, 11 Apr 1998 01:37:21 -0700 (PDT) (envelope-from pst@Shockwave.COM) Received: (from pst@localhost) by precipice.shockwave.com (8.8.8/8.8.8) id BAA01156; Sat, 11 Apr 1998 01:37:18 -0700 (PDT) (envelope-from pst) Message-Id: <199804110837.BAA01156@precipice.shockwave.com> Date: Sat, 11 Apr 1998 01:37:18 -0700 (PDT) From: Paul Traina Reply-To: pst@Shockwave.COM To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/6274: panic: handle_workitem_freeblocks: block count (softupdates) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6274 >Category: kern >Synopsis: panic: handle_workitem_freeblocks: block count (softupdates) >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 11 01:40:00 PDT 1998 >Last-Modified: >Originator: Paul Traina >Organization: Shockwave Engineering >Release: FreeBSD 3.0-CURRENT i386 >Environment: 3.0 current as of last night, softupdates code from julian's page as of 5pm this afternoon. >Description: During a build of XFree86, the system panic'ed with the following message. Also, fsck -p was unable to fix the filesystem. fsck -y seems successful, for the most part, however I still have a directory I can't delete. pst@precipice$ R gdb -k kernel.0 vmcore.0 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...(no debugging symbols found)... IdlePTD 247000 initial pcb at 1f1640 panicstr: handle_workitem_freeblocks: block count panic messages: --- panic: handle_workitem_freeblocks: block count syncing disks... 32 29 23 13 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 giving up dumping to dev 30401, offset 119984 dump 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 0xf0118cae in boot () (kgdb) where #0 0xf0118cae in boot () #1 0xf0118f8f in panic () #2 0xf017e1fa in handle_workitem_freeblocks () #3 0xf017c2fc in softdep_process_worklist () #4 0xf013a2cb in sched_sync () #5 0xf010c138 in kproc_start () #6 0xf01a1f99 in fork_trampoline () Cannot access memory at address 0x24e000. I have core and kernel files. System had only the one partition with softupdates enabled. I am using both MFS and devfs for other partitions, just FYI: /dev/sd0s2a on / (local, writes: sync 27 async 78)) devfs on dummy_mount (local) mfs:21 on /tmp (asynchronous, local, writes: sync 28 async 61)) /dev/sd0s2e on /var (local, writes: sync 224 async 265)) /dev/sd0s2f on /usr (local, writes: sync 8 async 196)) /dev/sd0s2g on /a (local, writes: sync 497 async 1789)) devfs on /dev (local) procfs on /proc (local) Here is kernel config, for grins: # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.90 1997/04/14 00:35:20 gibbs Exp $ machine "i386" cpu "I586_CPU" ident PRECIPICE maxusers 60 options SOFTUPDATES options INET #InterNETworking options FFS #Berkeley Fast Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options DEVFS #Device filesystem options MFS #memory filesystem 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 INCLUDE_CONFIG_FILE options KTRACE options SYSVSHM options SYSVSEM options SYSVMSG options DDB options DDB_UNATTENDED options "VM86" options "USER_LDT" config kernel root on sd0 controller isa0 controller pci0 controller pnp0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller ahc0 options AHC_TAGENABLE options AHC_ALLOW_MEMIO options AHC_SCBPAGING_ENABLE controller scbus0 device sd0 device st0 device cd0 device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr #device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device psm0 at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr device ed0 at isa? port 0x280 net irq ? iomem 0xd8000 vector edintr device apm0 at isa? device pcm0 at isa? port ? tty irq 11 drq 1 flags 0x13 vector pcmintr device bktr0 pseudo-device ether pseudo-device loop pseudo-device bpfilter 4 pseudo-device pty 32 pseudo-device gzip # Exec gzipped a.out's pseudo-device vn Any hint on how to destroy the following? pst@precipice$ R rm -rf BAD rm: BAD/xc/exports/: Directory not empty rm: BAD/xc: Directory not empty rm: BAD: Directory not empty pst@precipice$ cd BAD/xc/exports pst@precipice$ ls -ld . drwxr-xr-x 4 root wheel 512 Apr 11 01:14 . pst@precipice$ cd .. pst@precipice$ ls -ld exports drwxr-xr-x 4 root wheel 512 Apr 11 01:14 exports pst@precipice$ R rmdir exports rmdir: exports: Directory not empty pst@precipice$ ls -la exports total 2 drwxr-xr-x 4 root wheel 512 Apr 11 01:14 . drwxr-xr-x 3 root wheel 512 Apr 10 18:21 .. pst@precipice$ ls -ld exports drwxr-xr-x 4 root wheel 512 Apr 11 01:14 exports >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message