Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 12:06:00 +0200 (IST)
From:      Roman Shterenzon <roman@harmonic.co.il>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/22021: Subject: 4.1 with adaptec and vinum crashes when runs periodic daily
Message-ID:  <Pine.LNX.4.10.10010161204400.12082-100000@shark.harmonic.co.il>

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

>Number:         22021
>Category:       kern
>Synopsis:       4.1 with adaptec and vinum crashed when runs periodic dail=
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 16 03:10:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.1-RELEASE i386
>Organization:
>Environment:
=20

config:

machine=09=09i386
cpu=09=09I686_CPU
ident=09=09MATRIX
maxusers=09128

#makeoptions=09DEBUG=3D-g=09=09#Build kernel with gdb(1) debug symbols

options =09INET=09=09=09#InterNETworking
options =09FFS=09=09=09#Berkeley Fast Filesystem
options =09FFS_ROOT=09=09#FFS usable as root device [keep this!]
options =09SOFTUPDATES=09=09#Enable FFS soft updates support
options =09NFS=09=09=09#Network Filesystem
options =09CD9660=09=09=09#ISO 9660 Filesystem
options =09PROCFS=09=09=09#Process filesystem
options =09COMPAT_43=09=09#Compatible with BSD 4.3 [KEEP THIS!]
options =09SCSI_DELAY=3D5000=09=09#Delay (in ms) before probing SCSI
options =09UCONSOLE=09=09#Allow users to grab the console
options =09USERCONFIG=09=09#boot -c editor
options =09VISUAL_USERCONFIG=09#visual boot -c editor
options =09KTRACE=09=09=09#ktrace(1) support
options =09SYSVSHM=09=09=09#SYSV-style shared memory
options =09SYSVMSG=09=09=09#SYSV-style message queues
options =09SYSVSEM=09=09=09#SYSV-style semaphores
options =09P1003_1B=09=09#Posix P1003_1B real-time extensions
options =09_KPOSIX_PRIORITY_SCHEDULING
options=09=09ICMP_BANDLIM=09=09#Rate limit bad replies
options =09KBD_INSTALL_CDEV=09# install a CDEV entry in /dev
options=09=09NMBCLUSTERS=3D1024

# To make an SMP kernel, the next two are needed
#options =09SMP=09=09=09# Symmetric MultiProcessor Kernel
#options =09APIC_IO=09=09=09# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options =09NCPU=3D2=09=09=09# number of CPUs
#options =09NBUS=3D4=09=09=09# number of busses
#options =09NAPIC=3D1=09=09=09# number of IO APICs
#options =09NINTR=3D24=09=09# number of INTs

device=09=09isa
device=09=09eisa
device=09=09pci

# Floppy drives
device=09=09fdc0=09at isa? port IO_FD1 irq 6 drq 2
device=09=09fd0=09at fdc0 drive 0

# ATA and ATAPI devices
device=09=09ata
device=09=09atadisk=09=09=09# ATA disk drives
device=09=09atapicd=09=09=09# ATAPI CDROM drives
options =09ATA_STATIC_ID=09=09#Static device numbering
options =09ATA_ENABLE_ATAPI_DMA=09#Enable DMA on ATAPI devices

# SCSI Controllers
device=09=09ahc=09=09# AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device=09=09scbus=09=09# SCSI bus (required)
device=09=09da=09=09# Direct Access (disks)
device=09=09sa=09=09# Sequential Access (tape etc)
device=09=09cd=09=09# CD
device=09=09pass=09=09# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device=09=09atkbdc0=09at isa? port IO_KBD
device=09=09atkbd0=09at atkbdc? irq 1 flags 0x1
device=09=09psm0=09at atkbdc? irq 12

device=09=09vga0=09at isa?

# splash screen/screen saver
pseudo-device=09splash

# syscons is the default console driver, resembling an SCO console
device=09=09sc0=09at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device=09=09vt0=09at isa?
#options =09XSERVER=09=09=09# support for X server on a vt console
#options =09FAT_CURSOR=09=09# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT li=
nes
#options =09PCVT_SCANSET=3D2=09=09# IBM keyboards are non-std

# Floating point support - do not disable.
device=09=09npx0=09at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
#device=09=09apm0    at nexus?

