Adding to that sometimes during boottime if the cpu activity is high 
sometimes some logs are jumbled or missed...Its often better to ( i always) 
do a # cat /proc/kmsg to see total logs when on adb shell,specially when 
dmesg is unsatisfactory. 

Also in serial logs make sure ur serial bus is at 115200bps.  

Regards
Anirudh

On Thursday, July 11, 2013 6:30:53 AM UTC+5:30, m-ric wrote:
>
> Hi Ryan,
>
> Have a look at "loglevel [0-8]" in /init.rc and /init.<yourdevice>.rc
> Also check the behavior of:
> # dmesg -n1
> (do some stuff that triggers printks)
> # dmesg -n8
> (do some stuff that triggers printks)
>
> $ man /proc
> (search for printk)
>
> And read 
> https://groups.google.com/forum/#!topic/android-porting/tXQ6dUyMDKk
> And you'll probably understand what's happening.
>
> Emeric
>
>
> On Sun, Jul 7, 2013 at 8:56 AM, <ryanph...@googlemail.com <javascript:>>wrote:
>
>> Hi,
>>
>> I have a few questions of the prints that we see using printks.
>>
>> 1) When i connect to the "Serial Port" of the board and observe the 
>> prints - Some of them are missing. I see the "dollar sign against the shell 
>> prompt"
>> 2) When i connect to the board using Adb - I see some of them and also, 
>> The user is shown as "root". I see the hash sign against my shell prompt.
>> 3) When i do dmesg - I can see some prints missing in adb.
>>
>> How does this work? Why some prints are not visible in serial port but in 
>> adb.
>> Also, Why some prints are missing in adb but appear when i do dmesg.
>>
>> Can anyone explain this please.
>>
>>
>> Thanks.
>> Ryan
>>   
>>
>> -- 
>> -- 
>> unsubscribe: android-kerne...@googlegroups.com <javascript:>
>> website: http://groups.google.com/group/android-kernel
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Linux Kernel Development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-kerne...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to