You are not logged in.

#76 2009-05-12 13:08:39

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: Finit-ARC: boot your system in 4 seconds

You broke clock again with 20095012 tongue


Cthulhu For President!

Offline

#77 2009-05-12 13:40:27

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: Finit-ARC: boot your system in 4 seconds

I'll be using the original init until you have the new init available, please wake this topic if you opened the new one.

Offline

#78 2009-05-12 14:21:04

colin.f.drake
Member
Registered: 2008-07-23
Posts: 13

Re: Finit-ARC: boot your system in 4 seconds

Duologic wrote:

I'll be using the original init until you have the new init available, please wake this topic if you opened the new one.

I think the new one is here.

Seems like a very interesting project.  I'll be trying it on my new laptop right away when I receive it smile

Offline

#79 2009-05-12 14:54:10

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Finit-ARC: boot your system in 4 seconds

This looks a lot like my old BSD scripts I used on LFS smile

Most slowdowns come from HAL and Udev and it seems a lot of arch users are not too happy with the bloat and slowdowns these provide.

Offline

#80 2009-05-12 15:53:28

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Finit-ARC: boot your system in 4 seconds

buttons wrote:

You broke clock again with 20095012 tongue

If you're like me (using utc), then what you could to do to fix this is to edit finit-arc.c, in the function shutdown(), change the parameter of the hwclock call from '--localtime' to '--utc' (ie the problem is that during the shutdown, clock is saved as localtime regardless of the rc.conf setting).

Offline

#81 2009-05-12 16:10:57

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: Finit-ARC: boot your system in 4 seconds

bender02 wrote:
buttons wrote:

You broke clock again with 20095012 tongue

If you're like me (using utc), then what you could to do to fix this is to edit finit-arc.c, in the function shutdown(), change the parameter of the hwclock call from '--localtime' to '--utc' (ie the problem is that during the shutdown, clock is saved as localtime regardless of the rc.conf setting).

No, I use localtime, and it's failing to set that...


Cthulhu For President!

Offline

#82 2009-05-13 00:25:30

platnumX
Member
Registered: 2009-05-11
Posts: 13

Re: Finit-ARC: boot your system in 4 seconds

colin.f.drake wrote:
Duologic wrote:

I'll be using the original init until you have the new init available, please wake this topic if you opened the new one.

I think the new one is here.

Seems like a very interesting project.  I'll be trying it on my new laptop right away when I receive it smile

I tried those initscripts.
I had to boot my arch live cd, mount /dev/sda3, restore some pacsaves, boot into my "just in case" kernel using finit-arc(the original init scripts where hosed), AND THEN reinstall initscripts.
I also had to re-edit rc.conf and put hal networkmanager and alsa back in.

Finit-arc however, decreased my boot time to 10 seconds.

thanks.

Offline

#83 2009-05-13 04:05:29

jjj137
Member
Registered: 2008-12-18
Posts: 11

Re: Finit-ARC: boot your system in 4 seconds

Why do you always delete the prevenient git commits? Then how do you reset them if the code is broken?

Offline

#84 2009-05-13 08:00:17

adriano
Member
From: Italy
Registered: 2008-07-29
Posts: 129
Website

Re: Finit-ARC: boot your system in 4 seconds

I had a problem with a git..


Italian ArchLinux User
My projects on my homepage: www.obliquo.net

Offline

#85 2009-05-13 09:38:56

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: Finit-ARC: boot your system in 4 seconds

platnumX wrote:
colin.f.drake wrote:
Duologic wrote:

I'll be using the original init until you have the new init available, please wake this topic if you opened the new one.

I think the new one is here.

Seems like a very interesting project.  I'll be trying it on my new laptop right away when I receive it smile

I tried those initscripts.
I had to boot my arch live cd, mount /dev/sda3, restore some pacsaves, boot into my "just in case" kernel using finit-arc(the original init scripts where hosed), AND THEN reinstall initscripts.
I also had to re-edit rc.conf and put hal networkmanager and alsa back in.

Finit-arc however, decreased my boot time to 10 seconds.

thanks.

Exact same thing over here, except for the finit-arc part, didn't had a backup plan except for the bootcd I had somewhere. I just hoped it would be as easy as finit-arc, but quick-init just does it totally different. After copying inittab and rc.sysinit from a bootcd, I was able to get into a terminal and reinstall my initscripts. I don't know the codebase of finit-arc, but I think it looks more promising than quick-init, except for a few bugs, it works!

Offline

#86 2009-05-13 10:40:01

adriano
Member
From: Italy
Registered: 2008-07-29
Posts: 129
Website

Re: Finit-ARC: boot your system in 4 seconds

I disagree. Finit-arc works but is seriously dangerous for system security. I say these becouse I know the major design problems in the finit-arc source code. Init is the best, the safest solution. Actually the problem is only one: start X quickly.


Italian ArchLinux User
My projects on my homepage: www.obliquo.net

Offline

#87 2009-05-13 11:28:09

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Finit-ARC: boot your system in 4 seconds

adriano wrote:

I disagree. Finit-arc works but is seriously dangerous for system security. I say these becouse I know the major design problems in the finit-arc source code. Init is the best, the safest solution. Actually the problem is only one: start X quickly.

Could you be more specific about the design/security problems, please?

Offline

#88 2009-05-13 11:57:00

adriano
Member
From: Italy
Registered: 2008-07-29
Posts: 129
Website

Re: Finit-ARC: boot your system in 4 seconds

bender02 finit-arc have problems with     hierarchy of processes (father process's fork) for example if you upgrade kernel-headers cpu stay 100%, or FAM and PORTMAP doesn't start correctly..


Italian ArchLinux User
My projects on my homepage: www.obliquo.net

Offline

#89 2009-05-13 14:43:03

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: Finit-ARC: boot your system in 4 seconds

I use init indeed, but what about quick-init, installed it once and it fucked my system...

If you know the issues of finit-arc; can't you fix it then?

Offline

#90 2009-05-13 17:08:04

Echtor2oo3
Member
From: Germany
Registered: 2009-05-12
Posts: 10
Website

Re: Finit-ARC: boot your system in 4 seconds

to the qinit scripts, 10 sec are nothing special ..
we need to pimp x big_smile

btw here is a video from my bootup:

http://www.youtube.com/watch?v=o2zYpS_UrZI

Offline

#91 2009-05-13 17:19:02

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: Finit-ARC: boot your system in 4 seconds

How does your kernel boot so fast? (is it in quiet mode?)

Offline

#92 2009-05-13 17:26:57

Echtor2oo3
Member
From: Germany
Registered: 2009-05-12
Posts: 10
Website

Re: Finit-ARC: boot your system in 4 seconds

Its a selfcompiled Kernel with "quiet" option smile

Offline

#93 2009-05-13 19:20:10

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Finit-ARC: boot your system in 4 seconds

I can't find the line: RTC_MAJOR=$(/bin/grep -w rtc /proc/devices 2>/dev/null); RTC_MAJOR="${RTC_MAJOR%% *}" in the RTC part of your rc.sysinit script.

Last edited by Wintervenom (2009-08-03 14:20:02)

Offline

#94 2009-05-13 19:42:47

adriano
Member
From: Italy
Registered: 2008-07-29
Posts: 129
Website

Re: Finit-ARC: boot your system in 4 seconds

to Wintervenom
it's flase RTC_MAJOR line is in qinit.sysinit.

to Echtor2oo3
10 seconds with my pc, if you have already 10 seconds with classic init, you should have 5/6 seconds boot with quick-init. Try it.

to Duologic
quick-init fuck your system becouse it replaced a previous version of quick init that included also the initscripts. Then you losted  your initscripts. Just a bit of attention wink

I dont want speak here about quick-init. I will open another topic for it.


The finit-arc project is temporarily suspended.

Last edited by adriano (2009-05-13 19:43:22)


Italian ArchLinux User
My projects on my homepage: www.obliquo.net

Offline

#95 2009-05-13 20:17:49

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: Finit-ARC: boot your system in 4 seconds

probably true, didn't search further because of a lack of time
I seem not to find a english manual somewhere, sorry I don't have much knowledge of italian..

Offline

#96 2009-05-13 21:29:15

adriano
Member
From: Italy
Registered: 2008-07-29
Posts: 129
Website

Re: Finit-ARC: boot your system in 4 seconds

I wrote it in english in the comments of QUICK-INIT wink


Italian ArchLinux User
My projects on my homepage: www.obliquo.net

Offline

#97 2009-05-13 21:34:23

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: Finit-ARC: boot your system in 4 seconds

Ok, so my italian isn't that bad, I did it as you said in de comments on AUR and it wouldn't boot smile

edit: let's try again big_smile

edit 2: still no succes, I get some errors on 'printhl: not found' and 'printsep: not found'. After a boot from the live CD en putting back my rc.conf, boot untill agetty succeeded, but my daemons don't run... and so on. Am I missing something

Last edited by Duologic (2009-05-13 22:08:48)

Offline

#98 2009-05-14 06:09:07

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Finit-ARC: boot your system in 4 seconds

I think the point is that with the newer versions of quick-init you should *not* remove the original initscripts, quick-init will install alongside.

Offline

#99 2009-05-14 06:35:10

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: Finit-ARC: boot your system in 4 seconds

Hiyaa! thanks for the tip bender02, I've put it in the AUR comments.
Is there a topic of quick-init yet?

I've got a bug on loading alsa to early, no sound card found by alsactl. Also mounting /proc/bus/usb doesn't work on mounting filesystems, necessary for Virtualbox, don't use for now, so no rush here. smile Also also I can't restart HAL for some reason, it's running though.

Offline

#100 2009-05-14 06:49:16

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Finit-ARC: boot your system in 4 seconds

I also have a bug with dm-raid not working with quick-init. Tradicional scripts work without any problem... It would be a nice idea to start a "oficial" topic


.::. TigTex @ Portugal .::.

Offline

Board footer

Powered by FluxBB