Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 1999 00:20:02 -0700 (PDT)
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/11226: Invalid files on disk after fsync
Message-ID:  <199909120720.AAA78735@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/11226; it has been noted by GNATS.

From: "Ted Mittelstaedt" <tedm@toybox.placo.com>
To: <freebsd-gnats-submit@freebsd.org>, <milt@moth.vicor-nb.com>
Cc:  
Subject: Re: kern/11226: Invalid files on disk after fsync
Date: Sun, 12 Sep 1999 00:20:39 -0700

 Hi All,
 
   I was struck by the similarities between this and what happens with our
 news server.
 
   Once every 2 or 3 months I come in to find the server rebooted itself
 during the night - and I'm sure it's due to a SCSI error because the news
 spool is always scrambled.  Usually, multiple invocations of fsck will
 eventually clear the garbage out but I've had to regenerate the spools once
 because of it.
 
   The only one time that I have ever seen anything in the message log
 regarding this is a rather cryptic log entry:
 
 Aug 11 06:12:59 herald /kernel: biodone: buffer already done
 
 This was made seconds before the system rebooted itself during one of those
 times.
 
 The server has done up to 2 million articles in a day and I'm sure that it's
 during the peak times that this has happened.
 
 I suspect there is some sequencing bug or other within the Adaptec SCSI
 driver - of course I'm running with all go-fast options turned on including
 async mounts on the spools.  Output of dmesg follows:
 
 # dmesg
 Copyright (c) 1992-1998 FreeBSD Inc.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
         The Regents of the University of California.  All rights reserved.
 
 FreeBSD 2.2.8-RELEASE #0: Mon Jan 25 00:50:14 PST 1999
     tedm@herald.ipinc.net:/usr/src/sys/compile/HERALD
 CPU: Pentium/P54C (166.19-MHz 586-class CPU)
   Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
 real memory  = 134217728 (131072K bytes)
 avail memory = 129216512 (126188K bytes)
 Probing for devices on PCI bus 0:
 chip0 <Intel 82439> rev 3 on pci0:0:0
 ahc0 <Adaptec 2940A Ultra SCSI host adapter> rev 1 int a irq 9 on pci0:2:0
 ahc0: aic7860 Single Channel, SCSI Id=7, 3/8 SCBs
 ahc0 waiting for scsi devices to settle
 ahc0: target 0 Tagged Queuing Device
 (ahc0:0:0): "SEAGATE ST51080N 0958" type 0 fixed SCSI 2
 sd0(ahc0:0:0): Direct-Access 1030MB (2109840 512 byte sectors)
 ahc1 <Adaptec 2940 Ultra SCSI host adapter> rev 1 int a irq 9 on pci0:3:0
 ahc1: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs
 ahc1 waiting for scsi devices to settle
 Sending SDTR!!
 ahc1: target 4 Tagged Queuing Device
 (ahc1:4:0): "IBM OEM DCHS09F 2222" type 0 fixed SCSI 2
 sd1(ahc1:4:0): Direct-Access 8689MB (17796077 512 byte sectors)
 Sending SDTR!!
 ahc1: target 5 Tagged Queuing Device
 (ahc1:5:0): "IBM OEM DCHS09F 2222" type 0 fixed SCSI 2
 sd2(ahc1:5:0): Direct-Access 8689MB (17796077 512 byte sectors)
 Sending SDTR!!
 ahc1: target 6 Tagged Queuing Device
 (ahc1:6:0): "IBM OEM DCHS09F 2222" type 0 fixed SCSI 2
 sd3(ahc1:6:0): Direct-Access 8689MB (17796077 512 byte sectors)
 ahc2 <Adaptec 2940 Ultra SCSI host adapter> rev 1 int a irq 10 on pci0:4:0
 ahc2: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs
 ahc2 waiting for scsi devices to settle
 ahc2: target 0 Tagged Queuing Device
 (ahc2:0:0): "SEAGATE ST39102LW 0005" type 0 fixed SCSI 2
 sd4(ahc2:0:0): Direct-Access 8683MB (17783240 512 byte sectors)
 ahc2: target 1 Tagged Queuing Device
 (ahc2:1:0): "SEAGATE ST39102LW 0005" type 0 fixed SCSI 2
 sd5(ahc2:1:0): Direct-Access 8683MB (17783240 512 byte sectors)
 ahc2: target 2 Tagged Queuing Device
 (ahc2:2:0): "SEAGATE ST39102LW 0005" type 0 fixed SCSI 2
 sd6(ahc2:2:0): Direct-Access 8683MB (17783240 512 byte sectors)
 chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
 chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
 vga0 <VGA-compatible display device> rev 0 on pci0:15:0
 Probing for devices on the ISA bus:
 sc0 at 0x60-0x6f irq 1 on motherboard
 sc0: VGA color <16 virtual consoles, flags=0x0>
 ed0 at 0x300-0x31f irq 5 maddr 0xdc000 msize 16384 on isa
 ed0: address 00:00:c0:1e:eb:23, type WD8013W (16 bit)
 sio0 at 0x3f8-0x3ff irq 4 on isa
 sio0: type 16550A
 lpt0 at 0x378-0x37f irq 7 on isa
 lpt0: Interrupt-driven port
 lp0: TCP/IP capable interface
 psm0 at 0x60-0x64 irq 12 on motherboard
 psm0: model Generic PS/2 mouse, device ID 0
 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): <685A/8.4D>, removable, dma, iordy
 wcd0: 1171KB/sec, 120KB cache, audio play, 255 volume levels, ejectable tray
 wcd0: no disc inside, unlocked
 npx0 flags 0x1 on motherboard
 npx0: INT 16 interface
 Intel Pentium F00F detected, installing workaround
 ccd0-1: Concatenated disk drivers
 
 Ted
 
 


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?199909120720.AAA78735>