[Bug 200993] camcontrol commands results in Periph destroyed on mrsas

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 20 16:26:58 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200993

            Bug ID: 200993
           Summary: camcontrol commands results in Periph destroyed on
                    mrsas
           Product: Base System
           Version: 10.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: phil at dip.host

FreeBSD 10.1 amd64 on Dell R530 server

camcontrol identify ...
smartctl -a  ...
detach disk with message:
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
da0: <ATA EDGE Boost Pro P BBF0> s/n WZ141217AS1648620    detached
(da0:mrsas0:1:0:0): Periph destroyed

But camcontrol rescan sometimes return disk

# smartctl -a /dev/da0
# camcontrol rescan 1:0:0
# camcontrol identify /dev/da0
# MegaCli -FwTermLog -Dsply -a0
�06/20/15 12:29:19: C0:EVT#02773-06/20/15 12:29:19: 113=Unexpected sense: PD
00(e0x20/s0) Path 4433221104000000, CDB: 00 00 00 00 00 00, Sense: 1/00/1d
�06/20/15 12:32:56: C0:SysDma: localAddrPlb 50e0241070, localAddr e0241070 00
00 1d 00 00 00 00
06/20/15 16:07:36: C0:EVT#02781-06/20/15 16:07:36: 113=Unexpected sense: PD
07(e0x20/s7) Path 4433221103000000, CDB: 1b 00 00 00 02 00, Sense: 5/24/00

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

# sysctl -a | grep mrsas
device    mrsas
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
(da0:mrsas0:1:0:0): Periph destroyed
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
(da0:mrsas0:1:0:0): Periph destroyed
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
(da0:mrsas0:1:0:0): Periph destroyed
da0 at mrsas0 bus 1 scbus1 target 0 lun 0
da7 at mrsas0 bus 1 scbus1 target 7 lun 0
hw.mfi.mrsas_enable: 1
dev.mrsas.%parent: 
dev.mrsas.0.%desc: LSI Invader SAS Controller
dev.mrsas.0.%driver: mrsas
dev.mrsas.0.%location: slot=0 function=0
dev.mrsas.0.%pnpinfo: vendor=0x1000 device=0x005d subvendor=0x1028
subdevice=0x1f49 class=0x010400
dev.mrsas.0.%parent: pci1
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: 0
dev.mrsas.0.io_cmds_highwater: 84
dev.mrsas.0.mrsas_debug: 9
dev.mrsas.0.mrsas_io_timeout: 180000
dev.mrsas.0.mrsas_fw_fault_check_delay: 1
dev.mrsas.0.reset_in_progress: 0


# MegaCli -AdpAllInfo -aAll

Adapter #0

==============================================================================
                    Versions
                ================
Product Name    : PERC H730 Mini
Serial No       : 4CF01GX
FW Package Build: 25.2.1.0037

                    Mfg. Data
                ================
Mfg. Date       : 12/18/14
Rework Date     : 12/18/14
Revision No     : A00
Battery FRU     : N/A

                Image Versions in Flash:
                ================
BIOS Version       : 6.18.02.0_4.16.07.00_0x06070400
Ctrl-R Version     : 5.03-0010
FW Version         : 4.240.00-3615
NVDATA Version     : 3.1310.00-0081
Boot Block Version : 3.02.00.00-0000

                Pending Images in Flash
                ================
None

                PCI Info
                ================
Controller Id    : 0000
Vendor Id       : 1000
Device Id       : 005d
SubVendorId     : 1028
SubDeviceId     : 1f49

Host Interface  : PCIE

ChipRevision    : C0

Link Speed          : 3 
Number of Frontend Port: 0 
Device Interface  : PCIE

Number of Backend Port: 8 
Port  :  Address
0        4433221100000000 
1        4433221101000000 
2        4433221102000000 
3        4433221103000000 
4        4433221104000000 
5        4433221105000000 
6        4433221106000000 
7        4433221107000000 

                HW Configuration
                ================
SAS Address      : 544a84200655a100
BBU              : Present
Alarm            : Absent
NVRAM            : Present
Serial Debugger  : Present
Memory           : Present
Flash            : Present
Memory Size      : 1024MB
TPM              : Absent
On board Expander: Absent
Upgrade Key      : Absent
Temperature sensor for ROC    : Present
Temperature sensor for controller    : Present

ROC temperature : 33  degree Celsius
Controller temperature : 33  degree Celcius

                Settings
                ================
Current Time                     : 16:24:37 6/20, 2015
Predictive Fail Poll Interval    : 300sec
Interrupt Throttle Active Count  : 16
Interrupt Throttle Completion    : 50us
Rebuild Rate                     : 30%
PR Rate                          : 30%
BGI Rate                         : 30%
Check Consistency Rate           : 30%
Reconstruction Rate              : 30%
Cache Flush Interval             : 4s
Max Drives to Spinup at One Time : 4
Delay Among Spinup Groups        : 12s
Physical Drive Coercion Mode     : 128MB
Cluster Mode                     : Disabled
Alarm                            : Disabled
Auto Rebuild                     : Enabled
Battery Warning                  : Enabled
Ecc Bucket Size                  : 255
Ecc Bucket Leak Rate             : 240 Minutes
Restore HotSpare on Insertion    : Disabled
Expose Enclosure Devices         : Disabled
Maintain PD Fail History         : Disabled
Host Request Reordering          : Enabled
Auto Detect BackPlane Enabled    : SGPIO/i2c SEP
Load Balance Mode                : Auto
Use FDE Only                     : Yes
Security Key Assigned            : No
Security Key Failed              : No
Security Key Not Backedup        : No
Default LD PowerSave Policy      : Controller Defined
Maximum number of direct attached drives to spin up in 1 min : 0 
Auto Enhanced Import             : No
Any Offline VD Cache Preserved   : No
Allow Boot with Preserved Cache  : No
Disable Online Controller Reset  : No
PFK in NVRAM                     : No
Use disk activity for locate     : No
POST delay             : 90 seconds
BIOS Error Handling               : Pause on Errors
Current Boot Mode           :Normal
                Capabilities
                ================
RAID Level Supported             : RAID0, RAID1, RAID5, RAID6, RAID10, RAID50,
RAID60, PRL 11, PRL 11 with spanning, PRL11-RLQ0 DDF layout with no span,
PRL11-RLQ0 DDF layout with span
Supported Drives                 : SAS, SATA

Allowed Mixing:

Mix in Enclosure Allowed

                Status
                ================
ECC Bucket Count                 : 0

                Limitations
                ================
Max Arms Per VD          : 32 
Max Spans Per VD         : 8 
Max Arrays               : 128 
Max Number of VDs        : 64 
Max Parallel Commands    : 928 
Max SGE Count            : 60 
Max Data Transfer Size   : 8192 sectors 
Max Strips PerIO         : 42 
Max LD per array         : 16 
Min Strip Size           : 64 KB
Max Strip Size           : 1.0 MB
Max Configurable CacheCade Size: 0 GB
Current Size of CacheCade      : 0 GB
Current Size of FW Cache       : 0 MB

                Device Present
                ================
Virtual Drives    : 0 
  Degraded        : 0 
  Offline         : 0 
Physical Devices  : 9 
  Disks           : 8 
  Critical Disks  : 0 
  Failed Disks    : 0 

                Supported Adapter Operations
                ================
Rebuild Rate                    : Yes
CC Rate                         : Yes
BGI Rate                        : Yes
Reconstruct Rate                : Yes
Patrol Read Rate                : Yes
Alarm Control                   : Yes
Cluster Support                 : No
BBU                             : Yes
Spanning                        : Yes
Dedicated Hot Spare             : Yes
Revertible Hot Spares           : Yes
Foreign Config Import           : Yes
Self Diagnostic                 : Yes
Allow Mixed Redundancy on Array : No
Global Hot Spares               : Yes
Deny SCSI Passthrough           : No
Deny SMP Passthrough            : No
Deny STP Passthrough            : No
Support Security                : Yes
Snapshot Enabled                : No
Support the OCE without adding drives : Yes
Support PFK                     : No
Support PI                      : Yes
Support Boot Time PFK Change    : No
Disable Online PFK Change       : No
Support LDPI Type1                      : No
Support LDPI Type2                      : Yes
Support LDPI Type3                      : No
Support Shield State            : Yes
Block SSD Write Disk Cache Change: No
Support Online FW Update    : Yes

                Supported VD Operations
                ================
