aacraid: ioctl hang (4.5-rc4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

I've see this on multiple machines here with various kernels and
hardware configurations, the most canonical being:

hardware: HP Z840 + ASR8405 (4 x HGST raid 6 formatted as xfs)

Z840 firmware: v01.16
ASR8405 firmware: 7.8-0 (32730)

kernel: 4.5.4.rc4 tip with command line options 'ro single'

(Adaptec driver 1.2-1 (41024))

However the same thing happens with 2 and 4 x ASR81605ZQ on a Supermicro
motherboard with the Adaptec 1.2.1-40300 driver. The 30200 driver, fwiw,
causes a kernel panic (page fault in aac_intr_normal).

To reproduce, queue up a bunch of write requests:

# dd if=/dev/zero of=/file/on/raid &

then in a loop, run 'arcconf getversion' repeatedly. I'm using arcconf
1.7 (B21229)

Within thirty seconds or so (less than 100 repeats) arcconf hangs with
userspace stack:

#0  0x00007f60103a9a47 in ioctl () from /lib64/libc.so.6
#1  0x000000000059f4bc in faos_SendReceiveFIB(FSAAPI_CONTEXT*, _FIB*,
unsigned int) ()
#2  0x000000000056de3f in FsaInternalSendReceiveFib(FSAAPI_CONTEXT*,
_FIB*, int, unsigned int) ()
#3  0x000000000058da76 in FsaGetAdapterSasPhyInfo ()
#4  0x00000000004f97ea in ArcAdapter::initSasPhyInfo(Ret&) ()
#5  0x0000000000507516 in ArcAdapter::buildChildren(Ret&) ()
#6  0x0000000000533486 in ArcSystem::buildChildren(StorLib*, Ret&) ()
#7  0x0000000000492170 in StorLib::getSystemConfig() ()
#8  0x00000000004289c0 in main ()

The kernel's stuck in down_interruptible() called from aac_fib_send().
^C releases it (but you can repeat the experiment.)

I've done a small amount of digging and afaict the controller issues an
interrupt when the request completes, but the driver doesn't call up()
because the XFerState in the reply doesn't match to the request.

sent: 1010a1
rcvd: 804832ad

I don't really know enough about the controller protocol to debug this
further.

First things first I'd be grateful if somebody could confirm the hang.

--
Roger


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux