DM_MULTIPATH_RDAC: "scsi_normalize_sense" undefined
Subsystems (2)
I just got:
Building modules, stage 2.
MODPOST 414 modules
ERROR: "scsi_normalize_sense" [drivers/md/dm-rdac.ko] undefined! make[1]: *** [__modpost] Error 1
Presumably DM_MULTIPATH_RDAC needs to depend on SCSI (not enabled here) since it uses scsi_normalize_sense.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
It does, but "rdac" _is_ for a SCSI device.
What device are you using it with ?
Quoted 9 lines · Martin Michlmayr
I just got:
Building modules, stage 2.
MODPOST 414 modules
ERROR: "scsi_normalize_sense" [drivers/md/dm-rdac.ko] undefined! make[1]: *** [__modpost] Error 1Presumably
DM_MULTIPATH_RDACneeds to depend on SCSI (not enabled here) since it usesscsi_normalize_sense.
Signature · 4 lines
----------------------------------------------------------------------
Chandra Seetharaman | Be careful what you choose....
- [email protected] | .......you may get it.
----------------------------------------------------------------------Quoted 1 line · On Fri, 24 Aug 2007 14:33:02 -0700 Chandra Seetharaman wrote:
It does, but "rdac" _is_ for a SCSI device.
It does __what__ ? depend on SCSI?
I don't see that in drivers/md/Kconfig.
Sounds like Martin is correct, SCSI needs to be added, like below.
Quoted 12 lines
What device are you using it with ?
Quoted 9 lines · Martin Michlmayr
I just got:
Building modules, stage 2.
MODPOST 414 modules
ERROR: "scsi_normalize_sense" [drivers/md/dm-rdac.ko] undefined! make[1]: *** [__modpost] Error 1Presumably
DM_MULTIPATH_RDACneeds to depend on SCSI (not enabled here) since it usesscsi_normalize_sense.
---
From: Randy Dunlap <[email protected]>
DM_MULTIPATH_RDAC uses SCSI API(s) and is for a SCSI device, so add SCSI to its depends on to prevent build errors.
Not tested.
--- drivers/md/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/Kconfig +1 -1
@@ -263,7 +263,7 @@ config DM_MULTIPATH_EMC config DM_MULTIPATH_RDAC tristate "LSI/Engenio RDAC multipath support (EXPERIMENTAL)" - depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL + depends on DM_MULTIPATH && BLK_DEV_DM && SCSI && EXPERIMENTAL ---help--- Multipath support for LSI/Engenio RDAC.
Quoted 5 lines · Randy Dunlap
Quoted 1 line · On Fri, 24 Aug 2007 14:33:02 -0700 Chandra Seetharaman wrote:
It does, but "rdac" _is_ for a SCSI device.
It does
__what__? depend on SCSI?
Yes, as you understood it correctly :)
Quoted 2 lines
I don't see that in
drivers/md/Kconfig.
Sounds like Martin is correct, SCSI needs to be added, like below.
I do agree that the following patch would be needed.
Since the rdac hardware handler is for a scsi device, including it without SCSI would not achieve anything (as his device won't be visible in the first place). Hence my question.
For completeness, I agree that we need the fix pointed below.
Quoted 40 lines
Quoted 14 lines
What device are you using it with ?
Quoted 9 lines · Martin Michlmayr
I just got:
Building modules, stage 2.
MODPOST 414 modules
ERROR: "scsi_normalize_sense" [drivers/md/dm-rdac.ko] undefined! make[1]: *** [__modpost] Error 1Presumably
DM_MULTIPATH_RDACneeds to depend on SCSI (not enabled here) since it usesscsi_normalize_sense.---
From: Randy Dunlap <[email protected]>
DM_MULTIPATH_RDACuses SCSI API(s) and is for a SCSI device, so add SCSI to its depends on to prevent build errors.Not tested.
Signed-off-by Randy Dunlap <[email protected]>--- drivers/md/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/md/Kconfig +1
-1@@ -263,7 +263,7 @@ config DM_MULTIPATH_EMC config DM_MULTIPATH_RDAC tristate "LSI/Engenio RDAC multipath support (EXPERIMENTAL)" - depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL + depends on DM_MULTIPATH && BLK_DEV_DM && SCSI && EXPERIMENTAL ---help--- Multipath support for LSI/Engenio RDAC.
Signature · 4 lines
----------------------------------------------------------------------
Chandra Seetharaman | Be careful what you choose....
- [email protected] | .......you may get it.
----------------------------------------------------------------------Martin Michlmayr
Tested-byQuoted 8 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
DM_MULTIPATH_RDACuses SCSI API(s) and is for a SCSI device, so add SCSI to its depends on to prevent build errors.Not tested.
Signed-off-by Randy Dunlap <[email protected]>
This works for me. Please make sure it'll go into 2.6.23.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 3 lines · Chandra Seetharaman
It does, but "rdac" _is_ for a SCSI device.
What device are you using it with ?
I'm not using it at all. I merely compiled a kernel where DM_MULTIPATH_RDAC was activated by chance without SCSI. Randy's patch looks good.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/