# Serial (COM) ports
device=09=09sio0=09at isa? port IO_COM1 flags 0x10 irq 4
device=09=09sio1=09at isa? port IO_COM2 irq 3
device=09=09sio2=09at isa? disable port IO_COM3 irq 5
device=09=09sio3=09at isa? disable port IO_COM4 irq 9

# Parallel port
device=09=09ppc0=09at isa? irq 7
device=09=09ppbus=09=09# Parallel port bus (required)
device=09=09lpt=09=09# Printer

# PCI Ethernet NICs.
device=09=09fxp=09=09# Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device=09loop=09=09# Network loopback
pseudo-device=09ether=09=09# Ethernet support
pseudo-device=09tun=09=09# Packet tunnel.
pseudo-device=09pty=09=09# Pseudo-ttys (telnet etc)
pseudo-device=09md=09=09# Memory "disks"
pseudo-device=09vn=09=09# Vnode driver
pseudo-device=09snp=09=09# TTY snoop driver

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device=09bpf=09=09#Berkeley packet filter

# USB support
device=09=09uhci=09=09# UHCI PCI->USB interface
device=09=09usb=09=09# USB Bus (required)
device=09=09ugen=09=09# Generic
device=09=09uhid=09=09# "Human Interface Devices"
device=09=09ukbd=09=09# Keyboard
device=09=09umass=09=09# Disks/Mass storage - Requires scbus and da
device=09=09ums=09=09# Mouse

# Intel Power Management devices
device=09=09intpm
device=09=09smbus
device=09=09smb
#device=09=09iicbus
#device=09=09iicbb
#device=09=09iic
#device=09=09iicsmb


