No wifi after kernel update

Hello,
I’ve installed opensuse 11.3 few days ago on my laptop, and it seems after kernel update, wifi refuses to work. I’m using gnome and after the update the iwlagn module was not present in the ‘ifup’. So i run modprobe iwlagn and here is the output.

box:/home/kolezko # modprobe iwlagn
FATAL: Error inserting iwlagn (/lib/modules/2.6.34.7-0.4-desktop/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko): Unknown symbol in module, or unknown parameter (see dmesg)
sh: /sys/bus/pci/drivers/iwlagn/new_id: Nie ma takiego pliku ani katalogu
FATAL: Error running install command for iwlagn

here’s dmesg

box:/home/kolezko # dmesg
    0.000000] Linux version 2.6.34.7-0.4-desktop (geeko@buildhost) (gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux) ) #1 SMP PREEMPT 2010-10-07 19:07:51 +0200




    4.193817] PM: Basic memory bitmaps created
    4.206407] PM: Basic memory bitmaps freed
    4.212445] PM: Starting manual resume from disk
    4.212448] PM: Resume from partition 8:5
    4.212449] PM: Checking hibernation image.
    4.212672] PM: Error -22 checking image file
    4.212675] PM: Resume from disk failed.
    4.330629] EXT4-fs (sda6): mounted filesystem with ordered data mode
    6.201114] preloadtrace: systemtap: 1.1/0.147, base: ffffffffa015a000, memory: 37data/40text/25ctx/13net/392alloc kb, probes: 44
    7.911097] udev: starting version 157
    8.068000] i801_smbus 0000:00:1f.3: PCI INT C -> GSI 19 (level, low) -> IRQ 19
    8.068560] iTCO_vendor_support: vendor-support=0
    8.069413] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input5
    8.069517] ACPI: Lid Switch [LID0]
    8.069553] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input6
    8.069574] ACPI: Power Button [PWRB]
    8.069610] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input7
    8.069629] ACPI: Power Button [PWRF]
    8.070489] cfg80211: Calling CRDA to update world regulatory domain
    8.071806] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
    8.071899] iTCO_wdt: Found a ICH9M TCO device (Version=2, TCOBASE=0x0460)
    8.075381] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    8.080971] sdhci: Secure Digital Host Controller Interface driver
    8.080973] sdhci: Copyright(c) Pierre Ossman
    8.081933] sdhci-pci 0000:1a:00.0: SDHCI controller found [197b:2382] (rev 0)
    8.081956] sdhci-pci 0000:1a:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    8.083901] sdhci-pci 0000:1a:00.0: setting latency timer to 64
    8.083930] Registered led device: mmc0::
    8.083953] mmc0: SDHCI controller on PCI [0000:1a:00.0] using ADMA
    8.083963] sdhci-pci 0000:1a:00.2: SDHCI controller found [197b:2381] (rev 0)
    8.083979] sdhci-pci 0000:1a:00.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    8.083984] sdhci-pci 0000:1a:00.2: Refusing to bind to secondary interface.
    8.083990] sdhci-pci 0000:1a:00.2: PCI INT A disabled
    8.085245] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    8.085272] r8169 0000:14:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    8.085310] r8169 0000:14:00.0: setting latency timer to 64
    8.085358]   alloc irq_desc for 31 on node -1
    8.085360]   alloc kstat_irqs on node -1
    8.085374] r8169 0000:14:00.0: irq 31 for MSI/MSI-X
    8.085717] r8169 0000:14:00.0: eth0: RTL8168c/8111c at 0xffffc900112f6000, 00:1e:ec:57:0b:70, XID 1c4000c0 IRQ 31
    8.090631] jmb38x_ms 0000:1a:00.3: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    8.090639] jmb38x_ms 0000:1a:00.3: setting latency timer to 64
    8.091292] input: PC Speaker as /devices/platform/pcspkr/input/input8
    8.092621] lirc_dev: IR Remote Control driver registered, major 61 
    8.094461] cfg80211: World regulatory domain updated:
    8.094463]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    8.094465]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    8.094467]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    8.094469]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    8.094471]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    8.094473]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    8.109200] acpi device:01: registered as cooling_device2
    8.109320] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input9
    8.109347] ACPI: Video Device [PEGP] (multi-head: yes  rom: no  post: no)
    8.109447] sd 0:0:0:0: Attached scsi generic sg0 type 0
    8.109475] scsi 1:0:0:0: Attached scsi generic sg1 type 5
    8.113072] ACPI: AC Adapter [ACAD] (on-line)
    8.130183] enecir: chip is 0x3926 - kbver = 0x00, rev = 0xc0
    8.130190] enecir: hardware features:
    8.130191] enecir: learning and transmit off, gpio40_learn off, fan_in off
    8.130193] lirc_dev: lirc_register_driver: sample_rate: 0
    8.130234] enecir: driver has been succesfully loaded
    8.137485] ACPI: Battery Slot [BAT1] (battery present)
    8.142500] sr0: scsi3-mmc drive: 24x/6x writer dvd-ram cd/rw xa/form2 cdda pop-up
    8.142503] Uniform CD-ROM driver Revision: 3.20
    8.142581] sr 1:0:0:0: Attached scsi CD-ROM sr0
    8.165878]   alloc irq_desc for 22 on node -1
    8.165880]   alloc kstat_irqs on node -1
    8.165887] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    8.165962]   alloc irq_desc for 32 on node -1
    8.165964]   alloc kstat_irqs on node -1
    8.165975] HDA Intel 0000:00:1b.0: irq 32 for MSI/MSI-X
    8.166017] HDA Intel 0000:00:1b.0: setting latency timer to 64
    8.167980] Linux video capture interface: v2.00
    8.169959] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (064e:a115)
    8.180004] iwlagn: Unknown parameter `nowhcrypt'
    8.186473] input: USB 2.0 Camera as /devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.0/input/input10
    8.186517] usbcore: registered new interface driver uvcvideo
    8.186519] USB Video Class driver (v0.1.0)
    8.340913] hda_codec: ALC268: BIOS auto-probing.
    8.340918] ALSA hda_codec.c:4385: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0)
    8.340922] ALSA hda_codec.c:4389:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    8.340924] ALSA hda_codec.c:4393:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
    8.340927] ALSA hda_codec.c:4394:    mono: mono_out=0x0
    8.340929] ALSA hda_codec.c:4405:    inputs: mic=0x18, fmic=0x19, line=0x0, fline=0x0, cd=0x0, aux=0x0
    8.341341] ALSA patch_realtek.c:1287: realtek: No valid SSID, checking pincfg 0x4015822d for NID 0x1d
    8.341344] ALSA patch_realtek.c:1303: realtek: Enabling init ASM_ID=0x822d CODEC_ID=10ec0268
    9.466659] Adding 2103292k swap on /dev/sda5.  Priority:-1 extents:1 across:2103292k 
    9.960664] device-mapper: uevent: version 1.0.3
    9.960772] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com
   10.437332] loop: module loaded
   10.539190] EXT4-fs (sda7): mounted filesystem with ordered data mode
   10.586899] fuse init (API version 7.13)
   12.970806] type=1505 audit(1287337984.195:2): operation="profile_load" pid=1211 name=/bin/ping
   13.014762] type=1505 audit(1287337984.239:3): operation="profile_load" pid=1212 name=/sbin/klogd
   13.090192] type=1505 audit(1287337984.315:4): operation="profile_load" pid=1213 name=/sbin/syslog-ng
   13.165038] type=1505 audit(1287337984.390:5): operation="profile_load" pid=1214 name=/sbin/syslogd
   13.247062] type=1505 audit(1287337984.472:6): operation="profile_load" pid=1215 name=/usr/sbin/avahi-daemon
   13.314162] type=1505 audit(1287337984.539:7): operation="profile_load" pid=1216 name=/usr/sbin/identd
   13.389046] type=1505 audit(1287337984.614:8): operation="profile_load" pid=1217 name=/usr/sbin/mdnsd
   13.475544] type=1505 audit(1287337984.700:9): operation="profile_load" pid=1218 name=/usr/sbin/nscd
   13.600130] type=1505 audit(1287337984.825:10): operation="profile_load" pid=1219 name=/usr/sbin/ntpd
   13.665258] type=1505 audit(1287337984.890:11): operation="profile_load" pid=1220 name=/usr/sbin/traceroute
   14.220291] ip6_tables: (C) 2000-2006 Netfilter Core Team
   14.382005] ip_tables: (C) 2000-2006 Netfilter Core Team
   14.404345] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
   20.401614] r8169 0000:14:00.0: eth0: link down
   20.402069] ADDRCONF(NETDEV_UP): eth0: link is not ready
   20.495849] NET: Registered protocol family 17
   20.602520] nvidia: module license 'NVIDIA' taints kernel.
   20.602523] Disabling lock debugging due to kernel taint
   21.191634] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
   21.191655] nvidia 0000:01:00.0: setting latency timer to 64
   21.191666] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
   21.191958] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  256.53  Fri Aug 27 20:27:48 PDT 2010
   23.353110] CE: hpet increased min_delta_ns to 7500 nsec
   23.353223] CE: hpet increased min_delta_ns to 11250 nsec
   42.866798] type=1503 audit(1287338014.091:12): operation="change_hat" info="unconfined" error=-1 pid=3170
   42.866813] type=1503 audit(1287338014.091:13): operation="change_hat" info="unconfined" error=-1 pid=3170
   50.733890] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
   62.143808] CE: hpet increased min_delta_ns to 16875 nsec
   82.581223] bootsplash: status on console 0 changed to on
  225.870296] usb 1-6: new high speed USB device using ehci_hcd and address 2
  225.986380] usb 1-6: New USB device found, idVendor=0781, idProduct=5406
  225.986389] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  225.986394] usb 1-6: Product: U3 Cruzer Micro
  225.986399] usb 1-6: Manufacturer: SanDisk Corporation
  225.986403] usb 1-6: SerialNumber: 000015A2DA613EF2
  226.054881] Initializing USB Mass Storage driver...
  226.055018] scsi6 : usb-storage 1-6:1.0
  226.055084] usbcore: registered new interface driver usb-storage
  226.055085] USB Mass Storage support registered.
  227.056999] scsi 6:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  3.21 PQ: 0 ANSI: 2
  227.057422] sd 6:0:0:0: Attached scsi generic sg2 type 0
  227.058661] scsi 6:0:0:1: CD-ROM            SanDisk  U3 Cruzer Micro  3.21 PQ: 0 ANSI: 2
  227.064799] sd 6:0:0:0: [sdb] 1994385 512-byte logical blocks: (1.02 GB/973 MiB)
  227.065625] sd 6:0:0:0: [sdb] Write Protect is off
  227.065630] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
  227.065634] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  227.066120] sr1: scsi3-mmc drive: 8x/40x writer xa/form2 cdda tray
  227.066197] sr 6:0:0:1: Attached scsi CD-ROM sr1
  227.066247] sr 6:0:0:1: Attached scsi generic sg3 type 5
  227.070616] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  227.070623]  sdb: sdb1
  227.080983] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  227.080986] sd 6:0:0:0: [sdb] Attached SCSI removable disk
  300.909112] iwlagn: Unknown parameter `nowhcrypt

