slow boot with udoo quad

This forum is for supported devices using an ARMv7 Freescale SoC.

slow boot with udoo quad

Postby tuxx » Thu May 15, 2014 1:13 pm

Hi everyone!

I recently bought a udoo quad and the last days I have been experimenting with archlinuxarm. My only problem is the very slow boot. To be more specific:

$this->bbcode_second_pass_code('', 'systemd-analyze time
Startup finished in 2.579s (kernel) + 1min 21.291s (userspace) = 1min 23.870s')

$this->bbcode_second_pass_quote('', 's')ystemd-analyze blame
11.229s systemd-udev-trigger.service
10.309s tmp.mount
9.439s systemd-vconsole-setup.service
8.430s haveged.service
8.420s alsa-restore.service
7.670s dev-mqueue.mount
6.840s systemd-modules-load.service
6.340s sys-kernel-debug.mount
5.919s kmod-static-nodes.service
4.969s systemd-sysctl.service
3.339s systemd-logind.service
2.889s systemd-remount-fs.service
2.559s systemd-rfkill@rfkill0.service
2.308s user@0.service
2.239s systemd-random-seed.service
2.080s systemd-udevd.service
2.009s systemd-backlight@backlight:pwm-backlight.0.service
1.649s systemd-tmpfiles-setup-dev.service
1.630s var-log.mount
1.319s systemd-update-utmp.service
1.301s mnt-nas\x2dnfs.mount
1.233s systemd-journal-flush.service
1.039s systemd-user-sessions.service
974ms systemd-tmpfiles-clean.service
569ms systemd-tmpfiles-setup.service


$this->bbcode_second_pass_code('', 'graphical.target @1min 21.271s
└─multi-user.target @1min 21.251s
└─getty.target @1min 21.231s
└─serial-getty@ttymxc1.service @1min 21.211s
└─systemd-user-sessions.service @1min 19.751s +1.039s
└─basic.target @1min 11.811s
└─timers.target @1min 11.601s
└─systemd-tmpfiles-clean.timer @1min 11.601s
└─sysinit.target @1min 11.532s
└─systemd-update-utmp.service @1min 10.171s +1.319s
└─systemd-tmpfiles-setup.service @1min 6.541s +569ms
└─local-fs.target @1min 6.456s
└─var-log.mount @1min 4.791s +1.630s
└─local-fs-pre.target @1min 4.311s
└─systemd-tmpfiles-setup-dev.service @1min 2.411s +1.649s
└─kmod-static-nodes.service @55.281s +5.919s
└─system.slice @49.341s
└─-.slice @49.181s
')


I have also noticed the following in dmesg:


$this->bbcode_second_pass_code('', '[ 4.716288] systemd[1]: Starting Root Slice.
[ 51.736193] systemd[1]: Created slice Root Slice.')

Does anyone have any idea why "Starting Root Slice" takes so much to be completed?

Thank you in advance!
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: slow boot with udoo quad

Postby WarheadsSE » Thu May 15, 2014 2:19 pm

Do us a favor:
$this->bbcode_second_pass_code('', '
systemd-analyze plot > udoo-quad-analyze.svg
')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: slow boot with udoo quad

Postby tuxx » Thu May 15, 2014 2:26 pm

I tried to create the svg long before I posted here. For some reason, when i try to open the svg I see nothing. I also tested in my desktop pc (archlinux) and it works fine. I don't know what is happening with udoo installation.

Here is the content of the svg file:

http://pastebin.com/tYpGTeZM
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: slow boot with udoo quad

Postby WarheadsSE » Thu May 15, 2014 3:55 pm

Looks like systemd is suffering from the generation bug. there data is there. Is your system up to date?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: slow boot with udoo quad

Postby tuxx » Thu May 15, 2014 3:56 pm

My latest installation was yesterday and the first thing I did was a pacman -Syu. It is fully updated. At the moment I am running a custom kernel (based on github pkgbuild) but the behavior is exactly the same with kernel from core repo.
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: slow boot with udoo quad

Postby tuxx » Fri May 16, 2014 9:48 am

I did a clean install and I haven't touch anything this time (all packages are stock), in order to help developers with debugging information.

Please feel free to ask me for anything that might help solve this issue!

Edit: I also plugged an hdmi cable and unfortunately after the initial bootloader srcreen I am not able to see any output. Just a blank screen until it goes to login prompt.

Edit 2: my dmesg output: http://pastebin.com/7P3Yqb2p

Edit 3: is there any older image available I can try?
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: slow boot with udoo quad

Postby andrenam » Fri May 16, 2014 12:17 pm

adminempire hast set up an archlinuxarm rollback machine. You can find older images there.
viewtopic.php?f=8&t=6544
andrenam
 
Posts: 14
Joined: Sat May 03, 2014 11:48 pm

Re: slow boot with udoo quad

Postby tuxx » Fri May 16, 2014 1:00 pm

thanks andrenam!
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: slow boot with udoo quad

Postby tuxx » Fri May 16, 2014 3:35 pm

I tested various previous snapshots and it seems that i found a solution, downgrading systemd (along with systemd-sysvcompat) and dbus (along with libdbus)

$this->bbcode_second_pass_code('', '[root@alarm ~]# systemd-analyze time
Startup finished in 2.621s (kernel) + 27.950s (userspace) = 30.572s
')

dbus version (1.8.0-1)
systemd version (208.11)
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: slow boot with udoo quad

Postby tuxx » Sun May 18, 2014 11:56 am

I tested older images these days. April's image has exactly the same bad boot behavior. March's image runs fine but when I update systemd next boot is also problematic.

It's definately a systemd issue. Shall I open a bug report? Please, any of the developers feel free to ask me everything in order to help find the bug.

Regards,

Michael
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Next

Return to Freescale

Who is online

Users browsing this forum: No registered users and 10 guests