Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[einit] v0.10 is out, any beta testers about?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3 ... 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Oct 10, 2006 5:43 pm    Post subject: [einit] v0.10 is out, any beta testers about? Reply with quote

Oi everyone!

I just managed to get the first BETA of that new init system of mine released, and i'd appreciate anyone who'd give it a thorough checkup...
It should be fairly swift, and I (hopefully) ironed out most bugs.

overlay: http://jyujin.de/~mdeininger/projects/einit-0.10-portage-overlay.tar.bz2
sf.net project page: http://sourceforge.net/projects/einit
homepage: http://einit.sourceforge.net/
documentation: http://einit.sourceforge.net/documentation/users/

It compiles on Linux/amd64 and OSX/ppc, and I think it also compiled on Linux/x86, although I only tested a CVS snapshot from about 4 days ago.

I also submitted an ebuild to gentoo's bugzilla...

EDIT: I created an rsync overlay for layman, you can use it with:
Code:
layman -f -o http://jyujin.de/~mdeininger/projects/layman-einit.xml -a einit

EDIT.2: The overlay I submitted to layman has been accept, so now this will suffice:
Code:
layman -a einit


EDIT.3: IMPORTANT: if you already tried version 0.10 and intend to switch to the cvs version, you will need to reconfigure. there have been a lot of changes to the configuration files, especially to the structure in there. see page 5 for details.

EDIT.4: I opened up a WIKI @ http://wiki.jyujin.de
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )


Last edited by mdeininger on Tue Oct 31, 2006 8:30 am; edited 5 times in total
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Oct 10, 2006 6:18 pm    Post subject: Reply with quote

i'll test it, next time include a link to just the ebuild if you could
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Oct 10, 2006 6:23 pm    Post subject: Reply with quote

rmh3093 wrote:
i'll test it, next time include a link to just the ebuild if you could

ah, thanks for that :)

i figured a complete overlay would be easier to use than just the ebuild, but if you only want an ebuild...
http://jyujin.de/~mdeininger/projects/einit-0.10.ebuild
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Oct 10, 2006 7:11 pm    Post subject: Reply with quote

wow this is nicer than initng, my only complaint right now is the lack of orginazation in the config files. it looks like you are in the middle of changing how you do some things, or maybe i am just confused: I really like the xml file for all of the daemons. I will have to play with this more when I get home
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Oct 10, 2006 8:20 pm    Post subject: Reply with quote

oooh nice, it supports includes :)
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Oct 10, 2006 8:24 pm    Post subject: Reply with quote

*g*
i figured that could come in handy.

the configuration files can be confusing, i admit that. i tried to write the most important parts down in the user's guide...
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
zAfi
Apprentice
Apprentice


Joined: 08 Aug 2006
Posts: 220
Location: Austria

PostPosted: Tue Oct 10, 2006 8:56 pm    Post subject: Reply with quote

@ rmh: how much faster is your boot process compared to the standard init system??

I'm thinking about giving einit and initng a try....but only if there's some improvement (talking about speeeeeed) in the boot process...^^
_________________
Gentoo 2008.0/desktop | Kernel: 2.6.27-tuxonice | Arch: amd64 | KDE 3.5.9 | WU Wien |
----------
Share your kernel information @ http://klive.cpushare.com/
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Oct 10, 2006 8:57 pm    Post subject: Reply with quote

mdeininger wrote:
*g*
i figured that could come in handy.

the configuration files can be confusing, i admit that. i tried to write the most important parts down in the user's guide...


add xlm config files mean an easy gui config editor can be made...


i do have one problem, i will have to figure out what exactly is causing it, but the computer randomly restart

eg. i configured my wireless device or so i thought but it didnt load the module, so i loaded it with modprobe, and the computer restarted
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Oct 10, 2006 9:12 pm    Post subject: Reply with quote

aye, that's another reason why i chose xml files =)
i figured it'd be pretty easy to make a web-interface gui, or an automatic updater for module definitions if i used xml.

this is weird, your computer is restarting when you load the appropriate wlan module?
maybe there's two different modules and they conflict..

i'm not sure how well the example configuration works with wlan devices, those configuration entries haven't been written by me, but by haader, i merely skimmed over them to see if they should kinda work. and i think they'll only work with wlan devices that register as "ath0", if you need to run a different device, you'll probably have to copy the appropriate section and modify the configuration entry. i'll go and see if i can get the network card in the media computer downstairs to work with einit tomorrow (it's using an rt2500 pcmcia card, registering as ra0)

as for speed... my box boots in (bios time + grub time + kernel time + ~6 secs) i.e. roughly 15 seconds from power-button to login screen.
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Oct 10, 2006 9:52 pm    Post subject: Reply with quote

