ipw3945 doesn't work after gutsy update (2.6.22-10), SRU TEST CASE

Bug #134193 reported by Winckler
14
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.22 (Ubuntu)
Invalid
Low
Canonical Kernel Team
Gutsy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: linux-restricted-modules-2.6.22-10-generic

I have a Notebook HP DV6500 with a Wireless card Intel IPW3945. It was working until the latest kernel update (to the version 2.6.22-10).

The /sbin/ipw3945d-2.6.22-10-generic command returns:
ipw3945d - regulatory daemon
Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
version: 1.7.22
2007-08-23 01:30:05: ERROR: Could not find Intel PRO/Wireless 3945ABG Network Connection

The bluetooth still works (I think uses the same hardware, but a different driver stack).

I'm using gutsy, and as I said, with kernel 2.6.22-9 and 2.6.22-8 it was working.

Revision history for this message
exactt (giesbert) wrote :

i had a similar problem. the problem was that grub was booting a 2.6.22-10-i386 kernel instead of 2.6.22-10-generic. selecting the generic kernel on startup fixed the problem for me...

Revision history for this message
Re Alvarez (re-alvz) wrote :

on HP DV 2220tx....same thing happened after the update....

along with WIFI i even lost Sound Card.

Revision history for this message
Winckler (winckler) wrote :

Today, after a 3th reboot, everything works!!! I really sorry, but I don't know what fix it, because I didn't apply any update.
My grub is fine, boot up the same kernel as before.

The only difference is that i have installed the restricted-manager package and installed alsa-drivers (from source) with a patch for my sound card.
It might be a hardware issue after all.

For me, this strange bug can be closed,
but since others are having this issue, we may trace this.
Any idea how?

Revision history for this message
exactt (giesbert) wrote :

@Re Alvarez : have you checked for the generic kernel as mentioned above? for the sound problem see bug #134146 at https://bugs.launchpad.net/bugs/134146

Revision history for this message
Re Alvarez (re-alvz) wrote :

i am still facing this issue....i have booting with generic kernel and not i386....i already rebooted about 6 times...with no results...

@Winkler....
Was your sound not working too? How did you install restricted-manager package?? can you give me the details so i can fix my laptop too...

thanks in advance,

Revision history for this message
Winckler (winckler) wrote :

@Re Alvarez:
To fix the sound I used this tip: http://ubuntuforums.org/showpost.php?p=2997056&postcount=15

and I have installed the restricted-manager using apt-get. But I have the feeling that this bug is not related to this package.

I hope it will help. If You need some thing else, let me know.

Revision history for this message
Andrew Williams (wilan488) wrote :

Same issue on Dell XPS M1210, along with no sound.

Revision history for this message
Winckler (winckler) wrote :

