NetBSD Problem Report #41706

From bad@bsd.de  Sun Jul 12 15:04:37 2009
Return-Path: <bad@bsd.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 90B1B63B913
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Jul 2009 15:04:37 +0000 (UTC)
Message-Id: <20090712140154.1DE34122DB@sanctioned-parts-list.k.bsd.de>
Date: Sun, 12 Jul 2009 14:01:54 +0000 (UTC)
From: bad@bsd.de
Reply-To: bad@bsd.de
To: gnats-bugs@gnats.NetBSD.org
Subject: disk subsystem unresponsive after (recovered) disk failure
X-Send-Pr-Version: 3.95

>Number:         41706
>Category:       port-i386
>Synopsis:       after a failure of a componented disk of raid0 the disk subsystem became unresponsive
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 12 15:05:00 +0000 2009
>Closed-Date:    
>Last-Modified:  Mon Apr 30 23:58:20 +0000 2012
>Originator:     Christoph Badura
>Release:        NetBSD 5.0_STABLE as of 2009-07-02
>Organization:
netbsd bozotic software test labs

>Environment:


System: NetBSD sanctioned-parts-list 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0: Thu Jul 2 18:47:45 UTC 2009 root@arbitrary:/m/obj/m/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
Dmesg:
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0_STABLE (GENERIC) #0: Thu Jul  2 18:47:45 UTC 2009
	root@arbitrary:/m/obj/m/src/sys/arch/i386/compile/GENERIC
