[Bug 57265] Return value of slave_configure in scsi_scan.c is ignored

Ondřej Surý ondrej at sury.org
Tue Aug 22 12:25:46 UTC 2006


Public bug reported:

Number of scsi drivers return some return code from slave_configure
function which is called on scsi bus scan (or whatever).  This value
gets ignored in 2.6.15.x and this causes problem with LSI Logig Megaraid
SAS driver which uses return value to indicate that disk should not be
exported to the system and thus you see all Physical Disk as /dev/sdx in
your system (which is not fine when those disk are part of some RAID)
and all Logical Disks (which is perfectly OK).

Attached patch merges smallest possible change into scsi_scan.c which
fixes this breakage. And also fixes some breakages in other drivers
which return non-zero response to indicate that this device should not
be initialized.

Please apply since this makes all LSI Megaraid SAS controllers unusable.

** Affects: linux-source-2.6.15 (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
Return value of slave_configure in scsi_scan.c is ignored
https://launchpad.net/bugs/57265




More information about the kernel-bugs mailing list