[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: recommended iscsi implementation for 2.6.13+ kernels



Dominik L. Borkowski wrote:

Hello,

I'm trying to determine what is the recommended iscsi implementation/version for recent 2.6.13+ kernels. Long story short:

- I've been experiencing kernel panics with the latest open-iscsi release and lockups with the latest svn. - latest production linux-iscsi release for 2.6.x kernels - 4.0.2 doesn't compile on 2.6.13+ - latest development linux-iscsi release for 2.6.x kernels - 5.0.3 doesn't compile on 2.6.13+


the linux-2.6.14-rc* trees need a patch the netlink code. Dimitry or Alex, what is the appropriate value for the new argument to netlink_kernel_create? The attached is what got added to James's tree by James or Andrew or someone when it would not build.
Index: kernel/scsi_transport_iscsi.c
===================================================================
--- kernel/scsi_transport_iscsi.c	(revision 424)
+++ kernel/scsi_transport_iscsi.c	(working copy)
@@ -1234,7 +1234,8 @@
 	if (err)
 		goto unregister_session_class;
 
-	nls = netlink_kernel_create(NETLINK_ISCSI, iscsi_if_rx);
+	nls = netlink_kernel_create(NETLINK_ISCSI, 1, iscsi_if_rx,
+				    THIS_MODULE);
 	if (!nls) {
 		err = -ENOBUFS;
 		goto unregister_notifier;

[IP Storage]     [IETF]     [Linux SCSI]     [iSCSI Book]     [Linux Resources]     [Yosemite News]     [Photo]     [Home]     [IETF Announcements]     [IETF Discussion]     [SCSI Hardware]