[Angstrom-distro-users] Kexecboot kernels for testing available

Bernd Schemmer Bernd.Schemmer at gmx.de
Wed Feb 4 23:43:46 CET 2009


Hi

>>Your issue seems very strange.


Indeed ...

To make it a little bit more strange:

I just flashed the Angstrom root fs again and now kexecboot does find 
the Angstrom on the NAND again. But I'm sure after I reinstalled my 
additional applications it won't find it anymore (as with the older 
version of kexecboot ...)

The applications I normally install are:

ipkg install screen
ipkg install ldd
ipkg install apache2
ipkg install cvs
ipkg install e2fsprogs
ipkg install dosfstools
ipkg install bzip2
ipkg install gzip
ipkg install grep
ipkg install kexec-tools
ipkg install less
ipkg install lsof
ipkg install mc
ipkg install nfs-utils
ipkg install procps
ipkg install nmap
ipkg install qpe-nmap
ipkg install rsync
ipkg install tar
ipkg install tcpdump
ipkg install glibc-localedata-de-de+euro
ipkg install  tzdata-europe
 ipkg install glibc-binary-localedata-de-de
ipkg install file
ipkg install util-linux-swaponoff
ipkg install opie-tetrix
ipkg install opie-solitaire
ipkg install opie-sheet
ipkg install opie-rdesktop
ipkg install opie-notes
ipkg install opie-notesapplet
ipkg install opie-keypebble
ipkg install opie-ftp
ipkg install opie-embeddedkonsole
ipkg install opie-calculator
ipkg install opie-write
ipkg install opie-zsafe
ipkg install qpdf2
ipkg install opie-wellenreiter

And this is my script to change the configuration to my need:

#!/bin/sh
set -v
ln -s /home/tools /tools
mkdir -p /mnt/card1

sed "s#^root.*#root:XI1LBh.lqnQeg:0:0:root:/home/root:/bin/sh#g" 
/etc/passwd >/tmp/passwd.$$
cp /tmp/passwd.$$ /etc/passwd
rm /tmp/passwd.$$

cd /home/backup
cp profile /etc/profile
cp hosts /etc/hosts
cp dropbear_rsa_host_key /etc/dropbear/dropbear_rsa_host_key
/home/tools/scripts/set_nameserver
cp /home/backup/boot/* /boot
set +v
mkdir -p $HOME/.ssh
cd $HOME/.ssh ; tar -xvf /home/backup/keys.tar


I don't see anything wrong with these changes

regards

Bernd



Yuri Bushmelev wrote:
> Hello!
>   
>> Another guess:
>>
>> It takes a long time to mount the NAND:
>>
>> [chroot] root at c7x0:~$ time  mount -t jffs2 /dev/mtdblock2 /mnt/internal
>> real    0m 16.04s
>> user    0m 0.02s
>> sys    0m 15.93s
>> [chroot] root at c7x0:~$
>>
>> Is there a timeout for mounting the partitions in kexecboot?
>>     
>
> Long time mounting is ok for jffs2.
> Kexecboot uses mount() syscall and there is no timeout.
>
> Your issue seems very strange. Debug now is very developer-oriented 
> (recompile with debug enabled and use serial console).. We have already 
> some ideas how to make bug hunting easier later.
>
>   


-- 
Bernd Schemmer, Frankfurt am Main, Germany
http://home.arcor.de/bnsmb/index.html

M s temprano que tarde el mundo cambiar .
                        Fidel Castro




More information about the Angstrom-distro-users mailing list