First impressions on new Android rootfs

Sean McNeil sean at mcneil.com
Fri Dec 5 04:10:50 CET 2008


Rui,

This looks really bazaar. What version of hardware do you have? Have you 
updated the GSM firmware? The initial chat should look like:

D/AT      ( 2004): CHAT< AT-Command Interpreter ready
D/AT      ( 2004): CHAT> ATZ
D/AT      ( 2004): CHAT< ATZ
D/AT      ( 2004): CHAT< OK
D/AT      ( 2004): CHAT> ATE0Q0V1
D/AT      ( 2004): CHAT< ATE0Q0V1
D/AT      ( 2004): CHAT< OK
D/AT      ( 2004): CHAT> AT+CMUX=1,0,5,128
D/AT      ( 2004): CHAT< OK
D/AT      ( 2004): Control channel opened
D/AT      ( 2004): Logical channel 1 opened
D/AT      ( 2004): MUX[1]> AT 
D/AT      ( 2004): Modem status command on channel 1
D/AT      ( 2004): No frames allowed
D/AT      ( 2004): Command acknowledged by the mobile station
D/AT      ( 2004): MUX[1]< AT-Command Interpreter ready
D/AT      ( 2004): MUX[1]< OK
D/AT      ( 2004): MUX[2]> AT 
D/AT      ( 2004): Logical channel 2 opened
D/AT      ( 2004): Modem status command on channel 2
D/AT      ( 2004): No frames allowed
D/AT      ( 2004): MUX[2]< AT-Command Interpreter ready
D/AT      ( 2004): Command acknowledged by the mobile station
D/AT      ( 2004): MUX[2]< AT
D/AT      ( 2004): MUX[2]< OK
D/RIL     ( 2004): Connecting GPRS channel to tty /dev/pts/1
D/AT      ( 2004): MUX[1]> ATE0Q0V1

Note that yours doesn't go into mux mode and the chat seems out of sync. 
I've bumped up the timeouts on the chat. Can you place the attached file 
into /system/lib on your phone? I'm not sure how easy that will be for 
you as adb lets you remount /system but for us it isn't a filesystem. :(