dmesg:

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
=09The Regents of the University of California. All rights reserved.
FreeBSD 4.1-RELEASE #0: Mon Oct 16 12:16:14 IST 2000
    root@matrix.harmonic.co.il:/usr/src/sys/compile/MATRIX
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 646666418 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (646.67-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x683  Stepping =3D 3
  Features=3D0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,XMM>
real memory  =3D 536805376 (524224K bytes)
avail memory =3D 518987776 (506824K bytes)
Preloaded elf kernel "kernel" at 0xc0300000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443GX host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <Intel 82443GX (440 GX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pcib3: <PCI to PCI bridge (vendor=3D1011 device=3D0023)> at device 15.0 on =
pci1
pci2: <PCI bus> on pcib3
pcib4: <PCI to PCI bridge (vendor=3D104c device=3Dac21)> at device 4.0 on p=
ci2
pci3: <PCI bus> on pcib4
ahc0: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x2000-0x20ff mem 0xf41=
00000-0xf4100fff irq 11 at device 12.0 on pci0
ahc0: aic7896/97 Wide Channel A, SCSI Id=3D7, 16/255 SCBs
ahc1: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x2400-0x24ff mem 0xf41=
01000-0xf4101fff irq 11 at device 12.1 on pci0
ahc1: aic7896/97 Wide Channel B, SCSI Id=3D7, 16/255 SCBs
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x2800-0x283f mem 0xf4000000-0=
xf40fffff,0xf4102000-0xf4102fff irq 10 at device 14.0 on pci0
fxp0: Ethernet address 00:d0:b7:89:e7:9b
isab0: <Intel 82371AB PCI to ISA bridge> at device 18.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x2860-0x286f at device 18.1 o=
n pci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2840-0x285f irq 10 =
at device 18.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port 1 power on failed, IOERROR
uhub0: port 2 power on failed, IOERROR
intpm0: <Intel 82371AB Power management controller> port 0x1040-0x104f irq =
9 at device 18.3 on pci0
intpm0: I/O mapped 1040
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped c00=20
pci0: <Cirrus Logic GD5480 SVGA controller> at 20.0
pcib1: <Intel 82443GX host to AGP bridge> on motherboard
pci4: <PCI bus> on pcib1
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 IntelliMouse, device ID 3
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=3D0x300>
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
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
acd0: CDROM <SAMSUNG CD-ROM SN-124> at ata1-master using PIO4
Waiting 5 seconds for SCSI devices to settle
pass3 at ahc0 bus 0 target 6 lun 0
pass3: <ESG-SHV SCA HSBP M10 0.03> Fixed Processor SCSI-2 device=20
pass3: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDYS-T36950M S80D> Fixed Direct Access SCSI-3 device=20
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing En=
abled
da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
da1 at ahc0 bus 0 target 2 lun 0
da1: <IBM DDYS-T36950M S80D> Fixed Direct Access SCSI-3 device=20
da1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing En=
abled
da1: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
da2 at ahc0 bus 0 target 3 lun 0
da2: <IBM DDYS-T36950M S80D> Fixed Direct Access SCSI-3 device=20
da2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing En=
abled
da2: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
vinum: loaded
vinum: reading configuration from /dev/da1s2e
vinum: updating configuration from /dev/da2s2e
vinum: updating configuration from /dev/da0s2e


vinum-config:

drive d1 device /dev/da0s2e
drive d2 device /dev/da1s2e
drive d3 device /dev/da2s2e
volume raid5
  plex org raid5 512k
    sd length 0 drive d1
    sd length 0 drive d2
    sd length 0 drive d3


df:

Filesystem       1K-blocks     Used    Avail Capacity  Mounted on
/dev/da0s1a        1523439   784377   617187    56%    /
/dev/vinum/raid5  67192072  9930576 56589576    15%    /raid
procfs                   4        4        0   100%    /proc


This is Intel server ISP2150. It's quite new.


>Description:
=20

Panic when run periodic daily.
This machine worked falwlessly for one month 10/Sep-10/Oct then, it began
crashing every night. Fans are working properly and it's well cooled.
I suspect that the vinum fs got filled and then it began.
Here's a corresponding crash dump:


Script started on Mon Oct 16 12:45:51 2000
matrix#=09cd /usr/src/sys/compile/MATRIX
matrix#=09gdb -k kernel.debug /var/crash/vmcore.0
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you ar=
e
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD 3219456
initial pcb at 29a720
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address=09=3D 0x54
fault code=09=09=3D supervisor write, page not present
instruction pointer=09=3D 0x8:0xc150fc67
stack pointer=09        =3D 0x10:0xc0277394
frame pointer=09        =3D 0x10:0xc02773b0
code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b
=09=09=09=3D DPL 0, pres 1, def32 1, gran 1
processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0
current process=09=09=3D Idle
interrupt mask=09=09=3D bio=20
trap number=09=09=3D 12
panic: page fault

syncing disks...=20

Fatal trap 12: page fault while in kernel mode
fault virtual address=09=3D 0x30
fault code=09=09=3D supervisor read, page not present
instruction pointer=09=3D 0x8:0xc01e2e50
stack pointer=09        =3D 0x10:0xc02771cc
frame pointer=09        =3D 0x10:0xc02771d0
code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b
=09=09=09=3D DPL 0, pres 1, def32 1, gran 1
processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0
current process=09=09=3D Idle
interrupt mask=09=09=3D bio=20
trap number=09=09=3D 12
panic: page fault
Uptime: 6m22s


Fatal trap 12: page fault while in kernel mode
fault virtual address=09=3D 0x54
fault code=09=09=3D supervisor write, page not present
instruction pointer=09=3D 0x8:0xc150fc67
stack pointer=09        =3D 0x10:0xc0276ab0
frame pointer=09        =3D 0x10:0xc0276acc
code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b
=09=09=09=3D DPL 0, pres 1, def32 1, gran 1
processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0
current process=09=09=3D Idle
interrupt mask=09=09=3D bio cam=20
trap number=09=09=3D 12
panic: page fault
Uptime: 6m22s


Fatal trap 12: page fault while in kernel mode
fault virtual address=09=3D 0x54
fault code=09=09=3D supervisor write, page not present
instruction pointer=09=3D 0x8:0xc150fc67
stack pointer=09        =3D 0x10:0xc0276394
frame pointer=09        =3D 0x10:0xc02763b0
code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b
=09=09=09=3D DPL 0, pres 1, def32 1, gran 1
processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0
current process=09=09=3D Idle
interrupt mask=09=09=3D bio cam=20
trap number=09=09=3D 12
panic: page fault
Uptime: 6m22s


Fatal trap 12: page fault while in kernel mode
fault virtual address=09=3D 0x54
fault code=09=09=3D supervisor write, page not present
instruction pointer=09=3D 0x8:0xc150fc67
stack pointer=09        =3D 0x10:0xc0275c78
frame pointer=09        =3D 0x10:0xc0275c94
code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b
=09=09=09=3D DPL 0, pres 1, def32 1, gran 1
processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0
current process=09=09=3D Idle
interrupt mask=09=09=3D bio cam=20
trap number=09=09=3D 12
panic: page fault
Uptime: 6m22s


Fatal trap 12: page fault while in kernel mode
fault virtual address=09=3D 0x54
fault code=09=09=3D supervisor write, page not present
instruction pointer=09=3D 0x8:0xc150fc67
stack pointer=09        =3D 0x10:0xc027555c
frame pointer=09        =3D 0x10:0xc0275578
code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b
=09=09=09=3D DPL 0, pres 1, def32 1, gran 1
processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0
current process=09=09=3D Idle
interrupt mask=09=09=3D bio cam=20
trap number=09=09=3D 12
panic: page fault
Uptime: 6m22s

dumping to dev #da/0x20001, offset 774
dump 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 49=
4 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 4=
75 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 =
456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438=
 437 436 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421 420 41=
9 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 4=
00 399 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 =
381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363=
 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 34=
4 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 3=
25 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 =
306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288=
 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 26=
9 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 2=
50 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 19=
4 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 1=
75 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 11=
9 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 1=
00 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=20
---
#0  boot (howto=3D260) at ../../kern/kern_shutdown.c:302
302=09=09=09dumppcb.pcb_cr3 =3D rcr3();
(kgdb) bt
#0  boot (howto=3D260) at ../../kern/kern_shutdown.c:302
#1  0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0)
    at ../../kern/kern_shutdown.c:552
#2  0xc0236d35 in trap_fatal (frame=3D0xc027551c, eva=3D84)
    at ../../i386/i386/trap.c:927
#3  0xc0236a0d in trap_pfault (frame=3D0xc027551c, usermode=3D0, eva=3D84)
    at ../../i386/i386/trap.c:820
#4  0xc023660b in trap (frame=3D{tf_fs =3D -1071185904, tf_es =3D -10723655=
52,=20
      tf_ds =3D 7077904, tf_edi =3D -1049730016, tf_esi =3D -1049730048,=20
      tf_ebp =3D -1071164040, tf_isp =3D -1071164088, tf_ebx =3D -103960569=
6,=20
      tf_edx =3D 0, tf_ecx =3D 91095041, tf_eax =3D -7113793, tf_trapno =3D=
 12,=20
      tf_err =3D 2, tf_eip =3D -1051657113, tf_cs =3D 8, tf_eflags =3D 6611=
8,=20
      tf_esp =3D -1049730016, tf_ss =3D -1051996160}) at ../../i386/i386/tr=
