Slow boot times on PocketBeagle

249 views
Skip to first unread message

Graham

unread,
Oct 8, 2017, 11:11:26 AM10/8/17
to BeagleBoard
Robert:

Running PocketBeagle
Image:  bone-debian-9.1-iot-armhf-2017-10-01-4gb
Upgraded to kernel 4.9.53-ti-rt-r67

On a 16 GB microSD card, it takes about 90 seconds to boot
On a 32 GB microSD card, it takes about 170 seconds to boot.

Looking at the boot logs, it looks like you are doing an 'fsck' on the entire card, every boot.
This gets real tedious on big cards.

I suspect you are trying to head off corruption problems with the new customers jerking the power on the pocketbones.

Is there a way to turn this off? Perhaps add an option in the uEnv.txt ?
Or edit some boot script?

Thanks,
--- Graham

==


Excerpt:
[    4.399012] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.399106] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.399827] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.400464] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.401123] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.405921] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.406825] random: udevadm: uninitialized urandom read (16 bytes read)
[    6.070942] random: fast init done
{<<<<<<<<<<<<<<< Hangs Here for a minute+ (16 GB microSD card) >>>>>>>>>>>>>>>}

Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
rootfs: clean, 76719/1927296 files, 589028/7813760 blocks
done.
[   89.774723] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   90.407599] systemd[1]: System time before build time, advancing clock.
[   90.511512] ip_tables: (C) 2000-2006 Netfilter Core Team
[   90.567036] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   90.586224] systemd[1]: Detected architecture arm.

====

Robert Nelson

unread,
Oct 8, 2017, 12:15:59 PM10/8/17
to Beagle Board
On Sun, Oct 8, 2017 at 10:11 AM, Graham <gh7...@gmail.com> wrote:
> Robert:
>
> Running PocketBeagle
> Image: bone-debian-9.1-iot-armhf-2017-10-01-4gb
> Upgraded to kernel 4.9.53-ti-rt-r67
>
> On a 16 GB microSD card, it takes about 90 seconds to boot
> On a 32 GB microSD card, it takes about 170 seconds to boot.
>
> Looking at the boot logs, it looks like you are doing an 'fsck' on the
> entire card, every boot.
> This gets real tedious on big cards.
>
> I suspect you are trying to head off corruption problems with the new
> customers jerking the power on the pocketbones.
>
> Is there a way to turn this off? Perhaps add an option in the uEnv.txt ?
> Or edit some boot script?

No, it's a feature of stretch.. There's nothing i've enabled. The
big difference between jessie and stretch here. In jessie, fsck on
bootup did not always find the partition so it skipped it..

Regards,

--
Robert Nelson
https://rcn-ee.com/

William Hermans

unread,
Oct 8, 2017, 2:47:24 PM10/8/17
to beagl...@googlegroups.com
There are options if you're running grub. So, perhaps there is a kernel parameter that can be passed ? Not really a lot of info out there, at least for current web search.

And yeah that minute and a half boot is getting old here too.
Reply all
Reply to author
Forward
0 new messages