Package: wireless-tools
Version: 29-1.1
Severity: normal
Attach: /home/master/foo 

I'm in an area where there are _many_ different APs and SSIDs.  In
some places, the WiFi network works fine for me. Then something like
40 to 60 cells are listed. But in some places, "iwlist scan" returns
"print_scanning_info: Allocation failed". Probably (but that is just a
guess) there are even more cells found there and some fixed-size
buffer overflows?

I straced "iwlist scan" in that situation, and it tries to mmap
2^64 - ( 2^31 - 2^12 ) bytes of memory, which obviously fails... This
looks like a 32 bit signed value under/overflow combined with a 64 bit
unsigned over/underflow :-)

The strace is attached.

In the "not working situation", network-manager puts in the syslog:

Aug 13 12:48:25 doggy NetworkManager: <WARN>  
request_and_convert_scan_results(): unknown error, or the card returned too 
much scan info: Argument list too long

So maybe it is a hardware/firmware and/or driver problem _combined_
with an iwlist bug, I'm not sure. The situation certainly seems to be
specific to my hardware, if the network were broken for everybody,
there would be more complaining all around...

This may or may not be linked to http://bugs.debian.org/532207.

mas...@doggy:~$ lspci |grep -i wire
03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5300
mas...@doggy:~$ dmesg |grep -i iwl
[    5.699090] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 
1.3.27ks
[    5.699165] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[    5.700114] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    5.700184] iwlagn 0000:03:00.0: setting latency timer to 64
[    5.700211] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 5300AGN 
REV=0x24
[    5.719423] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a 
channels
[    5.719591] iwlagn 0000:03:00.0: irq 30 for MSI/MSI-X
[    6.307849] phy0: Selected rate control algorithm 'iwl-agn-rs'
[   20.282177] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-2.ucode
[   20.428529] iwlagn 0000:03:00.0: iwlwifi-5000-2.ucode firmware file req 
failed: -2
[   20.428604] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-1.ucode
[   20.569551] iwlagn 0000:03:00.0: Loaded firmware iwlwifi-5000-1.ucode, which 
is deprecated. Please use API v2 instead.
[   20.569629] iwlagn 0000:03:00.0: Firmware has old API version. Expected v2, 
got v1. New firmware can be obtained from http://www.intellinuxwireless.org.
[   20.569710] iwlagn 0000:03:00.0: loaded firmware version 5.4.1.16
[   20.727513] Registered led device: iwl-phy0::radio
[   20.727605] Registered led device: iwl-phy0::assoc
[   20.727685] Registered led device: iwl-phy0::RX
[   20.727771] Registered led device: iwl-phy0::TX
[ 1100.647302] Registered led device: iwl-phy0::radio
[ 1100.647353] Registered led device: iwl-phy0::assoc
[ 1100.647396] Registered led device: iwl-phy0::RX
[ 1100.647439] Registered led device: iwl-phy0::TX
mas...@doggy:~$ dpkg -l 'firmware-iwlwifi'|tail -n1
ii  firmware-iwlwifi        0.17                    Binary firmware for Intel 
Wireless 3945, 4965 and 5000-series 


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable'), (400, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wireless-tools depends on:
ii  libc6                         2.9-21     GNU C Library: Shared libraries
ii  libiw29                       29-1.1     Wireless tools - library

wireless-tools recommends no packages.

wireless-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to