Hello, Same problem here with the iscsitarget-dkms (1.4.20.2-4) package.
~~~~~~~~~~~~~~~~~~~~
Paramétrage de iscsitarget-dkms (1.4.20.2-4) ...
Creating symlink /var/lib/dkms/iscsitarget/1.4.20.2/source ->
/usr/src/iscsitarget-1.4.20.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
applying patch compat-2.6.32.patch...patching file kernel/conn.c
Hunk #1 FAILED at 44.
1 out of 1 hunk FAILED -- saving rejects to file kernel/conn.c.rej
(bad exit status: 1)
Error! Application of patch compat-2.6.32.patch failed.
Check /var/lib/dkms/iscsitarget/1.4.20.2/build/ for more information.
~~~~~~~~~~~~~~~~~~~~~
It seems the patch has to be patched.
The new patch is attached below.
Everything works fine then.
~~~~~~~~~~~~~~~~~~~~~
root@vm0:/usr/src/iscsitarget-1.4.20.2# dpkg-reconfigure iscsitarget-dkms
------------------------------
Deleting module version: 1.4.20.2
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/iscsitarget/1.4.20.2/source ->
/usr/src/iscsitarget-1.4.20.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
applying patch compat-2.6.32.patch...patching file kernel/conn.c
Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-5-amd64 -C /lib/modules/2.6.32-5-amd64/build
M=/var/lib/dkms/iscsitarget/1.4.20.2/build......
cleaning build area....
DKMS: build Completed.
iscsi_trgt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.32-5-amd64/updates/dkms/
depmod.....
DKMS: install Completed.
HTH,
--
- Philippe Latu
philippe.latu(at)linux-france.org
http://www.linux-france.org/~platu
(GPG|PGP) KeyId 0x742A6424 - http://www.linux-france.org/~platu/key.asc
diff --git b/kernel/conn.c a/kernel/conn.c
index f179db5..4b53acd 100644
--- b/kernel/conn.c
+++ a/kernel/conn.c
@@ -44,7 +44,7 @@ void conn_info_show(struct seq_file *seq, struct iscsi_session *session)
switch (sk->sk_family) {
case AF_INET:
snprintf(buf, sizeof(buf),
- "%pI4", inet_sk(sk)->inet_daddr);
+ "%pI4", inet_sk(sk)->daddr);
break;
case AF_INET6:
snprintf(buf, sizeof(buf), "[%pI6]",
signature.asc
Description: This is a digitally signed message part.

