Skip to contentSkip to conversation

SCSI: ISCSI build failure

PATCH New Randy Dunlap 1 participant 1 message Oct 31, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI: ISCSI build failure

We need this patch that I sent to linux-scsi earlier today in 2.6.19...

I suppose James is traveling or something.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Date: Mon, 30 Oct 2006 08:32:30 -0800
From: Randy Dunlap <[email protected]>
To: Roman Zippel <[email protected]>, jejb <[email protected]>
Cc: Toralf F_rster <[email protected]>, scsi <[email protected]>, akpm <[email protected]>
Subject: [PATCH] SCSI: ISCSI build failure

Quoted 16 lines · On Mon, 30 Oct 2006 12:07:48 +0100 (CET) Roman Zippel wrote:

Hi,

Quoted 12 lines · Randy Dunlap
Quoted 1 line · On Sun, 29 Oct 2006 19:45:15 +0100 Toralf Förster wrote:

Hello,

config SCSI_ISCSI_ATTRS
tristate "iSCSI Transport Attributes"
depends on SCSI && NET
help
If you wish to export transport-specific information about each attached iSCSI device to sysfs, say Y. Otherwise, say N.

Quoted 8 lines
Quoted 6 lines

but NET is disabled, yet somehow SCSI_ISCSI_ATTRS is enabled. I don't see how that happens.
Roman, any ideas?

[...]

Quoted 1 line

CONFIG_SCSI_QLA_ISCSI=y

I guess, that needs a dependency on NET.

Yep, thanks, Roman.

James, should be in 2.6.19...

---

From: Randy Dunlap <[email protected]>

SCSI_QLA_ISCSI needs to depend on NET to prevent build (link) failures that are caused by selecting SCSI_ISCSI_ATTRS.

---
 drivers/scsi/qla4xxx/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/qla4xxx/Kconfig +1 -1
@@ -1,6 +1,6 @@
 config SCSI_QLA_ISCSI
 	tristate "QLogic ISP4XXX host adapter family support"
-	depends on PCI && SCSI
+	depends on PCI && SCSI && NET
 	select SCSI_ISCSI_ATTRS
 	---help---
 	This driver supports the QLogic 40xx (ISP4XXX) iSCSI host

-