ap.c:426
#5  0xc150fc67 in ?? ()
#6  0xc0178d6b in biodone (bp=3D0xc16e6420) at ../../kern/vfs_bio.c:2637
#7  0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc183ac00)
    at ../../cam/scsi/scsi_da.c:1246
#8  0xc0122aff in camisr (queue=3D0xc0298690) at ../../cam/cam_xpt.c:6319
#9  0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222
#10 0xc011fd10 in xpt_polled_action (start_ccb=3D0xc027590c)
    at ../../cam/cam_xpt.c:3389
#11 0xc0127081 in dashutdown (arg=3D0x0, howto=3D260)
    at ../../cam/scsi/scsi_da.c:1538
---Type <return> to continue, or q <return> to quit---
#12 0xc0153984 in boot (howto=3D260) at ../../kern/kern_shutdown.c:297
#13 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0)
    at ../../kern/kern_shutdown.c:552
#14 0xc0236d35 in trap_fatal (frame=3D0xc0275c38, eva=3D84)
    at ../../i386/i386/trap.c:927
#15 0xc0236a0d in trap_pfault (frame=3D0xc0275c38, usermode=3D0, eva=3D84)
    at ../../i386/i386/trap.c:820
#16 0xc023660b in trap (frame=3D{tf_fs =3D 16, tf_es =3D -1072365552,=20
      tf_ds =3D 7077904, tf_edi =3D -1049724896, tf_esi =3D -1049724928,=20
      tf_ebp =3D -1071162220, tf_isp =3D -1071162268, tf_ebx =3D -103960550=
4,=20
      tf_edx =3D 0, tf_ecx =3D 90898433, tf_eax =3D -7113793, tf_trapno =3D=
 12,=20
      tf_err =3D 2, tf_eip =3D -1051657113, tf_cs =3D 8, tf_eflags =3D 6611=
