Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79584 - ndiswrapper-1.0_rc4 doesn't work
Summary: ndiswrapper-1.0_rc4 doesn't work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 08:29 UTC by Marco Clocchiatti
Modified: 2005-06-30 15:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
file with output of dmesg, emerge info, iwconfig (dmesg.txt,17.77 KB, text/plain)
2005-01-26 12:05 UTC, Marco Clocchiatti
Details
lspci -vvv (lspci.txt,13.44 KB, text/plain)
2005-01-28 12:52 UTC, Marco Clocchiatti
Details
log output (ndiswrapper.txt,2.86 KB, text/plain)
2005-01-28 13:02 UTC, Marco Clocchiatti
Details
new documentation (nuovo.txt,2.13 KB, text/plain)
2005-01-30 04:45 UTC, Marco Clocchiatti
Details
log output (log.txt,1.40 KB, text/plain)
2005-03-06 14:47 UTC, Marco Clocchiatti
Details
better documentation about /etc/ndiswrapper (ndiswrapper.tar,170.00 KB, text/tar)
2005-05-10 15:50 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2005-01-26 08:29:06 UTC
Acer aspire 1524

# lspci
...
0000:00:0a.0 Ethernet controller: Linksys, A Division of Cisco Systems [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01)
...

driver neti2220 downloaded from ftp://ftp.support.acer-euro.com/notebook/aspire_1360/driver

new ndiswrapper driver doesn't work. I'm forced to use  ndiswrapper-1.0_rc2.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Roland Bär 2005-01-26 08:34:41 UTC
rc4 works fine here on Acer Ferrari 3200/amd64. But this uses Broadcom driver.
What actually does not work? Where does it break?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2005-01-26 09:35:24 UTC
Thank you Roland... I think you hit it on the head. Macro, you provided no info.

1. emerge info
2. define EXACTLY what's wrong (note... this should be WELL defined)
3. compile ndiswrapper with USE="debug"
4. include dmesg output.

Without that info, based on the info you provided I'm going to have to close out the bug cause there's no way to tell what's wrong.
Comment 3 Marco Clocchiatti 2005-01-26 12:05:31 UTC
Created attachment 49581 [details]
file with output of dmesg, emerge info, iwconfig

I attached output of dmesg, emerge info, iwconfig
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2005-01-26 16:52:58 UTC
Marco... You've got to be kidding me here. Do you actually read what you post?


ndiswrapper (ndiswrapper_load_driver:98): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'

So include system log messages that mention "loadndiswrapper"

I'm gonna go out on a limb here, since you failed to read twice now. I'm going to assume you didn't read the postinstall messages from the ndiswrapper ebuild. RE-install ndiswrapper and read them... and follow the instructions.

*hint* Reinstall your Windows driver.
Comment 5 Marco Clocchiatti 2005-01-27 05:52:29 UTC
@ Doug: I'm not kiddingd at all. I'm just a noob, not a developer. I prefear to give you unsufficient informations, instead of bad informations. If you don't like that, I'm sorry. May you close the bug, but I advise you: your new driver does not work on my system, while the old does.
Instead, I'm happy to do any check you want to suggest me.

That's the procedure I use to install ndiswrapper. I've repeated it a lot of times before posting. It's a bit redundant to be sure of any step:

#modprobe -rv ndiswrapper
#ndiswrapper -e neti2220
#rm -rf /lib/modules/2.6.10-gentoo-r6/misc/ndiswrapper.ko
#emerge -C ndiswrapper
#emerge ndiswrapper
#ndiswrapper -i /lib/windrivers/neti2220.inf
#modprobe -v ndiswrapper
#iwconfig

About that line: check system log for messages from 'loadndisdriver'
I've read it, but I've not find any other good information.
/var/log/everything/current and /var/log/kernel/current give he same line
than dmesg.
Anyway, now I attached a tail of my log:

gentoo-amd cloc3 # tail -n 10 -f /var/log/kernel/current
...
Jan 27 08:59:08 [kernel] ndiswrapper version 1.0rc4 loaded (preempt=yes,smp=no)
Jan 27 08:59:08 [kernel] ndiswrapper (ndiswrapper_load_driver:98): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'

Thank you, and excuse me if that's not enough again.
Comment 6 Roland Bär 2005-01-27 06:40:55 UTC
Probably there is still something open with preempt kernel, try compiling it without that
(Processor type and features -> [ ] Preemptible kernel).

Otherwise, maybe something with the Windows driver, you could try another one
for that card have a look at http://ndiswrapper.sourceforge.net/phpwiki/index.php/List
Search for INPROCOMM

Whats the complete output for for "lspci -v" for that devices?

Otherwise, you should compile that with DEBUG=3, but don't just don't know how to pass
this to emerge....
Comment 7 Marco Clocchiatti 2005-01-28 12:52:43 UTC
Created attachment 49764 [details]
lspci -vvv

> ... Windows driver, you could try another one ...
I've tried these two drivers: 
ftp://ftp.support.acer-euro.com/notebook/aspire_1360/driver/80211g.zip
ftp://ftp.support.acer-euro.com/notebook/TravelMate_4000_4500/driver/a802.zip

they both work with old driver, but no with the new.
I've tried to use no preempt kernel, but the same, works only the old driver.

I've compiled ndiswrapper with DEBUG=3 in such way (self made):

# mkdir /usr/local/portage/net-wireless/
# cp -a /usr/portage/net-wireless/ndiswrapper /usr/local/portage
# mkdir /var/tmp/portage/ndiswrapper-1.0_rc4
# ebuild /usr/local/portage/net-wireless/ndiswrapper/ndiswrapper-1.0_rc4.ebuild
unpack
#cd /var/tmp/portage/ndiswrapper-1.0_rc4/work/ndiswrapper-1.0rc4/
# make DEBUG=3
# ebuild /usr/local/portage/net-wireless/ndiswrapper/ndiswrapper-1.0_rc4.ebuild
install
# ebuild /usr/local/portage/net-wireless/ndiswrapper/ndiswrapper-1.0_rc4.ebuild
qmerge

That's output from logs:

gentoo-amd ndiswrapper-1.0rc4 # tail -f /var/log/everything/current
Jan 28 18:12:20 [su] PAM pam_putenv: delete non-existent entry; XAUTHORITY
Jan 28 18:13:48 [kernel] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync
at byte 4
Jan 28 18:13:48 [kernel] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync
at byte 1
Jan 28 18:13:48 [kernel] psmouse.c: TouchPad at isa0060/serio4/input0 - driver
resynched.
Jan 28 18:15:51 [kernel] ndiswrapper version 1.0rc4 loaded (preempt=yes,smp=no)

Jan 28 18:15:52 [loadndisdriver] loadndisdriver: add_driver_devices(424): file
17FE:2220:1468:0305 is not valid - ignored_
Jan 28 18:15:52 [loadndisdriver] loadndisdriver: add_driver_devices(424): file
17FE:2220 is not valid - ignored_
Jan 28 18:15:52 [kernel] ndiswrapper (ndiswrapper_load_driver:98):
loadndiswrapper failed (65280); check system log for messages from
'loadndisdriver'
Jan 28 18:15:52 [loadndisdriver] loadndisdriver: load_driver(324): coudln't
find valid drivers files for driver neti2220_
Jan 28 18:15:52 [loadndisdriver] loadndisdriver: load_driver(350): couldn't
load driver neti2220_

gentoo-amd ndiswrapper-1.0rc4 # tail -f /var/log/kernel/current
Jan 28 18:10:54 [kernel] lp0: using parport0 (polling).
Jan 28 18:11:01 [kernel] Installing knfsd (copyright (C) 1996
okir@monad.swb.de).
Jan 28 18:11:16 [kernel] agpgart: Found an AGP 3.0 compliant device at
0000:00:00.0.
		- Last output repeated twice -
Jan 28 18:11:36 [kernel] cdrom: open failed.
Jan 28 18:13:48 [kernel] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync
at byte 4
Jan 28 18:13:48 [kernel] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync
at byte 1
Jan 28 18:13:48 [kernel] psmouse.c: TouchPad at isa0060/serio4/input0 - driver
resynched.
Jan 28 18:15:51 [kernel] ndiswrapper version 1.0rc4 loaded (preempt=yes,smp=no)

Jan 28 18:15:52 [kernel] ndiswrapper (ndiswrapper_load_driver:98):
loadndiswrapper failed (65280); check system log for messages from
'loadndisdriver'
Comment 8 Marco Clocchiatti 2005-01-28 13:02:43 UTC
Created attachment 49765 [details]
log output

