public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* iwl3945 regression: WARNING: at net/wireless/core.c:291
@ 2009-04-09  5:56 Kalle Valo
  2009-04-09  7:56 ` [PATCH] fix iwl3945 registration regression Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Kalle Valo @ 2009-04-09  5:56 UTC (permalink / raw)
  To: reinette.chatre; +Cc: Johannes Berg, linux-wireless

Hi Reinette,

I updated to latest wireless-testing and iwl3945 didn't load. I'm using
Lenovo x60s with 32 bit kernel and debian unstable.

The error message:

[   17.484147] ------------[ cut here ]------------
[   17.489314] WARNING: at net/wireless/core.c:291 wiphy_register+0xa7/0x1bf [cfg80211]()
[   17.494687] Hardware name: 1703Y1F
[   17.499921] Modules linked in: snd_seq snd_timer iwl3945(+) snd_seq_device iwlcore pcmcia(+) thinkpad_acpi snd rfkill mac80211 btusb soundcore video backlight yenta_socket rsrc_nonstatic lib80211 bluetooth snd_page_alloc processor battery ac output pcmcia_core rng_core psmouse pcspkr cfg80211 evdev i2c_i801 nvram button ext3 jbd mbcache sha256_generic aes_i586 aes_generic cbc dm_crypt dm_mirror dm_region_hash dm_log dm_snapshot dm_mod sd_mod ata_generic ata_piix uhci_hcd libata scsi_mod sdhci_pci sdhci mmc_core led_class e1000e ide_pci_generic ide_core ehci_hcd usbcore thermal fan
[   17.529567] Pid: 1924, comm: modprobe Not tainted 2.6.30-rc1 #152
[   17.535677] Call Trace:
[   17.541699]  [<c0123415>] warn_slowpath+0x71/0xa8
[   17.547679]  [<c011beb8>] ? enqueue_task_fair+0x131/0x17f
[   17.553539]  [<c01100e7>] ? native_smp_send_reschedule+0x45/0x47
[   17.559499]  [<c011a114>] ? resched_task+0x5d/0x60
[   17.565318]  [<f898438e>] wiphy_register+0xa7/0x1bf [cfg80211]
[   17.571152]  [<f85c6271>] ieee80211_register_hw+0xd8/0x354 [mac80211]
[   17.577000]  [<f871018f>] ? iwl_enable_interrupts+0xca/0xd2 [iwlcore]
[   17.582789]  [<f876b4ac>] iwl3945_pci_probe+0xa9b/0xbb7 [iwl3945]
[   17.588529]  [<c01e70b4>] local_pci_probe+0xe/0x10
[   17.594313]  [<c01e7ad1>] pci_device_probe+0x43/0x66
[   17.600163]  [<c0246e45>] driver_probe_device+0x80/0x10c
[   17.606094]  [<c0246f14>] __driver_attach+0x43/0x5f
[   17.612075]  [<c0246884>] bus_for_each_dev+0x3d/0x67
[   17.617988]  [<c0246d17>] driver_attach+0x14/0x16
[   17.623902]  [<c0246ed1>] ? __driver_attach+0x0/0x5f
[   17.629781]  [<c02462d2>] bus_add_driver+0xd2/0x1e9
[   17.635605]  [<c0247131>] driver_register+0x8b/0xe8
[   17.641438]  [<c01e7df3>] __pci_register_driver+0x38/0x91
[   17.647263]  [<f86c9048>] iwl3945_init+0x48/0x65 [iwl3945]
[   17.653060]  [<c0101137>] do_one_initcall+0x4a/0x10c
[   17.658825]  [<f86c9000>] ? iwl3945_init+0x0/0x65 [iwl3945]
[   17.664628]  [<c0136a52>] ? __blocking_notifier_call_chain+0x40/0x4c
[   17.670478]  [<c0143946>] sys_init_module+0x87/0x186
[   17.676382]  [<c0102948>] sysenter_do_call+0x12/0x26
[   17.682219] ---[ end trace 6325ce0ce8671ee8 ]---
[   17.687950] iwl3945 0000:03:00.0: Failed to register hw (error -22)
[   17.693817] iwl3945 0000:03:00.0: PCI INT A disabled
[   17.699462] iwl3945: probe of 0000:03:00.0 failed with error -22

And the warning from code:

	if (WARN_ON(wiphy->max_scan_ssids < 1))
		return -EINVAL;

It should be easy to fix, I just don't have time to send a patch right
now.

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-10  4:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09  5:56 iwl3945 regression: WARNING: at net/wireless/core.c:291 Kalle Valo
2009-04-09  7:56 ` [PATCH] fix iwl3945 registration regression Johannes Berg
2009-04-09 14:20   ` Kalle Valo
2009-04-09 14:46     ` Larry Finger
2009-04-09 14:57       ` John W. Linville
2009-04-09 15:28         ` Larry Finger
2009-04-10  4:29         ` Kalle Valo
2009-04-09 15:46   ` reinette chatre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox