2007-09-09 16:54:48

by maximilian attems

[permalink] [raw]
Subject: iwlwifi testing

tried out the v6 patch on an x61s
unencrypted network on 2.6.23-rc4-amd64

* no printk on missing firmware
* oops on rmmod (didn't take down an interface before)

i'll try if i can reproduce with patch on 2.6.23-rc5

--
maks

-- lspci -v snipp
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
Subsystem: Intel Corporation Unknown device 1111
Flags: bus master, fast devsel, latency 0, IRQ 1275
Memory at f7f00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Capabilities: [e0] Express Endpoint IRQ 0
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number fb-59-70-ff-ff-e8-13-00

-- ooops
Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
[<0000000000000000>] _stext+0x7fdf7000/0x1a
PGD 2340a067 PUD 1e1b067 PMD 0
Oops: 0010 [1] SMP
CPU 0
Modules linked in: arc4 ecb iwl4965 battery ac thermal fan button e1000 snd_rtctimer usb_storage option ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt ppp_generic slhc nls_iso8859_1 isofs rfcomm l2cap bluetooth uinput ppdev parport_pc lp parport ipv6 acpi_cpufreq cpufreq_ondemand cpufreq_conservative cpufreq_powersave cpufreq_stats freq_table cpufreq_userspace sha256 aes cbc blkcipher sg sr_mod cdrom dm_crypt firewire_sbp2 loop usbserial snd_hda_intel snd_pcm_oss snd_pcm snd_mixer_oss snd_seq_dummy piix snd_seq_oss generic ide_core snd_seq_midi sdhci mmc_core pcmcia snd_rawmidi snd_seq_midi_event snd_seq firewire_ohci firewire_core i2c_i801 yenta_socket rsrc_nonstatic pcmcia_core snd_timer snd_seq_device snd evdev video firmware_class crc_itu_t i2c_core ata_generic serio_raw soundcore output mac80211 intel_agp snd_page_alloc joydev ehci_hcd uhci_hcd cfg80211 psmouse tsdev pcspkr thinkpad_acpi nvram ext3 jbd mbcache dm_mirror dm_snapshot dm_mod sd_mod processor ahci libata scsi_mod
Pid: 2310, comm: rmmod Not tainted 2.6.23-rc4-amd64 #1
RIP: 0010:[<0000000000000000>] [<0000000000000000>] _stext+0x7fdf7000/0x1a
RSP: 0018:ffff810023bd5d80 EFLAGS: 00010296
RAX: ffffffff8824eac0 RBX: ffff81003b4c17f0 RCX: ffffffff80424393
RDX: 0000000000000000 RSI: ffffffff8815f488 RDI: ffff81001ad59aa0
RBP: ffffffff8815f488 R08: ffff810001106a68 R09: ffff81003b4f75c0
R10: 0000000000000020 R11: ffff81001ad58cd0 R12: ffff81003b4c17e0
R13: ffff81001ad58cc0 R14: ffff8100012ca000 R15: ffff81001ad58cc0
FS: 00002b5d87b2a6e0(0000) GS:ffffffff804fa000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000003c1cb000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process rmmod (pid: 2310, threadinfo ffff810023bd4000, task ffff810004de9140)
Stack: ffffffff8815f4a1 0000000000000286 ffff81003b4c17f0 0000000000000000
ffffffff802fef47 ffff81001ad58cd0 0000000000000000 ffff81001ad582e0
ffffffff88152c00 ffff81001ad58cc0 0000000000000004 ffff81001c4fd780
Call Trace:
[<ffffffff8815f4a1>] :mac80211:rate_control_release+0x19/0x2e
[<ffffffff802fef47>] kref_put+0x5d/0x68
[<ffffffff88152c00>] :mac80211:ieee80211_unregister_hw+0x181/0x217
[<ffffffff8823b325>] :iwl4965:iwl_pci_remove+0xff/0x1b1
[<ffffffff8030c775>] pci_device_remove+0x24/0x48
[<ffffffff80368c3e>] __device_release_driver+0x8e/0xb0
[<ffffffff803690d8>] driver_detach+0x98/0xd8
[<ffffffff80368751>] bus_remove_driver+0x6d/0x90
[<ffffffff8030c9cc>] pci_unregister_driver+0x12/0x6c
[<ffffffff8025286f>] sys_delete_module+0x1b1/0x1e0
[<ffffffff8020be6e>] system_call+0x7e/0x83


Code: Bad RIP value.
RIP [<0000000000000000>] _stext+0x7fdf7000/0x1a
RSP <ffff810023bd5d80>
CR2: 0000000000000000


2007-09-17 14:51:02

by Johannes Berg

[permalink] [raw]
Subject: Re: iwlwifi testing

On Sun, 2007-09-16 at 19:16 +0200, maximilian attems wrote:

> fixed thanks, another bugger:
> iwconfig wlan0 mode monitor
> Error for wireless request "Set Mode" (8B06) :
> SET failed on device wlan0 ; Device or resource busy.

first:
# ip link set wlan0 down

johannes


Attachments:
signature.asc (190.00 B)
This is a digitally signed message part

2007-09-09 17:10:13

by maximilian attems

[permalink] [raw]
Subject: Re: iwlwifi testing

On Sun, Sep 09, 2007 at 08:00:21PM +0300, Tomas Winkler wrote:
> Do you have this one in ?
> http://intellinuxwireless.org/repos/?p=iwlwifi.git;a=commit;h=0c4826cdf9adbda1af908aa5fec22ac2277f2e53
>

afais this one was not yet part of
v6-Add-iwlwifi-wireless-drivers.patch

so no, i'll add it.

--
maks

2007-09-19 13:14:51

by maximilian attems

[permalink] [raw]
Subject: Re: iwlwifi testing

On Mon, 17 Sep 2007, Johannes Berg wrote:

> first:
> # ip link set wlan0 down

uups, thanks

another remark beside the missing printk on !firmware.

i never see the wlan thinkpad led blink?
not big story but nice to have.

--
maks

2007-09-09 17:07:01

by maximilian attems

[permalink] [raw]
Subject: Re: iwlwifi testing

On Sun, 09 Sep 2007, maximilian attems wrote:

> i'll try if i can reproduce with patch on 2.6.23-rc5

yo, same story without even connecting to an ap.

--
maks


dmesg | grep iwl
iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 0.1.14ks
iwl4965: Copyright(c) 2003-2007 Intel Corporation
e1000: 0000:00:19.0: e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:16:d3:3e:31:5c
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
wmaster0: Selected rate control algorithm 'iwl-4965-rs'


Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
[<0000000000000000>] _stext+0x7fdf7000/0x1a
PGD 3be74067 PUD 3be81067 PMD 0
Oops: 0010 [1] SMP
CPU 0
Modules linked in: i915 drm rfcomm l2cap bluetooth uinput ppdev parport_pc lp parport ipv6 acpi_cpufreq cpufreq_ondemand cpufreq_conservative cpufreq_powersave cpufreq_stats freq_table cpufreq_userspace sha256 aes cbc dm_crypt firewire_sbp2 loop pcmcia snd_hda_intel snd_pcm_oss snd_pcm snd_mixer_oss arc4 snd_seq_dummy ecb blkcipher snd_seq_oss snd_seq_midi snd_rawmidi firewire_ohci firewire_core snd_seq_midi_event sdhci mmc_core yenta_socket rsrc_nonstatic pcmcia_core crc_itu_t battery snd_seq ac piix snd_timer snd_seq_device video output button snd iwl4965 firmware_class generic ide_core evdev serio_raw soundcore i2c_i801 i2c_core mac80211 intel_agp cfg80211 snd_page_alloc ata_generic e1000 psmouse joydev ehci_hcd uhci_hcd tsdev pcspkr thinkpad_acpi nvram ext3 jbd mbcache dm_mirror dm_snapshot dm_mod sd_mod thermal processor fan ahci libata scsi_mod
Pid: 4767, comm: rmmod Not tainted 2.6.23-rc5-amd64 #1
RIP: 0010:[<0000000000000000>] [<0000000000000000>] _stext+0x7fdf7000/0x1a
RSP: 0018:ffff81002a2cbd80 EFLAGS: 00010296
RAX: ffffffff881daac0 RBX: ffff81003b06dbf0 RCX: ffffffff80424393
RDX: 0000000000000000 RSI: ffffffff88165488 RDI: ffff81003bd71aa0
RBP: ffffffff88165488 R08: ffff810001106a68 R09: ffff81003a083dc0
R10: 0000000000000020 R11: ffff81003bd70cd0 R12: ffff81003b06dbe0
R13: ffff81003bd70cc0 R14: ffff81000119f000 R15: ffff81003bd70cc0
FS: 00002abdfac186e0(0000) GS:ffffffff804f9000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000003c0c1000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process rmmod (pid: 4767, threadinfo ffff81002a2ca000, task ffff81002c95b040)
Stack: ffffffff881654a1 0000000000000286 ffff81003b06dbf0 0000000000000000
ffffffff802fefeb ffff81003bd70cd0 0000000000000000 ffff81003bd702e0
ffffffff88158c00 ffff81003bd70cc0 0000000000000004 ffff81003b03f780
Call Trace:
[<ffffffff881654a1>] :mac80211:rate_control_release+0x19/0x2e
[<ffffffff802fefeb>] kref_put+0x5d/0x68
[<ffffffff88158c00>] :mac80211:ieee80211_unregister_hw+0x181/0x217
[<ffffffff881c7325>] :iwl4965:iwl_pci_remove+0xff/0x1b1
[<ffffffff8030c815>] pci_device_remove+0x24/0x48
[<ffffffff80368c76>] __device_release_driver+0x8e/0xb0
[<ffffffff80369110>] driver_detach+0x98/0xd8
[<ffffffff80368789>] bus_remove_driver+0x6d/0x90
[<ffffffff8030ca6c>] pci_unregister_driver+0x12/0x6c
[<ffffffff802528d3>] sys_delete_module+0x1b1/0x1e0
[<ffffffff8020be6e>] system_call+0x7e/0x83


Code: Bad RIP value.
RIP [<0000000000000000>] _stext+0x7fdf7000/0x1a
RSP <ffff81002a2cbd80>
CR2: 0000000000000000

2007-09-17 12:56:27

by maximilian attems

[permalink] [raw]
Subject: Re: iwlwifi testing

On Sun, 09 Sep 2007, Tomas Winkler wrote:

> > * oops on rmmod (didn't take down an interface before)
> http://intellinuxwireless.org/repos/?p=iwlwifi.git;a=commit;h=0c4826cdf9adbda1af908aa5fec22ac2277f2e53

fixed thanks, another bugger:
iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.

--
maks

2007-09-09 17:00:22

by Tomas Winkler

[permalink] [raw]
Subject: Re: iwlwifi testing

Do you have this one in ?
http://intellinuxwireless.org/repos/?p=iwlwifi.git;a=commit;h=0c4826cdf9adbda1af908aa5fec22ac2277f2e53


On 9/9/07, maximilian attems <[email protected]> wrote:
> tried out the v6 patch on an x61s
> unencrypted network on 2.6.23-rc4-amd64
>
> * no printk on missing firmware
> * oops on rmmod (didn't take down an interface before)
>
> i'll try if i can reproduce with patch on 2.6.23-rc5
>
> --
> maks
>
> -- lspci -v snipp
> 03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
> Subsystem: Intel Corporation Unknown device 1111
> Flags: bus master, fast devsel, latency 0, IRQ 1275
> Memory at f7f00000 (64-bit, non-prefetchable) [size=8K]
> Capabilities: [c8] Power Management version 3
> Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
> Capabilities: [e0] Express Endpoint IRQ 0
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [140] Device Serial Number fb-59-70-ff-ff-e8-13-00
>
> -- ooops
> Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
> [<0000000000000000>] _stext+0x7fdf7000/0x1a
> PGD 2340a067 PUD 1e1b067 PMD 0
> Oops: 0010 [1] SMP
> CPU 0
> Modules linked in: arc4 ecb iwl4965 battery ac thermal fan button e1000 snd_rtctimer usb_storage option ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt ppp_generic slhc nls_iso8859_1 isofs rfcomm l2cap bluetooth uinput ppdev parport_pc lp parport ipv6 acpi_cpufreq cpufreq_ondemand cpufreq_conservative cpufreq_powersave cpufreq_stats freq_table cpufreq_userspace sha256 aes cbc blkcipher sg sr_mod cdrom dm_crypt firewire_sbp2 loop usbserial snd_hda_intel snd_pcm_oss snd_pcm snd_mixer_oss snd_seq_dummy piix snd_seq_oss generic ide_core snd_seq_midi sdhci mmc_core pcmcia snd_rawmidi snd_seq_midi_event snd_seq firewire_ohci firewire_core i2c_i801 yenta_socket rsrc_nonstatic pcmcia_core snd_timer snd_seq_device snd evdev video firmware_class crc_itu_t i2c_core ata_generic serio_raw soundcore output mac80211 intel_agp snd_page_alloc joydev ehci_hcd uhci_hcd cfg80211 psmouse tsdev pcspkr thinkpad_acpi nvram ext3 jbd mbcache dm_mirror dm_snapshot dm_mod sd_mod processor ahci libata scsi_mod
> Pid: 2310, comm: rmmod Not tainted 2.6.23-rc4-amd64 #1
> RIP: 0010:[<0000000000000000>] [<0000000000000000>] _stext+0x7fdf7000/0x1a
> RSP: 0018:ffff810023bd5d80 EFLAGS: 00010296
> RAX: ffffffff8824eac0 RBX: ffff81003b4c17f0 RCX: ffffffff80424393
> RDX: 0000000000000000 RSI: ffffffff8815f488 RDI: ffff81001ad59aa0
> RBP: ffffffff8815f488 R08: ffff810001106a68 R09: ffff81003b4f75c0
> R10: 0000000000000020 R11: ffff81001ad58cd0 R12: ffff81003b4c17e0
> R13: ffff81001ad58cc0 R14: ffff8100012ca000 R15: ffff81001ad58cc0
> FS: 00002b5d87b2a6e0(0000) GS:ffffffff804fa000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 0000000000000000 CR3: 000000003c1cb000 CR4: 00000000000006e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Process rmmod (pid: 2310, threadinfo ffff810023bd4000, task ffff810004de9140)
> Stack: ffffffff8815f4a1 0000000000000286 ffff81003b4c17f0 0000000000000000
> ffffffff802fef47 ffff81001ad58cd0 0000000000000000 ffff81001ad582e0
> ffffffff88152c00 ffff81001ad58cc0 0000000000000004 ffff81001c4fd780
> Call Trace:
> [<ffffffff8815f4a1>] :mac80211:rate_control_release+0x19/0x2e
> [<ffffffff802fef47>] kref_put+0x5d/0x68
> [<ffffffff88152c00>] :mac80211:ieee80211_unregister_hw+0x181/0x217
> [<ffffffff8823b325>] :iwl4965:iwl_pci_remove+0xff/0x1b1
> [<ffffffff8030c775>] pci_device_remove+0x24/0x48
> [<ffffffff80368c3e>] __device_release_driver+0x8e/0xb0
> [<ffffffff803690d8>] driver_detach+0x98/0xd8
> [<ffffffff80368751>] bus_remove_driver+0x6d/0x90
> [<ffffffff8030c9cc>] pci_unregister_driver+0x12/0x6c
> [<ffffffff8025286f>] sys_delete_module+0x1b1/0x1e0
> [<ffffffff8020be6e>] system_call+0x7e/0x83
>
>
> Code: Bad RIP value.
> RIP [<0000000000000000>] _stext+0x7fdf7000/0x1a
> RSP <ffff810023bd5d80>
> CR2: 0000000000000000
> -
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>