|
Bugzilla – Full Text Bug Listing |
| Summary: | ndiswrapper driver is not found by YaST network settings | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Bart geesink <bart> |
| Component: | YaST2 | Assignee: | Vladimir Botka <vbotka> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P3 - Medium | CC: | andrea, behlert, robermann |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | . | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | y2logs | ||
|
Description
Bart geesink
2009-01-14 02:48:05 UTC
Please attach y2logs. If you are in doubt follow: http://en.opensuse.org/Bugs/YaST Thanks! Created attachment 272934 [details]
y2logs
I also have this problem, with a wg111v2 usb stick. I'm attaching my own logs, you the reporter feel free to attach yours own :) The same steps that worked with 11.0 now does not work anymore; I'm using a wg111v2 usb stick. When using ndiswrapper, the device WLAN0 is never created, so not sure if this is a problem related to YaST or UDEV-stuff. re comment#3: when you modprobe ndiswrapper and device is not created, it's not YaST's fault, it's ndiswrapper/driver problem Can you modprobe ndiswrapper manually after installation (modprobe ndiswrapper)? Does it create a wlanX interface after that? Looks to me like ndiswrapper is somehow broken. Building the same module (with all 11.1 patches) manually works just fine. (In reply to comment #5) > Can you modprobe ndiswrapper manually after installation (modprobe > ndiswrapper)? Does it create a wlanX interface after that? Hi Helmut after installing ndiswrapper, I have: linux:/home/roberto # rpm -qa | grep ndiswrapper ndiswrapper-kmp-pae-1.54_2.6.27.7_9.1-4.1 ndiswrapper-1.54-4.1 linux:/home/roberto # uname -ar Linux linux 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux linux:/home/roberto # ndiswrapper -l net111v2 : driver installed device (0846:6A00) present (alternate driver: rtl8187) Then, after "rmmod rtl8187", I have correctly no wlan0 device. Next, after "modprobe ndiswrapper", no wlan0 is created. This is a problem of ndiswrapper, not yast related, isn'it? (In reply to comment #8) > This is a problem of ndiswrapper, not yast related, isn'it? Yes, as I wrote in comment #7 ndiswrapper works fine when compiled manually. I do not have a clue yet why the packaged one is broken. Could you please try if the issue persists with the newer ndiswrapper package from [1]? Thanks. http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.1/ I'm already using the driver:/wireless/openSUSE_11.1 package. Did you compiled it with DEBUG enabled? To what level? No I did not compile with DEBUG. But the ndiswrapper package in openSUSE uses a different Makefile then the one shipped with ndiswrapper. Maybe that's the culprit. My DEBUG question springs from the message read in the ndiswrapper forum on https://sourceforge.net/forum/forum.php?thread_id=2992216&forum_id=323168, which I copy here for your convenience: ------------------------------------ It's been a while I try to get ndiswrapper working with a recent kernel (>2.6.22, with this one it's working). The issue is always the same : the pcmcia card is turning on normaly (LED ok), but can't connect to my WPA network. Here's a small detail of my hardware : Laptop HP/compaq nx9000 Pcmcia card Marvel/libertas 88w8335 The last try was from a 2.6.27 kernel, ndiswrapper 1.54, manually builded. For figuring out the bug reason, I followed the README, enabling debug mode with "make DEBUG=3". Surprise : that's working with it, but not without (???). Several trys give same result. Here's a partial log provided : Feb 10 19:14:41 [kernel] ndiswrapper (mp_request:144): Exit Feb 10 19:14:41 [kernel] ndiswrapper (iw_get_infra_mode:224): Exit Feb 10 19:14:42 [kernel] ndiswrapper (iw_get_network_type:245): Enter Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:113): ddc82900, 0D010204, cb023900 Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:128): 00000000, 0D010204 Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:142): 00000000, 4, 4, 4 Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:144): Exit Feb 10 19:14:42 [kernel] ndiswrapper (iw_get_freq:265): Enter Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:113): ddc82900, 0D010211, cb023900 Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:128): 00000000, 0D010211 Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:142): 00000000, 32, 32, 32 Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:144): Exit Feb 10 19:14:42 [kernel] ndiswrapper (iw_get_encr:745): Enter wnd = daa81380 Feb 10 19:14:42 [kernel] ndiswrapper (iw_get_encr:750): index = 0 Feb 10 19:14:42 [kernel] ndiswrapper (get_ndis_encr_mode:729): Enter Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:113): ddc82900, 0D01011B, cb023900 Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:128): 00000000, 0D01011B Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:142): 00000000, 4, 4, 4 Feb 10 19:14:42 [kernel] ndiswrapper (mp_request:144): Exit Feb 10 19:14:42 [kernel] ndiswrapper (get_ndis_encr_mode:735): Exit I can provide kernel config, more hardware details, on demand ------------------------------------ Could you please try the ndiswrapper package from [1]? [1] http://download.opensuse.org/repositories/home://hschaa:/ndiswrapper/ Yes, hschaa:/ndiswrapper/'s package creates the wlan0 device. Did you figure out the problem? Yep. The Makefile we used in the openSUSE package did something wrong. I changed the package to use the original Makefile and it works now. I'll commit a fixed package to openSUSE:Factory soon. Thanks for testing. Mmm the device is created, it get a DHCP address, but keeps connecting and disconneting from the access point. In the while, I'm never able to ping the access point itself. Am I supposed to upgrade some other package, let's say wpa_supplicant? (In reply to comment #16) > Mmm the device is created, it get a DHCP address, but keeps connecting and > disconneting from the access point. In the while, I'm never able to ping the > access point itself. Am I supposed to upgrade some other package, let's say > wpa_supplicant? No. It should just work with the new ndiswrapper. I'll do some tests tomorrow. adding me in CC because driver:wireless packge maintainer. (why i wasn't noticed about it??) applyed Helmut fix to driver:wireless ndiswrapper package.. please report, (the package is building right now) Tested the following versions: Repo: http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.1/i586/ - ndiswrapper-kmp-pae-1.54_2.6.27.7_9.1-4.1 - ndiswrapper-1.54-4.1 - Repo: http://download.opensuse.org/repositories/driver:/wireless/11.1-update/ - ndiswrapper-1.54-4.1 - ndiswrapper-kmp-pae-1.54_2.6.27.19_3.2-4.1 None version creates the wlanX device. considering also infos you gave me in suseialia, i think the issue maybe related to version 1.54, infact the spec file used on driver:wireless is exactly the same now... (In reply to comment #20) > http://download.opensuse.org/repositories/driver:/wireless/11.1-update/ > - ndiswrapper-1.54-4.1 > - ndiswrapper-kmp-pae-1.54_2.6.27.19_3.2-4.1 > > None version creates the wlanX device. These work for me. Maybe the package wasn't rebuilt yet when you tried them. Andrea, I'll just commit the ndiswrapper package from driver:wireless to openSUSE:Factory. Any objections? he was correct, the problem existed.. i workaround using "make DEBUG=3" with ndiswrapper 1.54 looks to be the only way to fix the issue... (waiting for patches) (In reply to comment #23) > he was correct, the problem existed.. i workaround using "make DEBUG=3" Ah, ok. So the problem is also not fixed upstream yet. Thanks. Just tried: ndiswrapper-1.54-32.1.i586.rpm ndiswrapper-kmp-pae-1.54_2.6.27.7_9.1-32.1.i586.rpm from: http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.1/i586/ linux:/home/roberto/Desktop # uname -r 2.6.27.7-9-pae I have the same problems I spoken about in Comment #16. Vlado, could you please take over here? If you want to see the fix just have a look at "osc diff -r17:18 | less" in driver:wireless/ndiswrapper. please check new package 1.55 in driver:wireless repo and report if they fix you problems Bart. Roberto, does ndiswrapper 1.55 solves the problem ? (In reply to comment #30) > Bart. Roberto, does ndiswrapper 1.55 solves the problem ? What kernel version should I have? It seems to me that ndiswrapper-kmp-pae (1.55_2.6.27.7_9.1) from http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.1 requires the kernel 2.6.27.7_9.1, but I have 2.6.27.29-0.1: uname -ar Linux linux 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux Should I downgrade my kernel? please rember that the repo you used build all kmp packages on OSS repo kernel. use: http://download.opensuse.org/repositories/driver:/wireless/11.1-update/ if you have the "updates" repo enabled I installed the new packages, but I get the same situation as https://bugzilla.novell.com/show_bug.cgi?id=465931#c16. Anyway, maybe that is a different problem. As for me, given that now Yast recognizes ndiswrapper, this bug can be closed. perfect. thanks, please open another bug report for that then. feel free to assign it to me and vladimir This is an autogenerated message for OBS integration: This bug (465931) was mentioned in https://build.opensuse.org/request/show/7809 Factory / ndiswrapper |