Since there are no news, and I have my wireless working (I can't backtrace), I will change the status of this bug. If someone disagree with me, feel free to change.

Changed in linux-restricted-modules-2.6.22:
status: New → Incomplete
Revision history for this message
Jon-o Addleman (jaddle) wrote :

I'm noticing something similar, but it's only happening with the rt (realtime) kernel. I have these packages installed:

ii linux-image-2.6.22-11-generic 2.6.22-11.33 Linux kernel image for version 2.6.22 on x86
ii linux-image-2.6.22-11-rt 2.6.22-11.33 Linux kernel image for version 2.6.22 on RT
ii linux-restricted-modules-2.6.22-11-generic 2.6.22.3-11.4 Non-free Linux 2.6.22 modules on x86/x86_64
ii linux-restricted-modules-2.6.22-11-rt 2.6.22.3-11.4 Non-free Linux 2.6.22 modules on Realtime ke

I don't have any other 2.6.22 kernels or modules installed.

When I try to load the ipw3945 module after booting the -rt kernel, I get 'invalid module format'. Rebooting with the -generic kernel, everything works perfectly.

Maybe it's not related at all, but seems similar...

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Booting with 2.6.22-12-generic I have no problems. With 2.6.22-13-generic the ipw3945 driver just doesn't load. locate tells me there are different files installed for these two kernel builds. It seems like the ipw3945.ko is missing from the 2.6.22-13 build, together with the firmware ipw3945.ucode.

$ locate ipw3945
/lib/modules/2.6.22-12-generic/ubuntu/wireless/ipw3945
/lib/modules/2.6.22-12-generic/ubuntu/wireless/ipw3945/ipw3945.ko
/lib/firmware/2.6.22-12-generic/ipw3945.ucode
/etc/modprobe.d/ipw3945
/usr/lib/python2.5/site-packages/RestrictedManager/handlers/ipw3945.py
/usr/lib/python2.5/site-packages/RestrictedManager/handlers/ipw3945.pyc
/usr/share/restricted-manager/modalias_override/ipw3945.manual
/sbin/ipw3945d-2.6.22-13-generic
/sbin/ipw3945d-2.6.22-12-generic

Packages:
i linux-image-2.6.22-12-generic
i linux-image-2.6.22-13-generic
i linux-restricted-modules-2.6.22-12-generic
i linux-restricted-modules-2.6.22-13-generic
i A linux-restricted-modules-common
i A linux-restricted-modules-generic

Changed in linux-restricted-modules-2.6.22:
status: Incomplete → Confirmed
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Re Alvarez (re-alvz) wrote : Re: [Bug 134193] Re: ipw3945 doesn't work after gutsy update (2.6.22-10)

Do you have linux-restricted-modules for 2.6.22.13 installed?

Revision history for this message
chastell (chastell) wrote : Re: ipw3945 doesn't work after gutsy update (2.6.22-10)

I ran into the same issue on my ThinkPad X60. Both -386 and -generic 2.6.22.12 work, -386 2.6.22.13 doesn’t. All of the relevant linux-restricted-modules{,-386,-generic} installed in 2.6.22.13 versions.

Revision history for this message
chastell (chastell) wrote :

And now I just checked that -generic 2.6.22.13 works as well, to this issue seems to be specific to -386 in my case (in much the same way it’s specific to -rt for Jon-o Addleman).

Revision history for this message
chastell (chastell) wrote :

FWIW, this is still the case for me with 2.6.22.14 – -generic works, -386 doesn’t.

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

This is a critical bug, I won't be able to use wireless ipw3945 with gutsy. The latest update to 2.6.22-14 doesn't bring the ipw3945.ko module.

Changed in linux-restricted-modules-2.6.22:
assignee: nobody → canonical-kernel-team
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Screenshot of restricted-manager running 2.6.22-14

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Screenshot of restricted-manager running 2.6.22-12

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Seems the package linux-ubuntu-modules-2.6.22-14-generic was not installed when upgrading. I installed it manually, to see if that fixes the problem.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

did you have linux-image-generic installed?

This gets installed with the gutsy cds - is this an upgrade bug only?

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Might be an installer bug

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

/var/log/dist-upgrade/apt.log

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Loaded modules with working kernel 2.6.22-12

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Loaded modules with updated kernel 2.6.22-14

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Sound disappears with 2.6.22-14 as well.

$ uname -a
Linux runar-laptop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
$ sudo modprobe ipw3945
FATAL: Module ipw3945 not found.
2007-10-16 18:56:30: ERROR: Could not find Intel PRO/Wireless 3945ABG Network Connection
$ locate ipw3945
/lib/modules/2.6.22-14-generic/ubuntu/wireless/ipw3945
/lib/modules/2.6.22-14-generic/ubuntu/wireless/ipw3945/ipw3945.ko
/lib/modules/2.6.22-12-generic/ubuntu/wireless/ipw3945
/lib/modules/2.6.22-12-generic/ubuntu/wireless/ipw3945/ipw3945.ko
/lib/firmware/2.6.22-14-generic/ipw3945.ucode
/lib/firmware/2.6.22-12-generic/ipw3945.ucode
/etc/modprobe.d/ipw3945
/usr/lib/python2.5/site-packages/RestrictedManager/handlers/ipw3945.py
/usr/lib/python2.5/site-packages/RestrictedManager/handlers/ipw3945.pyc
/usr/share/restricted-manager/modalias_override/ipw3945.manual
/sbin/ipw3945d-2.6.22-13-generic
/sbin/ipw3945d-2.6.22-14-generic
/sbin/ipw3945d-2.6.22-12-genericer

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

Installed packages

Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

All my problems disappeared after running "sudo depmod -a"

Revision history for this message
Tim Gardner (timg-tpi) wrote :

ipw3945 requires linux-restricted-modules-2.6.22 as well as linux-ubuntu-modules-2.6.22 to be installed.

Changed in linux-restricted-modules-2.6.22:
status: Confirmed → Invalid
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :

That's right but the problem seems to be that depmod wasn't run at install time.

Revision history for this message
Winckler (winckler) wrote :

For me, everything is working, for a long time.
But I'm chasing the a alsa bug, so I have done lots of depmod.

If anyone need a specific info, please ask.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Actually, it runs depmod but with an incorrect option '-A'. I discovered this little gem while doing the backports module.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Gutsy lum commit 1dd3609f422ff59911ece1c6ae2eefacc13cb3af

Changed in linux-restricted-modules-2.6.22:
importance: Undecided → Low
milestone: none → ubuntu-7.10-rc
status: Invalid → Fix Committed
Revision history for this message
chastell (chastell) wrote :

Both linux-image-2.6.22-14-386 2.6.22-14.46 and linux-image-2.6.22-14-generic 2.6.22-14.46 work for me – thanks for fixing this!

Revision history for this message
TheIdeaMan (theideaman) wrote :

The secret it installing linux-ubuntu-modules-2.6.22-14-386.

After installing Gutsy, things worked fine with the 2.6.22-14-generic kernel, but in the -386 kernal, ipw3945 was enabled but not "in use." Loading the above package solved the problem.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

linux-ubuntu-modules-2.6.22_2.6.22-14.38 is currently in the unapproved queue.

This patch updates lum postinst and postrm hooks so that depmod detects _all_ modules correctly.

Changed in linux-restricted-modules-2.6.22:
milestone: ubuntu-7.10-rc → gutsy-updates
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into gutsy-proposed, please test and give feedback here.

 linux-ubuntu-modules-2.6.22 (2.6.22-14.38) gutsy-proposed; urgency=low
 .
   [Amit Kucheria]
 .
   * Poulsbo: Update DRM driver to sync with moblin tree
 .
   [Phillip Lougher]
 .
   * Backport lookup_one_len_nd NFS changes from Unionfs 2.0
     - LP: #137765, 103044
   * Backport unionfs_statfs from Unionfs 2.0
     - LP: #137765, 103044
 .
   [Tim Gardner]
 .
   * postinst does not run depmod correctly.
     - LP: #134193
   * depmod uses incorrect options in postinst and postrm
     - LP: #134193
   * Add STAC9228 DMIC support.
     - LP: #153963
   * l-u-m ships with OLD cx2341x mpeg encoder firmware
     - LP: #99107
   * Prevent hard system locks when lirc_pvr150 is loaded
     - LP: #156747
   * Fix version ipw3945 string for Centrino Mobile Test (CMT).
     - LP: #128360

Changed in linux-ubuntu-modules-2.6.22:
status: New → Fix Committed
Revision history for this message
Tim Gardner (timg-tpi) wrote :

TEST CASE: versions of postinst/postrm hooks prior to lum 14.38 called depmod with the '-A' option which only looks at modules newer then modules.dep. If you have installed or removed packages in just the right order you can create a modules.dep that does not correctly describe the module relationships, especially in the case when there are multiple modules that support the same hardware.

There isn't really a good test case for lum, I found this problem with linux-backports-modules which is far more likely to get removed and installed (and exhibit the problem). However, I wanted to change the use of depmod in Gutsy lum now so that I don't forget to add it to the Hardy version of lum.

Revision history for this message
Steve Langasek (vorlon) wrote :

marking as invalid for > gutsy, source package in question does not exist there. please open a separate linux-ubuntu-modules-2.6.24 task if needed.

Changed in linux-ubuntu-modules-2.6.22:
milestone: gutsy-updates → none
status: Fix Committed → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

l-u-m copied from gutsy-proposed to gutsy-updates.

Changed in linux-ubuntu-modules-2.6.22:
status: Fix Committed → Fix Released
Revision history for this message
vtsuryawanshi (vtsuryawanshi) wrote :

wireless ipw3945

Changed in linux-ubuntu-modules-2.6.22 (Ubuntu Gutsy):
status: Fix Released → Incomplete
status: Incomplete → Confirmed
Martin Pitt (pitti)
Changed in linux-ubuntu-modules-2.6.22 (Ubuntu Gutsy):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.