So nun habe ich auch das Problem.
Seit dem ich gestern apt-get dist-upgrade gemacht habe will mein ndiswrapper nicht mehr.
Ich habe leider auch nicht genau drauf geachtet was alles geupdated wurde.
Ich hatte mir einen eigenen Kernel gebacken und auch ndiswrapper selber übersetzt.
Nun bekomme ich
Code: Alles auswählen
laptop:/usr/src/modules/ndiswrapper-1.2rc1# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.112005-03-05/misc/ndiswrapper.ko): Invalid module format
Wie hier beschrieben habe ich mir dann nochmal die neuen Sourcen geholt und übersetzt.
Code: Alles auswählen
wget http://kent.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-1.1.tar.gz
tar -xvzf ./ndiswrapper-1.1.tar.gz
make distclean
make
make install
Soweit alles ohne Probleme.
Ich bekomme zwar eine Warung:
*** WARNING: Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel
Aber das ist nicht das Problem.
Nun noch den Treiber laden.
Code: Alles auswählen
laptop:/usr/src/modules/ndiswrapper-1.1# ndiswrapper -i /etc/wlan/bcmwl5.inf
Installing bcmwl5
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
laptop:/usr/src/modules/ndiswrapper-1.1# ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present, hardware present
Beim laden des Moduls geht das Problem nun los.
Code: Alles auswählen
laptop:/usr/src/modules/ndiswrapper-1.1# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.112005-03-05/misc/ndiswrapper.ko): Invalid module format
Im log steht dann
Code: Alles auswählen
laptop:/usr/src/modules/ndiswrapper-1.1# cat /var/log/syslog
May 3 08:28:28 localhost kernel: ndiswrapper: version magic '2.6.112005-05-01 SMP preempt PENTIUM4 4KSTACKS gcc-3.3' should be '2.6.112005-03-05 K8 gcc-3.3'
Warum wird bei mir ein PENTIUM4 Modul gebaut?
Da stimmt doch was nicht.
Hat jemand eine Idee?
//EDIT
Das hier könnte noch interessant sein:
Code: Alles auswählen
laptop:/usr/src/modules# modinfo ndiswrapper
filename: /lib/modules/2.6.112005-03-05/misc/ndiswrapper.ko
author: ndiswrapper team <ndiswrapper-general@lists.sourceforge.net>
version: 1.1
license: GPL
vermagic: 2.6.112005-05-01 SMP preempt PENTIUM4 4KSTACKS gcc-3.3
depends:
srcversion: 881AF1E1C667DB53A4B9938
parm: debug:debug level (int)
parm: hangcheck_interval:The interval, in seconds, for checking if driver is hung. (default: 0) (int)
parm: proc_gid:The gid of the files created in /proc (default: 0). (int)
parm: proc_uid:The uid of the files created in /proc (default: 0). (int)
parm: if_name:Network interface name or template (default: wlan%d) (charp)