ping: sendmsg: No buffer space available (wifi)

Bug #192765 reported by lady_freyja
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: linux-source-2.6.24

On Gutsy, with the wireless devices rt61 and RTL8187, after a while, I lost my Internet connection, if I do a ping test, that says: “ping: sendmsg: No buffer space available”
I must restart my computer or wireless module in order to get back my connection.
The only way to solve this bug is to compile manually the drivers.

Tags: cft-2.6.27
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Can you clarify if you are running the Gutsy or Hardy kernel? The bug report mentions the linux-source-2.6.24 package but you also wrote that you're on Gutsy.

The Hardy Heron Alpha series was recently released which contains an updated version of the kernel. You can download and try the new Hardy Heron Alpha release from http://cdimage.ubuntu.com/releases/hardy/ . You should be able to then test the new kernel via the LiveCD. If you can, please verify if this bug still exists or not and report back your results. General information regarding the release can also be found here: http://www.ubuntu.com/testing/ .

If the issue still exists in Hardy, per the kernel team's bug policy, can you please attach the following information. Please be sure to attach each file as a separate attachment.

* uname -a > uname-a.log
* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help and feedback.

Changed in linux:
status: New → Incomplete
Revision history for this message
skambale (skambale) wrote :

Hi,
I am seeing the same problem on Ubuntu 8.04 beta release. I see the problem specially when I am running multiple torrents and/or Gnutella downloads.
I am using netgear wg111v2 wireless USB adapter.

As per the request above I am attaching all files.

Revision history for this message
skambale (skambale) wrote :
Revision history for this message
skambale (skambale) wrote :
Revision history for this message
skambale (skambale) wrote :
Revision history for this message
skambale (skambale) wrote :

can someone please look at this. I am currently not able to use Wifi

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Ketil Vestby (ketil-vestby) wrote :

If he cant report back, then I can.

Am running a freshly installed 8.04, unmodified, with this problem on an Intel IPW2200 network card. Will attach some files describing my system. :-)

Revision history for this message
Ketil Vestby (ketil-vestby) wrote :
Revision history for this message
Ketil Vestby (ketil-vestby) wrote :

I've had this problem some time, but were unable to pinpoint it due to bug #228707. A change in my wireless network (from WEP key to WPA) made me see when bug I am struggling with..

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Ketil,

The current Alpha5 for Intrepid Ibex 8.10 contains the newer 2.6.27 Ubuntu kernel. It would be great if you would be willing to test. For more information regarding the Alpha5 release, please refer to http://www.ubuntu.com/testing/intrepid/alpha5 . You should be able to test using a LilveCD. Please let us know your results. Thanks.

Changed in linux:
status: Triaged → Incomplete
Revision history for this message
Ketil Vestby (ketil-vestby) wrote :

Tested on the Intreprid beta, no problem on wifi until I started OpenVPN. Updated kernel to 2.6.27-7-generic - and the entire wireless network is lost.

The live CD works perfectly, Intrepid work perfectly as well - until I update.

Here are the uptput from dmesg |grep ipw
[ 15.492302] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
[ 15.492306] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[ 15.501291] ipw2200 0000:02:03.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 15.502043] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
[ 15.502090] firmware: requesting ipw2200-bss.fw
[ 17.293744] ipw2200: Radio Frequency Kill Switch is On:
[ 17.295541] ipw2200: Detected geography ZZD (13 802.11bg channels, 0 802.11a channels)

Here are the output from NetworkManager:
NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
NetworkManager: <info> (eth1): now unmanaged
NetworkManager: <info> (eth1): device state change: 3 -> 1
NetworkManager: <info> (eth1): cleaning up...
NetworkManager: <info> (eth1): taking down device.
NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
root@lappetoppeline:~# NetworkManager --no-daemon
NetworkManager: <info> starting...
NetworkManager: <info> Found radio killswitch /org/freedesktop/Hal/devices/dell_wlan_switch
NetworkManager: <info> eth0: driver is 'NULL(info.linux.driver)'.
NetworkManager: <info> Found new Ethernet device 'eth0'.
NetworkManager: <info> (eth0): exported as /org/freedesktop/Hal/devices/net_00_14_22_94_d2_01
NetworkManager: <info> eth1: driver is 'ipw2200'.
NetworkManager: <info> eth1: driver supports SSID scans (scan_capa 0x21).
NetworkManager: <info> Found new 802.11 WiFi device 'eth1'.
NetworkManager: <info> (eth1): exported as /org/freedesktop/Hal/devices/net_00_13_ce_f0_0d_fc
NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
NetworkManager: <WARN> killswitch_getpower_reply(): Error getting killswitch power: dellWirelessCtl returned 4.
NetworkManager: <info> (eth0): device state change: 1 -> 2
NetworkManager: <info> (eth0): bringing up device.
NetworkManager: <info> (eth0): preparing device.
NetworkManager: <info> (eth0): deactivating device (reason: 2).
NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
NetworkManager: <info> (eth1): device state change: 1 -> 2
NetworkManager: <info> (eth1): bringing up device.
NetworkManager: <info> (eth1): preparing device.
NetworkManager: <info> (eth1): deactivating device (reason: 2).
NetworkManager: <info> (eth1): device state change: 2 -> 3
NetworkManager: <info> (eth1): supplicant interface state change: 1 -> 2.

Revision history for this message
Ketil Vestby (ketil-vestby) wrote :

Updated Intrepid once again, and the bug diappeared: Fixed.

