Project

General

Profile

Actions

Bug #4682

closed

panic in mptsas refhash

Added by Hans Rosenfeld about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
driver - device drivers
Start date:
2014-03-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

We observed a panic in the new refhash code in mptsas when plugging in a JBOD after boot:

BAD TRAP: type=d (#gp General protection) rp=ffffff002e12b880 addr=ffffff0739510020

refhash_next+0x40(ffffff0731bcc698, ffffff0759b50318)
mptsas_config_all+0xa4(ffffff07321b1618)
mptsas_bus_config+0x140(ffffff07321b1618, 4004048, 2, ffffffff, 0)
scsi_hba_bus_config+0x8b(ffffff07321b1618, 4004048, 2, ffffffff, 0)
devi_config_common+0xa5(ffffff07321b1618, 4004048, ffffffff)
mt_config_thread+0x70(ffffff0771383540)
thread_start+8()

This seems to be caused by the corruption of a mptsas_smp_t structure that was inserted into the refhash immediately prior to the panic.

Actions

Also available in: Atom PDF