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

linux-wlan-ng, rebuild kernel?



Dear Debian Users,

First, I would like to say that I am not very experienced and any suggestions would
help me greatly.
I recently installed Debian on my powerbook G4 12'.
As expected the Airport extreme
wireless card does not work and I bought a D-link DWL-122 usb wireless card. I read that
it should work with the linux-wlan-ng drivers.


I don't really understand how to install the drivers. I tried the config script and I had the following error:

raph:/usr/src/modules/linux-wlan-ng-0.2.1pre22# make config

-------------- Linux WLAN Configuration Script -------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
Build Prism2.5 USB (_usb) driver? (y/n) [n]: y

Linux source directory [/lib/modules/2.6.8-powerpc/build]:
Linux source tree /lib/modules/2.6.8-powerpc/build is incomplete or missing!
   See the HOWTO for a list of FTP sites for current kernel sources.

Configuration failed

make: *** [config] Error 1

Does that mean that I have to recompile the kernel? From my understanding yes but
I don't really trust myself.
I tried anyways, I put linux-wlan-ng in /usr/src/modules
and downloaded kernel-source-2.6.8, which is the one that got
installed when I installed debian with Sarge.

Then I followed the manual, that is I created a symbolic link in
/usr/src/ called linux then cd to /usr/src/linux did
#make xconfig
I did not change anything as I don't really understand, should I?
and then
#make-kpkg kernel_image modules_image

and I got the following error, which is down below but I copy the
whole thing in case you need it.
/usr/bin/make -f debian/rules INCLUDE_KERNEL_MAKEFILE=yes conf_vars
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
make[1]: *** No rule to make target `conf_vars'.  Stop.
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [conf.vars] Error 2
raph:/usr/src/linux# make-kpkg buildpackage kernel-image
/usr/bin/make -f /usr/share/kernel-package/rules real_stamp_clean
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
test ! -f .config || cp -pf .config config.precious
test -f Makefile && \
           /usr/bin/make   ARCH=ppc distclean
make[2]: Entering directory `/usr/src/kernel-source-2.6.8'
 CLEAN   scripts/basic
 CLEAN   scripts/kconfig
 CLEAN   .config .config.old include/linux/autoconf.h
make[2]: Leaving directory `/usr/src/kernel-source-2.6.8'
test ! -f config.precious || mv -f config.precious .config
test ! -f stamp-patch || /usr/bin/make -f /usr/share/kernel-package/rules unpatch_now
test -f stamp-building || test -f debian/official || rm -rf debian
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb.dist || \
           mv -f scripts/package/builddeb.dist scripts/package/builddeb
test ! -e scripts/package/Makefile.dist || \
           mv -f scripts/package/Makefile.dist scripts/package/Makefile
rm -f modules/modversions.h modules/ksyms.ver debian/files conf.vars scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches debian/buildinfo stamp-build stamp-configure stamp-source stamp-image stamp-headers stamp-src stamp-diff stamp-doc stamp-buildpackage stamp-libc-kheaders stamp-debian stamp-patch stamp-kernel-configure
rm -rf debian/tmp-source debian/tmp-headers debian/tmp-image debian/tmp-doc
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
           mv -f scripts/package/builddeb scripts/package/builddeb.dist
test ! -e scripts/package/Makefile || \
(mv -f scripts/package/Makefile scripts/package/Makefile.dist && \
              touch scripts/package/Makefile)
test ! -f stamp-debian && test ! -f debian/official && \
     rm -rf ./debian && mkdir ./debian
make: [stamp-debian] Error 1 (ignored)
test ! -f stamp-debian && \
              ( test ! -f debian/official || test ! -f debian/control) && \
  sed -e 's/=V/2.6.8/g'        -e 's/=D/2.6.8-7/g'       \
      -e 's/=A/powerpc/g'   -e 's/=SA//g' \
               -e 's/=L/yaboot, /g' -e 's/=I//g'    \
               -e 's/=CV/2.6/g'                     \
-e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \
                /usr/share/kernel-package/Control> debian/control
make: [stamp-debian] Error 1 (ignored)
test ! -f stamp-debian && test ! -f debian/official &&              \
  sed -e 's/=V/2.6.8/g' -e 's/=D/2.6.8-7/g'                  \
-e 's/=A/powerpc/g' -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \
       /usr/share/kernel-package/changelog > debian/changelog
make: [stamp-debian] Error 1 (ignored)
test ! -f debian/rules &&                                       \
  install -p -m 755 /usr/share/kernel-package/rules debian/rules
make: [stamp-debian] Error 1 (ignored)
echo done >  stamp-debian
/usr/bin/make -f debian/rules INCLUDE_KERNEL_MAKEFILE=yes conf_vars
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
make[1]: *** No rule to make target `conf_vars'.  Stop.
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [conf.vars] Error 2


Any help would be greatly appreciated. Thank you!!

Raphael

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



Reply to: