Skip to contentSkip to conversation

mpt2sas v00.100.11.11: 3rd revision

RFC peter 1 participant 1 message Mar 6, 2009 SCSI

lore
Share & tools
lore

peter

author
#0 lore raw

I tried to apply and compile this set of patches with the scsi-rc-fixes git tree and ran into a few problems.

The first issue I think is just an oversight. The Makefile in drivers/scsi doesn't get patched so even if the CONFIG_SCSI_MPT2SAS is define in the .config file the driver doesn't get built. I needed to add this line to the Makefile in drivers/scsi

obj-$(CONFIG_SCSI_MPT2SAS) += mpt2sas/

The second issue is that the driver doesn't build unless CONFIG_SCSI_MPT2SAS_LOGGING is defined. The problem seems to be that _debug_dump_mf, from line 163 of mpt2sas_debug.h, is called from a number of places that don't rely on CONFIG_SCSI_MPT2SAS_LOGGING. With logging enabled the driver builds without any errors or warnings.

Peter Bogdanovic
IBM System x enablement