Closed Bug 907156 Opened 11 years ago Closed 11 years ago

[MMS] Losing the 3G connectivity after downloading a MMS

Categories

(Core :: DOM: Device Interfaces, defect)

22 Branch
ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 905955

People

(Reporter: julienw, Unassigned)

Details

Attachments

(4 files)

In very frequent situation, I lose the 3G connectivity after receiving a MMS on my 1.1 unagi.

I have different APNs for 3G and MMS, so the device sets up 2 different interfaces rmnet0 and rmnet1. rmnet0 is supposed to be for 3G and rmnet1 is supposed to be for MMS only. However, when running netcfg in those situations, I see that rmnet0 is down whereas rmnet1 s up. Moreover, /proc/net/route shows only entries for rmnet1.

Thanks to Alexandre, I enabled the debug mode for net_worker.js, so I'll attach some logs.


asking leo because this seems very critical to me.
Two different things are strange to me.

First obviously the line :

  08-20 14:39:18.439  1381  1410 I Gecko   : Network Worker: received message: {"cmd":"setDefaultRouteAndDNS","ifname":"rmnet1","oldIfname":"rmnet0","gateway_str":"10.196.65.113","dns1_str":"194.51.3.56","dns2_str":"undefined"}

rmnet1 should never be the default route.

Then the first line looks strange too:

  08-20 14:39:18.339  1381  1410 I Gecko   : Network Worker: received message: {"cmd":"addHostRoute","ifname":"rmnet1","gateway":"10.196.65.113","hostnames":["194.51.3.56","undefined",""]}

I don't exactly understand the "undefined" and the empty string here.
I recovered by switching on flight mode, then switching it off again, loading something in the browser worked.

Then I sent a MMS and everything was still correct after this.
Same problem here except we have a setDNS instead of setDefaultRouteAndDNS, maybe because it already did setDefaultRoute on rmnet1 before ?
Vicamo I think you're the one who knows this code the best, so I'm putting a needinfo on you.
Flags: needinfo?(vyang)
Hi, does bug 905955 help?
Flags: needinfo?(vyang)
will try tomorrow, thanks !
Flags: needinfo?(felash)
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #6)
> Hi, does bug 905955 help?

Looking at this bug and having looked a bit at what happens with julien, I'd be surprised if that does not help :)
This fixes the bug for me, thanks.

I'll attach the b2g18 patch I used on bug 905955.
Status: NEW → RESOLVED
blocking-b2g: leo? → ---
Closed: 11 years ago
Flags: needinfo?(felash)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: