Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Faster Boot on an ECM-1342?, Takes 6-8 min from Power-On to Shell....< Next Oldest | Next Newest >
josiahbryan Offline





Group: Members
Posts: 11
Joined: Oct. 2006
Posted: Nov. 05 2006,21:33 QUOTE

All -

Any ides on how to speed up boot time for DSL on an ECM-1342 PC104 CPU module? The ECM-1342 has a 133MHz x86 CPU, with 32 MB RAM and a CF slot onboard. I've installed DSL on a 1GB CF card and the board boots off the CF card, loads the CF image as a readonly images vis-a-vi a CDROM boot for DSL.

However, the boot time takes _at_least_ 6 to 8 minutes from boot time to shell prompt (init 3 in dsl boot opts).

Here is the contents of /boot/lilo.conf:

lba32          #enable large disk support
timeout=30     #wait 3 seconds before auto-booting
vga=normal
boot=/dev/hda   #put boot loader in MBR of target disk
root=/dev/hda1 #set root to be partition of target disk
image=/boot/linux24
label=DSL
initrd=/boot/minirt24.gz
read-only
APPEND="ramdisk_size=100000 init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi nofirewire nomce nodma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX  2 ssh nfs syslog nomonkey restore=hdc2  "

(Aside: even though "nomonkey" is in there, monkey still starts. Any idea why?)


Anyway, any ideas on how to speed up boot time?


Distributors website of ECM-1342 with manuals:
http://www.tri-m.com/products/evalue/ecm1342.html
Manufactures Website (manuals require registration):
http://www.evalue-tech.com/products/ECM-1342.cfm
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 05 2006,22:54 QUOTE

Could be many things.
Some that come to mind...

starting ssh will generate keys.  On a slow machine that will take some time.

Are you connected to a network with dynamic IP. If not, the default is to request an IP from DHCP server. Use nodhcp to stop the request.

What's in your backup. If any mydsl extensions are, they would be better off being restored from a separate partition using the mydsl=xxxx option. This would include gnu-utils.dsl and dpkg.dsl, etc.

IMHO I would not start syslog on a flash device. Too many writes

nomonkey is not a valid option. Try without it.
Back to top
Profile PM WEB 
josiahbryan Offline





Group: Members
Posts: 11
Joined: Oct. 2006
Posted: Nov. 06 2006,01:38 QUOTE

-Backup is just some custom directories under /opt which holds the thttpd server and cgi files (elf executables).
-SSH - any way to turn off keygen? How about alternatives to ssh (ECM-1342 runs headless most of the time) - does DSL have telnet built-in?
-ECM-1342 is being built into a consumer retail device, so end-user (admin) will have option of turning dhcp on or off - therefore I have to keep that available in boot.
-Is there an option to change syslog to write to the ramdisk that I can add to lilo.conf?
-Is there a way to turn off monkey from lilo? The software guys want to run thttpd instead.

I'll try all this tomorrow in the AM, but let me know your thoughts...

Thanks!
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 06 2006,04:10 QUOTE

-monkey doesn't start automatically by default
-think saving your ssh keys to your backup.tar.gz would be fine
Back to top
Profile PM 
3 replies since Nov. 05 2006,21:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Faster Boot on an ECM-1342?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code