Read Policy          : Yes
Write Policy         : Yes
IO Policy            : Yes
Access Policy        : Yes
Disk Cache Policy    : Yes
Reconstruction       : Yes
Deny Locate          : No
Deny CC              : No
Allow Ctrl Encryption: No
Enable LDBBM         : Yes
Support Breakmirror  : Yes
Power Savings        : Yes

                Supported PD Operations
                ================
Force Online                            : Yes
Force Offline                           : Yes
Force Rebuild                           : Yes
Deny Force Failed                       : No
Deny Force Good/Bad                     : No
Deny Missing Replace                    : No
Deny Clear                              : No
Deny Locate                             : No
Support Temperature                     : Yes
NCQ                                     : No
Disable Copyback                        : No
Enable JBOD                             : Yes
Enable Copyback on SMART                : Yes
Enable Copyback to SSD on SMART Error   : Yes
Enable SSD Patrol Read                  : No
PR Correct Unconfigured Areas           : Yes
Enable Spin Down of UnConfigured Drives : No
Disable Spin Down of hot spares         : Yes
Spin Down time                          : 30 
T10 Power State                         : Yes
                Error Counters
                ================
Memory Correctable Errors   : 0 
Memory Uncorrectable Errors : 0 

                Cluster Information
                ================
Cluster Permitted     : No
Cluster Active        : No

                Default Settings
                ================
Phy Polarity                     : 0 
Phy PolaritySplit                : 0 
Background Rate                  : 30 
Strip Size                       : 64kB
Flush Time                       : 4 seconds
Write Policy                     : WB
Read Policy                      : Adaptive
Cache When BBU Bad               : Disabled
Cached IO                        : No
SMART Mode                       : Mode 6
Alarm Disable                    : No
Coercion Mode                    : 128MB
ZCR Config                       : Unknown
Dirty LED Shows Drive Activity   : No
BIOS Continue on Error           : 1 
Spin Down Mode                   : None
Allowed Device Type              : SAS/SATA Mix
Allow Mix in Enclosure           : Yes
Allow HDD SAS/SATA Mix in VD     : No
Allow SSD SAS/SATA Mix in VD     : No
Allow HDD/SSD Mix in VD          : No
Allow SATA in Cluster            : No
Max Chained Enclosures           : 4 
Disable Ctrl-R                   : No
Enable Web BIOS                  : No
Direct PD Mapping                : Yes
BIOS Enumerate VDs               : Yes
Restore Hot Spare on Insertion   : No
Expose Enclosure Devices         : No
Maintain PD Fail History         : No
Disable Puncturing               : No
Zero Based Enclosure Enumeration : Yes
PreBoot CLI Enabled              : No
LED Show Drive Activity          : Yes
Cluster Disable                  : Yes
SAS Disable                      : No
Auto Detect BackPlane Enable     : SGPIO/i2c SEP
Use FDE Only                     : Yes
Enable Led Header                : No
Delay during POST                : 0 
EnableCrashDump                  : No
Disable Online Controller Reset  : No
EnableLDBBM                      : Yes
Un-Certified Hard Disk Drives    : Allow
Treat Single span R1E as R10     : Yes
Max LD per array                 : 16
Power Saving option              : Don't spin down unconfigured drives
Don't spin down Hot spares
Don't Auto spin down Configured Drives
Power settings apply to all drives - individual PD/LD power settings cannot be
set
Max power savings option is  not allowed for LDs. Only T10 power conditions are
to be used.
Cached writes are not used for spun down VDs
Can schedule disable power savings at controller level
Default spin down time in minutes: 30 
Enable JBOD                      : Yes
TTY Log In Flash                 : Yes
Auto Enhanced Import             : No
BreakMirror RAID Support         : Yes
Disable Join Mirror              : Yes
Enable Shield State              : No
Time taken to detect CME         : 60s

Exit Code: 0x00

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list