From owner-freebsd-stable Fri Sep 21 6:19:37 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail-green.research.att.com (H-135-207-30-103.research.att.com [135.207.30.103]) by hub.freebsd.org (Postfix) with ESMTP id D8A8037B408 for ; Fri, 21 Sep 2001 06:19:29 -0700 (PDT) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-green.research.att.com (Postfix) with ESMTP id 439131E009 for ; Fri, 21 Sep 2001 09:19:29 -0400 (EDT) Received: from chips.research.att.com (chips.research.att.com [135.207.27.139]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id JAA06789 for ; Fri, 21 Sep 2001 09:19:28 -0400 (EDT) Received: (from chuck@localhost) by chips.research.att.com (SGI-8.9.3/8.8.5) id JAA74750 for freebsd-stable@freebsd.org; Fri, 21 Sep 2001 09:19:28 -0400 (EDT) Date: Fri, 21 Sep 2001 09:19:28 -0400 From: Chuck Cranor To: freebsd-stable@freebsd.org Subject: 4.4-RELEASE kernel deadlock ("FFS node") Message-ID: <20010921091928.Q7319@chips.research.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: AT&T Labs-Research Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi- i was asked to help install 4.4-RELEASE on one of our systems here. in order to test it, i was attempting to build a release locally (i.e. running "make release ..." in /usr/src/release). note that "make buildworld" worked fine. i've tried "make release" a couple of times, but the system is unable to complete this task: the kernel deadlocks during the cvs checkout of the ports collection. ^T shows the cvs process stuck in the "FFS node" wait state. all other processes hang as a result of this: ... lots of output from "make release" ... U ports/x11/qrash/files/patch-ao U ports/x11/qrash/files/patch-ap U ports/x11/qrash/files/patch-aq U ports/x11/qrash/files/patch-ar U ports/x11/qrash/files/patch-as load: 0.00 cmd: cvs 13478 [FFS node] 15.46u 48.67s 0% 5816k load: 0.00 cmd: cvs 13478 [FFS node] 15.46u 48.67s 0% 5816k ... system is deadlocked ... the one unusual thing about the configuration is that the filesystem we are attempting to build on is a 136GB ccd across 4 scsi disks with the fsize=8192 and the bsize=65536 (it is mainly to be used for large data log files): # /dev/ccd0c: type: CCD disk: ccd label: flags: bytes/sector: 512 sectors/track: 2048 tracks/cylinder: 1 sectors/cylinder: 2048 cylinders: 138931 sectors/unit: 284531200 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 284531200 0 unused 0 0 # (Cyl. 0 - 138931*) e: 284531200 0 4.2BSD 8192 65536 16 # (Cyl. 0 - 138931*) the ccd config is: # ccd ileave flags component devices ccd0 128 none /dev/da0e /dev/da1e /dev/da2e /dev/da3e Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ccd0e 141570472 16580216 113664624 13% /a i've tried it with and without soft updates, and with and without "async" mount.... it deadlocks in all modes i tried. is this "FFS node" deadlock a known problem? any suggestions as to how to deal with it? i'll include dmesg of the system below. please cc me on any replies, as my connection to all BSD mailing lists is down due to the BSD news server being located near the world trade center in NYC. thanks, chuck cranor at&t labs Copyright (c) 1992-2001 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 4.4-RELEASE #0: Thu Sep 20 19:58:45 EDT 2001 chuck@cdn4.research.att.com:/usr/src/sys/compile/GENERIC_DDB Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (993.33-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff real memory = 2147475456 (2097144K bytes) avail memory = 2087419904 (2038496K bytes) Preloaded elf kernel "kernel" at 0xc0491000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fc320 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: (vendor=0x12ae, dev=0x0001) at 4.0 irq 11 pci0: (vendor=0x12ae, dev=0x0001) at 8.0 irq 10 pci0: at 14.0 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x8b0-0x8bf at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ohci0: mem 0xfe008000-0xfe008fff irq 5 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pcib1: on motherboard pci1: on pcib1 pcib2: at device 2.0 on pci1 pci2: on pcib2 ahc0: port 0xdc00-0xdcff mem 0xf8fff000-0xf8ffffff irq 10 at device 4.0 on pci2 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0xd800-0xd8ff mem 0xf8ffe000-0xf8ffefff irq 5 at device 4.1 on pci2 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs fxp0: port 0xccc0-0xccff mem 0xfa000000-0xfa0fffff,0xfa100000-0xfa100fff irq 11 at device 8.0 on pci1 fxp0: Ethernet address 00:b0:d0:b0:c9:7f inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: