Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299674 - net-misc/wicd-1.7.0_beta4 with ioctl outputs weird errors in logs
Summary: net-misc/wicd-1.7.0_beta4 with ioctl outputs weird errors in logs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-04 21:44 UTC by Dror Levin (RETIRED)
Modified: 2010-03-05 01:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dror Levin (RETIRED) gentoo-dev 2010-01-04 21:44:58 UTC
I get the following snippet in wicd.log everytime I disconnect from a wireless-network:
2010/01/04 23:24:48 :: Couldn't find a wpa_supplicant ctrl_interface for iface wlan0
2010/01/04 23:24:48 :: Putting interface down
2010/01/04 23:24:48 :: ERROR:dbus.service:Unable to append ('f2\r\xb71X\xa3Z%]\x05\x17X\xe9^\xd4\xab\xb2\xcd\xc6\x9b\xb4T\x11\x0e\x82tA!=\xdc\x87',) to message with signature (s) (guessed): <type 'exceptions.UnicodeError'>: String parameters to be sent over D-Bus must be valid UTF-8
2010/01/04 23:24:48 :: Releasing DHCP leases...
dhcpcd: dhcpcd not running
2010/01/04 23:24:49 :: Setting false IP...
2010/01/04 23:24:49 :: Stopping wpa_supplicantERROR:dbus.service:Unable to append ('f2\r\xb71X\xa3Z%]\x05\x17X\xe9^\xd4\xab\xb2\xcd\xc6\x9b\xb4T\x11\x0e\x82tA!=\xdc\x87',) to message with signature (s) (guessed): <type 'exceptions.UnicodeError'>: String parameters to be sent over D-Bus must be valid UTF-8
2010/01/04 23:24:49 ::
2010/01/04 23:24:49 :: Couldn't find a wpa_supplicant ctrl_interface for iface wlan0
2010/01/04 23:24:49 :: Flushing the routing table...
dev: Host name lookup failure

Switching from ioctl to external makes these disappear.
Comment 1 Francois Chenier 2010-01-05 07:21:43 UTC
> 
> Switching from ioctl to external makes these disappear.
> 

For this version, even switching to external does not fix all problem. I got a lot of dropout with this latest release. The alphas versions definitively run better but they are no longer in the tree.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-05 16:14:36 UTC
It is true that I haven't tried ioctl backend in awhile. I'll try to see what is up with it.

(In reply to comment #1)
> > 
> > Switching from ioctl to external makes these disappear.
> > 
> 
> For this version, even switching to external does not fix all problem. I got a
> lot of dropout with this latest release. The alphas versions definitively run
> better but they are no longer in the tree.
> 

Francois, It is hard to debug "alphas run better" - please get involved and report your issues upstream at http://wicd.net so that the 1.7 release can be great. FWIW, for me, 1.7 is more than fine.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-10 02:01:14 UTC
in >=beta5, ioctl is marked as "NOT SUPPORTED" (in the gtk client view)

As such, I have masked the USE flag because Gentoo will not support it either.

Thanks for reporting your issue.
Comment 4 Robert Cabrera 2010-03-05 01:47:39 UTC
Jeremy, I too am having severe problems with dropouts and lost connections with wicd-1.7.0 final-build 552. Especially in comparison to ver. 1.6.2.2 build-463. I filed this bug report upstream #530292 in regards to the situation.

Previously, I used the "ioctl" use flag. Since the ebuild for 1.7.0 had it disabled I has the use the "external" instead which I now believe is the culprit for the dropouts and lost connections.

I say this because 2 days ago I rebuilt wicd with "ioctl" enabled by placing net-misc/wicd -ioctl in /etc/portage/profile/package.use.mask now my connection issues have been resolved.

Even though ioctl may no longer be officially supported upstream, it appears as though its use does improve connection on some systems. I'm going to comment on this to my bug report upstream.

To the original poster Francois, the "Couldn't find a wpa_supplicant ctrl_interface for iface wlan0" comment in the log appears in previous versions as well as this one. However, no matter how I configured my system I was unable to produce the other comments in your log.

I hope this helps.