8,=20
      tf_esp =3D -1049724896, tf_ss =3D -1051996160}) at ../../i386/i386/tr=
ap.c:426
#17 0xc150fc67 in ?? ()
#18 0xc0178d6b in biodone (bp=3D0xc16e7820) at ../../kern/vfs_bio.c:2637
#19 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc14dc000)
    at ../../cam/scsi/scsi_da.c:1246
#20 0xc0122aff in camisr (queue=3D0xc0298690) at ../../cam/cam_xpt.c:6319
#21 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222
#22 0xc011fd10 in xpt_polled_action (start_ccb=3D0xc0276028)
    at ../../cam/cam_xpt.c:3389
#23 0xc0127081 in dashutdown (arg=3D0x0, howto=3D260)
    at ../../cam/scsi/scsi_da.c:1538
---Type <return> to continue, or q <return> to quit---
#24 0xc0153984 in boot (howto=3D260) at ../../kern/kern_shutdown.c:297
#25 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0)
    at ../../kern/kern_shutdown.c:552
#26 0xc0236d35 in trap_fatal (frame=3D0xc0276354, eva=3D84)
    at ../../i386/i386/trap.c:927
#27 0xc0236a0d in trap_pfault (frame=3D0xc0276354, usermode=3D0, eva=3D84)
    at ../../i386/i386/trap.c:820
#28 0xc023660b in trap (frame=3D{tf_fs =3D -1071185904, tf_es =3D -10723655=
52,=20
      tf_ds =3D 7077904, tf_edi =3D -1049719776, tf_esi =3D -1049719808,=20
      tf_ebp =3D -1071160400, tf_isp =3D -1071160448, tf_ebx =3D -103960531=
2,=20
      tf_edx =3D 0, tf_ecx =3D 90701825, tf_eax =3D -7113793, tf_trapno =3D=
 12,=20
      tf_err =3D 2, tf_eip =3D -1051657113, tf_cs =3D 8, tf_eflags =3D 6611=
8,=20
      tf_esp =3D -1049719776, tf_ss =3D -1051996160}) at ../../i386/i386/tr=
ap.c:426
#29 0xc150fc67 in ?? ()
#30 0xc0178d6b in biodone (bp=3D0xc16e8c20) at ../../kern/vfs_bio.c:2637
#31 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc1835800)
    at ../../cam/scsi/scsi_da.c:1246
#32 0xc0122aff in camisr (queue=3D0xc0298690) at ../../cam/cam_xpt.c:6319
#33 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222
#34 0xc011fd10 in xpt_polled_action (start_ccb=3D0xc0276744)
    at ../../cam/cam_xpt.c:3389
#35 0xc0127081 in dashutdown (arg=3D0x0, howto=3D260)
    at ../../cam/scsi/scsi_da.c:1538
---Type <return> to continue, or q <return> to quit---
#36 0xc0153984 in boot (howto=3D260) at ../../kern/kern_shutdown.c:297
#37 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0)
    at ../../kern/kern_shutdown.c:552
#38 0xc0236d35 in trap_fatal (frame=3D0xc0276a70, eva=3D84)
    at ../../i386/i386/trap.c:927
#39 0xc0236a0d in trap_pfault (frame=3D0xc0276a70, usermode=3D0, eva=3D84)
    at ../../i386/i386/trap.c:820
#40 0xc023660b in trap (frame=3D{tf_fs =3D -1071185904, tf_es =3D -10723655=
52,=20
      tf_ds =3D 7077904, tf_edi =3D -1049722848, tf_esi =3D -1049722880,=20
      tf_ebp =3D -1071158580, tf_isp =3D -1071158628, tf_ebx =3D -103960512=
0,=20
      tf_edx =3D 0, tf_ecx =3D 90505217, tf_eax =3D -7113793, tf_trapno =3D=
 12,=20
      tf_err =3D 2, tf_eip =3D -1051657113, tf_cs =3D 8, tf_eflags =3D 6611=
8,=20
      tf_esp =3D -1049722848, tf_ss =3D -1051996160}) at ../../i386/i386/tr=
ap.c:426
#41 0xc150fc67 in ?? ()
#42 0xc0178d6b in biodone (bp=3D0xc16e8020) at ../../kern/vfs_bio.c:2637
#43 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc1658c00)
    at ../../cam/scsi/scsi_da.c:1246
