The HP ProLiant DL160 G6 with HP Smart Array P410 restarts after about 250 tests smartctl SATA drives. I have two SATA drives on the 0 and 3 channel and two SAS drives on the 1 and 2 channel. So:
smartctl -a /dev/ciss0 -d sat+cciss,3
smartctl -a /dev/ciss0 -d sat+cciss,0
smartctl -a /dev/ciss0 -d cciss,2
The first and second line leading to reboot after ~ 250 repetitions, the third can run indefinitely.
There is nothing strange in /var/log/messages and dmesg.
I can repeat that. I run:
while(); do (/usr/local/sbin/smartctl -i -A -H /dev/ciss0 -d sat+cciss,3>/dev/null;date;) done
And after 250 cycles server rebooted.
smartmontools v. 6.3
FreeBSD 9.3-RELEASE-p2 #0: Mon Sep 15 16:44:27 UTC 2014 firstname.lastname@example.org:/usr/obj/usr/src/sys/GENERIC amd64
Fix Summary and notify maintainer.
It has nothing todo with smartmontools, which is userland application and should not reboot system in any case. I do not have such hardware and unable to debug this issue, but i would recommend to reassign it with to the ciss driver maintainers.
It is also possible that reboot is caused by buggy controller firmware which reacting to the SAT commands this way. In this case i would recommend to make sure that you are using latest firmware version available. Also it could be a good idea to check if this happens in Linux.
Reclassifying as kernel PR