Bug#585549: openswan-modules-source: Build instructions outdated and not working anymore

2010-06-11 Thread Lupe Christoph
Package: openswan-modules-source
Version: 1:2.4.12+dfsg-1.3+lenny2
Severity: grave
Justification: renders package unusable


/usr/share/doc/openswan/README.Debian.gz has Instructions for building
kernel modules. These instructions were valid for 2.4 kernels, AFAICT.
But even when one substitutes kernel-... by linux-... they do not work.

I ended up with this:

# debian/rules binary-modules KVERS=2.6.26-2 KSRC=/usr/src/linux-source-2.6.26 
sed -e s!\$KVERS!2.6.26-2!g; s!\$KSRC!/usr/src/linux-source-2.6.26!; 
s!\$KEMAIL!!; s!\$KMAINT!!; s!\$KDREV!Custom.1.00!; s!\$DEBDATE!Fri, 11 Jun 
2010 17:05:13 +0200! debian/control.in  debian/control
dh_testdir
/usr/bin/make module KERNELSRC=/usr/src/linux-source-2.6.26 
OPENSWANSRCDIR=/usr/src/modules/openswan
make[1]: Entering directory `/usr/src/modules/openswan'
Building module for a 2.6 kernel
make[2]: Entering directory `/usr/src/modules/openswan'
make[3]: Entering directory `/usr/src/modules/openswan'
make[3]: `/usr/src/modules/openswan/modobj26/Makefile' is up to date.
make[3]: Leaving directory `/usr/src/modules/openswan'
/usr/bin/make -C /usr/src/linux-source-2.6.26  
BUILDDIR=/usr/src/modules/openswan/modobj26 
SUBDIRS=/usr/src/modules/openswan/modobj26 
MODULE_DEF_INCLUDE=/usr/src/modules/openswan/packaging/linus/config-all.h 
MODULE_DEFCONFIG=/usr/src/modules/openswan/linux/net/ipsec/defconfig  
MODULE_EXTRA_INCLUDE= ARCH=i386 modules
make[3]: Entering directory `/usr/src/linux-source-2.6.26'
  CC [M]  /usr/src/modules/openswan/modobj26/ipsec_init.o