ahh, the problem with the restarting in the case of the wireless card driver was because I had the module listed as ethernet also, once i removed the module from the ethernet definitions I could modprobe the driver and the computer didnt reboot, that was definitely an issue with einit battling with itself

anyhow, i tweaked the wireless script and got my wireless card working
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Oct 10, 2006 10:57 pm    Post subject: Reply with quote

mh, not sure if it's einit battling with itself, i've seen some pretty weird kernel panics lately, related to loading/unloading modules, but unrelated to einit.

anyway, glad it works for you. if you add any modules, please do submit them, as i'd like to include them in the cvs-version and the next release :)

a new handler for network configuration is underway, though ;) the scripting approach i took so far isn't nearly as flexible as is required...
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Tue Oct 10, 2006 11:10 pm    Post subject: Reply with quote

Looks neat. I think I misconfigured it.

First I tried it with the default configuration:
Code:
[ FAIL ] mount (/): No such device

So then I tried changing the fstab source to legacy and got this:
Code:
[ FAIL ] mount (system): re-scanning block devices

"re-scanning block devices" was flickering for a while (at least 5-10 seconds) before the "[ .... ]" changed to "[ FAIL ]"

What's it scanning for anyway? Shouldn't it be able to get everything from /etc/fstab?

~x86, gentoo-sources-2.6.18, udev-100-r2
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Oct 10, 2006 11:39 pm    Post subject: Reply with quote

well, let's see...

i guess it failed for the first time, because you haven't edited the parts in your /etc/einit/rc.xml with /dev/ROOT and the likes...
changing the fstab source to legacy is, of course, valid, but if you do that, you should change it to:
Code:
<mount-fstab-source s="configuration:legacy" />

and remove all the unnecessary <fstab-entry />-elements from /etc/einit/rc.xml. (and only from there, those in /etc/einit/default.xml should be left alone, else we'll get the same problem again)

that's because the "configuration"-type is always required... the definitions for udev and stuff depend on it :D

in the "re-scanning block devices" part, einit tries to read the filesystem labels from the devices, and it reads other parts of the superblock to find out what filesystem it is and whether or not it needs to be fsck'd (well, only works for ext2/3 and reiserfs).
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Wed Oct 11, 2006 12:06 am    Post subject: Reply with quote

well im not going to change anything if you are changing how network devices are being handled, that is the only thing i see that needs improvement at the moment
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Wed Oct 11, 2006 2:09 am    Post subject: Reply with quote

mdeininger wrote:
you haven't edited the parts in your /etc/einit/rc.xml with /dev/ROOT and the likes...

Ooops. I ignored all those suggestions to edit rc.xml and assumed the default config would be generic. Maybe there should be a "You must edit rc.xml or it WILL NOT BOOT" warning for people like me :oops:

It seems a lot faster. Is there a reliable way to benchmark it against sysvinit?
Back to top
View user's profile Send private message
micr0c0sm
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2005
Posts: 148
Location: New York

PostPosted: Wed Oct 11, 2006 2:41 am    Post subject: Reply with quote

Can you submit your overlay to layman? If so, I will gladly test einit.
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Oct 11, 2006 7:43 am    Post subject: Reply with quote

Well, I'm ready to give it a ty. But before this I would be sure that einit works on reiser4/amd64 (I dodn't see why it doesn't but he! it's my gentoo :wink: ).

To benchmark init processes you can use bootchart (I think it's in portage now) but is it works with einit ...

Enjoy !
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Wed Oct 11, 2006 8:42 am    Post subject: Reply with quote

yoyo wrote:
Well, I'm ready to give it a ty. But before this I would be sure that einit works on reiser4/amd64 (I dodn't see why it doesn't but he! it's my gentoo :wink: ).

To benchmark init processes you can use bootchart (I think it's in portage now) but is it works with einit ...

Enjoy !

it should work with reiser4 and my main development machine is an amd64, but it'll likely be unable to find out if a reiser4 filesystem needs to be fsck'd. then again, i noticed that reiserfs corrects most errors by itself :D

also einit doesn't replace *any* sysv components, so you can always just try it and switch back.

not sure if bootchart will work, i just used a good ol' wallclock to time bootup... allows you to include bios, grub and kernel time =)

micr0c0sm wrote:
Can you submit your overlay to layman? If so, I will gladly test einit.

ah, good idea actually, i hadn't even thought about that :oops:

StringCheesian wrote:
Ooops. I ignored all those suggestions to edit rc.xml and assumed the default config would be generic. Maybe there should be a "You must edit rc.xml or it WILL NOT BOOT" warning for people like me :oops:

as much as i'd love to do that, i can't guess your filesystem layout ;)
(that is, the label-fstab-reader could, but it caused havoc with others that actually *did* edit the file, so i disabled that :) )

