[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling pcmcia-cs to go with a 2.6.0-test5 kernel.


I've managed to get 2.6.0-test5 up and running on my notebook. The
only thing not working is pcmcia.

The compiled 2.6.0-test5 kernel is in /usr/src/linux.
The pcmcia-cs sources version 3.1.33-6 are in /usr/src/modules/pcmcia-cs/

Here's the output of my attempt to make the modules.

$make-kpkg --revision 4 --append_to_version matijek4 modules-image

Warning: The file include/linux/version.h exists
If it was created just now by calling make-kpkg with
the --append_to_version option on a clean source tree,
please ignore this message.
However, if the file exists from a previous run, and
it existed before the make-kpkg --append_to_version was
called, (for example, If you did not run make-kpkg clean
after configuring the kernel with make (menu|x)?config)
the chances are that it does not contain the appended:
Please check the value of macro UTS_RELEASE in the file
include/linux/version.h to make sure it is correct.
If it is not correct (or if you are not sure), I
strongly recommend that you abort now, and run:
 % make-kpkg clean
 % make-kpkg ... --append_to_version matijek4 kernel_image [modules_image]
By default, I assume you know what you are doing, and I
apologize for being so annoying. Should I abort[Ny]?

for module in /usr/src/modules/pcmcia-cs ; do                        \
          if test -d  $module; then                                \
    (cd $module;                                           \
              if ./debian/rules KVERS="2.6.0-test5matijek4" KSRC="/usr/src/linux" \
                             KMAINT="Klaus Knopper" KEMAIL="knoppix@knopper.net"      \
                             KDREV="4" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   echo "Hit return to Continue";                   \
           read ans;                                        \
              fi;                                                   \
     );                                                     \
  fi;                                                       \
make[1]: Entering directory `/usr/src_matijek/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
for CONFLOC in ~/.kernel-pkg.conf /etc/kernel-pkg.conf; \
do test -f $CONFLOC && break; done; \
 /usr/bin/make -f debian/rules \
  MOD_DIR=/usr/src/linux CONFLOC=$CONFLOC \
  clean-modules binary-modules
make[2]: Entering directory `/usr/src_matijek/modules/pcmcia-cs'
test -f man/pcmcia.5 -a -f debian/rules
umask 022; /usr/bin/make DEB_MOD=yes clean
make[3]: Entering directory `/usr/src_matijek/modules/pcmcia-cs'
make[4]: Entering directory `/usr/src_matijek/modules/pcmcia-cs/modules'
rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d
make[4]: Leaving directory `/usr/src_matijek/modules/pcmcia-cs/modules'
make[4]: Entering directory `/usr/src_matijek/modules/pcmcia-cs/clients'
rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d
make[4]: Leaving directory `/usr/src_matijek/modules/pcmcia-cs/clients'
make[4]: Entering directory `/usr/src_matijek/modules/pcmcia-cs/wireless'
rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d
make[4]: Leaving directory `/usr/src_matijek/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_matijek/modules/pcmcia-cs'
rm -f build-modules
test -f man/pcmcia.5 -a -f debian/rules
test root = "`whoami`"
test ! -x Buildlinks || ./Buildlinks pcmcia-cs
KVERS="2.6.0-test5matijek4" ./Configure -n --kernel="/usr/src/linux" --srctree \
  --cardbus --force --sysv --rcdir=/etc --cc=cc

    -------- 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.6.0-test5matijek4.
  WARNING: the current kernel is version 2.4.20babar1.
The current kernel build date is Thu Aug 28 12:06:28 2003.

Build 'trusting' versions of card utilities (y/n) [n]
Include PnP BIOS resource checking (y/n) [n]
Module install directory [/lib/modules/2.6.0-test5matijek4]

Kernel configuration options:
    Kernel-tree PCMCIA support is disabled.
    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 disabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
     Frame Diverter is disabled.
    Module version checking is enabled.
    Kernel debugging support is disabled.
    Preemptive kernel patch is enabled.
    /proc filesystem support is enabled.

/usr/src/linux/include/linux/modversions.h does not exist!
    To fix, run 'make dep' in /usr/src/linux.

Configuration failed.

make[2]: *** [.prereq.ok] Error 1
make[2]: Leaving directory `/usr/src_matijek/modules/pcmcia-cs'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src_matijek/modules/pcmcia-cs'
Module /usr/src/modules/pcmcia-cs failed.
Hit return to Continue


Alex Polite

Reply to: