Platform: Intel Pentium M (Dell Inspiron D600)
          gcc 3.3.4-1,
          kernel-image-2.6.4-1-686 2.6.4-1,
          kernel-headers-2.6.4-1 2.6.4-1,
          kernel-headers-2.6.4-1-686 2.6.4-1,
          ndiswrapper 0.8-1,
          ndiswrapper-source 0.8-1

I'm trying to follow the instructions on
        http://tiefighter.et.tudelft.nl/~arthur/wpc54g/
to get support for a BroadCom BCM94306 based WLAN card.

However, the "modprobe ndiswrapper" isn't able to find the ndiswrapper
module resulting from the build.

Has anyone else seen this problem?  Does anyone know how to correct
it?

The commands I ran, and their output, follows below.

Thanx!


- Steinar

[EMAIL PROTECTED]:/etc# apt-get install ndiswrapper ndiswrapper-source 
ndiswrapper-bcm94306
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package ndiswrapper-bcm94306
[EMAIL PROTECTED]:/etc# apt-get install ndiswrapper ndiswrapper-source
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  build-essential dpatch module-assistant
Recommended packages:
  patchutils
The following NEW packages will be installed:
  build-essential dpatch module-assistant ndiswrapper ndiswrapper-source
0 upgraded, 5 newly installed, 0 to remove and 259 not upgraded.
Need to get 201kB of archives.
After unpacking 581kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://rigtorp.se unstable/ ndiswrapper 1:0.8-1 [16.3kB]
Get:2 http://ftp.no.debian.org testing/main build-essential 10 [6450B]
Get:3 http://rigtorp.se unstable/ ndiswrapper-source 1:0.8-1 [67.3kB]
Get:4 http://ftp.no.debian.org testing/main dpatch 2.0.8 [72.8kB]
Get:5 http://ftp.no.debian.org testing/main module-assistant 0.6.8 [38.5kB]
Fetched 201kB in 1s (122kB/s)
Selecting previously deselected package build-essential.
(Reading database ... 176131 files and directories currently installed.)
Unpacking build-essential (from .../build-essential_10_i386.deb) ...
Selecting previously deselected package dpatch.
Unpacking dpatch (from .../archives/dpatch_2.0.8_all.deb) ...
Selecting previously deselected package module-assistant.
Unpacking module-assistant (from .../module-assistant_0.6.8_all.deb) ...
Selecting previously deselected package ndiswrapper.
Unpacking ndiswrapper (from .../ndiswrapper_1%3a0.8-1_i386.deb) ...
Selecting previously deselected package ndiswrapper-source.
Unpacking ndiswrapper-source (from .../ndiswrapper-source_1%3a0.8-1_all.deb) ...
Setting up build-essential (10) ...
Setting up dpatch (2.0.8) ...
Setting up module-assistant (0.6.8) ...
Setting up ndiswrapper (0.8-1) ...
Setting up ndiswrapper-source (0.8-1) ...
[EMAIL PROTECTED]:/etc# cd /usr/src/
[EMAIL PROTECTED]:/usr/src# tar -xvzf ndiswrapper-source.tar.gz
modules/ndiswrapper/
modules/ndiswrapper/Makefile
modules/ndiswrapper/hal.c
modules/ndiswrapper/divdi3.c
modules/ndiswrapper/coffpe.h
modules/ndiswrapper/ndiswrapper.h
modules/ndiswrapper/iw_ndis.c
modules/ndiswrapper/iw_ndis.h
modules/ndiswrapper/misc_funcs.c
modules/ndiswrapper/debian/
modules/ndiswrapper/debian/postinst.modules.in
modules/ndiswrapper/debian/rules
modules/ndiswrapper/debian/changelog
modules/ndiswrapper/debian/control.modules.in
modules/ndiswrapper/debian/copyright
modules/ndiswrapper/ndis.c
modules/ndiswrapper/ndis.h
modules/ndiswrapper/proc.c
modules/ndiswrapper/loader.c
modules/ndiswrapper/loader.h
modules/ndiswrapper/version
modules/ndiswrapper/ntoskernel.c
modules/ndiswrapper/ntoskernel.h
modules/ndiswrapper/INSTALL
modules/ndiswrapper/wrapper.c
modules/ndiswrapper/wrapper.h
modules/ndiswrapper/longlong.h
[EMAIL PROTECTED]:/usr/src# cd modules/ndiswrapper/
[EMAIL PROTECTED]:/usr/src/modules/ndiswrapper# sed -i 
's/KVERS=\$(KVERS)/KVER=$(KVERS)/' debian/rules
[EMAIL PROTECTED]:/usr/src/modules/ndiswrapper# debian/rules binary-modules 
KSRC=/lib/modules/`uname -r`/build
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.4-1-686/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} 
${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.4-1-686/g ;s/#KVERS#/2.6.4-1-686/g ; 
s/_KVERS_/2.6.4-1-686/g ; s/##KDREV##/unknown/g ; s/#KDREV#/unknown/g ; 
s/_KDREV_/unknown/g' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs lib/modules/2.6.4-1-686/misc
# build and install the module
/usr/bin/make KPKG_EXTRAV_ARG= KSRC=/lib/modules/2.6.4-1-686/build \
KVER=2.6.4-1-686 \
INST_DIR=debian/tmp/lib/modules/2.6.4-1-686/misc/ install
make[1]: Entering directory `/usr/src/modules/ndiswrapper'
/usr/bin/make -C /lib/modules/2.6.4-1-686/build SUBDIRS=/usr/src/modules/ndiswrapper 
DRV_VERSION=0.8 modules
make[2]: Entering directory `/usr/src/kernel-headers-2.6.4-1-686'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
  CC [M]  /usr/src/modules/ndiswrapper/wrapper.o
  CC [M]  /usr/src/modules/ndiswrapper/iw_ndis.o
  CC [M]  /usr/src/modules/ndiswrapper/loader.o
  CC [M]  /usr/src/modules/ndiswrapper/ntoskernel.o
  CC [M]  /usr/src/modules/ndiswrapper/ndis.o
  CC [M]  /usr/src/modules/ndiswrapper/misc_funcs.o
  CC [M]  /usr/src/modules/ndiswrapper/proc.o
  CC [M]  /usr/src/modules/ndiswrapper/divdi3.o
  CC [M]  /usr/src/modules/ndiswrapper/hal.o
  LD [M]  /usr/src/modules/ndiswrapper/ndiswrapper.o
  Building modules, stage 2.
  MODPOST
  CC      /usr/src/modules/ndiswrapper/ndiswrapper.mod.o
  LD [M]  /usr/src/modules/ndiswrapper/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.4-1-686'
mkdir -p debian/tmp/lib/modules/2.6.4-1-686/misc/
install -m 0644 ndiswrapper.ko debian/tmp/lib/modules/2.6.4-1-686/misc/
#/sbin/depmod -a
make[1]: Leaving directory `/usr/src/modules/ndiswrapper'
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol -- -v1:0.8-1
dh_md5sums
dh_builddeb --destdir=/usr/src/modules/ndiswrapper/..
dpkg-deb: building package `ndiswrapper-modules-2.6.4-1-686' in 
`/usr/src/modules/ndiswrapper/../ndiswrapper-modules-2.6.4-1-686_0.8-1_i386.deb'.
[EMAIL PROTECTED]:/usr/src/modules/ndiswrapper# dpkg -i 
../ndiswrapper-modules-2.6.4-1-686_0.8-1_i386.deb
Selecting previously deselected package ndiswrapper-modules-2.6.4-1-686.
(Reading database ... 176276 files and directories currently installed.)
Unpacking ndiswrapper-modules-2.6.4-1-686 (from 
.../ndiswrapper-modules-2.6.4-1-686_0.8-1_i386.deb) ...
Setting up ndiswrapper-modules-2.6.4-1-686 (0.8-1) ...
[EMAIL PROTECTED]:/usr/src/modules/ndiswrapper# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
[EMAIL PROTECTED]:/usr/src/modules/ndiswrapper# dpkg -L ndiswrapper-modules-2.6.4-1-686
/.
/lib
/lib/modules
/lib/modules/2.6.4-1-686
/lib/modules/2.6.4-1-686/misc
/lib/modules/2.6.4-1-686/misc/ndiswrapper.ko
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ndiswrapper-modules-2.6.4-1-686
/usr/share/doc/ndiswrapper-modules-2.6.4-1-686/copyright
/usr/share/doc/ndiswrapper-modules-2.6.4-1-686/changelog.Debian.gz





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

Reply via email to