Dell Wireless 1390 WLAN-ndiswrapper problem

Issues related to configuring your network
sc266
Posts: 15
Joined: 2007/07/22 06:58:25

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by sc266 » 2007/09/06 17:39:39

Hi!

When I typed "find /lib/modules/`uname -r` -name ndiswrapper.ko -print"
Output: "find:/lib/modules/uname -r: No such file or directory"??? Of couuse, I logged in as root.

When I change to cd /lib/modules/2.6.9-55.0.2.ELsmp/misc, the ndiswrapper.ko is there. And when I tried to open /sbin/modinfo, they are all binary.

Did I do something wrong here so it did not show the output? Please advice me.

Thanks and Best Regards,

User avatar
toracat
Forum Moderator
Posts: 7453
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by toracat » 2007/09/06 19:34:15

Reboot your machine. My guess is that your kernel has been updated but because the system was not rebooted that time, your kernel version does not match your running kernel. You must reboot into the updated kernel.

sc266
Posts: 15
Joined: 2007/07/22 06:58:25

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by sc266 » 2007/09/07 00:51:45

Hi!

It is boot in new updated kernel, I think. the first time I install Centos4.5, I saw it boot at kernel 2.6.9-55.ELsmp. After I updated, it automatically boot at new kernel 2.6.9-55.0.2.ELsmp. And i did install ndiswrapper at this new kernel 2.6.9-55.0.2.ELsmp, I assume.
The error still the same at previous post and I can't find the output of "find /lib/modules/`uname -r` -name ndiswrapper.ko -print"
I changed to /lib/modules and I saw a lot of kernel??? right there:

2.6.9-55.0.2.ELsmp
2.6.9-55.0.2.EL
2.6.9-55.0.2.ELhugemen
2.6.9-55.EL
2.6.9-55.ELsmp
2.6.9-55.ELhugemen
kabi-4.0-0
kabi-4.0-0smp

I really don't know why it come up with many kernel??

Please help me

Thanks and Best Regards,

User avatar
toracat
Forum Moderator
Posts: 7453
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by toracat » 2007/09/07 01:13:30

I think I know what the problem is. But first of all, when a new updated kernel is installed, the system keeps older kernels in case the new one does not work. In addition, you have the standard kernel, kernel-smp and kernel-hugemem. This is why you see several in /lib/modules.

I realize your current kernel is 2.6.9-55.0.2.ELsmp. There is a know issue about dkms. That is, if your kernel is not the "standard" kernel, dkms does not pull the correct '-devel' package. In your case what you need is 'kernel-smp-devel' but not 'kernel-devel'.

yum install kernel-smp-devel

After that, try rebooting again. Watch while it is booting. You should see something about dkms ... If all goes well, you will find the ndiswrapper.ko.

Hope this fixes your current problem.

Akemi

Note added: The find command has a `uname -r`. Make sure you type a back tick, not a forward tick.

sc266
Posts: 15
Joined: 2007/07/22 06:58:25

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by sc266 » 2007/09/07 04:36:19

Hi!

Yes, after yum install kernel-smp-devel. I saw the ouput as following, thanks
[root@localhost driver34152]# find /lib/modules/`uname -r` -name ndiswrapper.ko -print
/lib/modules/2.6.9-55.0.2.ELsmp/misc/ndiswrapper.ko

but when I do: modprobe ndiswrapper, still error:

[root@localhost driver34152]# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.9-55.0.2.ELsmp/misc/ndiswra pper.ko): Unknown symbol in module, or unknown parameter (see dmesg)

[root@localhost driver34152]# ndiswrapper -l
Unknown line at line 5959
Unknown line at line 5960
Unknown line at line 5961
Unknown line at line 5962
Unknown line at line 5963
Unknown line at line 5964
Unknown line at line 5965
Unknown line at line 5966
Unknown line at line 5967
Unknown line at line 5968
Unknown line at line 5969
Unknown line at line 5970
bcmwl5 : driver installed
device (14E4:4311) present