/bin/sh: scripts/basic/fixdep: No such file or directory
make[4]: *** [/usr/src/modules/openswan/modobj26/ipsec_init.o] Error 1
make[3]: *** [_module_/usr/src/modules/openswan/modobj26] Error 2
make[3]: Leaving directory `/usr/src/linux-source-2.6.26'
make[2]: *** [module26] Error 2
make[2]: Leaving directory `/usr/src/modules/openswan'
make[1]: *** [module] Error 2
make[1]: Leaving directory `/usr/src/modules/openswan'
make: *** [build-stamp] Error 2

A fixdep is in linux-kbuild-2.6.26, but I'm unsure what role that directory 
plays.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages openswan-modules-source depends on:
ii  bzip2 1.0.5-1high-quality block-sorting file co
ii  coreutils 6.10-6 The GNU core utilities
ii  debhelper 7.0.15 helper programs for debian/rules

Versions of packages openswan-modules-source recommends:
ii  kernel-package 11.015A utility for building Linux kerne
ii  linux-source-2.6.1 2.6.18.dfsg.1-26etch2 Linux kernel source for version 2.
ii  linux-source-2.6.2 2.6.26-22lenny1   Linux kernel source for version 2.

Versions of packages openswan-modules-source suggests:
ii  openswan1:2.4.12+dfsg-1.3+lenny2 IPSEC utilities for Openswan

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#478004: grub-probe vs udev

2008-07-15 Thread Lupe Christoph
On Sunday, 2008-07-13 at 13:25:55 +0300, Teodor wrote:
 The problem might be caused by udev, not grub-probe. Can you try to
 upgrade udev to 0.124 (in testing we have 0.114) and check if this is
 still a problem?

Sorry, the new udev generates the same device name.

I have to apologize for not being able to pursue this any longer - I'm
not using this I2O controller any more. I still have it and if you
insist, I could install it in a test system along with a spare SCSI
drive, and install Debian Sid.

But I think this is not worth the work.

Lupe Christoph
-- 
| The whole aim of practical politics is to keep the populace alarmed|
| (and hence clamorous to be led to safety) by menacing it with an   |
| endless series of hobgoblins, all of them imaginary.   |
| H. L. Mencken, In Defense of Women, 1918 |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363375: Bug#370752: diff for 1:2.4.5+dfsg-0.1 NMU

2006-06-10 Thread Lupe Christoph
On Friday, 2006-06-09 at 19:41:19 +0200, Lupe Christoph wrote:
 On Friday, 2006-06-09 at 19:28:34 +0200, Steinar H. Gunderson wrote:

  Aha, you are using CONFIG_HIPPI -- that's marked as experimental and is
  rather obscure. (It seems to be some kind of supercomputer networking
  standard.) The offending lines are:

 I vaguely remember HIPPI. It's been a long time ago. The strange thing
 is that CONFIG_HIPPI is set in the default Debian config:

 /boot/config-2.6.15-1-k7:CONFIG_HIPPI=y

 I'll try without HIPPI again.

That was indeed succesfull.

Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?   |
| Rockhound in Armageddon, 1998, about the Space Shuttle   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363375: Bug#370752: diff for 1:2.4.5+dfsg-0.1 NMU

2006-06-09 Thread Lupe Christoph
On Friday, 2006-06-09 at 19:28:34 +0200, Steinar H. Gunderson wrote:
 On Fri, Jun 09, 2006 at 06:08:15PM +0200, Lupe Christoph wrote:
CC [M]  net/ipsec/ipcomp.o
  net/ipsec/ipcomp.c: In function 'skb_copy_ipcomp':
  net/ipsec/ipcomp.c:677: error: 'struct sk_buff' has no member named 
  'private'
  net/ipsec/ipcomp.c:677: error: 'struct sk_buff' has no member named 
  'private'
  make[3]: *** [net/ipsec/ipcomp.o] Error 1

 Aha, you are using CONFIG_HIPPI -- that's marked as experimental and is
 rather obscure. (It seems to be some kind of supercomputer networking
 standard.) The offending lines are:

I vaguely remember HIPPI. It's been a long time ago. The strange thing
is that CONFIG_HIPPI is set in the default Debian config:

/boot/config-2.6.15-1-k7:CONFIG_HIPPI=y

I'll try without HIPPI again.

 (I can reproduce this with your .config, even though I had to run it through
 make oldconfig first.)

I wonder why you have to use oldconfig.

 Given http://lkml.org/lkml/2005/9/13/274 I believe that the line can simply
 be dropped. Let me know if you need an NMU :-)

*I* don't need an NMU. But zou may want to file a bug against the Debian
default kernel config ;-)

I'll report back when I have run a kernel build without HIPPI.
Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?   |
| Rockhound in Armageddon, 1998, about the Space Shuttle   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#365547: Reopen

2006-05-22 Thread Lupe Christoph
On Sunday, 2006-05-21 at 01:23:35 -0500, Steve Langasek wrote:
 On Sat, May 20, 2006 at 02:56:51AM -0400, Filipus Klutiero wrote:
  This bug moved to Etch.
  manpages-dev still needs to add a Conflicts: glibc-doc ( 2.3.6-8)

 You mean Replaces.

It's not a complete replacement. Consider this:
http://packages.debian.org/cgi-bin/search_contents.pl?word=pthread_atfork.3.gzsearchmode=searchfilescase=insensitiveversion=unstablearch=i386

There seems to be a lot of conflicts between the various manpage
packages, but none can replace the others completely.

Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?   |
| Rockhound in Armageddon, 1998, about the Space Shuttle   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363375: kernel-patch-openswan: Patched linux-source-2.6.16 fails to compile

2006-04-18 Thread Lupe Christoph
Package: kernel-patch-openswan
Version: 1:2.4.5-2
Severity: grave
Justification: renders package unusable

I'm sorry to report that the most recent versions of the
kernel-patch-openswan and  linux-source-2.6.16 don't agree:

net/ipsec/ipsec_alg.c:847:2: warning: #warning Using built-in AES rather than 
CryptoAPI AES
net/ipsec/ipsec_alg.c:857:2: warning: #warning Using built-in 3des rather than 
CryptoAPI 3des
  CC [M]  net/ipsec/ipsec_alg_cryptoapi.o
net/ipsec/ipsec_alg_cryptoapi.c: In function 'setup_cipher_list':
net/ipsec/ipsec_alg_cryptoapi.c:349: warning: assignment discards qualifiers 
from pointer target type
  CC [M]  net/ipsec/ipcomp.o
net/ipsec/ipcomp.c: In function 'skb_copy_ipcomp':
net/ipsec/ipcomp.c:677: error: 'struct sk_buff' has no member named 'private'
net/ipsec/ipcomp.c:677: error: 'struct sk_buff' has no member named 'private'


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-lpc.2.k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages kernel-patch-openswan depends on:
ii  coreutils [fileutils] 5.94-1 The GNU core utilities
ii  fileutils 5.94-1 The GNU file management utilities 

Versions of packages kernel-patch-openswan recommends:
ii  kernel-package10.040 A utility for building Linux kerne

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363375: Acknowledgement (kernel-patch-openswan: Patched linux-source-2.6.16 fails to compile)

2006-04-18 Thread Lupe Christoph
I just realized that the exact version of the Debian kernel-source
package is missing. It is 2.6.16-7.

HTH,
Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?   |
| Rockhound in Armageddon, 1998, about the Space Shuttle   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#361800: Does not compile now

2006-04-11 Thread Lupe Christoph
Hi!

Even with the patch I submitted, the resulting kernel does not compile:

  CC [M]  net/ipsec/ipsec_tunnel.o
net/ipsec/ipsec_tunnel.c: In function 'ipsec_tunnel_SAlookup':
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
make[3]: *** [net/ipsec/ipsec_tunnel.o] Error 1

It's missing the definition of struct tcp_tw_bucket. This struct was
removed after 2.6.12.

struct tcp_tw_bucket *tw;

tw = (struct tcp_tw_bucket *)ixs-skb-sk;

This code knows that the struct sock pointed to by ixs-skb-sk is in
fact a struct tcp_tw_bucket. But what is it in 2.6.15? I don't know the
kernel, and I can't find out what to use in 2.6.15.

I've commented out that section to see if more problems exist in the
code.

Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?   |
| Rockhound in Armageddon, 1998, about the Space Shuttle   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#361800: Does not compile now

2006-04-11 Thread Lupe Christoph
I should have checked before using so much time on trying to get the
2.4.4 version going. The OpenSWAN project released 2.4.5 a few days ago.
That version is supposed to work with the 2.6.15 kernel.

I don't think I can close this bug as a non-DD. Rene, please do that.

I hope you find time soon to package 2.4.5...

Thanks,
Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?   |
| Rockhound in Armageddon, 1998, about the Space Shuttle   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#361800: Does not compile now

2006-04-11 Thread Lupe Christoph
On Tuesday, 2006-04-11 at 09:42:30 +0200, Lupe Christoph wrote:
 Hi!

 Even with the patch I submitted, the resulting kernel does not compile:

   CC [M]  net/ipsec/ipsec_tunnel.o

Here is another one:

  CC [M]  net/ipsec/pfkey_v2.o
net/ipsec/pfkey_v2.c: In function 'pfkey_destroy_socket':
net/ipsec/pfkey_v2.c:464: error: 'struct sk_buff' has no member named 'list'
net/ipsec/pfkey_v2.c:466: error: 'struct sk_buff' has no member named 'stamp'
net/ipsec/pfkey_v2.c:466: error: 'struct sk_buff' has no member named 'stamp'
net/ipsec/pfkey_v2.c: In function 'pfkey_recvmsg':
net/ipsec/pfkey_v2.c:1383: error: 'struct sk_buff' has no member named 'stamp'

I'm giving up. Rene, the ball is on your side ;-)
Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?   |
| Rockhound in Armageddon, 1998, about the Space Shuttle   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#361800: kernel-patch-openswan: Fails to patch Debian 2.6.15 kernel

2006-04-10 Thread Lupe Christoph
Package: kernel-patch-openswan
Version: 1:2.4.4-3.1
Severity: grave
Tags: patch
Justification: renders package unusable

Trying to use make-kpkg to build a kernel package from
linux-source-2.6.15 version 2.6.15-8 and kernel-patch-openswan
1:2.4.4-3.1.

(I'm leaving out those files that were patched without problems.)

for patch in /usr/src/kernel-patches/all/apply/openswan ; do\
  if test -x  $patch; then\
  if $patch; then \
  echo Patch $patch processed fine; \
  echo $patch  applied_patches;   \
  else \
   echo Patch $patch  failed.;  \
   echo Hit return to Continue;  \
   read ans;   \
  fi;  \
  fi;  \
done
Applying NAT Traversal patch to networking subsystem.
awk: fatal: cannot open file `/usr/src/linux/Makefile' for reading (No such 
file or directory)
make[1]: *** [nattpatch] Error 1
patch:  Only garbage was found in the patch input.
The patch does not apply cleanly, skipping it. Please check manually
if your kernel already supports NAT Traversal (Debian kernel sources
might already be patched to do so).
Inserting KLIPS into kernel.
make[1]: Entering directory `/usr/src/kernel-patches/all/openswan'
Now performing forward patches
make kernelpatch2.6 | tee 
/sw/WORK/Debian/Kernel/linux-source-2.6.15/openswan.patch | (cd 
/sw/WORK/Debian/Kernel/linux-source-2.6.15  patch -p1 -b -z .preipsec 
--forward --ignore-whitespace )
...
patching file net/Kconfig
Hunk #1 FAILED at 105.
1 out of 1 hunk FAILED -- saving rejects to file net/Kconfig.rej
patching file net/Makefile
Hunk #1 succeeded at 49 (offset 7 lines).
...
patching file net/ipv4/af_inet.c
Hunk #1 succeeded at 1218 (offset 49 lines).
patching file net/ipsec/Makefile.ver
make[1]: *** [applypatch] Error 1
make[1]: Leaving directory `/usr/src/kernel-patches/all/openswan'
Patch /usr/src/kernel-patches/all/apply/openswan  failed.

Replacing all/openswan/linux/net/Kconfig.fs2_6.patch with the following
makes the patch succeed:


--- swan26/net/Kconfig.orig 2006-04-10 12:39:51.0 +0200
+++ swan26/net/Kconfig  2006-04-10 13:22:40.0 +0200
@@ -56,6 +56,7 @@
 if INET
 source net/ipv4/Kconfig
 source net/ipv6/Kconfig
+source net/ipsec/Kconfig

 endif # if INET



I wonder what the awk error is about... I have my unpacked kernel source
in a different location.

Lupe Christoph
-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-lpc.2.k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages kernel-patch-openswan depends on:
ii  coreutils [fileutils] 5.94-1 The GNU core utilities
ii  fileutils 5.94-1 The GNU file management utilities 

Versions of packages kernel-patch-openswan recommends:
ii  kernel-package10.040 A utility for building Linux kerne

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]