1,  some progress
 -  if gdm is enabled,  even '$' over ttyO2 comes very late when login from 
serial tty, see detailed analysis
    in next part.
 -  if gdm is disabled, '$' over ttyO2 comes very quickly if login from serial 
tty.
 -  so gdm is involved in the slow boot issue 

2, strace log 
With help from jk, strace is used to trace getty and find stat64 and read(3) 
consumes much time,
stat64: 24.9sec, read(3): 27.12sec, see below in getty.trace:

- stat64
1806  12:35:34.668235 stat64("/usr/bin/awk",  <unfinished ...>
......
1806  12:35:59.595877 <... stat64 resumed> {st_mode=S_IFREG|0755, 
st_size=73912, ...}) = 0 <24.927520>

- read
1803  12:35:34.663474 read(3,  <unfinished ...>
......
1803  12:36:01.792106 <... read resumed> "/dev/mmcblk0p2\n", 128) = 15 
<27.128540>



** Attachment added: "gettty.tar.gz"
   
https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/784421/+attachment/2144441/+files/gettty.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/784421

Title:
  natty slow boot on pandaboard(rev A1)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to