Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2000 14:36:22 +0100 (CET)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/23794: reboot after panic: backgroundwritedone: lost buffer
Message-ID:  <200012231336.eBNDaMp03117@curry.mchp.siemens.de>
Resent-Message-ID: <200012231340.eBNDe1g70910@freefall.freebsd.org>

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

>Number:         23794
>Category:       kern
>Synopsis:       reboot after panic: backgroundwritedone: lost buffer
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 23 05:40:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Andre Albsmeier
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

Copyright (c) 1992-2000 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.2-STABLE #5: Wed Dec 20 18:32:30 CET 2000
    root@bali.ofw.tld:/src/obj-4/src/src-4/sys/bali
Timecounter "i8254"  frequency 1193107 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (824.04-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268423168 (262132K bytes)
avail memory = 258068480 (252020K bytes)
Preloaded elf kernel "kernel" at 0xc0335000.
Pentium Pro MTRR support enabled
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Intel PIIX4 ATA controller> at 4.1
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 4.2 irq 14
intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at device 4.3 on pci0
intpm0: I/O mapped e800
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 e400 
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd01f mem 0xde000000-0xde0fffff,0xe1000000-0xe1000fff irq 15 at device 7.0 on pci0
fxp0: Ethernet address 00:e0:18:98:d3:e8
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0xb800-0xb8ff mem 0xdd800000-0xdd800fff irq 14 at device 9.0 on pci0
aic7892: Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec 2940 Ultra SCSI adapter> port 0xb400-0xb4ff mem 0xdd000000-0xdd000fff irq 15 at device 10.0 on pci0
aic7880: Single Channel A, SCSI Id=7, 16/255 SCBs
bktr0: <BrookTree 878> mem 0xe0000000-0xe0000fff irq 10 at device 11.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus1: <System Management Bus> on iicsmb0
smb1: <SMBus general purpose I/O> on smbus1
iic0: <I2C general purpose I/O> on iicbus0
smbus2: <System Management Bus> on bti2c0
smb2: <SMBus general purpose I/O> on smbus2
bktr0: Hauppauge Model 61314 B1M 
bktr0: Detected a MSP3410D-B4 at 0x80
bktr0: Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 11.1 irq 10
isa0: too many dependant configs (8)
isa0: unexpected small tag 14
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <9 virtual consoles, flags=0x200>
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
fd1: <1200-KB 5.25" drive> on fdc0 drive 1
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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
pcm0: <SB DSP 4.16> on sbc0
joy0: <Generic PnP Joystick> at port 0x200-0x207 on isa0
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM XP32275W LYK8> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C)
da10 at ahc1 bus 0 target 0 lun 0
da10: <iomega jaz 2GB E.17> Removable Direct Access SCSI-2 device 
da10: 20.000MB/s transfers (20.000MHz, offset 15)
da10: 1911MB (3915600 512 byte sectors: 255H 63S/T 243C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <QUANTUM XP32275W LYK8> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da1: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <QUANTUM XP34550W LYK8> Fixed Direct Access SCSI-2 device 
da2: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da2: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C)
da3 at ahc0 bus 0 target 3 lun 0
da3: <QUANTUM XP34550W LYK8> Fixed Direct Access SCSI-2 device 
da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da3: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C)
Mounting root from ufs:/dev/da1s1a
WARNING: / was not properly dismounted
da11 at ahc1 bus 0 target 1 lun 0
da11: <IOMEGA ZIP 100 E.08> Removable Direct Access SCSI-2 device 
da11: 3.300MB/s transfers
da11: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ahc1 bus 0 target 5 lun 0
cd1: <YAMAHA CDR100 1.12> Removable Worm SCSI-2 device 
cd1: 3.300MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Logical unit not ready, cause not reportable
cd0 at ahc1 bus 0 target 6 lun 0
cd0: <PLEXTOR CD-ROM PX-40TS 1.11> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed

>Description:

A single 400MB file was written to the 2GB jaz drive with tar. The jaz media
contains a single UFS filesystem using softupdates. As soon as the tar command
returned, the unmount command was issued in order to be able to eject the media.
The flushing of the buffers to the drive could be heard for about 1 second.
Then the machine started to dump and rebooted.

The crashdump didn't show a lot:

root@bali:/server/FreeBSD/crash/1>gdb -k kernel.debug vmcore.4 
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD 3489792
initial pcb at 2c9460
panicstr: backgroundwritedone: lost buffer
panic messages:
---
dmesg: kvm_read: invalid address (f0403000)
---
#0  dumpsys () at /src/src-4/sys/kern/kern_shutdown.c:469
469             if (dumping++) {
(kgdb) where
#0  dumpsys () at /src/src-4/sys/kern/kern_shutdown.c:469
#1  0x0 in ?? ()


>How-To-Repeat:

The machine runs rock solid otherwise. I have seen the problem happening
a few times now but only when running the procedure as written above. It
does not happen always.

I don't know if it is softupdates related. I will disable softupdates
to see if it helps.

>Fix:

unknown

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


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?200012231336.eBNDaMp03117>