#44 0xc0122aff in camisr (queue=3D0xc0298690) at ../../cam/cam_xpt.c:6319
#45 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222
#46 0xc011fd10 in xpt_polled_action (start_ccb=3D0xc0276e60)
    at ../../cam/cam_xpt.c:3389
#47 0xc0127081 in dashutdown (arg=3D0x0, howto=3D260)
    at ../../cam/scsi/scsi_da.c:1538
---Type <return> to continue, or q <return> to quit---
#48 0xc0153984 in boot (howto=3D260) at ../../kern/kern_shutdown.c:297
#49 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0)
    at ../../kern/kern_shutdown.c:552
#50 0xc0236d35 in trap_fatal (frame=3D0xc027718c, eva=3D48)
    at ../../i386/i386/trap.c:927
#51 0xc0236a0d in trap_pfault (frame=3D0xc027718c, usermode=3D0, eva=3D48)
    at ../../i386/i386/trap.c:820
#52 0xc023660b in trap (frame=3D{tf_fs =3D 6815760, tf_es =3D 6815760,=20
      tf_ds =3D -1072431088, tf_edi =3D 0, tf_esi =3D -1070925856,=20
      tf_ebp =3D -1071156784, tf_isp =3D -1071156808, tf_ebx =3D -107108208=
4,=20
      tf_edx =3D 6849600, tf_ecx =3D 3, tf_eax =3D 0, tf_trapno =3D 12, tf_=
err =3D 0,=20
      tf_eip =3D -1071763888, tf_cs =3D 8, tf_eflags =3D 66050, tf_esp =3D =
0,=20
      tf_ss =3D -1071156756}) at ../../i386/i386/trap.c:426
#53 0xc01e2e50 in acquire_lock (lk=3D0xc028959c)
    at ../../ufs/ffs/ffs_softdep.c:265
#54 0xc01e7012 in softdep_fsync_mountdev (vp=3D0xd41c0000)
    at ../../ufs/ffs/ffs_softdep.c:3788
#55 0xc01eb04a in ffs_fsync (ap=3D0xc0277244) at ../../ufs/ffs/ffs_vnops.c:=
134
#56 0xc01e9d72 in ffs_sync (mp=3D0xc14cc000, waitfor=3D2, cred=3D0xc10c0680=
,=20
    p=3D0xc02af7e0) at vnode_if.h:537
#57 0xc018092f in sync (p=3D0xc02af7e0, uap=3D0x0) at ../../kern/vfs_syscal=
ls.c:544
#58 0xc0153787 in boot (howto=3D256) at ../../kern/kern_shutdown.c:224
#59 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0)
---Type <return> to continue, or q <return> to quit---
    at ../../kern/kern_shutdown.c:552
#60 0xc0236d35 in trap_fatal (frame=3D0xc0277354, eva=3D84)
    at ../../i386/i386/trap.c:927
#61 0xc0236a0d in trap_pfault (frame=3D0xc0277354, usermode=3D0, eva=3D84)
    at ../../i386/i386/trap.c:820
#62 0xc023660b in trap (frame=3D{tf_fs =3D -1071185904, tf_es =3D -10723655=
52,=20
      tf_ds =3D 6815760, tf_edi =3D -1049717368, tf_esi =3D -1049717760,=20
      tf_ebp =3D -1071156304, tf_isp =3D -1071156352, tf_ebx =3D -103960492=
8,=20
      tf_edx =3D 0, tf_ecx =3D 90243073, tf_eax =3D -6851649, tf_trapno =3D=
 12,=20
      tf_err =3D 2, tf_eip =3D -1051657113, tf_cs =3D 8, tf_eflags =3D 6611=
8,=20
      tf_esp =3D -1049717368, tf_ss =3D -1051996160}) at ../../i386/i386/tr=
ap.c:426
#63 0xc150fc67 in ?? ()
#64 0xc0178d6b in biodone (bp=3D0xc16e9588) at ../../kern/vfs_bio.c:2637
#65 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc1808400)
    at ../../cam/scsi/scsi_da.c:1246
