Bug 201620 - mrsas ioctl failing
Summary: mrsas ioctl failing
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 14:35 UTC by David
Modified: 2015-07-16 14:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2015-07-16 14:35:14 UTC
Hardware: Dell R730, with a H330 mini controller

We are using the MegaCli (from ports) tool to monitor the state of the disks. But after a reboot, it stopped working. The systems is otherwise working as expected. At the same time we see messages like these in the log:

Jul 13 01:32:51 *** kernel: mrsas0: Cannot allocate ioctl data mem
Jul 13 01:33:30 *** kernel: mrsas0: Cannot allocate ioctl data mem
Jul 13 01:33:30 *** last message repeated 9 times
Jul 13 01:33:30 *** kernel: mrsas0: Failed to get a free cmd for IOCTL
Jul 13 01:33:30 *** last message repeated 17 times
Jul 13 01:33:30 *** kernel: mrsas0: Failed to get a free cmd for IOCTL
Jul 13 01:33:31 *** last message repeated 2 times
Jul 13 01:34:11 *** kernel: mrsas0: Failed to get a free cmd for IOCTL
Jul 13 01:34:11 *** kernel: mrsas0: Failed to get a free cmd for IOCTL
Jul 13 01:34:11 *** last message repeated 2 times


And last here are a few more details about the system:

# uname -a
FreeBSD *** 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

# sysctl dev.mrsas      
dev.mrsas.%parent: 
dev.mrsas.0.%desc: LSI Fury SAS Controller
dev.mrsas.0.%driver: mrsas
dev.mrsas.0.%location: slot=0 function=0
dev.mrsas.0.%pnpinfo: vendor=0x1000 device=0x005f subvendor=0x1028 subdevice=0x1f4b class=0x010400
dev.mrsas.0.%parent: pci2
dev.mrsas.0.disable_ocr: 0
dev.mrsas.0.driver_version: 06.704.01.01-fbsd
dev.mrsas.0.reset_count: 0
dev.mrsas.0.fw_outstanding: 1
dev.mrsas.0.io_cmds_highwater: 208
dev.mrsas.0.mrsas_debug: 4
dev.mrsas.0.mrsas_io_timeout: 180000
dev.mrsas.0.mrsas_fw_fault_check_delay: 1
dev.mrsas.0.reset_in_progress: 0