make-kpkg not patching kernel
Hi, I am trying to build a kernel patched with the freeswan kernel patch. I have done this previously on several machines using kernel-package. However, for some reason, it no longer works. I succeeded on doing this on a freshly installed woody laptop. However on that same laptop, after a reinstall, I can no longer do this. I can't even get it to work on the desktops that I had done it before! Any help will be greatly appreciated. $ dpkg -l '*freeswan*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii freeswan 1.96-1.2 IPSEC utilities for FreeSWan ii kernel-patch-f 1.96-1.2 IPSEC kernel support for FreeSwan I then do % cd /usr/src/kernel-source-2.4.18 % make-kpkg clean % export PATCH_THE_KERNEL=yes % make-kpkg --config xconfig --revision freeswan.1.0 kernel_image The patching is not done, and no ipsec related files are created. Geoff Crompton -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
make-kpkg doesn't parse version correctly ?
I've got a very strange error with make-kpkg when trying to build an image a second time. I've already used the woody one on this linux source successfully, so suspected a problem with the sarge I've upgraded to. But I have the same error with woody and sarge kernel-package... I used 7.107 and 8.007. I join the stdout and stderr of make-kpkg clean (it is the same with the targets configure or debian...) Confusingly, le Moine Fou -- mailto:[EMAIL PROTECTED] OpenPGP 0xD9D50D8A Problems ecountered with the version number . The upstream version fails to match ^[A-Za-z0-9\.\+\-]+$ in Please re-read the README file and try again. Use of uninitialized value in pattern match (m//) at /usr/share/kernel-package/kpkg-vercheck line 76 (#1) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. Use of uninitialized value in pattern match (m//) at /usr/share/kernel-package/kpkg-vercheck line 108 (#1) Use of uninitialized value in pattern match (m//) at /usr/share/kernel-package/kpkg-vercheck line 152 (#1) Use of uninitialized value in concatenation (.) or string at /usr/share/kernel-package/kpkg-vercheck line 164 (#1) msg01314/pgp0.pgp Description: PGP signature
Re: make-kpkg doesn't parse version correctly ?
Hi, >>"Pierre" == Pierre THIERRY <[EMAIL PROTECTED]> writes: Pierre> I've got a very strange error with make-kpkg when trying to Pierre> build an image a second time. I've already used the woody one Pierre> on this linux source successfully, so suspected a problem Pierre> with the sarge I've upgraded to. Umm. Something went very wrong here -- theline in question is: -- if ($version =~ m/\:/og) { -- and $version is supposed to be the first argument to the script. The problem is that you hvae a ./debian/ directory installed by an older kernel-package version than the one currently being used. Please rune make-kpkg clean and try again; and please send me a full log if it fails again. manoj -- SHIFT TO THE LEFT! SHIFT TO THE RIGHT! POP UP, PUSH DOWN, BYTE, BYTE, BYTE! Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/%7Esrivasta/> 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
make-kpkg 2.4.19 kernel: Module /usr/src/modules/pcmcia-cs failed.
I'm getting a build error when trying to update to a 2.4.19 kernel, in pcmcia-cs. I've found a few posts pointing to similar issues through Google, but no solid suggestions that are fixing this problem. Anyone have pointers? Full build output follows. Peace. [root@ego:linux]$ time make-kpkg -rev Custom.1 modules | tee ~/pcmcia-cs_errors.log for module in /usr/src/modules/pcmcia-cs ; do\ if test -d $module; then\ (cd $module; \ if ./debian/rules KVERS="2.4.19" KSRC="/usr/src/linux" \ KMAINT="Unknown Kernel Package Maintainer" KEMAIL="[EMAIL PROTECTED]" \ KDREV="Custom.1" kdist; then \ echo "Module $module processed fine";\ else \ echo "Module $module failed."; \ echo "Hit return to Continue?"; \ read ans;\ fi; \ ); \ fi; \ done make[1]: Entering directory `/usr/src/modules/pcmcia-cs' test -f man/pcmcia.5 -a -f debian/rules test root = "`whoami`" test -f man/pcmcia.5 -a -f debian/rules rm -f debian/files make -f debian/rules MOD_DIR=/usr/src/linux clean-modules binary-modules make[2]: Entering directory `/usr/src/modules/pcmcia-cs' test -f man/pcmcia.5 -a -f debian/rules umask 022; make ALL="`sed -ne '/ALL *= */{;s///;s/cardmgr.*$//;p;q;}' Makefile`" clean make[3]: Entering directory `/usr/src/modules/pcmcia-cs' make[4]: Entering directory `/usr/src/modules/pcmcia-cs/modules' rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/modules' make[4]: Entering directory `/usr/src/modules/pcmcia-cs/clients' rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/clients' make[4]: Entering directory `/usr/src/modules/pcmcia-cs/wireless' rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/wireless' rm -f .prereq.ok config.mk include/pcmcia/config.h rm -f include/linux/modversions.h make[3]: Leaving directory `/usr/src/modules/pcmcia-cs' rm -f build-modules test -f man/pcmcia.5 -a -f debian/rules test root = "`whoami`" KVERS="2.4.19" ./Configure -n --kernel="/usr/src/linux" --srctree \ --cardbus --rcdir=/etc Linux PCMCIA Configuration Script The default responses for each question are correct for most users. Consult the PCMCIA-HOWTO for additional info about each option. Linux source directory [/usr/src/linux] The kernel source tree is version 2.4.19. WARNING: the current kernel is version 2.2.18pre21. The current kernel build date is Thu Jan 25 18:40:22 2001. Build 'trusting' versions of card utilities (y/n) [n] Module install directory [/lib/modules/2.4.19] Kernel configuration options: Kernel-tree PCMCIA support is enabled. Symmetric multiprocessing support is disabled. PCI BIOS support is enabled. Power management (APM) support is enabled. SCSI support is disabled. IEEE 1394 (FireWire) support is disabled. Networking support is enabled. Radio network interface support is enabled. Token Ring device support is disabled. Fast switching is disabled. Frame Diverter is disabled. Module version checking is enabled. /proc filesystem support is enabled. It looks like you have a System V init file setup. X Windows include files found. /usr/X11R6/lib/libXpm.so and /usr/include/X11/xpm.h found. Configuration successful. rm -f build build-modules test -f man/pcmcia.5 -a -f debian/rules umask 022; make DIRS_DEB="`sed -ne '/ALL *= */{;s///;s/cardmgr.*$//;p;q;}' Makefile`" all make[3]: Entering directory `/usr/src/modules/pcmcia-cs' make[4]: Entering directory `/usr/src/modules/pcmcia-cs/modules' Your kernel is already configured with PCMCIA support. make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/modules' make[4]: Entering directory `/usr/src/modules/pcmcia-cs/clients' cc -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include/static -I/usr/src/linux/include -I../include -D__KERNEL__ -DMODULE -c serial_cs.c cc -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include/static -I/usr/src/linux/include -I../include -D__KERNEL__ -DMODU
Re: make-kpkg 2.4.19 kernel: Module /usr/src/modules/pcmcia-cs failed.
#include Karsten M. Self wrote on Sun Sep 22, 2002 um 09:26:33PM: > Kernel configuration options: > Kernel-tree PCMCIA support is enabled. What about RTFM?! Gruss/Regards, Eduard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: make-kpkg 2.4.19 kernel: Module /usr/src/modules/pcmcia-cs failed.
on Mon, Sep 23, 2002, Eduard Bloch ([EMAIL PROTECTED]) wrote: > #include > Karsten M. Self wrote on Sun Sep 22, 2002 um 09:26:33PM: > > Kernel configuration options: > > Kernel-tree PCMCIA support is enabled. > > > What about RTFM?! Um... welche FM, Eduard? I've not been following 2.4 as closely as I might. I'm aware that there are the Hinds & main tree sets of drivers. My kernel build options for PCMCIA are: [karsten@ego:linux]$ grep -v '^#' .config | grep PCMCIA CONFIG_PCMCIA=y CONFIG_NET_PCMCIA=y CONFIG_PCMCIA_PCNET=y CONFIG_NET_PCMCIA_RADIO=y CONFIG_PCMCIA_RAYCS=y CONFIG_PCMCIA_NETWAVE=m CONFIG_PCMCIA_WAVELAN=m CONFIG_PCMCIA_SERIAL_CS=m ...are you suggesting I'd select only the first, but none of the device-specific options? Docs don't make this immediately clear -- either Configure.help (linux source tree) or the PCMCIA-HOWTO at Hind's sourceforge project: http://pcmcia-cs.sourceforge.net/ftp/PCMCIA-HOWTO I'd appreciate a more complete and useful response, if you could. Danke. Freide. -- Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/ What Part of "Gestalt" don't you understand? TWiki: documentation for the GNU millennium. http://twiki.org/ msg03135/pgp0.pgp Description: PGP signature
Re: make-kpkg 2.4.19 kernel: Module /usr/src/modules/pcmcia-cs failed.
#include Karsten M. Self wrote on Mon Sep 23, 2002 um 12:31:20AM: > > What about RTFM?! > > Um... welche FM, Eduard? ... > My kernel build options for PCMCIA are: > > [karsten@ego:linux]$ grep -v '^#' .config | grep PCMCIA > CONFIG_PCMCIA=y http://pcmcia-cs.sourceforge.net/ftp/README-2.4 Gruss/Regards, Eduard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]