I hope we will make my wifi card working again ;>

From what I read an option ‘nohwcrypt’ is enabled, whilst the option is not recognized.

How did you install the driver initially to get it working? Did you manually install or use a repository? Does the kernel version you installed match the module version?

uname -r
rpm -qa |grep iwlagn

Well,

/lib/modules/2.6.34.7-0.4-desktop/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko

this is at least the location of the driver already provided with the kernel and no -sane- rpm package containing kernel modules would overwrite that file (but considering what C.R.A.P. you find in OBS, I wouldn’t exclude that possibility).

But Knurpht is most likely on the right track

modinfo iwlagn|grep parm
parm:           debug50:50XX debug output mask (deprecated) (uint)
parm:           debug:debug output mask (uint)
parm:           swcrypto50:using crypto in software (default 0 [hardware]) (deprecated) (bool)
parm:           swcrypto:using crypto in software (default 0 [hardware]) (int)
parm:           queues_num50:number of hw queues in 50xx series (deprecated) (int)
parm:           queues_num:number of hw queues. (int)
parm:           11n_disable50:disable 50XX 11n functionality (deprecated) (int)
parm:           11n_disable:disable 11n functionality (int)
parm:           amsdu_size_8K50:enable 8K amsdu size in 50XX series (deprecated) (int)
parm:           amsdu_size_8K:enable 8K amsdu size (int)
parm:           fw_restart50:restart firmware in case of error (deprecated) (int)
parm:           fw_restart:restart firmware in case of error (int)
parm:           disable_hw_scan:disable hardware scanning (default 0) (int)
parm:           ucode_alternative:specify ucode alternative to use from ucode file (int)

No parameter called hwcrypt there, but I can make a -more or less- educated guess what might have happened.

Our OP read some “ub0rc00l” tutorial how to use aircrack-ng or related tools -where you often find the advice to disable hardware crypto of your wireless card for better injection etc.- but didn’t really read which options to use for which card and copy&paste is just so much easier than actually reading tutorials.

Now there is some module options file floating around in /etc/modprobe.d/ with parameters the driver just doesn’t know and the kernel update is just the excuse not having to blame the problem on the user himself.

:slight_smile: