Project

General

Profile

Bug #3293

AAC driver should implement MODE SENSE on caching page

Added by Udo Grabowski over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-10-22
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

on a Sun X4275 with Sun STK RAID controller I get regular
'Mode sense caching page code mismatch 0' messages with
the illumos aac driver in OI_151a7.
This occurs because the aac driver seems not to support
the MODE SENSE caching mode page queries. This does
not happen on support line Osol 2009.06 U7 and seems to
have been fixed with CR 6941996 (and CR 6942004?), which
looks not like it was implemented in the trunk line.
fma puts the controller into faulted state after some time.
This should be fixed in the driver.

fmdump -eV:

Oct 19 2012 14:25:48.787846684 ereport.io.scsi.cmd.disk.dev.uderr
nvlist version: 0
class = ereport.io.scsi.cmd.disk.dev.uderr
ena = 0x63117efbc902801
detector = (embedded nvlist)
nvlist version: 0
version = 0x0
scheme = dev
device-path = /pci@0,0/pci8086,340c@5/pci108e,286@0/disk@b,0
devid = id1,sd@TSun_____STK_RAID_INT____F015C109
(end detector)

devid = id1,sd@TSun_____STK_RAID_INT____F015C109
driver-assessment = fail
op-code = 0x1a
cdb = 0x1a 0x0 0x8 0x0 0x18 0x0
pkt-reason = 0x0
pkt-state = 0x1f
pkt-stats = 0x0
stat-code = 0x0
un-decode-info = sd_get_write_cache_enabled: Mode Sense caching page code mismatch 0
__ttl = 0x1
__tod = 0x508146cc 0x2ef5961c

Oct 19 2012 14:36:22.049284286 ereport.io.pci.fabric
nvlist version: 0
class = ereport.io.pci.fabric
ena = 0xf682ab8f2901001
detector = (embedded nvlist)
nvlist version: 0
version = 0x0
scheme = dev
device-path = /pci@0,0/pci8086,340c@5
(end detector)

bdf = 0x28
device_id = 0x340c
vendor_id = 0x8086
rev_id = 0x13
dev_type = 0x40
pcie_off = 0x90
pcix_off = 0x0
aer_off = 0x100
ecc_ver = 0x0
pci_status = 0x10
pci_command = 0x47
pci_bdg_sec_status = 0x2000
pci_bdg_ctrl = 0x3
pcie_status = 0x0
pcie_command = 0x26
pcie_dev_cap = 0x8021
pcie_adv_ctl = 0x0
pcie_ue_status = 0x0
pcie_ue_mask = 0x100000
pcie_ue_sev = 0x62030
pcie_ue_hdr0 = 0x0
pcie_ue_hdr1 = 0x0
pcie_ue_hdr2 = 0x0
pcie_ue_hdr3 = 0x0
pcie_ce_status = 0x0
pcie_ce_mask = 0x0
pcie_rp_status = 0x0
pcie_rp_control = 0x0
pcie_adv_rp_status = 0x0
pcie_adv_rp_command = 0x7
pcie_adv_rp_ce_src_id = 0x0
pcie_adv_rp_ue_src_id = 0x0
remainder = 0x1
severity = 0x1
__ttl = 0x1
__tod = 0x50814946 0x2f004be

Oct 19 2012 14:36:22.049287071 ereport.io.pci.fabric
nvlist version: 0
class = ereport.io.pci.fabric
ena = 0xf682ab8f2901001
detector = (embedded nvlist)
nvlist version: 0
version = 0x0
scheme = dev
device-path = /pci@0,0/pci8086,340c@5/pci108e,286@0
(end detector)

bdf = 0x1300
device_id = 0x285
vendor_id = 0x9005
rev_id = 0x9
dev_type = 0x0
pcie_off = 0xd0
pcix_off = 0x0
aer_off = 0x100
ecc_ver = 0x0
pci_status = 0x10
pci_command = 0x47
pcie_status = 0xa
pcie_command = 0x2036
pcie_dev_cap = 0x6481c2
pcie_adv_ctl = 0xb4
pcie_ue_status = 0x100000
pcie_ue_mask = 0x180000
pcie_ue_sev = 0x62011
pcie_ue_hdr0 = 0x5000001
pcie_ue_hdr1 = 0x280003
pcie_ue_hdr2 = 0x14000000
pcie_ue_hdr3 = 0x14000000
pcie_ce_status = 0x0
pcie_ce_mask = 0x0
pcie_ue_tgt_trans = 0x0
pcie_ue_tgt_addr = 0x0
pcie_ue_tgt_bdf = 0xffff
remainder = 0x0
severity = 0x1
__ttl = 0x1
__tod = 0x50814946 0x2f00f9f

Oct 19 2012 14:36:22.049287071 ereport.io.pciex.rc.nfe-msg
nvlist version: 0
ena = 0xf682ab8f2901001
detector = (embedded nvlist)
nvlist version: 0
version = 0x0
scheme = dev
device-path = /pci@0,0
(end detector)

class = ereport.io.pciex.rc.nfe-msg
rc-status = 0x24
source-id = 0x1300
source-valid = 1
__ttl = 0x1
__tod = 0x50814946 0x2f00f9f

Oct 19 2012 15:16:59.547025357 ereport.io.pci.fabric
nvlist version: 0
class = ereport.io.pci.fabric
ena = 0x32e040b447301001
detector = (embedded nvlist)
nvlist version: 0
version = 0x0
scheme = dev
device-path = /pci@0,0/pci8086,340c@5
(end detector)

bdf = 0x28
device_id = 0x340c
vendor_id = 0x8086
rev_id = 0x13
dev_type = 0x40
pcie_off = 0x90
pcix_off = 0x0
aer_off = 0x100
ecc_ver = 0x0
pci_status = 0x10
pci_command = 0x47
pci_bdg_sec_status = 0x0
pci_bdg_ctrl = 0x3
pcie_status = 0x0
pcie_command = 0x26
pcie_dev_cap = 0x8021
pcie_adv_ctl = 0x0
pcie_ue_status = 0x0
pcie_ue_mask = 0x100000
pcie_ue_sev = 0x62030
pcie_ue_hdr0 = 0x0
pcie_ue_hdr1 = 0x0
pcie_ue_hdr2 = 0x0
pcie_ue_hdr3 = 0x0
pcie_ce_status = 0x0
pcie_ce_mask = 0x0
pcie_rp_status = 0x0
pcie_rp_control = 0x0
pcie_adv_rp_status = 0x0
pcie_adv_rp_command = 0x7
pcie_adv_rp_ce_src_id = 0x0
pcie_adv_rp_ue_src_id = 0x0
remainder = 0x1
severity = 0x1
__ttl = 0x1
__tod = 0x508152cb 0x209af1cd

Also available in: Atom PDF