You are not logged in.
boot into X takes 20s at least with quick-init, but with bugs, I did less than 15s with finit-arc
boot into X takes 26s with normal init, no bugs
Hit this topic if there is some progress or a location to file the bugs, I'm willing to help, but until then I use the normal init. The bugs aren't worth 6 seconds . Keep up the good work!
Offline
Official quick-init topic: http://bbs.archlinux.org/viewtopic.php? … 31#p553231
Italian ArchLinux User
My projects on my homepage: www.obliquo.net
Offline
Hi people! I present the reimplementation of FAST-INIT for Archlinux.
Fast-init is an original init system written in C from Xandros Linux. I did a reimplementation of fast-init and I called it FINIT-ARC.
Finit-arc can works with all computers and all filesystem types. With it and static kernel I can boot my system in about 3,5 seconds from grub to console login.
X for me take only 5 seconds. Then in 8 seconds I'm fully operative on my desktop.http://adrinux.wordpress.com/files/2009 … chartd.png
Installation
Actually finit-arc it's in BETA version and it is present in AUR.
1 - http://aur.archlinux.org/packages.php?ID=25159FOR TESTERS finit-arc-git is avaiable on AUR
http://aur.archlinux.org/packages.php?ID=263142 - Insert init=/sbin/finit-arc as kernel parameter in /boot/grub/menu.lst
3 - After installation you must do a boot with traditional init system of Archlinux, and after you can boot with finit-arc. The first boot could be slow.
Important!
Finit-arc doesn't support UUIDs. Then you must replace UUIDs with /dev/sdx devices in /boot/grub/menu.lst and /etc/fstab.Known Problems
1) Error width pcspkr on kernel -ARCH
do !pcspkr into MODULES of rc.conf2) Wrong clock time
3) DBUS or other daemon don't start
Before start finit-arc you must do a boot with traditional Archlinux init system4) Fam and portmap don't stop
You can use GAMIN instead fam5) Network doesn't work
Insert into MODULES your ethernet module in the first position. Insert into DAEMONS your network daemon (network or net-profiles) in the latest position.Logging finit-arc with bootchart
Edit /sbin/bootchartd and replace the line init="/sbin/init" with init="/sbin/finit-arc"
Add on your kernel line init=/sbin/bootchartd as parameter (remove init=/sbin/finit-arc)Bug reports and testers are welcome
Is fast-init just for netbook use?
If no, how can we get this working on Debian?
Last edited by zen3 (2009-09-05 11:39:10)
ffc
Offline
Just installed finit-arc, worked like a charm, the only problem is the clock, but I think I'll figure it out in no time.
When my 3 instances of Conky are all loaded (together with some scripts) the conky uptime meter shows 23 seconds, compared to 31 seconds with regular init
Thanks a lot, I hope I won't be having any problems with this init system in the future.
My Elegant Pattern GTK theme.
My game development blog, now on a new site.
'~/.xinitrc is an Archer's DE' - moljac024
Offline
I want to build it in my eee-pc with yaourt and i have the following issue
==> Starting build()...
gcc -c -Os -Wall -DVERSION=\"0.2beta\" -DWHOAMI=\"`whoami`@`hostname`\" -DBUILTIN_RUNPARTS -DDIST_ARCHLINUX -o finit-arc.o finit-arc.c
In file included from finit-arc.c:1:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/stdio.h:75,
from finit-arc.c:1:
/usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
In file included from /usr/include/stdio.h:75,
from finit-arc.c:1:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:489: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:491: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:493: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from finit-arc.c:1:
/usr/include/stdio.h:296: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:302: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:314: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:321: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:349: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:354: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:357: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:363: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:365: error: format string argument not a string type
/usr/include/stdio.h:367: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:368: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:369: error: format string argument not a string type
/usr/include/stdio.h:395: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:454: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:461: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:466: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:476: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:481: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:484: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:639: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:642: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:652: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:682: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:688: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:710: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:712: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from finit-arc.c:2:
/usr/include/string.h:44: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:48: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:57: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:64: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:67: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:94: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:131: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:139: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:145: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm'
In file included from finit-arc.c:2:
/usr/include/string.h:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm_l'
/usr/include/string.h:181: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn'
/usr/include/string.h:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn'
/usr/include/string.h:397: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen'
/usr/include/string.h:404: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strnlen'
/usr/include/string.h:425: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:449: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:453: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:457: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:460: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:538: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:575: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:578: error: expected declaration specifiers or '...' before 'size_t'
In file included from finit-arc.c:3:
/usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'
In file included from finit-arc.c:3:
/usr/include/stdlib.h:337: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:367: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:471: error: expected ')' before '__size'
/usr/include/stdlib.h:473: error: expected ')' before '__nmemb'
/usr/include/stdlib.h:485: error: expected declaration specifiers or '...' before 'size_t'
In file included from /usr/include/stdlib.h:497,
from finit-arc.c:3:
/usr/include/alloca.h:33: error: expected ')' before '__size'
In file included from finit-arc.c:3:
/usr/include/stdlib.h:502: error: expected ')' before '__size'
/usr/include/stdlib.h:507: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:507: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:705: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:705: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:706: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:710: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:710: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:711: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:788: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:791: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:795: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:799: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:808: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:811: error: expected ')' before '*' token
/usr/include/stdlib.h:815: error: expected declaration specifiers or '...' before 'wchar_t'
/usr/include/stdlib.h:819: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs'
/usr/include/stdlib.h:822: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs'
In file included from /usr/include/signal.h:356,
from finit-arc.c:8:
/usr/include/bits/sigstack.h:54: error: expected specifier-qualifier-list before 'size_t'
In file included from finit-arc.c:9:
/usr/include/unistd.h:329: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:335: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:479: error: expected declaration specifiers or '...' before 'size_t'
In file included from finit-arc.c:9:
/usr/include/unistd.h:582: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'confstr'
/usr/include/unistd.h:754: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:790: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:801: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:837: error: expected declaration specifiers or '...' before 'size_t'
In file included from finit-arc.c:9:
/usr/include/unistd.h:859: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:866: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:877: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:879: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:897: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/unistd.h:898: error: expected declaration specifiers or '...' before 'size_t'
finit-arc.c: In function 'listen_initctl':
finit-arc.c:79: error: too many arguments to function 'read'
finit-arc.c: In function 'main':
finit-arc.c:191: error: too many arguments to function 'strncat'
finit-arc.c:206: error: too many arguments to function 'strncat'
finit-arc.c:248: warning: implicit declaration of function 'strlen'
finit-arc.c:248: warning: incompatible implicit declaration of built-in function 'strlen'
finit-arc.c:377: error: too many arguments to function 'memset'
finit-arc.c:399: warning: incompatible implicit declaration of built-in function 'strlen'
finit-arc.c:399: error: too many arguments to function 'sethostname'
finit-arc.c: In function 'shutdown':
finit-arc.c:515: error: too many arguments to function 'write'
finit-arc.c: In function 'getparam':
finit-arc.c:551: warning: incompatible implicit declaration of built-in function 'strlen'
finit-arc.c:551: error: too many arguments to function 'strncmp'
finit-arc.c:553: error: too many arguments to function 'strncpy'
make: *** [finit-arc.o] Error 1
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build finit-arc package.
What can i do??
gcc is already installed
Offline
stdio and stdlib are part of gcc and base-develop package and it looks that your pc doesn't have it... make sure that the necessary software to compile packages is installed
.::. TigTex @ Portugal .::.
Offline
Finit-arc is really unstable and dangerous I suggest to use quick-init
I published the new version yesterday...more information here:
http://bbs.archlinux.org/viewtopic.php? … 58#p623558
Last edited by adriano (2009-09-22 00:23:53)
Italian ArchLinux User
My projects on my homepage: www.obliquo.net
Offline