total memory = 2047 MB
avail memory = 2000 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Dell Computer Corporation PowerEdge 1400              
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 860MHz, id 0x686
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 11, 16 pins
ioapic1 at mainbus0 apid 2: pa 0xfec01000, version 11, 16 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <DELL  ,PE1400  ,00000002>, AslId <MSFT,0100000a>
LUSB: ACPI: Found matching pin for 0.15.INTA at func 2: 10
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 32-bit timer
npx1 at acpi0 (FPU, PNP0C04): io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
pcppi1 at acpi0 (SPK, PNP0800): io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x5f irq 0
FDC (PNP0700) at acpi0 not configured
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
COMA (PNP0501) at acpi0 not configured
COMB (PNP0501) at acpi0 not configured
PRT (PNP0401) at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1166 product 0x0009 (rev. 0x06)
pchb1 at pci0 dev 0 function 1
pchb1: vendor 0x1166 product 0x0009 (rev. 0x06)
pci1 at pchb1 bus 1
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ahc1 at pci1 dev 2 function 0: Adaptec aic7899 Ultra160 SCSI adapter
ahc1: interrupting at ioapic1 pin 14
ahc1: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ahc2 at pci1 dev 2 function 1: Adaptec aic7899 Ultra160 SCSI adapter
ahc2: interrupting at ioapic1 pin 15
ahc2: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc2: 16 targets, 8 luns per target
fxp0 at pci0 dev 2 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at ioapic1 pin 0
fxp0: May need receiver lock-up workaround
fxp0: Ethernet address 00:b0:d0:aa:f3:3c
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga1 at pci0 dev 14 function 0: vendor 0x1002 product 0x4752 (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
piixpm0 at pci0 dev 15 function 0
piixpm0: vendor 0x1166 product 0x0200 (rev. 0x50)
piixpm0: interrupting at SMIpiixpm0: polling
iic0 at piixpm0: I2C bus
rccide0 at pci0 dev 15 function 1
rccide0: ServerWorks OSB4 IDE Controller (rev. 0x00)
rccide0: bus-master DMA support present
rccide0: primary channel configured to compatibility mode
rccide0: primary channel interrupting at ioapic0 pin 14
atabus0 at rccide0 channel 0
rccide0: secondary channel configured to compatibility mode
rccide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at rccide0 channel 1
ohci0 at pci0 dev 15 function 2: vendor 0x1166 product 0x0220 (rev. 0x04)
ohci0: interrupting at ioapic0 pin 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
isa0 at mainbus0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: vendor 0x1166 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: vendor 0x0d7d USB DISK 2.0, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <HP, 9.10GB C 68-D94N, D94N> disk fixed
sd0: 8678 MB, 15110 cyl, 3 head, 392 sec, 512 bytes/sect x 17773524 sectors
sd0: sync (25.00ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <HP, 9.10GB C 68-D94N, D94N> disk fixed
sd1: 8678 MB, 15110 cyl, 3 head, 392 sec, 512 bytes/sect x 17773524 sectors
sd1: sync (25.00ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <CRD-8482B, , 1.05> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(rccide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA)
sd2 at scsibus1 target 2 lun 0: <SEAGATE, SX150176LC, BA0F> disk fixed
sd2: 47702 MB, 12024 cyl, 22 head, 369 sec, 512 bytes/sect x 97693755 sectors
sd2: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged queueing
sd3 at scsibus1 target 3 lun 0: <SEAGATE, SX150176LC, BA11> disk fixed
sd3: 47702 MB, 12024 cyl, 22 head, 369 sec, 512 bytes/sect x 97693755 sectors
sd3: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged queueing
sd4 at scsibus2 target 0 lun 0: <, USB DISK 2.0, PMAP> disk removable
sd4: 240 MB, 962 cyl, 16 head, 32 sec, 512 bytes/sect x 492544 sectors
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex
raid0: RAID Level 1
raid0: Components: /dev/sd0a /dev/sd1a
raid0: Total Sectors: 17248256 (8422 MB)
boot device: raid0
root on raid0a dumps on raid0b
root file system type: ffs
raid0: Device already configured!
raid1: Component /dev/sd2a being configured at col: 0
         Column: 0 Num Columns: 2
         Version: 2 Serial Number: 76763 Mod Counter: 80
         Clean: Yes Status: 0
raid1: Component /dev/sd3a being configured at col: 1
         Column: 1 Num Columns: 2
         Version: 2 Serial Number: 76763 Mod Counter: 80
         Clean: Yes Status: 0
raid1: RAID Level 1
raid1: Components: /dev/sd2a /dev/sd3a
raid1: Total Sectors: 97693568 (47701 MB)
cgd0: error 22
tap0: Ethernet address f2:0b:a4:74:97:0d
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

>Description:

sd1 failed on the above system a couple of days ago.  What I could see
on the console were the messages from ahc1 being reset.  sd1 became
unready and would no longer respond positivly to a TEST UNIT READY command
(firmware diagnostic failure given as the reason).

The system sat there for 2 more days without further kernel messages.
Pressing return on the console would produce a new login prompt from getty.
The system was pingable and did accept TCP connections (e.g. to the SSH port).
But no disk IO would happen and no error messages were printed.
IOW. the block IO subsystem seems to have been deadlocked at a high level.

>How-To-Repeat:

Provoke a hardware failure in a component of a raid set inducing the ahc
driver to perform a HBA reset.

>Fix:


>Release-Note:

>Audit-Trail:
From: Christoph Badura <bad@bsd.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/41706: disk subsystem unresponsive after (recovered) disk failure
Date: Sat, 18 Jul 2009 18:37:11 +0200

 I was "lucky" and the replacement disk for the previous one failed too
 causing the system to "lock up" with the exact same symptoms.

 This is what I find on the console:

 Pending list:
   3 SCB_CONTROL[0x60]
 SCB_SCSIID[0x17] SCB_LUN[0x0]
 Kernel Free SCB list: ... (everything but 3)

 <<< Dump Card State Ends >>>
 sg[0] - Addr 0x7c854ba0 : Length 512
 ahc0:Queuing a BDR SCB
 ahc0:Bus Device Reset Message Sent
 sd1(ahc0:0:1:0): ahc0: no loner in timeout, status = 0
 ahc0: Bus Device Reset on A:1. 1 SCBs aborted

 *hang*

 I've transcribed the following from DDB:

 db> dmesg
 ...
 wsdisplay0: screen 4 added (80x25, vt100 emulation)
 sd1(ahc0:0:1:0):  Check Condition on CDB: 0x2a 00 00 29 56 3f 00 00 10 00
     SENSE KEY:  Hardware Error
    INFO FIELD:  2709055
      ASC/ASCQ:  No Seek Complete
          SKSV:  Actual Retry Count: 1

 raid0: IO Error.  Marking /dev/sd1a as failed.
 ahc0:SCB 0x3 - timed out
 >>> Dump Card State Begins <<<
 ahc0: Dumping Card State while idle, at SEQADDR 0x9
 Card was paused
 ACCUM = 0x0, SINDEX = 0x9, DINDEX = 0xe4, ARG_2 = 0x0
 HCNT = 0x0 SCBPTR = 0x11
 SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0]
 LASTPHASE[0x1] SCSISEQ[0x12] SBLKCTL[0xa] SCSIRATE[0x0]
 SEQCTL[0x10] SEQ_FLAGS[0xc0] SSTAT0[0x0] SSTAT1[0x8]
 SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8] SIMODE1[0xa4]
 SXFRCTL0[0x80] DFCNTRL[0x0] DFSTATUS[0x89]
 STACK: 0x0 0x16b 0x111 0x3
 SCB count = 32
 Kernel NEXTQSCB = 5
 Card NEXTQSCB = 5
 QINFIFO entries:
 Waiting Queue entries:
 Disconnected Queue entries: 1:3
 QOUTFIFO entries:
 Sequencer Free SCB List: 17 11 8 5 2 22 6 16 12 21 10 15 20 7 19 9 14 4 18 13 3 0
  23 24 25 26 27 28 29 30 31
 Sequencer SCB Info:
   0 SCB_CONTROL[0xe0]
 SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
   1 SCB_CONTROL[0x64]
 SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x3]
   2 SCB_CONTROL[0xe0]
 SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0xff]
 ...
  15 SCB_CONTROL[0xe0]
 SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0xff]
  16 SCB_CONTROL[0xe0]
 SCB_SCSIID[0x7] SCB_LUN[0x0] SCB_TAG[0xff]
 ...
  23 SCB_CONTROL[0x0]
 SCB_SCSIID[0xff] SCB_LUN[0x0] SCB_TAG[0xff]
 ...
  31 SCB_CONTROL[0x0]
 SCB_SCSIID[0xff] SCB_LUN[0x0] SCB_TAG[0xff]
 Pending list:
   3 SCB_CONTROL[0x60]
 SCB_SCSIID[0x17] SCB_LUN[0x0]
 Kernel Free SCB list: 9 6 11 23 29 28 27 7 13 2 1 8 30 15 12 4 26 0 31 24 14 25 1
 0 22 21 20 19 18 17 16

 <<< Dump Card State Ends >>>
 sg[0] - Addr 0x7c854ba0 : Length 512
 ahc0:Queuing a BDR SCB
 ahc0:Bus Device Reset Message Sent
 sd1(ahc0:0:1:0): ahc0: no loner in timeout, status = 0
 ahc0: Bus Device Reset on A:1. 1 SCBs aborted

 db> ps/nw
 lots of cron hanging in tstile
 some in flt_noram5
 167 syslogd in biolock
 9291 postdrop in biowait

 db> tr/a cd7fba40 (cron)
 sleepq_block()
 turnstile_block()
 rw_vector_enter()
 vlockmgr()
 ffs_lock()
 VOP_LOCK()
 vn_lock()
 vget()
 ufs_ihashget()
 ffs_vget()
 ufs_root()
 lookup()
 namei()
 unp_connect()
 uipc_usrreq()
 soconnect()
 do_sys_connect()
 sys_connect()
 syscall()

 db> tr/a cd7ea020 (cron)
 [same]

 db> tr/a cd75d000 (cron)
 [same]

 db> tr/a cd445500 (cron)
 [same]

 db> tr/a cc2dad00 (postdrop)
 sleepq_block()
 cv_wait()
 bio_wait()
 genfs_do_io()
 genfs_gop_write()
 genfs_do_putpages()
 genfs_putpages()
 VOP_PUTPAGES()
 ffs_full_fsync()
 ffs_fsync()
 VOP_FSYNC()
 sys_fsync()
 syscall()

 db> tr/a cd1f6ae0 (sshd)
 sleepq_block()
 turnstile_block()
 rw_vector_enter()
 vlockmgr()
 ...
 ufs_root()
 lookup()
 namei()
 do_sys_stat()
 sys___stat30()
 syscall()

 db> tr/a cd1f6d60 (sshd)
 [same]

 db> tr/a cd1e40c0 (sshd)
 [same]

 db> tr/a cc2dad00 (postdrop, biowait)
 sleepq_block()
 cv_wait()
 biowait()
 genfs_do_io()
 genfs_gop_write()
 genfs_do_putpages()
 genfs_putpages()
 VOP_PUTPAGES
 ffs_full_fsync()
 ffs_fsync()
 VOP_FSYNC()
 sys_fsync()
 syscall()

 db> tr/a cbe09340 (syslogd, biolock)
 sleepq_block()
 cv_timedwait()
 bbusy()
 getblk()
 bio_doread()
 bread()
 ffs_realloccg()
 ffs_balloc_ufs1()
 ffs_balloc()
 ufs_gop_alloc()
 ufs_balloc_range()
 ffs_write()
 VOP_WRITE()
 vn_write()
 do_filewritev()
 sys_writev()
 syscall()

 Full dmesg output from the system:

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 5.0_STABLE (pe1400-dom0) #0: Sun Jul 12 16:44:17 UTC 2009
 	bad@arbitrary:/m/src/sys/arch/i386/compile/pe1400-dom0
 total memory = 128 MB
 avail memory = 114 MB
 timecounter: Timecounters tick every 10.000 msec
 mainbus0 (root)
 mainbus0: scanning 0x9e800 to 0x9ebf0 for MP signature
 mainbus0: scanning 0x9e400 to 0x9e7f0 for MP signature
 mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
 mainbus0: MP floating pointer found in bios at 0xfe710
 mainbus0: MP config table at 0xf0000, 432 bytes long
 cpu0 at mainbus0 apid 0: (boot processor)
 ioapic0 at mainbus0 apid 1: pa 0xfec00000, virtual wire mode, version 11, 16 pins
 ioapic1 at mainbus0 apid 2: pa 0xfec01000, virtual wire mode, version 11, 16 pins
 hypervisor0 at mainbus0: Xen version 3.1
 vcpu0 at hypervisor0: Intel 686-class, 860MHz, id 0x686
 debug virtual interrupt using event channel 1
 xenbus0 at hypervisor0: Xen Virtual Bus Interface
 xencons0 at hypervisor0: Xen Virtual Console Driver
 npx0 at hypervisor0: using exception 16
 acpi0 at hypervisor0: Intel ACPICA 20080321
 acpi0: X/RSDT: OemId <DELL  ,PE1400  ,00000002>, AslId <MSFT,0100000a>
 mpacpi: found root PCI bus 0 at level 1
 mpacpi: found root PCI bus 1 at level 1
 mpacpi: 2 PCI busses
 mpacpi: configuring PCI bus 0 int routing
 LUSB: ACPI: Found matching pin for 0.15.INTA at func 2: 10
 mpacpi: configuring PCI bus 1 int routing
 ioapic0: pin 0 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 5 attached to isa0 irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 9 attached to isa0 irq 9 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 10 attached to isa0 irq 10 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 11 attached to isa0 irq 11 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 13 attached to isa0 irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
 ioapic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
 local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
 local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
 linkdev LUSB attached to pci0 device 15 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 9 attached to pci0 device 4 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 10 attached to pci0 device 4 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 11 attached to pci0 device 4 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 12 attached to pci0 device 4 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 12 attached to pci0 device 6 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 11 attached to pci0 device 6 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 10 attached to pci0 device 6 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 9 attached to pci0 device 6 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 0 attached to pci0 device 2 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 14 attached to pci1 device 2 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 15 attached to pci1 device 2 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 1 attached to pci1 device 4 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 2 attached to pci1 device 4 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 3 attached to pci1 device 4 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 4 attached to pci1 device 4 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 4 attached to pci1 device 6 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 3 attached to pci1 device 6 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 2 attached to pci1 device 6 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 1 attached to pci1 device 6 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 5 attached to pci1 device 8 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 6 attached to pci1 device 8 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 7 attached to pci1 device 8 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 8 attached to pci1 device 8 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 8 attached to pci1 device 10 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 7 attached to pci1 device 10 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 6 attached to pci1 device 10 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic1: pin 5 attached to pci1 device 10 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
 ioapic0: int9 1a9a8<vector=a8,delmode=1,logical,actlo,level,masked,dest=0> 1000000<target=1>
 acpi0: SCI interrupting at int 9
 acpi0: fixed-feature power button present
 timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
 ACPI-Safe 32-bit timer
 FPU (PNP0C04) [Math Coprocessor] at acpi0 not configured
 SPK (PNP0800) [AT-style speaker sound] at acpi0 not configured
 TMR (PNP0100) [AT Timer] at acpi0 not configured
 FDC (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
 KBD (PNP0303) [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
 MOU (PNP0F13) [PS/2 Port for PS/2-style Mice] at acpi0 not configured
 COMA (PNP0501) [16550A-compatible COM port] at acpi0 not configured
 COMB (PNP0501) [16550A-compatible COM port] at acpi0 not configured
 PRT (PNP0401) [ECP printer port] at acpi0 not configured
 pci0 at hypervisor0 bus 0: configuration mode 1
 hypervisor0: added to list as bus 0
 pci0: i/o space, memory space enabled
 pchb0 at pci0 dev 0 function 0
 pchb0: ServerWorks CNB20-HE PCI/AGP bridge (rev. 0x06)
 pchb1 at pci0 dev 0 function 1
 pchb1: ServerWorks CNB20-HE PCI/AGP bridge (rev. 0x06)
 pci1 at pchb1 bus 1
 pchb1: added to list as bus 1
 pci1: i/o space, memory space enabled
 ahc0 at pci1 dev 2 function 0: Adaptec aic7899 Ultra160 SCSI adapter
 ioapic1: int14 1a9b0<vector=b0,delmode=1,logical,actlo,level,masked,dest=0> 1000000<target=1>
 ahc0: interrupting at ioapic1 pin 14, event channel 3
 ahc0: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
 scsibus0 at ahc0: 16 targets, 8 luns per target
 ahc1 at pci1 dev 2 function 1: Adaptec aic7899 Ultra160 SCSI adapter
 ioapic1: int15 1a9b8<vector=b8,delmode=1,logical,actlo,level,masked,dest=0> 1000000<target=1>
 ahc1: interrupting at ioapic1 pin 15, event channel 4
 ahc1: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
 scsibus1 at ahc1: 16 targets, 8 luns per target
 fxp0 at pci0 dev 2 function 0: i82559 Ethernet, rev 8
 ioapic1: int0 1a9c0<vector=c0,delmode=1,logical,actlo,level,masked,dest=0> 1000000<target=1>
 fxp0: interrupting at ioapic1 pin 0, event channel 5
 fxp0: May need receiver lock-up workaround
 fxp0: Ethernet address 00:b0:d0:aa:f3:3c
 inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 vga0 at pci0 dev 14 function 0: ATI Technologies Rage XL (rev. 0x27)
 wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
 drm at vga0 not configured
 pcib0 at pci0 dev 15 function 0
 pcib0: ServerWorks OSB4 southbridge (rev. 0x50)
 rccide0 at pci0 dev 15 function 1
 rccide0: ServerWorks OSB4 IDE Controller (rev. 0x00)
 rccide0: bus-master DMA support present
 rccide0: primary channel configured to compatibility mode
 ioapic0: int14 9c8<vector=c8,delmode=1,logical,dest=0> 1000000<target=1>
 rccide0: primary channel interrupting at ioapic0 pin 14, event channel 6
 atabus0 at rccide0 channel 0
 rccide0: secondary channel configured to compatibility mode
 ioapic0: int15 9d0<vector=d0,delmode=1,logical,dest=0> 1000000<target=1>
 rccide0: secondary channel interrupting at ioapic0 pin 15, event channel 7
 atabus1 at rccide0 channel 1
 ohci0 at pci0 dev 15 function 2: ServerWorks OSB4/CSB5 USB Host Controller (rev. 0x04)
 linkdev LUSB returned ACPI global irq 10, line 10
 ioapic0: int10 1a9d8<vector=d8,delmode=1,logical,actlo,level,masked,dest=0> 1000000<target=1>
 ohci0: interrupting at ioapic0 pin 10, event channel 8
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 isa0 at pcib0
 lpt0 at isa0 port 0x378-0x37b irq 7
 ioapic0: int7 921<vector=21,delmode=1,logical,dest=0> 1000000<target=1>
 com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
 ioapic0: int3 929<vector=29,delmode=1,logical,dest=0> 1000000<target=1>
 pckbc0 at isa0 port 0x60-0x64
 pckbd0 at pckbc0 (kbd slot)
 ioapic0: int1 931<vector=31,delmode=1,logical,dest=0> 1000000<target=1>
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pmsprobe: reset error 5
 Link Device LUSB:
 Index  IRQ  Rtd  Ref  IRQs
     0   10   Y     1  3 4 5 6 7 10 11 12 14 polarity 1 trigger 0

 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 Xen clock: using event channel 12
 timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality 10000
 xenbus0: using event channel 13
 scsibus0: waiting 2 seconds for devices to settle...
 scsibus1: waiting 2 seconds for devices to settle...
 IPsec: Initialized Security Association Processing.
 uhub0 at usb0: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 sd0 at scsibus0 target 0 lun 0: <HP, 9.10GB C 68-D94N, D94N> disk fixed
 sd0: 8678 MB, 15110 cyl, 3 head, 392 sec, 512 bytes/sect x 17773524 sectors
 sd0: sync (25.00ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
 sd1 at scsibus0 target 1 lun 0: <HP, 9.10GB C 68-D94N, D94N> disk fixed
 sd1(ahc0:0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable

 sd1: drive offline
 sd1: sync (25.00ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
 umass0 at uhub0 port 2 configuration 1 interface 0
 umass0: Pen Drive USB DISK 2.0, rev 2.00/1.00, addr 2
 umass0: using SCSI over Bulk-Only
 scsibus2 at umass0: 2 targets, 1 lun per target
 atapibus0 at atabus0: 2 targets
 cd0 at atapibus0 drive 0: <CRD-8482B, , 1.05> cdrom removable
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
 cd0(rccide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA)
 sd2 at scsibus1 target 2 lun 0: <SEAGATE, SX150176LC, BA0F> disk fixed
 sd2: 47702 MB, 12024 cyl, 22 head, 369 sec, 512 bytes/sect x 97693755 sectors
 sd2: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged queueing
 sd3 at scsibus1 target 3 lun 0: <SEAGATE, SX150176LC, BA11> disk fixed
 sd3: 47702 MB, 12024 cyl, 22 head, 369 sec, 512 bytes/sect x 97693755 sectors
 sd3: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged queueing
 sd4 at scsibus2 target 0 lun 0: <, USB DISK 2.0, PMAP> disk removable
 sd4: 240 MB, 962 cyl, 16 head, 32 sec, 512 bytes/sect x 492544 sectors
 raidattach: Asked for 8 units
 Kernelized RAIDframe activated
 Searching for RAID components...
 Component on: sd0a: 17248329
    Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
    Version: 2 Serial Number: 39713 Mod Counter: 108
    Clean: No Status: 0
    sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
    RAID Level: 1  blocksize: 512 numBlocks: 17248256
    Autoconfig: Yes
    Contains root partition: Yes
    Last configured as: raid0
 sd1(ahc0:0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable

 sd1(ahc0:0:1:0):  Check Condition on CDB: 0x1b 00 00 00 01 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable

 Component on: sd2a: 97693755
    Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
    Version: 2 Serial Number: 76763 Mod Counter: 97
    Clean: No Status: 0
    sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
    RAID Level: 1  blocksize: 512 numBlocks: 97693568
    Autoconfig: No
    Contains root partition: No
    Last configured as: raid1
 Component on: sd3a: 97693755
    Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
    Version: 2 Serial Number: 76763 Mod Counter: 97
    Clean: No Status: 0
    sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
    RAID Level: 1  blocksize: 512 numBlocks: 97693568
    Autoconfig: No
    Contains root partition: No
    Last configured as: raid1
 Found: sd0a at 0
 RAID autoconfigure
 Configuring raid0:
 Starting autoconfiguration of RAID set...
 Looking for 0 in autoconfig
 Found: sd0a at 0
 Looking for 1 in autoconfig
 raid0: allocating 20 buffers of 65536 bytes.
 raid0: RAID Level 1
 raid0: Components: /dev/sd0a component1[**FAILED**]
 raid0: Total Sectors: 17248256 (8422 MB)
 raid0: configured ok
 Found: sd2a at 0
 Found: sd3a at 1
 boot device: raid0
 root on raid0a dumps on raid0b
 mountroot: trying lfs...
 mountroot: trying ffs...
 root file system type: ffs
 WARNING: clock gained 4 days
 WARNING: CHECK AND RESET THE DATE!
 init: copying out path `/sbin/init' 11
 raid0: Device already configured!
 raid1: Summary of serial numbers:
 76763 2
 raid1: Summary of mod counters:
 97 2
 raid1: Component /dev/sd2a being configured at col: 0
          Column: 0 Num Columns: 2
          Version: 2 Serial Number: 76763 Mod Counter: 97
          Clean: No Status: 0
 /dev/sd2a is not clean!
 raid1: Component /dev/sd3a being configured at col: 1
          Column: 1 Num Columns: 2
          Version: 2 Serial Number: 76763 Mod Counter: 97
          Clean: No Status: 0
 /dev/sd3a is not clean!
 raid1: allocating 20 buffers of 65536 bytes.
 raid1: RAID Level 1
 raid1: Components: /dev/sd2a /dev/sd3a
 raid1: Total Sectors: 97693568 (47701 MB)
 cgd0: error 22
 sd1(ahc0:0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable

 sd1(ahc0:0:1:0):  Check Condition on CDB: 0x1b 00 00 00 01 00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable

 sd2(ahc1:0:2:0):  Check Condition on CDB: 0x28 00 02 da ff 04 00 00 20 00
     SENSE KEY:  Recovered Error
    INFO FIELD:  47906564
      ASC/ASCQ:  Recovered Data With Error Correction & Retries Applied
      FRU CODE:  0xe4
          SKSV:  Actual Retry Count: 1

 tap0: Ethernet address f2:0b:a4:77:b3:0a
 wsdisplay0: screen 4 added (80x25, vt100 emulation)
 raid0: Error re-writing parity!

 --chris

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
        netbsd-bugs@NetBSD.org
Subject: Re: port-i386/41706: disk subsystem unresponsive after (recovered) disk failure
Date: Tue, 28 Jul 2009 21:58:59 +0200

 On Sun, Jul 12, 2009 at 03:05:00PM +0000, bad@bsd.de wrote:
 > >Description:
 > 	
 > sd1 failed on the above system a couple of days ago.  What I could see
 > on the console were the messages from ahc1 being reset.  sd1 became
 > unready and would no longer respond positivly to a TEST UNIT READY command
 > (firmware diagnostic failure given as the reason).
 > 
 > The system sat there for 2 more days without further kernel messages.
 > Pressing return on the console would produce a new login prompt from getty.
 > The system was pingable and did accept TCP connections (e.g. to the SSH port).
 > But no disk IO would happen and no error messages were printed.
 > IOW. the block IO subsystem seems to have been deadlocked at a high level.

 This is an issue with timeouts in the ahc driver (I found with a tape drive
 where some mt or chio operation would take too long). I have a patch for this
 (on a powered down system, I'll have a look tomorow).
 from memory, the workaround was to not send BDR message and directly do a
 bus reset.

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
        netbsd-bugs@NetBSD.org
Subject: Re: port-i386/41706: disk subsystem unresponsive after (recovered)
	disk failure
Date: Wed, 29 Jul 2009 18:43:27 +0200

 --AhhlLboLdkugWU4S
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 On Tue, Jul 28, 2009 at 09:58:59PM +0200, Manuel Bouyer wrote:
 > On Sun, Jul 12, 2009 at 03:05:00PM +0000, bad@bsd.de wrote:
 > > >Description:
 > > 	
 > > sd1 failed on the above system a couple of days ago.  What I could see
 > > on the console were the messages from ahc1 being reset.  sd1 became
 > > unready and would no longer respond positivly to a TEST UNIT READY command
 > > (firmware diagnostic failure given as the reason).
 > > 
 > > The system sat there for 2 more days without further kernel messages.
 > > Pressing return on the console would produce a new login prompt from getty.
 > > The system was pingable and did accept TCP connections (e.g. to the SSH port).
 > > But no disk IO would happen and no error messages were printed.
 > > IOW. the block IO subsystem seems to have been deadlocked at a high level.
 > 
 > This is an issue with timeouts in the ahc driver (I found with a tape drive
 > where some mt or chio operation would take too long). I have a patch for this
 > (on a powered down system, I'll have a look tomorow).
 > from memory, the workaround was to not send BDR message and directly do a
 > bus reset.

 Attached is the patch I used. I also fixed the value of
 CAM_CMD_TIMEOUT so it doens't match XS_TIMEOUT only by accident.

 -- 
 Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
      NetBSD: 26 ans d'experience feront toujours la difference
 --

 --AhhlLboLdkugWU4S
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="aic_rst.diff"

 Index: aic7xxx_cam.h
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/ic/aic7xxx_cam.h,v
 retrieving revision 1.4
 diff -u -p -u -r1.4 aic7xxx_cam.h
 --- aic7xxx_cam.h	14 Mar 2006 15:24:30 -0000	1.4
 +++ aic7xxx_cam.h	29 Jul 2009 16:27:42 -0000
 @@ -71,7 +71,7 @@ typedef enum {
  	CAM_REQ_INVALID = XS_DRIVER_STUFFUP,	/* CCB request was invalid */
  	CAM_PATH_INVALID,			/* Supplied Path ID is invalid */
  	CAM_SEL_TIMEOUT = XS_SELTIMEOUT,	/* Target Selection Timeout */
 -	CAM_CMD_TIMEOUT,			/* Command timeout */
 +	CAM_CMD_TIMEOUT = XS_TIMEOUT,		/* Command timeout */
  	CAM_SCSI_STATUS_ERROR,			/* SCSI error, look at error code in CCB */
  	CAM_SCSI_BUS_RESET = XS_RESET,		/* SCSI Bus Reset Sent/Received */
  	CAM_UNCOR_PARITY = XS_DRIVER_STUFFUP,	/* Uncorrectable parity error occurred */
 Index: aic7xxx_osm.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/ic/aic7xxx_osm.c,v
 retrieving revision 1.27
 diff -u -p -u -r1.27 aic7xxx_osm.c
 --- aic7xxx_osm.c	8 Apr 2008 12:07:25 -0000	1.27
 +++ aic7xxx_osm.c	29 Jul 2009 16:27:42 -0000
 @@ -787,7 +787,7 @@ ahc_timeout(void *arg)
  			       scb->sg_list[i].len & AHC_SG_LEN_MASK);
  		}
  	}
 -	if (scb->flags & (SCB_DEVICE_RESET|SCB_ABORT)) {
 +	if (1 /* scb->flags & (SCB_DEVICE_RESET|SCB_ABORT) */) {
  		/*
  		 * Been down this road before.
  		 * Do a full bus reset.

 --AhhlLboLdkugWU4S--

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org
Subject: Re: port-i386/41706: disk subsystem unresponsive after (recovered)
	disk failure
Date: Wed, 12 Aug 2009 17:18:41 +0200

 On Tue, Jul 28, 2009 at 09:58:59PM +0200, Manuel Bouyer wrote:
 > This is an issue with timeouts in the ahc driver (I found with a tape drive
 > where some mt or chio operation would take too long). I have a patch for this
 > (on a powered down system, I'll have a look tomorow).
 > from memory, the workaround was to not send BDR message and directly do a
 > bus reset.

 Can you test the patch from kern/41867 ? It did work for my slow tape drive.

 -- 
 Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Christoph Badura <bad@bsd.de>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: port-i386/41706: disk subsystem unresponsive after (recovered) disk failure
Date: Fri, 14 Aug 2009 13:42:08 +0200

 On Wed, Aug 12, 2009 at 05:05:03PM +0000, Manuel Bouyer wrote:
 >  Can you test the patch from kern/41867 ? It did work for my slow tape drive.

 Sorry, I don't have the machine free for testing and won't until October 
 at the earliest.

 --chris

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 16 Aug 2009 05:46:34 +0000
State-Changed-Why:
gnats will remind you :-)


From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/41706: disk subsystem unresponsive after (recovered)
 disk failure
Date: Fri, 15 Oct 2010 03:24:16 +0000

  >> On Fri, Aug 14, 2009 at 12:20:04PM +0000, Christoph Badura wrote:
  >> Sorry, I don't have the machine free for testing and won't until October 
  >> at the earliest.
  >
  > gnats will remind you :-)

 It's been two octobers now... any likelihood at this point or should
 some other course be taken?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Christoph Badura <bad@bsd.de>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org
Subject: Re: port-i386/41706: disk subsystem unresponsive after (recovered)
 disk failure
Date: Thu, 4 Nov 2010 22:51:40 +0100

 On Fri, Oct 15, 2010 at 03:25:02AM +0000, David Holland wrote:
 >  It's been two octobers now... any likelihood at this point or should
 >  some other course be taken?

 Unfortunately the likelihood hasn't improved in the last year.  In fact,
 I can't seem to remember what disks to use to reproduce the problem.

 I don't know what other course you'd want to take.  Clearly someone needs
 to test the suggested change.

 --chris

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/41706: disk subsystem unresponsive after (recovered)
 disk failure
Date: Mon, 8 Nov 2010 03:03:03 +0000

 On Thu, Nov 04, 2010 at 09:55:02PM +0000, Christoph Badura wrote:
  >>  It's been two octobers now... any likelihood at this point or should
  >>  some other course be taken?
  >  
  >  Unfortunately the likelihood hasn't improved in the last year.  In fact,
  >  I can't seem to remember what disks to use to reproduce the problem.

 That's kind of what I figured.

  >  I don't know what other course you'd want to take.  Clearly someone needs
  >  to test the suggested change.

 Well, looking for someone else to test it would be one possibility.

 I have a machine with an ahc that I've seen lock up after a drive
 failure, so in theory I could test the patch by e.g. sticking some
 fault injection into sd.c. That's going to need round tuits, though.

 I'll mark the PR "stuck" so it shows up on the list of PRs looking for
 external assistance, anyway.

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 30 Apr 2012 23:58:20 +0000
State-Changed-Why:
PR is marked stuck, should not also be in feedback


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.