Did a clean install of Intrepid, updated, and the bug is stil missing!

Made a third install, updated, bug still missing. Let the computer use the wifi connection to download continously over the hight, two nights in a row. Still no problem..

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Ketil, thanks for all the feedback. I'm marking this "Fix Released". lady_freyja, since you are the original bug reporter, if this is not resolved for you with Intrepid feel free to reopen by setting the status back to "New". Thanks.

Changed in linux:
status: Incomplete → Fix Released
Revision history for this message
niram (marin-vintila) wrote :

I run Intrepid Ibex with all updates and the bug is still present. I use Wicd for wireless/wired connection management. The problem only occurs after i start openvpn. I have a Realtek Semiconductor Corp. RTL8187B Wireless Adapter.

Changed in linux:
status: Fix Released → New
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi niram,

After you trigger this bug, can you attach your dmesg output? Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
niram (marin-vintila) wrote : Re: [Bug 192765] Re: ping: sendmsg: No buffer space available (wifi)
  • before Edit (36.7 KiB, text/plain; name="before")
  • inter Edit (36.9 KiB, text/plain; name="inter")
  • after Edit (36.9 KiB, text/plain; name="after")

Leann Ogasawara wrote:
> Hi niram,
>
> After you trigger this bug, can you attach your dmesg output? Thanks.
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>
>
Hi,

Sorry for my late response.

I attached 3 files with the dmesg output in 3 different stages:

before: wireless started, everything works, openvpn not started yet
inter: wireless started, openvpn started, stuff still works normally
after: the connection stopped working, i got the "no buffer space
available" message from ping.

I hope this helps you guys solve the problem.

Another thing that i noticed, the connection stopped working just after
i started pidgin, ant it was attempting to connect to yahoo. I don't
know if this is just a coincidence, or if pidgin really caused the problem.

Changed in linux:
status: Incomplete → Triaged
Revision history for this message
niram (marin-vintila) wrote :

I have resolved the issue by installing the compat-wireless drivers at http://wireless.kernel.org/en/users/Download.

Everything is working now, i have used openvpn over wireless for 2 hours now.

Also, wpa2 is working now!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi niram,

Just to let you know, if you install the linux-backports-modules-intrepid package it contains an updated version of the compat-wireless stack so it may be an alternative solution for you as well. Thanks.

Changed in linux:
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
marco caminati (spam-caminati) wrote :

As niram reports to have done in his last post, I have compiled and installed latest http://wireless.kernel.org/ drivers, and all the same the bug is there.
I restate it: at completely random times, wireless totally stops working, and if issued ping accesspoint, a "sendmsg: no buffer space available" error message is returned.
However a preferential trigger seems to be torrent or openssh-based clients (ssh, sftp, sshfs). My setup:
slax 6.1.1
Linux slax 2.6.27.8 #1 SMP Sun Apr 12 22:55:24 Local time zone must be set--see zic i686 VIA Esther processor 1000MHz CentaurHauls GNU/Linux

wifi usb dongle : alfa awus036h, rtl8187 chipset

I add that with old r8187 driver (such as the one included in BackTrack3) there was no problem, but I can't get it to compile on present 27.8 kernel.

I also tried to increase /proc/sys/net/core/wmem_max up to 100000000 as read somewhere, without success.

Revision history for this message
anjilslaire (anjilslaire) wrote :

I'm also experiencing this exact issue on Jaunty Netbook Remix installed on a Dell Mini 9 with Broadcom 4312 wireless chipset. Ping & connectivity drops, but network manager reports full signal on wireless. Logs attached.

Should I enable Jaunty backports for a fix?

Revision history for this message
anjilslaire (anjilslaire) wrote :
Revision history for this message
anjilslaire (anjilslaire) wrote :
Revision history for this message
anjilslaire (anjilslaire) wrote :
Revision history for this message
anjilslaire (anjilslaire) wrote :

Update:
Attached is dmesg right after wifi goes out, immediately after trying to stream media from my wired server within the LAN.

Thanks for any help

Revision history for this message
anjilslaire (anjilslaire) wrote :

FYI-
Just added backports for Jaunty via

sudo apt-get install linux-backports-modules-jaunty,

I get prompted for new backports kernel modules, and install them/reboot.
No change. I've removed backports.

Just trying to be thorough, thanks.

Revision history for this message
Partha (partha1b-deactivatedaccount) wrote :

How do you increase the wmem_max value? I am getting permission denied when I do:
sudo echo 83886080 > /proc/sys/net/core/wmem_max
bash: /proc/sys/net/core/wmem_max: Permission denied

I am also getting a constant dropping of network with my card (atheros Ar928). Lot of these in dmesg:

[ 1395.576122] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020
[ 1396.593119] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020
[ 1396.812230] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020

(I do miss /var/log/messages which does not seem to contain much info).

My system:
Linux Bordeaux 2.6.31-12-generic #39-Ubuntu SMP Mon Oct 5 22:08:01 UTC 2009 i686 GNU/Linu (Karmic with the latest updates installed).

I had similar problem with this card - dropping connection every 10 minutes, any big download is doomed to failure since the card freezes and drops connections.

In the past, (prior to kernel 2.6.31), I simply used an older version of compat-wireless (from April of 2009) which compiled fine and gave a rock solid connection. Unfortunately, you can no longer compile that version with the new kernel.

Revision history for this message
jcran-0x0e (jcran-0x0e) wrote :

running into this when connected via ssl vpn client, fyi. disconnect seems to solve it.

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.