Bug #5122
mpt_sas hangs forever with some kinds of malfunctioning drive
Start date:
2014-08-26
Due date:
% Done:
50%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
Precisely as it says.
> ::mptsas mptsas_t inst ncmds suspend power ================================================================================ ffffff23b62fd000 0 0 0 ON=D0 ffffff23b62f6000 1 0 0 ON=D0 > ::stacks -m sd THREAD STATE SOBJ COUNT ffffff2335289400 SLEEP CV 1 swtch+0x18a cv_wait_sig+0x1b5 sd_check_media+0x2c0 sdioctl+0xe0d cdev_ioctl+0x39 spec_ioctl+0x60 fop_ioctl+0x55 ioctl+0x9b _sys_sysenter_post_swapgs+0x237 ffffff00f4394c40 SLEEP SEMA 1 swtch+0x18a sema_p+0x2a9 biowait+0xd9 default_physio+0x345 physio+0x25 scsi_uscsi_handle_cmd+0x29d sd_ssc_send+0x195 sd_send_scsi_RDWR+0x353 sd_tg_rdwr+0x423 cmlb_use_efi+0xd0 cmlb_validate_geometry+0x121 cmlb_validate+0x83 sd_unit_attach+0x9ff sdattach+0x19 devi_attach+0x9e attach_node+0x14f i_ndi_config_node+0xc0 i_ddi_attachchild+0x88 devi_attach_node+0x88 ndi_devi_online+0xb0 i_mdi_pi_state_change+0x4cf mdi_pi_online+0x43 mptsas_create_virt_lun+0x963 mptsas_create_lun+0x1b0 mptsas_probe_lun+0xdd mptsas_config_target+0x38 mptsas_handle_topo_change+0x356 mptsas_handle_dr+0x12c taskq_thread+0x318 thread_start+8 > ::msgbuf [snip] WARNING: /pci@0,0/pci8086,3c08@3/pci1000,30d0@0 (mpt_sas0): mptsas_handle_event_sync: IOCStatus=0x8000, IOCLogInfo=0x31110610 WARNING: /pci@0,0/pci8086,3c08@3/pci1000,30d0@0 (mpt_sas0): mptsas_handle_event: IOCStatus=0x8000, IOCLogInfo=0x31110610 WARNING: /pci@0,0/pci8086,3c08@3/pci1000,30d0@0 (mpt_sas0): mptsas_handle_event_sync: IOCStatus=0x8000, IOCLogInfo=0x31170000 WARNING: /pci@0,0/pci8086,3c08@3/pci1000,30d0@0 (mpt_sas0): mptsas_handle_event: IOCStatus=0x8000, IOCLogInfo=0x31170000 /pci@0,0/pci8086,3c08@3/pci1000,30d0@0 (mpt_sas0): Log info 0x31110610 received for target 25 w5000c50038ae5ae4. scsi_status=0x0, ioc_status=0x804b, scsi_state=0xc
Probably can work around this by pulling the relevant malfunctioning disk, but thought I'd log it as I didn't think this was still a thing that could happen in modern mpt_sas land.
illumos-gate, current as of 20140821.