[Bug 569663] New: kernel update 2.6.31.8 breaks ndiswrapper compatability for x86 architecture
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c0 Summary: kernel update 2.6.31.8 breaks ndiswrapper compatability for x86 architecture Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: danielm@ecoscentric.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.1 (like Gecko) SUSE I applied security update for my kernel without thinking that temporarily I'm using the ndiswrapper for wireless connection (office relocation). Unfortunately prebuilt kernel modules (ndiswrapper-kmp-desktop) are not available for this kernel from the repo, as the build appears to fail for non-x64 when looking through the OBS logs for the package from:- http://download.opensuse.org/repositories/driver:/wireless/11.2-update As murphy would dictate, I don't have the necessary ksym & development packages installed on this machine and I need the network to get them and resolve the various complaints, and around we go! I can shuffle a package or three via USB key, but trying to resolve dependencies this way is tedious. Reproducible: Always Steps to Reproduce: 1. zypper up 2. #hit y without thinking 3. #doh! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |meissner@novell.com Info Provider| |danielm@ecoscentric.com --- Comment #1 from Marcus Meissner <meissner@novell.com> 2010-01-12 13:43:32 UTC --- the previous ndiswrapper-kmp-desktop should still work with the new kernel. what does modprobe ndiswrapper report? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c2 --- Comment #2 from Daniel Morris <danielm@ecoscentric.com> 2010-01-13 14:13:32 UTC --- I didn't think of trying the old module with newer kernel, I'll try cp -p /lib/modules/2.6.31.5-0.1-desktop/updates/ndiswrapper.ko /lib/modules/2.6.31.8-0.1-desktop/updates I'll try it when the snow thaws a bit and I can get back into the office! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c3 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEEDINFO |ASSIGNED Info Provider|danielm@ecoscentric.com | AssignedTo|kernel-maintainers@forge.pr |mmarek@novell.com |ovo.novell.com | --- Comment #3 from Michal Marek <mmarek@novell.com> 2010-01-13 14:27:27 UTC --- The kernel post script should symlink the module automatically if it is compatible. But apparently this doesn't work: # rpm -ivh ndiswrapper-kmp-desktop-1.55_2.6.31.5_0.1-3.4.i586.rpm Připravuji... ########################################### [100%] 1:ndiswrapper-kmp-desktop########################################### [100%] WARNING: /lib/modules/2.6.31.5-0.1-desktop/updates/ndiswrapper.ko needs unknown symbol dma_alloc_from_coherent WARNING: /lib/modules/2.6.31.5-0.1-desktop/updates/ndiswrapper.ko needs unknown symbol dma_release_from_coherent WARNING: /lib/modules/2.6.31.5-0.1-desktop/updates/ndiswrapper.ko needs unknown symbol __FIXADDR_TOP WARNING: /lib/modules/2.6.31.5-0.1-desktop/updates/ndiswrapper.ko needs unknown symbol physnode_map WARNING: /lib/modules/2.6.31.5-0.1-desktop/updates/ndiswrapper.ko needs unknown symbol page_address -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c4 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |danielm@ecoscentric.com --- Comment #4 from Michal Marek <mmarek@novell.com> 2010-01-13 14:33:24 UTC --- Ah, I was too fast. The above message is irrelevant, I was testing a 32bit kernel & ndiswrapper on a 64bit install and the script tried to also symlink the module to the 64bit kernel, which of course didn't work. But it successfully created the symlink for the new kernel: lrwxrwxrwx 1 root root 56 Jan 13 15:25 /lib/modules/2.6.31.8-0.1-desktop/weak-updates/updates/ndiswrapper.ko -> /lib/modules/2.6.31.5-0.1-desktop/updates/ndiswrapper.ko Don't you have such symlink in /lib/modules/2.6.31.8-0.1-desktop/weak-updates/updates/? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c5 Daniel Morris <danielm@ecoscentric.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|danielm@ecoscentric.com | --- Comment #5 from Daniel Morris <danielm@ecoscentric.com> 2010-01-15 11:05:59 UTC --- None of this works in a straightforward manner! But does in the end ;-) Or more specifically, I erased all copies of ndiswrapper* from the machine with zypper, and just for kicks did a reboot. # uname -a Linux mach 2.6.31.8-0.1-desktop #1 SMP PREEMPT 2009-12-15 23:55:40 +0100 i686 i686 i386 GNU/Linux # zypper in ndiswrapper Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: kernel-default-base ndiswrapper ndiswrapper-kmp-default As you may notice/infer, that dependency is wrong, as it installs /lib/modules/2.6.31.5-0.1-default/updates/ndiswrapper.ko from ndiswrapper-kmp-default even though I'm running the desktop kernel. Manually symlinking into 2.6.31.8-0.1-desktop & depmod'ing, yields:- # modprobe ndiswrapper FATAL: Error inserting ndiswrapper (/lib/modules/2.6.31.8-0.1-desktop/updates/ndiswrapper.ko): Invalid module format So I manually removed the symlink, # zypper in ndiswrapper-kmp-desktop and modprobe succeeded. Happy days (more so, 'cos the cable guys have rewired me and I no longer need to use ndiswrapper to kludge M$ drivers). Just in case anyone is searching for this, I'm really impressed that the ndiswrapper solution actually works, even having WPA2 support from my cheapie ebuyer Tenda WA-T1, which was only bought "just in case" as it was effectively free as it brought an order up to the free shipping level. I 'll try to submit this to the ndiswrapper database as it says WPA2 doesn't work. # ndiswrapper -l netmw225 : driver installed device (1286:1FAB) present Configuration was simple entering the WPA2 key using NetworkManager within KDE-4.3.1. Going back to the bug description, I suppose the post-install script works out that the modules installed don't match the running kernel and thus skipped creating a symlink, a workaround is documented above and I'll leave the report for a developer/maintainer to decide how best to resolve/close. Thanks Marcus & Michal for your help. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c6 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |danielm@ecoscentric.com --- Comment #6 from Michal Marek <mmarek@novell.com> 2010-01-15 11:13:27 UTC --- Can you attach your /var/log/zypp/history? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c7 Daniel Morris <danielm@ecoscentric.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|danielm@ecoscentric.com | --- Comment #7 from Daniel Morris <danielm@ecoscentric.com> 2010-01-15 12:25:30 UTC --- Created an attachment (id=336799) --> (http://bugzilla.novell.com/attachment.cgi?id=336799) /var/log/zypp/history as requested -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c8 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Kernel |libzypp AssignedTo|mmarek@novell.com |zypp-maintainers@forge.prov | |o.novell.com --- Comment #8 from Michal Marek <mmarek@novell.com> 2010-08-12 12:27:09 UTC --- (In reply to comment #5)
# uname -a Linux mach 2.6.31.8-0.1-desktop #1 SMP PREEMPT 2009-12-15 23:55:40 +0100 i686 i686 i386 GNU/Linux # zypper in ndiswrapper Loading repository data... Reading installed packages... Resolving package dependencies...
The following NEW packages are going to be installed: kernel-default-base ndiswrapper ndiswrapper-kmp-default
As you may notice/infer, that dependency is wrong, as it installs /lib/modules/2.6.31.5-0.1-default/updates/ndiswrapper.ko from ndiswrapper-kmp-default even though I'm running the desktop kernel.
That looks like a solver bug (it should install ndiswrapper-kmp-desktop, that does not drag in further packages). Reassigning to libzypp maintainers (note that this is 11.2). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569663 http://bugzilla.novell.com/show_bug.cgi?id=569663#c9 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |danielm@ecoscentric.com --- Comment #9 from Michael Andres <ma@novell.com> 2010-08-12 17:40:35 CEST --- Please attach a solver testcase (see http://en.opensuse.org/openSUSE:Bugreport_YaST#I_want_to_report_a_bug_relate...) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=569663 https://bugzilla.novell.com/show_bug.cgi?id=569663#c10 Daniel Morris <danielm@ecoscentric.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|danielm@ecoscentric.com | Resolution| |FIXED --- Comment #10 from Daniel Morris <danielm@ecoscentric.com> 2011-03-24 09:19:11 UTC --- Sorry, I thought I'd replied before. The system has long been upgraded so it is no longer possible to produce a solver testcase. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=569663 https://bugzilla.novell.com/show_bug.cgi?id=569663#c Daniel Morris <danielm@ecoscentric.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |WONTFIX -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com