Rui Castro wrote:
> Hi,
>
> great, the kill-server command did the trick.
> Here's my radio logcat.
>
>
> On Fri, Dec 5, 2008 at 2:37 AM, Sean McNeil <sean at mcneil.com> wrote:
>   
>> Rui Castro wrote:
>>     
>>> Hi,
>>>
>>> With the current kernel and jffs2 image, my GSM network is never available.
>>> I can't produce the radio log because I can't get adb to connect to
>>> neo! It shows "- waiting for device -" all the time.
>>>
>>>       
>> Hmm... Can you ping the phone? Sometimes an old server for adb gets left
>> laying around and you need to do a
>>
>> ADBHOST=neo ./adb kill-server
>>
>> to clear it out.
>>
>>     
>>> On Fri, Dec 5, 2008 at 2:11 AM, Sean McNeil <sean at mcneil.com> wrote:
>>>
>>>       
>>>> Looks like no response from the modem. Perhaps there is an issue with
>>>> turning it on. I've seen this happen here on occasion and a reboot
>>>> resolves it.
>>>>
>>>> Cédric Berger wrote:
>>>>
>>>>         
>>>>> On Thu, Dec 4, 2008 at 05:35, Sean McNeil <sean at mcneil.com> wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> Can you send me the output of
>>>>>>
>>>>>> ADBHOST=neo ./adb logcat -b radio
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>> No GSM for me either.
>>>>>  And SIM contacts import fails too (says "no contacts on SIM").
>>>>>
>>>>> (I aso tried in settings to register to networks, but it already was
>>>>> failing with previous images)
>>>>>
>>>>> adb logcat -b radio :
>>>>>
>>>>> I/RIL     (  857): Opening tty device /dev/s3c2410_serial0,115200
>>>>> I/RIL     (  857): Setting tty device parameters
>>>>> D/AT      (  857): CHAT>
>>>>> D/AT      (  857):
>>>>> D/AT      (  857):
>>>>> D/AT      (  857): AT
>>>>> D/AT      (  857): CHAT< AT-Command Interpreter ready
>>>>> D/AT      (  857): CHAT> ATZ
>>>>> D/AT      (  857): CHAT< OK
>>>>> D/AT      (  857): CHAT> ATE0Q0V1
>>>>> D/AT      (  857): CHAT< ATZ
>>>>> D/AT      (  857): CHAT< OK
>>>>> D/AT      (  857): CHAT> AT+CMUX=1,0,5,128
>>>>> D/AT      (  857): CHAT< ATE0Q0V1
>>>>> D/AT      (  857): CHAT< OK
>>>>> D/RIL     (  857): Connecting GPRS channel to tty /dev/pts/0
>>>>> E/RIL     (  857): Error creating PPP options file: /data/ppp/options.gprs.
>>>>> D/AT      (  857): MUX[1]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[1]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[1]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[1]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[1]> ATE0Q0V1
>>>>> I/RIL     (  857): AT channel timeout; closing
>>>>> D/AT      (  857): MUX[2]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[2]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[2]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[2]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[2]> ATE0Q0V1
>>>>> D/AT      (  857): MUX[1]> AT+CRC=1
>>>>> D/AT      (  857): MUX[1]> AT+CRC=1
>>>>> D/AT      (  857): MUX[1]> AT+CRC=1
>>>>> D/AT      (  857): MUX[1]> AT+CRC=1
>>>>> D/AT      (  857): MUX[1]> AT+CRC=1
>>>>> D/AT      (  857): MUX[1]> ATS0=0
>>>>> D/AT      (  857): MUX[1]> ATS0=0
>>>>> D/AT      (  857): MUX[1]> ATS0=0
>>>>> D/AT      (  857): MUX[1]> ATS0=0
>>>>> D/AT      (  857): MUX[1]> ATS0=0
>>>>> D/AT      (  857): MUX[1]> AT+CMEE=1
>>>>> D/AT      (  857): MUX[1]> AT+CMEE=1
>>>>> D/AT      (  857): MUX[1]> AT+CMEE=1
>>>>> D/AT      (  857): MUX[1]> AT+CMEE=1
>>>>> D/AT      (  857): MUX[1]> AT+CMEE=1
>>>>> D/AT      (  857): MUX[2]> AT+CMEE=1
>>>>> D/AT      (  857): MUX[2]> AT+CMEE=1
>>>>> I/RIL     (  857): Re-opening after close
>>>>> I/RIL     (  857): Setting tty device parameters
>>>>> D/AT      (  857): CHAT>
>>>>> D/AT      (  857):
>>>>> D/AT      (  857):
>>>>> D/AT      (  857): AT
>>>>> D/AT      (  857): CHAT> AT
>>>>> D/AT      (  857): MUX[2]> AT+CMEE=1
>>>>> D/AT      (  857): CHAT> ATZ
>>>>> D/AT      (  857): MUX[2]> AT+CMEE=1
>>>>> D/AT      (  857): MUX[2]> AT+CMEE=1
>>>>> I/RIL     (  857): AT channel timeout; closing
>>>>> D/AT      (  857): MUX[1]> AT+CREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CREG=1
>>>>> D/AT      (  857): MUX[1]> AT+CREG=1
>>>>> D/AT      (  857): MUX[1]> AT+CREG=1
>>>>> D/AT      (  857): MUX[1]> AT+CREG=1
>>>>> D/AT      (  857): MUX[1]> AT+CREG=1
>>>>> D/AT      (  857): MUX[1]> AT+CGREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CGREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CGREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CGREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CGREG=2
>>>>> D/AT      (  857): MUX[1]> AT+CCWA=1
>>>>> D/AT      (  857): MUX[1]> AT+CCWA=1
>>>>> D/AT      (  857): MUX[1]> AT+CCWA=1
>>>>> D/AT      (  857): MUX[1]> AT+CCWA=1
>>>>> D/AT      (  857): MUX[1]> AT+CCWA=1
>>>>> D/AT      (  857): MUX[1]> AT+CMOD=2
>>>>> D/AT      (  857): MUX[1]> AT+CMOD=2
>>>>> D/AT      (  857): MUX[1]> AT+CMOD=2
>>>>> D/AT      (  857): MUX[1]> AT+CMOD=2
>>>>> D/AT      (  857): MUX[1]> AT+CMOD=2
>>>>> D/AT      (  857): MUX[1]> AT+CMUT=0
>>>>> D/AT      (  857): MUX[1]> AT+CMUT=0
>>>>> D/AT      (  857): MUX[1]> AT+CMUT=0
>>>>> D/AT      (  857): MUX[1]> AT+CMUT=0
>>>>> D/AT      (  857): MUX[1]> AT+CMUT=0
>>>>> D/AT      (  857): MUX[1]> AT+CSSN=0,1
>>>>> D/AT      (  857): MUX[1]> AT+CSSN=0,1
>>>>> D/AT      (  857): MUX[1]> AT+CSSN=0,1
>>>>> D/AT      (  857): MUX[1]> AT+CSSN=0,1
>>>>> D/AT      (  857): MUX[1]> AT+CSSN=0,1
>>>>> D/AT      (  857): MUX[1]> AT+COLP=0
>>>>> D/AT      (  857): MUX[1]> AT+COLP=0
>>>>> D/AT      (  857): MUX[1]> AT+COLP=0
>>>>> D/AT      (  857): MUX[1]> AT+COLP=0
>>>>> D/AT      (  857): MUX[1]> AT+COLP=0
>>>>> D/AT      (  857): MUX[1]> AT+CSCS="HEX"
>>>>> D/AT      (  857): MUX[1]> AT+CSCS="HEX"
>>>>> D/AT      (  857): MUX[1]> AT+CSCS="HEX"
>>>>> D/AT      (  857): MUX[1]> AT+CSCS="HEX"
>>>>> D/AT      (  857): MUX[1]> AT+CSCS="HEX"
>>>>> D/AT      (  857): MUX[1]> AT+CUSD=1
>>>>> D/AT      (  857): MUX[1]> AT+CUSD=1
>>>>> D/AT      (  857): MUX[1]> AT+CUSD=1
>>>>> D/AT      (  857): MUX[1]> AT+CUSD=1
>>>>> D/AT      (  857): MUX[1]> AT+CUSD=1
>>>>> D/AT      (  857): MUX[1]> AT+CGEREP=1,0
>>>>> D/AT      (  857): MUX[1]> AT+CGEREP=1,0
>>>>> D/AT      (  857): MUX[1]> AT+CGEREP=1,0
>>>>> D/AT      (  857): MUX[1]> AT+CGEREP=1,0
>>>>> D/AT      (  857): MUX[1]> AT+CGEREP=1,0
>>>>> D/AT      (  857): MUX[1]> AT+CMGF=0
>>>>> D/AT      (  857): MUX[1]> AT+CMGF=0
>>>>> D/AT      (  857): MUX[1]> AT+CMGF=0
>>>>> D/AT      (  857): MUX[1]> AT+CMGF=0
>>>>> D/AT      (  857): MUX[1]> AT+CMGF=0
>>>>> D/AT      (  857): MUX[1]> AT%CSTAT=1
>>>>> D/AT      (  857): MUX[1]> AT%CSTAT=1
>>>>> D/AT      (  857): MUX[1]> AT%CSTAT=1
>>>>> D/AT      (  857): MUX[1]> AT%CSTAT=1
>>>>> D/AT      (  857): MUX[1]> AT%CSTAT=1
>>>>> D/AT      (  857): MUX[1]> AT+CFUN?
>>>>> D/AT      (  857): MUX[1]> AT+CFUN?
>>>>> D/AT      (  857): MUX[1]> AT+CFUN?
>>>>> D/AT      (  857): MUX[1]> AT+CFUN?
>>>>> D/AT      (  857): MUX[1]> AT+CFUN?
>>>>> I/RILC    (  857): libril: new connection
>>>>> I/RILC    (  857): RIL Daemon version: android muxgsm-ril 1.0
>>>>> I/RILJ    (  911): Connected to 'rild' socket
>>>>> D/RILJ    (  911): [UNSL]< RADIO_STATE_CHANGED RADIO_UNAVAILABLE
>>>>> W/GSM     (  911): Can't open /system/etc/voicemail-conf.xml
>>>>> D/RILJ    (  911): [0000]> GET_CURRENT_CALLS
>>>>> D/RIL     (  857): onRequest: GET_CURRENT_CALLS
>>>>> D/RILJ    (  911): [0000]< GET_CURRENT_CALLS error:
>>>>> com.android.internal.telephony.gsm.CommandException:
>>>>> RADIO_NOT_AVAILABLE
>>>>> D/GSM     (  911): Poll ServiceState done:  oldSS=[1 home null null
>>>>> null ] newSS=[1 home null null null ] oldGprs=1 newGprs=1
>>>>> oldType=unknown newType=unknown
>>>>> D/GSM     (  911): [DataConnectionTracker] Radio is off and clean up
>>>>> all connection
>>>>> D/GSM     (  911): [DataConnectionTracker] Clean up connection due to
>>>>> radioTurnedOff
>>>>> D/GSM     (  911): [DataConnection] Stop poll NetStat
>>>>> D/GSM     (  911): [DataConnection] Stop poll NetStat
>>>>> D/GSM     (  911): [DataConnectionTracker] ***trySetupData due to roamingOff
>>>>> D/GSM     (  911): [DataConnectionTracker] trySetupData: Not ready for
>>>>> data:  dataState=IDLE gprsState=1 sim=false UMTS=false phoneState=IDLE
>>>>> dataEnabled=true roaming=false dataOnRoamingEnable=false
>>>>> D/GSM     (  911): [GsmSimCard] Broadcasting intent
>>>>> SIM_STATE_CHANGED_ACTION NOT_READY reason null
>>>>> D/RILJ    (  911): [0001]> RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE
>>>>> D/RIL     (  857): onRequest: GET_PREFERRED_NETWORK_TYPE
>>>>> D/RILJ    (  911): [0001]< RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE
>>>>> error: com.android.internal.telephony.gsm.CommandException:
>>>>> RADIO_NOT_AVAILABLE
>>>>> D/RILJ    (  911): [0002]> QUERY_AVAILABLE_NETWORKS
>>>>> D/RIL     (  857): onRequest: QUERY_AVAILABLE_NETWORKS
>>>>> D/RILJ    (  911): [0002]< QUERY_AVAILABLE_NETWORKS  error:
>>>>> com.android.internal.telephony.gsm.CommandException:
>>>>> RADIO_NOT_AVAILABLE
>>>>> D/RILJ    (  911): [0003]> SET_NETWORK_SELECTION_AUTOMATIC
>>>>> D/RIL     (  857): onRequest: SET_NETWORK_SELECTION_AUTOMATIC
>>>>> D/RILJ    (  911): [0003]< SET_NETWORK_SELECTION_AUTOMATIC error:
>>>>> com.android.internal.telephony.gsm.CommandException:
>>>>> RADIO_NOT_AVAILABLE
>>>>> E/GSM     (  911): failed to commit network selection preference
>>>>> D/RILJ    (  911): [0004]> SET_NETWORK_SELECTION_AUTOMATIC
>>>>> D/RIL     (  857): onRequest: SET_NETWORK_SELECTION_AUTOMATIC
>>>>> D/RILJ    (  911): [0004]< SET_NETWORK_SELECTION_AUTOMATIC error:
>>>>> com.android.internal.telephony.gsm.CommandException:
>>>>> RADIO_NOT_AVAILABLE
>>>>> E/GSM     (  911): failed to commit network selection preference
>>>>> D/RILJ    (  911): [0005]> QUERY_AVAILABLE_NETWORKS
>>>>> D/RIL     (  857): onRequest: QUERY_AVAILABLE_NETWORKS
>>>>> D/RILJ    (  911): [0005]< QUERY_AVAILABLE_NETWORKS  error:
>>>>> com.android.internal.telephony.gsm.CommandException:
>>>>> RADIO_NOT_AVAILABLE
>>>>> D/RILJ    (  911): [0006]> RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE
>>>>> D/RIL     (  857): onRequest: GET_PREFERRED_NETWORK_TYPE
>>>>> D/RILJ    (  911): [0006]< RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE
>>>>> error: com.android.internal.telephony.gsm.CommandException:
>>>>> RADIO_NOT_AVAILABLE
>>>>> D/RILJ    (  911): [0007]> simIO: SIM_IO 0xc0 0x6f3a 0,0,15
>>>>> D/RIL     (  857): onRequest: SIM_IO
>>>>> D/RILJ    (  911): [0007]< SIM_IO error:
>>>>> com.android.internal.telephony.gsm.CommandException:
>>>>> RADIO_NOT_AVAILABLE
>>>>>
>>>>>
>>>>>           
>>>> _______________________________________________
>>>> Openmoko community mailing list
>>>> community at lists.openmoko.org
>>>> http://lists.openmoko.org/mailman/listinfo/community
>>>>
>>>>
>>>>         
>>> _______________________________________________
>>> Openmoko community mailing list
>>> community at lists.openmoko.org
>>> http://lists.openmoko.org/mailman/listinfo/community
>>>
>>>       
>> _______________________________________________
>> Openmoko community mailing list
>> community at lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>     
> >
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmuxgsm-ril.so
Type: application/octet-stream
Size: 30172 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20081205/d4a58d1b/attachment.so 


More information about the community mailing list