Comment 31 for bug 12519

Revision history for this message
Noel J. Bergman (noeljb) wrote :

Since the only message that appears anywhere with respect to the hotswap bay is:

    ata4: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xa frozen
    ata4: ACPI event

on the console (not the logs), I thought that the following might have some value. I had attached an eSATA drive on a SiiG eSATA ExpressCard. When I powered off the drive (it was not mounted), the following appeared in kern.log:

  Mar 15 11:27:35 noel-hardy kernel: [ 94.930433] ata2: exception Emask 0x10 SAct 0x0 SErr 0x80000 action 0xa frozen
  Mar 15 11:27:35 noel-hardy kernel: [ 94.930445] ata2: irq_stat 0x01140010, PHY RDY changed
  Mar 15 11:27:35 noel-hardy kernel: [ 94.930450] ata2: SError: { 10B8B }
  Mar 15 11:27:35 noel-hardy kernel: [ 94.930468] ata2: hard resetting link
  Mar 15 11:27:37 noel-hardy kernel: [ 95.148572] ata2: SATA link down (SStatus 0 SControl 0)
  Mar 15 11:27:37 noel-hardy kernel: [ 95.148591] ata2: failed to recover some devices, retrying in 5 secs
  Mar 15 11:27:42 noel-hardy kernel: [ 95.514751] ata2: hard resetting link
  Mar 15 11:27:44 noel-hardy kernel: [ 95.758041] ata2: SATA link down (SStatus 0 SControl 0)
  Mar 15 11:27:44 noel-hardy kernel: [ 95.758060] ata2: failed to recover some devices, retrying in 5 secs
  Mar 15 11:27:49 noel-hardy kernel: [ 96.099245] ata2: hard resetting link
  Mar 15 11:27:51 noel-hardy kernel: [ 96.320802] ata2: SATA link down (SStatus 0 SControl 0)
  Mar 15 11:27:51 noel-hardy kernel: [ 96.320821] ata2.00: disabled
  Mar 15 11:27:52 noel-hardy kernel: [ 96.436877] ata2: EH complete
  Mar 15 11:27:52 noel-hardy kernel: [ 96.436889] ata2.00: detaching (SCSI 1:0:0:0)
  Mar 15 11:27:52 noel-hardy kernel: [ 96.437129] sd 1:0:0:0: [sda] Synchronizing SCSI cache
  Mar 15 11:27:52 noel-hardy kernel: [ 96.437159] sd 1:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
  Mar 15 11:27:52 noel-hardy kernel: [ 96.437163] sd 1:0:0:0: [sda] Stopping disk
  Mar 15 11:27:52 noel-hardy kernel: [ 96.437168] sd 1:0:0:0: [sda] START_STOP FAILED
  Mar 15 11:27:52 noel-hardy kernel: [ 96.437169] sd 1:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK

and when powering the drive back on:

  Mar 15 11:36:23 noel-hardy kernel: [ 169.535591] ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xa frozen
  Mar 15 11:36:23 noel-hardy kernel: [ 169.535602] ata2: irq_stat 0x00b40090, PHY RDY changed
  Mar 15 11:36:23 noel-hardy kernel: [ 169.535621] ata2: hard resetting link
  Mar 15 11:36:33 noel-hardy kernel: [ 170.463754] ata2: softreset failed (timeout)
  Mar 15 11:36:33 noel-hardy kernel: [ 170.463767] ata2: hard resetting link
  Mar 15 11:36:41 noel-hardy kernel: [ 171.101536] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
  Mar 15 11:36:41 noel-hardy kernel: [ 171.102423] ata2.00: ATA-7: Hitachi HDS721010KLA330, GKAOA70M, max UDMA/133
  Mar 15 11:36:41 noel-hardy kernel: [ 171.102433] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103044] ata2.00: configured for UDMA/100
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103057] ata2: EH complete
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103440] scsi 1:0:0:0: Direct-Access ATA Hitachi HDS72101 GKAO PQ: 0 ANSI: 5
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103705] sd 1:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103835] sd 1:0:0:0: [sda] Write Protect is off
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103841] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103879] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103959] sd 1:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103979] sd 1:0:0:0: [sda] Write Protect is off
  Mar 15 11:36:41 noel-hardy kernel: [ 171.103984] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
  Mar 15 11:36:41 noel-hardy kernel: [ 171.104020] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  Mar 15 11:36:41 noel-hardy kernel: [ 171.104028] sda: sda1
  Mar 15 11:36:41 noel-hardy kernel: [ 171.122023] sd 1:0:0:0: [sda] Attached SCSI disk
  Mar 15 11:36:41 noel-hardy kernel: [ 171.122114] sd 1:0:0:0: Attached scsi generic sg0 type 0

But when I pull a drive from the hotswap bay, we just get those two lines to the console, and the system freezes.