Possible bug between Sugar and NetworkManager F11
Franco Miceli
fmiceli at plan.ceibal.edu.uy
Thu Sep 2 08:29:03 EDT 2010
Hi list,
While making mods to NM autoconnection feature I've come across a weird
behaviour from the favourites connections
(/home/olpc/.sugar/connections.cfg) reported to NetworkManager at startup.
What I've seen is that -only at startup- just one connection gets reported
to real_get_best_autoconnection (a function within nm-device-wifi.c), thus
being this one the one that gets choosen by NM (if there's an AP that
matches it). At first I thought it was that the wireless scans did not
report all the APs within range, but later -by debuging the program I found
out that only one favourite connection was reported (from several in
connections.cfg) and all APs where seen. This behaviour doesn't repeat
itserf if the autoconnection feature gets executed after this first time.
Is this something done on purpose for some reason? Is sugar responsible for
this or is NM?
If it is sugar, should I open a ticket or could someone point out where in
jarabe/... can I find this first connection report?
Thanks for everything.
Cheers
2010/9/2 <devel-request at lists.laptop.org>
> Send Devel mailing list submissions to
> devel at lists.laptop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.laptop.org/listinfo/devel
> or, via email, send a message with subject or body 'help' to
> devel-request at lists.laptop.org
>
> You can reach the person managing the list at
> devel-owner at lists.laptop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Devel digest..."
>
>
> Today's Topics:
>
> 1. Re: Initial F14 developers-only release for XO and XO-1.5
> (Yioryos Asprobounitis)
> 2. Re: Initial F14 developers-only release for XO and XO-1.5
> (Daniel Drake)
> 3. Re: Initial F14 developers-only release for XO and XO-1.5
> (Yioryos Asprobounitis)
> 4. Assignment of Network Interface Names (Mikus Grinbergs)
> 5. Re: WiFi vs suspend (Hal Murray)
> 6. Re: Initial F14 developers-only release for XO and XO-1.5
> (Martin Langhoff)
> 7. Re: Initial F14 developers-only release for XO and XO-1.5
> (Yioryos Asprobounitis)
> 8. Re: Initial F14 developers-only release for XO and XO-1.5
> (Bernie Innocenti)
> 9. Re: [support-gang] [IAEP] Announcing the OLPC OS 10.1.2 final
> release! (James Cameron)
> 10. Re: Assignment of Network Interface Names (James Cameron)
> 11. Question on Fedora 13 LiveCD install on hard disk? (Huang, FrankR)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 1 Sep 2010 09:14:58 -0700 (PDT)
> From: Yioryos Asprobounitis <mavrothal at yahoo.com>
> Subject: Re: Initial F14 developers-only release for XO and XO-1.5
> To: Bernie Innocenti <bernie at codewiz.org>, mikus at bga.com
> Cc: OLPC Devel <devel at lists.laptop.org>, fedora-olpc-list
> <fedora-olpc-list at redhat.com>
> Message-ID: <881419.52984.qm at web65511.mail.ac4.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
>
> --- On Wed, 9/1/10, Mikus Grinbergs <mikus at bga.com> wrote:
>
> > > I recommend rebasing on the geode driver 2.11.9, which
> > was just released
> > > by upstream. I've been testing it in Dextrose for
> > about 3 weeks: it
> > > fixes all the known rendering bugs and has no
> > regressions.
> >
> > The XO-1 os1 build already has?
> > xorg-x11-drv-geode-2.11.9-1.fc14.olpc1
>
> This driver should be ported to F11/10.1.2 ASAP. Is day and night compared
> to 2.11.8 when I run it in puppy. The XO-1 is like a new machine.
> pls do _not_ wait for 10.1.3
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 1 Sep 2010 10:16:37 -0600
> From: Daniel Drake <dsd at laptop.org>
> Subject: Re: Initial F14 developers-only release for XO and XO-1.5
> To: Yioryos Asprobounitis <mavrothal at yahoo.com>
> Cc: OLPC Devel <devel at lists.laptop.org>, Bernie Innocenti
> <bernie at codewiz.org>, fedora-olpc-list <
> fedora-olpc-list at redhat.com>
> Message-ID:
> <AANLkTi=jtgyBXbUPa4LaypyjWUs3LF7THYsjFgsEf31u at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 1 September 2010 10:14, Yioryos Asprobounitis <mavrothal at yahoo.com>
> wrote:
> > This driver should be ported to F11/10.1.2 ASAP. Is day and night
> compared to 2.11.8 when I run it in puppy. The XO-1 is like a new machine.
> > pls do _not_ wait for 10.1.3
>
> That's impossible. 10.1.2 has been released.
>
> Daniel
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 1 Sep 2010 10:30:04 -0700 (PDT)
> From: Yioryos Asprobounitis <mavrothal at yahoo.com>
> Subject: Re: Initial F14 developers-only release for XO and XO-1.5
> To: Daniel Drake <dsd at laptop.org>
> Cc: OLPC Devel <devel at lists.laptop.org>, Bernie Innocenti
> <bernie at codewiz.org>, fedora-olpc-list <
> fedora-olpc-list at redhat.com>
> Message-ID: <608817.8863.qm at web65511.mail.ac4.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
>
>
> --- On Wed, 9/1/10, Daniel Drake <dsd at laptop.org> wrote:
>
> > From: Daniel Drake <dsd at laptop.org>
> > Subject: Re: Initial F14 developers-only release for XO and XO-1.5
> > To: "Yioryos Asprobounitis" <mavrothal at yahoo.com>
> > Cc: "Bernie Innocenti" <bernie at codewiz.org>, mikus at bga.com, "OLPC Devel"
> <devel at lists.laptop.org>, "fedora-olpc-list" <fedora-olpc-list at redhat.com>
> > Date: Wednesday, September 1, 2010, 12:16 PM
> > On 1 September 2010 10:14, Yioryos
> > Asprobounitis <mavrothal at yahoo.com>
> > wrote:
> > > This driver should be ported to F11/10.1.2 ASAP. Is
> > day and night compared to 2.11.8 when I run it in puppy. The
> > XO-1 is like a new machine.
> > > pls do _not_ wait for 10.1.3
> >
> > That's impossible. 10.1.2 has been released.
> >
>
> :-)
> I guess what I imply is an F11 rpm.
> But you answer brings up an interesting issue, an "olpc-critical-update"
> mechanism similar to "software update". Lets say a variant of yum with only
> one specific repo, or even just yum with only the olpc repo. A "yum-olpc"
> script
>
> > Daniel
> >
>
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 01 Sep 2010 14:03:40 -0500
> From: Mikus Grinbergs <mikus at bga.com>
> Subject: Assignment of Network Interface Names
> To: OLPC Devel <devel at lists.laptop.org>, fedora-olpc-list
> <fedora-olpc-list at redhat.com>
> Message-ID: <4C7EA38C.9010304 at bga.com>
> Content-Type: text/plain; charset=utf-8
>
> Disclaimer: I am not asking for help; I am just sharing my experiences
>
> I don't have an Access Point - instead, I mainly use ethernet for
> connectivity. Way back with Joyride builds, sometimes it was the
> ethernet instead of the radio that got assigned as interface 'eth0'.
> For consistency, I ended up manually editing 70-persistent-net.rules
> to ensure that my ethernet got assigned the 'eth1' interface name.
>
> The F14 developers' build assigns the radio as interface 'wlan0'.
> Thereby, it is my ethernet that gets assigned interface name 'eth0'.
>
> mikus
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 01 Sep 2010 11:54:06 -0700
> From: Hal Murray <hmurray at megapathdsl.net>
> Subject: Re: WiFi vs suspend
> To: Paul Fox <pgf at laptop.org>
> Cc: devel at lists.laptop.org
> Message-ID:
> <20100901185406.2E89F80003B at ip-64-139-1-69.sjc.megapath.net>
> Content-Type: text/plain; charset=us-ascii
>
> > is this still consistent for you?
>
> No, it started hanging again shortly after I sent that message. :( ??
>
>
> > i've just released a new powerd-27 which contains a fix for XO-1 which
> might
> > affect whether power to the wlan is maintained in some cases, and might
> also
> > cause wake-on-wlan to be disabled by mistake.
>
> Thanks. I'll give it a try.
>
>
> --
> These are my opinions, not necessarily my employer's. I hate spam.
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 1 Sep 2010 15:55:10 -0300
> From: Martin Langhoff <martin.langhoff at gmail.com>
> Subject: Re: Initial F14 developers-only release for XO and XO-1.5
> To: Yioryos Asprobounitis <mavrothal at yahoo.com>
> Cc: OLPC Devel <devel at lists.laptop.org>, Bernie Innocenti
> <bernie at codewiz.org>, fedora-olpc-list <
> fedora-olpc-list at redhat.com>
> Message-ID:
> <AANLkTimYJze9W6kmNfY7NYxkju6osk85XRiQKAnsq67R at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, Sep 1, 2010 at 2:30 PM, Yioryos Asprobounitis
> <mavrothal at yahoo.com> wrote:
> >> > This driver should be ported to F11/10.1.2 ASAP. Is
> >> day and night compared to 2.11.8 when I run it in puppy. The
> >> XO-1 is like a new machine.
> >> > pls do _not_ wait for 10.1.3
> >>
> >> That's impossible. 10.1.2 has been released.
> >>
> >
> > :-)
> > I guess what I imply is an F11 rpm.
> > But you answer brings up an interesting issue, an "olpc-critical-update"
> mechanism similar to "software update". Lets say a variant of yum with only
> one specific repo, or even just yum with only the olpc repo. A "yum-olpc"
> script
>
> Yioryos,
>
> can you spin a F11 RPM of 2.11.9? If it's much improved, and a good
> testing shows it has no regressions, it's a candidate for 10.1.3.
>
> I will be pushing a nice list of fixups for 10.1.3 :-)
>
>
>
>
> m
> --
> ?martin.langhoff at gmail.com
> ?martin at laptop.org -- School Server Architect
> ?- ask interesting questions
> ?- don't get distracted with shiny stuff? - working code first
> ?- http://wiki.laptop.org/go/User:Martinlanghoff
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 1 Sep 2010 13:06:58 -0700 (PDT)
> From: Yioryos Asprobounitis <mavrothal at yahoo.com>
> Subject: Re: Initial F14 developers-only release for XO and XO-1.5
> To: Martin Langhoff <martin.langhoff at gmail.com>
> Cc: OLPC Devel <devel at lists.laptop.org>, Bernie Innocenti
> <bernie at codewiz.org>, fedora-olpc-list <
> fedora-olpc-list at redhat.com>
> Message-ID: <547909.40537.qm at web65509.mail.ac4.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> --- On Wed, 9/1/10, Martin Langhoff <martin.langhoff at gmail.com> wrote:
>
> > From: Martin Langhoff <martin.langhoff at gmail.com>
> > Subject: Re: Initial F14 developers-only release for XO and XO-1.5
> > To: "Yioryos Asprobounitis" <mavrothal at yahoo.com>
> > Cc: "Daniel Drake" <dsd at laptop.org>, "OLPC Devel" <
> devel at lists.laptop.org>, "Bernie Innocenti" <bernie at codewiz.org>,
> "fedora-olpc-list" <fedora-olpc-list at redhat.com>
> > Date: Wednesday, September 1, 2010, 2:55 PM
> > On Wed, Sep 1, 2010 at 2:30 PM,
> > Yioryos Asprobounitis
> > <mavrothal at yahoo.com>
> > wrote:
> > >> > This driver should be ported to F11/10.1.2
> > ASAP. Is
> > >> day and night compared to 2.11.8 when I run it in
> > puppy. The
> > >> XO-1 is like a new machine.
> > >> > pls do _not_ wait for 10.1.3
> > >>
> > >> That's impossible. 10.1.2 has been released.
> > >>
> > >
> > > :-)
> > > I guess what I imply is an F11 rpm.
> > > But you answer brings up an interesting issue, an
> > "olpc-critical-update" mechanism similar to "software
> > update". Lets say a variant of yum with only one specific
> > repo, or even just yum with only the olpc repo. A "yum-olpc"
> > script
> >
> > Yioryos,
> >
> > can you spin a F11 RPM of 2.11.9? If it's much improved,
> > and a good
> > testing shows it has no regressions, it's a candidate for
> > 10.1.3.
> >
> > I will be pushing a nice list of fixups for 10.1.3 :-)
> >
>
> I could try it...
> Anybody has handy the 2.11.8/f11 .spec file for start?
> Though I think that Bernie should have one for the dx2
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 02 Sep 2010 01:07:04 +0200
> From: Bernie Innocenti <bernie at codewiz.org>
> Subject: Re: Initial F14 developers-only release for XO and XO-1.5
> To: Martin Langhoff <martin.langhoff at gmail.com>
> Cc: OLPC Devel <devel at lists.laptop.org>, Yioryos Asprobounitis
> <mavrothal at yahoo.com>, fedora-olpc-list <
> fedora-olpc-list at redhat.com>
> Message-ID: <1283382424.1720.182.camel at giskard.codewiz.org>
> Content-Type: text/plain; charset="UTF-8"
>
> El Wed, 01-09-2010 a las 15:55 -0300, Martin Langhoff escribi?:
>
> > can you spin a F11 RPM of 2.11.9? If it's much improved, and a good
> > testing shows it has no regressions, it's a candidate for 10.1.3.
>
> Enjoy:
>
> rpm -Uvh
> http://download.sugarlabs.org/dextrose/testing/dxo2/rpms/i386/os/xorg-x11-drv-geode-2.11.9-1.fc14.i586.rpm
>
> --
> // Bernie Innocenti - http://codewiz.org/
> \X/ Sugar Labs - http://sugarlabs.org/
>
>
>
> ------------------------------
>
> Message: 9
> Date: Thu, 2 Sep 2010 09:53:08 +1000
> From: James Cameron <quozl at laptop.org>
> Subject: Re: [support-gang] [IAEP] Announcing the OLPC OS 10.1.2 final
> release!
> To: "Community Support Volunteers -- who help respond to help AT
> laptop.org" <support-gang at lists.laptop.org>
> Cc: devel at lists.laptop.org, testing at lists.laptop.org, Bernie Innocenti
> <bernie at codewiz.org>, Chris Ball <cjb at laptop.org>,
> support-gang at laptop.org
> Message-ID: <20100901235308.GS4533 at us.netrek.org>
> Content-Type: text/plain; charset=us-ascii
>
> On Wed, Sep 01, 2010 at 12:16:01PM -0700, Cherry Withers wrote:
> > When I updated to the new Sugar [OLPC OS] release of 852, the Firmware
> > stayed in its old version of Q3A36.
>
> Was external power connected at the time of a reboot? Only then will
> firmware be updated. If not, it's a bug, and I'll need to work with you
> to determine the cause. Let me know if the external power was connected
> before a reboot?
>
> > So the statement above is incorrect?
>
> No, I don't think so.
>
> > Or is this just a matter of doing a clean build (using the first part
> > of the instructions on the wiki) versus an "update"?
>
> It should also happen after an olpc-update, is that what you did? It's
> not clear from your mail. How did you reach os852; using fs-update,
> using four game key press, or using olpc-update?
>
> > Is Q3A50 the accompanying "release" version of the firmware?
>
> No, Q3A48 is the firmware version embedded in os852. You need Q3A50 on
> a NANDblaster sender though.
>
> > In http://wiki.laptop.org/go/Nandblaster_for_XO-1.5
> >
> > - I'm assuming that "finding the channel" for either the sender
> > happens automatically (ie, there's no need for additional set-up by
> > going through the neighborhood and connecting to a wifi network,
> > etc.). It's just a matter of both the receiver and sender to be on the
> > same channel ...
>
> The sender picks the channel with the least activity. The receiver
> checks all channels for a sender.
>
> > and to ensure success
> > just force the channel
>
> Yes, forcing the channel may increase the chances of success, but doing
> it without knowledge of the radio conditions may decrease the chances of
> success.
>
> > (in my head I've associated the channels to the mesh
> > channels which are no longer in XO 1.5)?
>
> This may change.
>
> > - there are no instructions for setting up the Receiver. Is it safe to
> > assume that we should follow the instructions for NANDblasting the XO
> > 1.0 when it comes to the Receiver?
>
> There are instructions for setting up the receiver ... start them with
> the four game keys held down, says the page. Then it says ... if this
> does not work, you may need to manually update the firmware first. This
> should not be required for laptops shipped recently.
>
> If you've been using prototype laptops then you may need to upgrade the
> firmware version first. What firmware version are they? You mentioned
> Q3A36 above. This is far too old. The Wiki page says you should use
> Q3A45 or later if the laptops do not start receiving.
>
> The instructions do not describe how to upgrade the firmware first,
> because in most cases that will not be required, and besides the time
> cost of checking the firmware version is higher than the time cost of
> just trying to receive the broadcast.
>
> The procedure is optimised for mass deployment, not mass upgrade.
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
>
> ------------------------------
>
> Message: 10
> Date: Thu, 2 Sep 2010 10:06:39 +1000
> From: James Cameron <quozl at laptop.org>
> Subject: Re: Assignment of Network Interface Names
> To: Mikus Grinbergs <mikus at bga.com>
> Cc: OLPC Devel <devel at lists.laptop.org>, fedora-olpc-list
> <fedora-olpc-list at redhat.com>
> Message-ID: <20100902000639.GU4533 at us.netrek.org>
> Content-Type: text/plain; charset=us-ascii
>
> On Wed, Sep 01, 2010 at 02:03:40PM -0500, Mikus Grinbergs wrote:
> > The F14 developers' build assigns the radio as interface 'wlan0'.
> > Thereby, it is my ethernet that gets assigned interface name 'eth0'.
>
> Yes, irritating isn't it?
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
>
> ------------------------------
>
> Message: 11
> Date: Thu, 2 Sep 2010 11:40:25 +0800
> From: "Huang, FrankR" <FrankR.Huang at amd.com>
> Subject: Question on Fedora 13 LiveCD install on hard disk?
> To: <devel at lists.laptop.org>
> Cc: fedora-olpc-list at redhat.com
> Message-ID:
> <DD1CC71B621B004FA76856E5129D6B170334DA28 at sbjgexmb1.amd.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi, all
> I create a Fedora 13 Live CD and it can boot using CD-ROM. When
> I click the "Install to Hard Disk" in Menu, I got the error "
> DBusException: org.freedesktop.DBus.Error.AccessDenied: Interface
> "org.freedesktop.NetworkManager". I check this error, it has been
> reported on https://bugzilla.redhat.com/show_bug.cgi?id=626780.
> Is there some solution to this issue?
>
>
> Thanks,
> Frank
>
>
>
> ------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>
> End of Devel Digest, Vol 55, Issue 3
> ************************************
>
--
Ing. Franco Miceli
CITS - Plan Ceibal - Investigación & Desarrollo
Av. Italia 6201 - Montevideo, Uruguay
CP: 11500
Tel: (598 2) 601 5773 int.: 2227
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20100902/49c45f1f/attachment.html>
More information about the Devel
mailing list