Results 1 to 4 of 4
I have a system whit a PXA300 (arm), 512 Mb nand flash JFFS2 and a debian distro.
It have a very slow boot.
At start it executes in rcS.d the ...
- 06-22-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 9
slow boot
I have a system whit a PXA300 (arm), 512 Mb nand flash JFFS2 and a debian distro.
It have a very slow boot.
At start it executes in rcS.d the attachment script.
I have insert in the script some echo to see where is the problem:
at line 288
...
#
# Remount root to final mode (rw or ro).
#
# See the comments above at the previous "mount -o remount"
# for an explanation why we try this twice.
#
echo 1
if ! mount -n -o remount,$rootopts,$rootmode $fstabroot / 2>/dev/null
then
echo 2
mount -n -o remount,$rootopts,$rootmode /
fi
#
# We only create/modify /etc/mtab if the location where it is
# stored is writable. If /etc/mtab is a symlink into /proc/
# then it is not writable.
#
echo 3
init_mtab=no
...
when I start the system, the messagges in this section is:
1
(wait for long time, like 5 minutes)
3
the only instruction that it executes is
if ! mount -n -o remount,$rootopts,$rootmode $fstabroot / 2>/dev/null.
can you help me to speed up the boot?
- 06-24-2009 #2
It seems to hang when trying to mount a drive. To see the full command that's causing the hang after your "echo 1" line add the following:
What is the output from that?Code:echo "Trying: mount -n -o remount,$rootopts,$rootmode $fstabroot"
Linux User #453176
- 06-25-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 9
Trying: mount -n -o remount,defaults,rw /dev/root
- 06-25-2009 #4Just Joined!
- Join Date
- Jun 2009
- Posts
- 9
I read that it's depends to jffs2 file system. This fs it's particularly slow to the boot for large memory because it must check all inodes.
in fact I try to reduce the root partition and the boot it's more fast.


Reply With Quote