precedent log output is not readable, so I attach that.
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2005-01-30 00:57:40 UTC
Redownload the driver. Ensure its the driver for Windows XP and try again.
Comment 10 Marco Clocchiatti 2005-01-30 04:45:09 UTC
Created attachment 49924 [details]
new documentation

Thank you Doug, for your answer.

I'm afraid. Now I have a different behaviour, but not good again.
I've attached all documentation.
Comment 11 Doug Goldstein (RETIRED) gentoo-dev 2005-01-30 08:46:30 UTC
if you saw in your previous bug reports... you had "neti2200_" as the driver name. and it said this was a bad filename. the driver replaces file names with characters it can not understand with "_". This occurs usually with non-WinXP drivers.

I don't see any issue at all. I see it working. The only issue I see is that your wireless card is not connected to an access point. Just connect to an access point.
Comment 12 Marco Clocchiatti 2005-01-31 05:51:11 UTC
I'm sorry, but I've really not understood what you saw about "neti2220_".

I've tried a lot of different windrivers, and different configurations. They all work with ndiswrapper-1.0_rc2, but no with ndiswrapper-1.0_rc4, even if one winxp driver seems to start, but it cannot to establish a connection with my access point. I need just to unistall ndiswrapper-1.0_rc4 and reinstall ndiswrapper-1.0_rc2 to have my connection working. It's perfectly repeteable.

Now I'm not able to help you with better information, because I'm not an expert, but I hope that's may be useful for you.

Thank you for your patience.
Comment 13 Marco Clocchiatti 2005-03-06 14:47:35 UTC
Created attachment 52816 [details]
log output

same behaviour with ndiswrapper-1.1 than ndiwrapper-1.0_rc4 and
ndiswrapper-1.0.
The driver seems to start, but I have no access point connection.

ndiswrapper-1.0_rc2 works fine.
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2005-05-07 00:48:14 UTC
please tell me what you have in /etc/ndiswrapper/
Comment 15 Marco Clocchiatti 2005-05-10 14:39:01 UTC
cloc3@gentoo-amd ~ $ ls -R /etc/ndiswrapper
Comment 16 Marco Clocchiatti 2005-05-10 14:40:34 UTC
cloc3@gentoo-amd ~ $ ls -R /etc/ndiswrapper
/etc/ndiswrapper:
neti2220  neti2220.

/etc/ndiswrapper/neti2220:
17FE:2220:1468:0305.conf  17FE:2220.conf  i2220ntx.sys  neti2220.inf

/etc/ndiswrapper/neti2220.:
Comment 17 Marco Clocchiatti 2005-05-10 15:50:32 UTC
Created attachment 58625 [details]
better documentation about /etc/ndiswrapper
Comment 18 Marco Clocchiatti 2005-05-10 22:07:50 UTC
A new issue now: ndiswrapper-1.1-r1 does not load kernel module (modprobe) with kernel 2.6.7-gentoo-r7 (amd64 32 bit) patched for reiser4 (while ndiswrapper-1.0-r2 does). If you like, I open a new bug.
Comment 19 Doug Goldstein (RETIRED) gentoo-dev 2005-05-11 22:11:47 UTC
You see the issue? it's trying to work with /etc/ndiswrapper/neti2200_ while your folders are "/etc/ndiswrapper/neti2200" and "/etc/ndiswrapper/neti2200." I'm willing to bet it's trying to use the 2nd one because it can't handle "." in the name and it's being converted to a _

What you can do is

# cd /etc/ndiswrapper
# ln -s neti2200. neti2200_

and all should be well.

As far as the reiser4 issue. That should be a seperate bug. but remember, we only support gentoo-sources and vanilla-sources. no special patches. and you didn't provide the info on it. but that should go in a seperate bug.
Comment 20 Marco Clocchiatti 2005-05-12 14:01:04 UTC
I'm afraid. Your solution doesn't work.
But I'm lucky, because I found an old ndiswrapper-1.0_rc2.ebuild version to put in portage overlay, after portage cleaning of my dear ebuild.

About reiser4 issue: it was false. Just missing modules-update.
Comment 21 Doug Goldstein (RETIRED) gentoo-dev 2005-06-30 15:18:17 UTC
this is a Windows driver issue purely. I've described and explained it as best
as I can.