Fix for Ubuntu networking [Re: Preliminary 12.04 linux-linaro kernel tree]
John Stultz
john.stultz at linaro.org
Thu Apr 19 18:08:40 UTC 2012
On 04/19/2012 04:03 AM, Jon Medhurst (Tixy) wrote:
> On Thu, 2012-04-19 at 11:17 +0100, Jon Medhurst (Tixy) wrote:
>> On Thu, 2012-04-19 at 10:22 +0100, Jon Medhurst (Tixy) wrote:
>>> On Thu, 2012-04-19 at 00:22 +0400, Andrey Konovalov wrote:
>>>> Greetings,
>>>>
>>>> I updated (overwrote) the current linux-linaro tree
>>>> (git://git.linaro.org/kernel/linux-linaro-tracking.git , linux-linaro
>>>> branch).
>>> That builds OK for vexpress and boots Ubuntu. I also kicked off an
>>> Android build [1]
>>>
>> Actually, it has a problem. Firefox can't resolve names or access the
>> network, though ping from the command-line forks (and can resolve domain
>> names.)
>>
>> I also note in syslog that avahi-daemon can't start [1]
>>
>> I'm pretty certain Firefox worked in the previous version of
>> linux-linaro I tested a couple of days ago. Perhaps the Android topic
>> has broken networking on Ubuntu.
> This problem is due to CONFIG_ANDROID_PARANOID_NETWORK being enabled in
> Ubuntu as it defaults to 'y'. Editing configs/ubuntu.conf to add:
>
> # CONFIG_ANDROID_PARANOID_NETWORK is not set
>
> fixes the networking problem (after also fixing a compile error [1])
>
> I note that some other Android configs default to 'y'...
>
> CONFIG_HAS_WAKELOCK
> CONFIG_WAKELOCK
> CONFIG_USER_WAKELOCK
> CONFIG_NET_ACTIVITY_STATS
>
> should we play safe and also disable these in Ubuntu?
Yea. All the android configs should be off for ubuntu.
> Alternatively, it would be nicer if all of these defaulted 'n' and we
> got the Android config to enable them. (But that would mean carrying
> patches to AOSP code I guess.)
>
Yea. But we should be able to push items back to AOSP. I've not done it
since they changed their gerrit system, so its probably a good exercise
for me.
I'll try to queue them up, but until then I'd make sure its off in the
ubuntu config.
thanks
-john
More information about the linaro-dev
mailing list