Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 04:26:49 -0500 (EST)
From:      Chris Hardie <chris@summersault.com>
To:        freebsd-questions@freebsd.org
Subject:   mysterious ffs_clusteralloc kernel panics: need help!
Message-ID:  <Pine.BSF.4.21.0007190410410.531-100000@summersault.com>

next in thread | raw e-mail | index | archive | help

Greetings!

I'm having a very frustrating problem involving some seemingly random
kernel panics.  Every couple of days, around 3:30 in the morning when
periodic:daily is in to some hot and heavy disk activity, the kernel
issues a "ffs_clusteralloc: map mismatch" message and the machine reboots.  
I have rebuilt the kernel, run fsck several times, checked the bios
settings, and can't figure out what to do next.  Any insight is much
appreciated - it's a high production system and we just can't have it
rebooting!

Possibly related: in each crash, the /var/log/messages file has a large
4-5 hour gap in it preceeding the crash, where it appears that syslogd
isn't writing out its activity.

The problem appears to be very similar to GNATS PR 16740:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=16740

which looks unresolved.

---------------------------------------------------

# uname -a
FreeBSD nollie.summersault.com 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Sun Jul
16 20:30:08 EST 2000
root@nollie.summersault.com:/usr/src/sys/compile/NOLLIE.071600 i386

---------------------------------------------------

bash-2.03# gdb -k
...
(kgdb) symbol-file kernel.debug
(kgdb) exec-file /var/crash/kernel.1
(kgdb) core-file /var/crash/vmcore.1
IdlePTD 3616768
initial pcb at 2ec628
panicstr: lockmgr: locking against myself
panic messages:
---
panic: ffs_clusteralloc: map mismatch

syncing disks... panic: lockmgr: locking against myself

dumping to dev 20401, offset 542720
dump 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239
238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221
220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203
202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185
184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167
166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149
148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131
130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113
112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93
92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68
67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 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  0xc0163d7f in boot ()

---------------------------------------------------
# dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.4-RELEASE #0: Sun Jul 16 20:30:08 EST 2000
    root@nollie.summersault.com:/usr/src/sys/compile/NOLLIE.071600
Timecounter "i8254"  frequency 1193182 Hz
CPU: Unknown 80686 (651.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1

Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,<b25>>
real memory  = 267386880 (261120K bytes)
config> di zp0
config> di ze0
config> di lnc0
config> di le0
config> di ie0
config> di fe0
config> di ex0
config> di ep0
config> di cs0
config> di scd0
config> di mcd0
config> q
avail memory = 256720896 (250704K bytes)
Preloaded elf kernel "kernel" at 0xc0361000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc036109c.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=8086 device=7120)> rev 0x03 on pci0.0.0
vga0: <VGA-compatible display device> rev 0x03 int a irq 9 on pci0.1.0
chip1: <PCI to PCI bridge (vendor=8086 device=2418)> rev 0x02 on pci0.30.0
chip2: <PCI to ISA bridge (vendor=8086 device=2410)> rev 0x02 on pci0.31.0
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x02 on pci0.31.1
Probing for devices on PCI bus 1:
xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x00 int a irq 10 on pci1.5.0
xl0: Ethernet address: 00:10:4b:34:4f:55
xl0: autoneg complete, link status good (half-duplex, 10Mbps)
ahc0: <Adaptec 2940 Pro Ultra SCSI adapter> rev 0x01 int a irq 11 on
pci1.11.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (atapi): <MATSHITA CR-574/1.06>, removable, accel, iordis
acd0: drive speed 344 - 689KB/sec, 211KB cache
acd0: supported read types: CD-DA
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
wdc1 not found at 0x170
wt0 not found at 0x300
matcdc0 not found at 0x230
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
adv0 not found at 0x330
bt0 not found at 0x134
aha0 not found at 0x134
aic0 not found
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Waiting 15 seconds for SCSI devices to settle
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DPSS-318350N S80D> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)

---------------------------------------------------

Chris

-- Chris Hardie -----------------------------
----- mailto:chris@summersault.com ----------
-------- http://www.summersault.com/chris/ --





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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007190410410.531-100000>