please guide me through

Thanks and Best Regards,

User avatar
toracat
Forum Moderator
Posts: 7453
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by toracat » 2007/09/07 09:19:21

First you need to get rid of the existing ndiswrapper.ko file and let dkms create one.

/bin/rm /lib/modules/2.6.9-55.0.2.ELsmp/misc/ndiswrapper.ko

/etc/init.d/dkms_autoinstaller start

The second command should write the ndiswrapper.ko for your kernel. Let me know the result.

Akemi

sc266
Posts: 15
Joined: 2007/07/22 06:58:25

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by sc266 » 2007/09/07 17:32:30

Thanks for quick response

I did all two steps like you mentioned in previous message, they went smoothly, but when I did "modprobe ndiswrapper" I got still the same error... Unknown line... Unknown symbol in module.... like previous message.

When I reboot, I saw dkms-autoinstaller start OK. the version of ndiswrapper I used is ndiswrapper 1.47 (newest I believe). I make uninstall and install ndiswrapper everytime you tell me start with new thing or new command, but still hit the same error.

One thing I mentioned during install ndiswrapper (make install) is that

Warning:"task_nice" [/home..../ndiswrapper-1.47/driver/ndiswrapper.ko] undefined.
Warning: This kernel seemed to use 4K stack size option (CONFIG_4KSTACKS).... Disable CONFIG_4KSTACKS option or recompile and install kernel.

Please tell me what I should do next.

Thanks and Best Regards

User avatar
toracat
Forum Moderator
Posts: 7453
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by toracat » 2007/09/07 19:32:05

Alright. It is not a problem of the installation. There seems to be some compatibility issue with the current ndiswrapper and the kernel you are running. Try installing an earlier version by following this.

First, remove the current version:

rpm -e dkms-ndiswrapper

Second, get version 1.38:

wget http://dag.wieers.com/rpm/packages/dkms-ndiswrapper/dkms-ndiswrapper-1.38-1.el4.rf.i386.rpm

Then install it:

rpm -Uvh dkms-ndiswrapper-1.38-1.el4.rf.i386.rpm

When it's finished, try:

modprobe ndiswrapper

Hope it works this time.

Akemi

User avatar
toracat
Forum Moderator
Posts: 7453
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by toracat » 2007/09/07 20:01:56

If the earlier version worked, do the following to prevent automatic update of the dkms-ndiswrapper package.

Edit /etc/yum.repos.d/rpmforge.repo and add this line:

exclude=dkms-ndiswrapper

Keep the .rpm file (1.38) you have downloaded just in case it is needed again.

Akemi

sc266
Posts: 15
Joined: 2007/07/22 06:58:25

Re: Dell Wireless 1390 WLAN-ndiswrapper problem

Post by sc266 » 2007/09/07 21:41:22

Thanks, Akemi. It's just working when I did modprobe ndiswrapper. The light is on but I'm far away my network right now and I can't config my network. I will give it a try early tonight and I let you know. Can you tell me how to config on CentOS4.5? When I reboot my laptop, the wireless light do not turn on automaticly, I have to type "modprobe ndiswrapper" again and then the light turn on. Can you tell me how can I set it turn on automaticly every time I turn on my laptop?
I read through ndiswrapper home page and they suggest to install Wireless Tool version28 for Linux. Do you think I should or should not install this wireless tool? Is CentOS4.5 have this tools?

One more thing I hope you will help me and guide me through. That is my "Synaptics Touch Pad" doesn't work and Cap Lock turn on everytime I reboot my laptop. Sometime if the touch pad is working, the keyboard doesn't work or vice versa...Can you help me on this, please?

Once again, thanks for your time and your help. This discussion is not only helping me but I think it will help a lot of folks out there with HP notebook DV6000 (AMD64x2) on CentOS4.5.

Thanks and Best Regards,

Hung

Post Reply

Return to “CentOS 4 - Networking Support”