Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 09:19:28 -0400
From:      Chuck Cranor <chuck@research.att.com>
To:        freebsd-stable@freebsd.org
Subject:   4.4-RELEASE kernel deadlock ("FFS node")
Message-ID:  <20010921091928.Q7319@chips.research.att.com>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x12ae, dev=0x0001) at 4.0 irq 11
pci0: <unknown card> (vendor=0x12ae, dev=0x0001) at 8.0 irq 10
pci0: <ATI model 4759 graphics accelerator> at 14.0
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x8b0-0x8bf at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfe008000-0xfe008fff irq 5 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> 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: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
pcib2: <PCI to PCI bridge (vendor=8086 device=0962)> at device 2.0 on pci1
pci2: <PCI bus> on pcib2
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ata0-slave: ata_command: timeout waiting for intr
ata0-slave: identify failed
acd0: CDROM <TEAC CD-ROM CD-224E> at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
pass5 at ahc0 bus 0 target 6 lun 0
pass5: <DELL 1x5 U2W SCSI BP 1.16> Fixed Processor SCSI-2 device 
pass5: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST336704LC 0004> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
da4 at ahc0 bus 0 target 4 lun 0
da4: <SEAGATE ST336704LC 0004> Fixed Direct Access SCSI-3 device 
da4: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da4: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
da3 at ahc0 bus 0 target 3 lun 0
da3: <SEAGATE ST336704LC 0004> Fixed Direct Access SCSI-3 device 
da3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da3: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <SEAGATE ST336704LC 0004> Fixed Direct Access SCSI-3 device 
da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da2: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST336704LC 0004> Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
Mounting root from ufs:/dev/da4s1a
WARNING: / was not properly dismounted
ccd0-3: Concatenated disk drivers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010921091928.Q7319>