rmh3093 wrote:
well im not going to change anything if you are changing how network devices are being handled, that is the only thing i see that needs improvement at the moment

aight, i'll start hacking on that new network-configuration module then :)


thanks for testting, so far. i'm open for anything :D
(i'm considering writing a compatibility module for initng.... should i, should i not...? ah, first the network)
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Wed Oct 11, 2006 9:03 am    Post subject: Reply with quote

Quote:
i'm considering writing a compatibility module for initng.
what do you mean? something to make i-files working with einit?
_________________
The End of the Internet!
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Wed Oct 11, 2006 9:06 am    Post subject: Reply with quote

truc wrote:
Quote:
i'm considering writing a compatibility module for initng.
what do you mean? something to make i-files working with einit?

exactly that, and maybe one to import their plugins... maybe i'm lucky and they're somewhat compatible.
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Wed Oct 11, 2006 9:20 am    Post subject: Reply with quote

alright, i added a layman-overlay for einit. I edited the original post accordingly, and i'll go and send a mail to (maybe) have this overlay included in the central list.
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Oct 11, 2006 10:47 am    Post subject: Reply with quote

mdeininger wrote:
yoyo wrote:
Well, I'm ready to give it a ty. But before this I would be sure that einit works on reiser4/amd64 (I dodn't see why it doesn't but he! it's my gentoo :wink: ).

it should work with reiser4 and my main development machine is an amd64, but it'll likely be unable to find out if a reiser4 filesystem needs to be fsck'd. then again, i noticed that reiserfs corrects most errors by itself :D
Well I _really_ wanna be sure of this cause in filesystems.xml I can't see it :
Code:
 more filesystems.xml
<?xml version="1.0" encoding="UTF-8" ?>
<einit>
<!-- all-purpose filesystems -->
 <filesystem id="ext2" flags="rw" />
 <filesystem id="ext3" flags="rw" />
 <filesystem id="reiserfs" flags="rw" />
 <filesystem id="xfs" flags="rw" />
 <filesystem id="jfs" flags="rw" />
[snip]
Do I just have to add a reiser4 line for it to work ??
mdeininger wrote:
also einit doesn't replace *any* sysv components, so you can always just try it and switch back.
Yes I saw that but I don't want to corrupt my own system ... :roll:
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Wed Oct 11, 2006 11:17 am    Post subject: Reply with quote

well, if you _really_ wanna be sure, you'd better wait till i figured out how to parse the reiser4 superblock.
the only difference that will make is to allow the filesystem mounter to be able to scan reiser4 filesystems... and thus figure out if an fsck will be in order and to read the label and uuid from the filesystem.

it's not in the list because i haven't tried it myself, although the list itself doesn't do much right now. about the only function it has is to allow einit to figure out if a filesystem type is a network-filesystem or a local filesystem. you could just copy the reiserfs entry and modify it so it applies to reiser4 :) (actually, i just did that in the cvs version... it'll be committed later today :D )


mhhh, on second thought, i'm not sure how stable reiser4 is, it might make for a bad combo...
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Wed Oct 11, 2006 12:22 pm    Post subject: Reply with quote

mdeininger wrote:
thanks for testting, so far. i'm open for anything :D
(i'm considering writing a compatibility module for initng.... should i, should i not...? ah, first the network)


screw that, this init tool is going it a much better direction that initng, but thats just my 2 cents

actually, the network scripts arent even that bad now that i see how they work, the wireless script can be tweaked for wirerd or wireless nics, i just might make my netowork section an include :)
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Oct 11, 2006 12:44 pm    Post subject: Reply with quote

mdeininger wrote:
mhhh, on second thought, i'm not sure how stable reiser4 is, it might make for a bad combo...
Too late, I give it a try ! :wink:

Well it works really well (and quick). I have to edit some config files to adapt my network config (static ralink wireless card and no eth plugged) but it works. :)

But I've got a problem with X/gdm/nvidia (dunno which one). The first try with einit gdm starts with nvidia accel etc. but my network wasn't configured correctly (typo :mrgreen: ). So I restart my computer and then the network starts correctly but X didn't start. 8O
I logged with root and run "gdm" manually : it started. So I don't know what I've done but I couldn't find where to add a module in "default" runlevel. Can you help me ?

An other improvement imha would be to have some other variables for each kind of apps. For example I don't have metalog but syslog-ng etc.

My 0.02 cents
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3 ... 9, 10, 11  Next
Page 1 of 11

 
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