#66 0xc0122aff in camisr (queue=3D0xc0298690) at ../../cam/cam_xpt.c:6319
#67 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222
#68 0xc022d0e0 in splz_swi ()
(kgdb) up 64
#64 0xc0178d6b in biodone (bp=3D0xc16e9588) at ../../kern/vfs_bio.c:2637
2637=09=09=09(*bp->b_iodone) (bp);
(kgdb) list
2632=09=09}
2633=09
2634=09=09/* call optional completion function if requested */
2635=09=09if (bp->b_flags & B_CALL) {
2636=09=09=09bp->b_flags &=3D ~B_CALL;
2637=09=09=09(*bp->b_iodone) (bp);
2638=09=09=09splx(s);
2639=09=09=09return;
2640=09=09}
2641=09=09if (LIST_FIRST(&bp->b_dep) !=3D NULL && bioops.io_complete)
(kgdb) print bp
$1 =3D (struct buf *) 0xc16e9588
(kgdb) print bp->b_iodone
$2 =3D (void (*)()) 0xc150f6ac
(kgdb) down
#63 0xc150fc67 in ?? ()
(kgdb) list
2642=09=09=09(*bioops.io_complete)(bp);
2643=09
2644=09=09if (bp->b_flags & B_VMIO) {
2645=09=09=09int i, resid;
2646=09=09=09vm_ooffset_t foff;
2647=09=09=09vm_page_t m;
2648=09=09=09vm_object_t obj;
2649=09=09=09int iosize;
2650=09=09=09struct vnode *vp =3D bp->b_vp;
2651=09
(kgdb) down
#62 0xc023660b in trap (frame=3D{tf_fs =3D -1071185904, tf_es =3D -10723655=
52,=20
      tf_ds =3D 6815760, tf_edi =3D -1049717368, tf_esi =3D -1049717760,=20
      tf_ebp =3D -1071156304, tf_isp =3D -1071156352, tf_ebx =3D -103960492=
8,=20
      tf_edx =3D 0, tf_ecx =3D 90243073, tf_eax =3D -6851649, tf_trapno =3D=
 12,=20
      tf_err =3D 2, tf_eip =3D -1051657113, tf_cs =3D 8, tf_eflags =3D 6611=
8,=20
      tf_esp =3D -1049717368, tf_ss =3D -1051996160}) at ../../i386/i386/tr=
ap.c:426
426=09=09=09=09(void) trap_pfault(&frame, FALSE, eva);
(kgdb) up
#63 0xc150fc67 in ?? ()
(kgdb) up
#64 0xc0178d6b in biodone (bp=3D0xc16e9588) at ../../kern/vfs_bio.c:2637
2637=09=09=09(*bp->b_iodone) (bp);
(kgdb) up
#65 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc1808400)
    at ../../cam/scsi/scsi_da.c:1246
