Return value of slave_configure in scsi_scan.c is ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-restricted-modules-2.6.15 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-source-2.6.15 (Ubuntu) |
Fix Released
|
Undecided
|
Kyle McMartin |
Bug Description
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.
Changed in linux-restricted-modules-2.6.15: | |
status: | New → Fix Committed |
Changed in linux-source-2.6.15: | |
status: | Fix Released → Fix Committed |
Changed in linux-source-2.6.15: | |
status: | Fix Committed → Fix Released |
Changed in linux-restricted-modules-2.6.15: | |
status: | Fix Committed → Fix Released |
Patch which actually applies to current linux-source-2.6.15