www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Long boot delays from CF.

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Embedded Devices
View previous topic :: View next topic  
Author Message
KLGIT



Joined: 09 Jul 2009
Posts: 22

PostPosted: Thu Jul 16, 2009 4:00 pm    Post subject: Long boot delays from CF. Reply with quote

I've got Zeroshell installed on a CF card which I'm using to boot an iBASE FWA7304-1G. Since this is basically a mini-ITX PC, I'm sure this same issue affects regular PC's with Compact Flash adapters as well.

With the way Zeroshell is setup, what does it do in the boot (or preboot) process. I'd like to get an idea of what it does so I can figure out where the hang happens and work around it. I'm certain it can be fixed by configuring my BIOS boot order and drive settings. I just need a better idea of what zeroshell does during the boot process so I can figure it out.

I know that Zeroshell creates a partition that emulates a CDROM for the preboot. It then uses that to bootstrap the kernel which then tries to find a boot partition to init into. This is where the biggest hangup happens.
Not sure why it takes the kernel so long to find and boot from the boot partition.

Any thoughts?
Back to top
View user's profile Send private message
aseques



Joined: 16 Jun 2009
Posts: 59

PostPosted: Thu Jul 16, 2009 4:30 pm    Post subject: Reply with quote

Doing a fast search it seems that there's no problem to have it in Linux (as far as you've the right versions).

Kernel newer than 2.6.19 (like zeroshell) should have support build in:
http://www.logix.cz/michal/devel/padlock/

Portable openssh has support too:
https://bugzilla.mindrot.org/show_bug.cgi?id=1437

Openssl 0.9.8e should have it included too (lenny's version is 0.9.8g)

So have a look to the versions on zeroshell, and please post the results
Back to top
View user's profile Send private message
schoopy



Joined: 23 Jan 2009
Posts: 33
Location: Lausanne, Switzerland

PostPosted: Wed Jul 29, 2009 9:23 pm    Post subject: Boot process Reply with quote

You will probably get some info reading /initrd/linuxrc which is what linux executes right after the kernel.
My feeling is that it is takÓng time in the last paragraph loading USB SATA stuff. It does so also in vmware but not exceeding 5 to 10 secs.


Regards,

Schoopy
Back to top
View user's profile Send private message MSN Messenger
ppalias



Joined: 17 Dec 2008
Posts: 1151
Location: Athens, Greece

PostPosted: Thu Jul 30, 2009 7:49 am    Post subject: Reply with quote

I tried ZS on a Compact Flash as well. The feeling of the boot time compared to an old 4,3GB ATA disk is that it was extremely slower. Don't know if it was the IDE-to-CF adapter to blame.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Embedded Devices All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group