Activity log for bug #227033

Date Who What changed Old value New value Message
2008-05-05 19:09:48 Alan Briolat bug added bug
2008-05-05 19:09:48 Alan Briolat bug added attachment 'dmesg.log' (dmesg)
2008-05-05 19:10:15 Alan Briolat bug added attachment 'lspci-vvnn.log' (lspci -vvnn)
2008-05-05 19:14:35 Alan Briolat description The occurrence of this bug is seemingly random, but happens to me on average once a day (but twice while writing this). Effectively, all of my TCP connections do nothing, and any new programs I start which use sockets in any way hang until I resolve the problem. Solving the problem involves making NetworkManager stop the network connection (usually by telling it to reconnect). When I do this I get the following in dmesg: [15824.027472] ndiswrapper (set_scan:1212): scanning failed (C0000001) [15824.277080] ndiswrapper (set_essid:59): setting essid failed (C0000001) [15825.861715] ndiswrapper (set_essid:59): setting essid failed (C0000001) [15826.111890] ndiswrapper (set_essid:59): setting essid failed (C0000001) However all of the processes that hung before catch up when I do this. To regain use of my wireless I have to reload the ndiswrapper module (rmmod ndiswrapper ; modprobe ndiswrapper). At this point, everything is back to normal. I say that it's anything using sockets because most programs that are self-contained work fine when in this state, but things that fail to work tend to be using networking, or GNOME settings daemon (e.g. gnome-terminal, nautilus), or some other form of socket-based thing (I never knew sudo used sockets, but apparently it does!). It took me quite a while to consider the networking to be the problem, but everything started working again when I killed the network connection. I'm thinking maybe this is some kind of deadlock somewhere to do with socket handling, which only gets resolves when a load of TCP connections get dropped. Unfortunately I'm not intimately familiar with the Linux kernel so I'm not sure where to look. Uname: Linux iapetus 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux Version: Ubuntu 2.6.24-16.30-generic Let me know what else is needed (I'll attach the usual dmesg and lspci info). The occurrence of this bug is seemingly random, but happens to me on average once a day (but twice while writing this). Effectively, all of my TCP connections do nothing, and any new programs I start which use sockets in any way hang until I resolve the problem. Solving the problem involves making NetworkManager stop the network connection (usually by telling it to reconnect). When I do this I get the following in dmesg: [15824.027472] ndiswrapper (set_scan:1212): scanning failed (C0000001) [15824.277080] ndiswrapper (set_essid:59): setting essid failed (C0000001) [15825.861715] ndiswrapper (set_essid:59): setting essid failed (C0000001) [15826.111890] ndiswrapper (set_essid:59): setting essid failed (C0000001) However all of the processes that hung before catch up when I do this. To regain use of my wireless I have to reload the ndiswrapper module (rmmod ndiswrapper ; modprobe ndiswrapper). At this point, everything is back to normal. I say that it's anything using sockets because most programs that are self-contained work fine when in this state, but things that fail to work tend to be using networking, or GNOME settings daemon (e.g. gnome-terminal, nautilus), or some other form of socket-based thing (I never knew sudo used sockets, but apparently it does!). It took me quite a while to consider the networking to be the problem, but everything started working again when I killed the network connection. I'm thinking maybe this is some kind of deadlock somewhere to do with socket handling, which only gets resolves when a load of TCP connections get dropped. Unfortunately I'm not intimately familiar with the Linux kernel so I'm not sure where to look. Uname: Linux iapetus 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux Version: Ubuntu 2.6.24-16.30-generic Using ndiswrapper with "Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)" device Let me know what else is needed (I'll attach the usual dmesg and lspci info).
2008-05-05 19:41:48 Richard Seguin linux: status New Incomplete
2008-06-05 17:33:57 Richard Seguin title linux kernel socket deadlock (ndiswrapper?) Netgear WG311v3 causes ndiswrapper socket deadlock
2008-06-23 15:24:20 Richard Seguin linux: status Incomplete Confirmed
2008-06-23 15:24:20 Richard Seguin linux: importance Undecided Medium
2008-06-25 11:06:53 Richard Seguin linux: status New Invalid
2008-07-17 07:09:03 Kemble Wagner bug added attachment 'newmrv.tar.gz' (newmrv.tar.gz)
2008-07-18 11:30:32 maximilianhauser bug assigned to linux
2008-07-18 22:00:38 Kemble Wagner bug added attachment '64BITS.tar.gz' (64BITS.tar.gz)
2008-07-18 22:13:17 Kemble Wagner bug added attachment '64BITSchangedfilename.tar.gz' (64BITSchangedfilename.tar.gz)
2009-12-07 01:46:01 Timothy G. Rundle removed subscriber Timothy G. Rundle
2010-08-28 20:27:30 Przemek K. linux: status New Invalid
2010-08-28 20:27:42 Przemek K. ndiswrapper (Ubuntu): status Confirmed Invalid