1246=09=09=09biodone(bp);
(kgdb) list
1241=09
1242=09=09=09if (softc->device_stats.busy_count =3D=3D 0)
1243=09=09=09=09softc->flags |=3D DA_FLAG_WENT_IDLE;
1244=09
1245=09=09=09devstat_end_transaction_buf(&softc->device_stats, bp);
1246=09=09=09biodone(bp);
1247=09=09=09break;
1248=09=09}
1249=09=09case DA_CCB_PROBE:
1250=09=09{
(kgdb) print bp
$3 =3D (struct buf *) 0xc16e9588
(kgdb) print *bp
$4 =3D {b_hash =3D {le_next =3D 0x0, le_prev =3D 0x0}, b_vnbufs =3D {tqe_ne=
xt =3D 0x0,=20
    tqe_prev =3D 0x0}, b_freelist =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0},=
 b_act =3D {
    tqe_next =3D 0xc16e9820, tqe_prev =3D 0xc14bd000}, b_flags =3D 516,=20
  b_qindex =3D 0, b_xflags =3D 0 '\000', b_lock =3D {lk_interlock =3D {lock=
_data =3D 0},=20
    lk_flags =3D 1024, lk_sharecount =3D 0, lk_waitcount =3D 0,=20
    lk_exclusivecount =3D 1, lk_prio =3D 20, lk_wmesg =3D 0xc0257a24 "bufwa=
it",=20
    lk_timo =3D 0, lk_lockholder =3D 5}, b_error =3D 0, b_bufsize =3D 8192,=
=20
  b_bcount =3D 8192, b_resid =3D 0, b_dev =3D 0xc15cd880,=20
  b_data =3D 0xcbdcc000 "=C0A\002", b_kvabase =3D 0x0, b_kvasize =3D 0, b_l=
blkno =3D 0,=20
  b_blkno =3D 45121865, b_offset =3D 0, b_iodone =3D 0xc150f6ac,=20
  b_iodone_chain =3D 0x0, b_vp =3D 0x0, b_dirtyoff =3D 0, b_dirtyend =3D 0,=
=20
  b_rcred =3D 0xffffffff, b_wcred =3D 0xffffffff, b_pblkno =3D 49314830,=20
  b_saveaddr =3D 0x0, b_driver1 =3D 0x0, b_driver2 =3D 0x0, b_caller1 =3D 0=
x0,=20
  b_caller2 =3D 0x0, b_pager =3D {pg_spc =3D 0x0, pg_reqpage =3D 0}, b_clus=
ter =3D {
    cluster_head =3D {tqh_first =3D 0x0, tqh_last =3D 0x0}, cluster_entry =
=3D {
      tqe_next =3D 0x0, tqe_prev =3D 0x0}}, b_pages =3D {0x0 <repeats 32 ti=
mes>},=20
  b_npages =3D 0, b_dep =3D {lh_first =3D 0x0}, b_chain =3D {parent =3D 0x0=
, count =3D 0}}
(kgdb) down
#64 0xc0178d6b in biodone (bp=3D0xc16e9588) at ../../kern/vfs_bio.c:2637
2637=09=09=09(*bp->b_iodone) (bp);
(kgdb) print *bp
$5 =3D {b_hash =3D {le_next =3D 0x0, le_prev =3D 0x0}, b_vnbufs =3D {tqe_ne=
xt =3D 0x0,=20
    tqe_prev =3D 0x0}, b_freelist =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0},=
 b_act =3D {
    tqe_next =3D 0xc16e9820, tqe_prev =3D 0xc14bd000}, b_flags =3D 516,=20
  b_qindex =3D 0, b_xflags =3D 0 '\000', b_lock =3D {lk_interlock =3D {lock=
_data =3D 0},=20
    lk_flags =3D 1024, lk_sharecount =3D 0, lk_waitcount =3D 0,=20
    lk_exclusivecount =3D 1, lk_prio =3D 20, lk_wmesg =3D 0xc0257a24 "bufwa=
it",=20
    lk_timo =3D 0, lk_lockholder =3D 5}, b_error =3D 0, b_bufsize =3D 8192,=
=20
  b_bcount =3D 8192, b_resid =3D 0, b_dev =3D 0xc15cd880,=20
  b_data =3D 0xcbdcc000 "=C0A\002", b_kvabase =3D 0x0, b_kvasize =3D 0, b_l=
blkno =3D 0,=20
  b_blkno =3D 45121865, b_offset =3D 0, b_iodone =3D 0xc150f6ac,=20
  b_iodone_chain =3D 0x0, b_vp =3D 0x0, b_dirtyoff =3D 0, b_dirtyend =3D 0,=
=20
  b_rcred =3D 0xffffffff, b_wcred =3D 0xffffffff, b_pblkno =3D 49314830,=20
  b_saveaddr =3D 0x0, b_driver1 =3D 0x0, b_driver2 =3D 0x0, b_caller1 =3D 0=
x0,=20
  b_caller2 =3D 0x0, b_pager =3D {pg_spc =3D 0x0, pg_reqpage =3D 0}, b_clus=
ter =3D {
    cluster_head =3D {tqh_first =3D 0x0, tqh_last =3D 0x0}, cluster_entry =
=3D {
      tqe_next =3D 0x0, tqe_prev =3D 0x0}}, b_pages =3D {0x0 <repeats 32 ti=
mes>},=20
  b_npages =3D 0, b_dep =3D {lh_first =3D 0x0}, b_chain =3D {parent =3D 0x0=
, count =3D 0}}
(kgdb) print *bp->b_iodone
$6 =3D {void ()} 0xc150f6ac
(kgdb) quit
matrix#=09^D=08=08exit

Script done on Mon Oct 16 12:50:59 2000

>How-To-Repeat:
=20

periodic daily

>Fix:
=20
I Wish I knew :(


>Release-Note:
>Audit-Trail:
>Unformatted:
 y


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




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