| View previous topic :: View next topic |
| Author |
Message |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 6:40 am Post subject: |
|
|
| stahlsau wrote: | Hi,
nice attempt, i hope you'll get it working soon.
Boots lightening fast, but spits out errors about those in/out files and stops at coldplug.
No wonder since i don't have coldplug...
How's that script getting the info on which programs to start? It starts a lot of stuff i don't need/have installed. |
I dont know why fifos wont be created.
Unpack the source tarball, step in to it and typ make mkfifos.
Coldplug is optional.. Try removing line system/coldplug from /etc/system.runlevel and it wont start. |
|
| Back to top |
|
 |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 6:42 am Post subject: |
|
|
| rmh3093 wrote: | | watch out, i created the /var/initng dir and the in and out files and rebooted and then i just got runaway errors on tty1 |
Run away errors?
ar all fios in place, unpack the tarball, step into it, and type make mkfifos...
Make sure you are using the latest version. |
|
| Back to top |
|
 |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 6:44 am Post subject: |
|
|
| shakti wrote: | | same problem here with in/out and eth0 does not come up. |
Is it added to your runlevel..
the network script is on my todo list, i need a common way to do this right now typing ngc -u net/eth0 will only start a dhcp-server (dhcpcd) for eth0. |
|
| Back to top |
|
 |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 6:46 am Post subject: |
|
|
| rmh3093 wrote: | | ok so the new version booted faster than anything i have ever sceen before, i get this error about not being able to write to /var/initng/in or out though and pcmcia service didnt start |
if you dont have pcmcia support, remove this from curret runlevel with ng-update del system/pcmcia or removing line system/pcmcia from /etc/initng/system.runlevel |
|
| Back to top |
|
 |
teutzz Guru


Joined: 22 Apr 2004 Posts: 333 Location: .ro
|
Posted: Wed May 04, 2005 7:54 am Post subject: |
|
|
when i install it via the ebuild it sais in the end to add to my lilo/grub config file, but when (after adding this obtion to my lilo.conf) i run lilo in order to update my mbr, it says that 'init' is an invalid config option
what am I doing wrong? _________________ Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz |
|
| Back to top |
|
 |
Mafteah Apprentice


Joined: 30 May 2003 Posts: 265 Location: IL
|
Posted: Wed May 04, 2005 8:07 am Post subject: |
|
|
| teutzz wrote: | when i install it via the ebuild it sais in the end to add to my lilo/grub config file, but when (after adding this obtion to my lilo.conf) i run lilo in order to update my mbr, it says that 'init' is an invalid config option
what am I doing wrong? |
You need to add:
append="init=/sbin/initng" _________________ http://www.mafteah.co.il |
|
| Back to top |
|
 |
stahlsau Guru


Joined: 09 Jan 2004 Posts: 565 Location: WildWestwoods
|
Posted: Wed May 04, 2005 8:23 am Post subject: |
|
|
make mkfifos does work, but the error stays. Maybe the permissions of in/out are wrong? The files exist with | Code: | prw------- 1 root root 0 4. Mai 10:11 in
prw------- 1 root root 0 4. Mai 10:11 out
|
And coldplug wasn't the problem. This time the boot-process stops at something else, ~92%. _________________ Join the adopt an unanswered post initiative today |
|
| Back to top |
|
 |
teutzz Guru


Joined: 22 Apr 2004 Posts: 333 Location: .ro
|
Posted: Wed May 04, 2005 8:36 am Post subject: |
|
|
10cs  _________________ Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz |
|
| Back to top |
|
 |
revertex l33t


Joined: 23 Apr 2003 Posts: 806
|
Posted: Wed May 04, 2005 8:47 am Post subject: |
|
|
| is it LSB compliant? |
|
| Back to top |
|
 |
stahlsau Guru


Joined: 09 Jan 2004 Posts: 565 Location: WildWestwoods
|
Posted: Wed May 04, 2005 8:59 am Post subject: |
|
|
mmh, my fault. It boots fine into the getty, but it opens only on vt2/vt3/..., not on vt1. So you just have to press ctrl+alt+F1 to get it.
Anyway, those in/out errors still appear every time i boot, and i couldn't find out howto add files from /etc/init.d/ to my runlevel (like mpc, keymap, cups...). _________________ Join the adopt an unanswered post initiative today |
|
| Back to top |
|
 |
mojo n00b


Joined: 21 Nov 2002 Posts: 47 Location: Heidelberg, Germany
|
Posted: Wed May 04, 2005 10:22 am Post subject: |
|
|
Of course this error won't disapear until you have your /var directory on the root partition and on a seperat partition. You cannot create mkfifos in the /var directory when you have it seperatly mounted. The errors will disappear when you create the fifos in the /var directory on your root partition, because the /var directory is later mounted in the init process, in the /system/locelmount script. _________________ Hat der alte Hexenmeister sich doch einmal wegbegeben
Und nun sollen seine Geister auch nach meinem willen leben
Seine Wort und Werke merkt ich und den Brauch
Und mit Geistestaerke tu ich wunder auch
-Goethe |
|
| Back to top |
|
 |
Cagnulein l33t


Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Wed May 04, 2005 10:50 am Post subject: |
|
|
| shakti wrote: | | same problem here with in/out and eth0 does not come up. |
same here
Anyway, good job  |
|
| Back to top |
|
 |
Piken n00b

Joined: 04 May 2005 Posts: 3
|
Posted: Wed May 04, 2005 11:45 am Post subject: |
|
|
I been using initNg for a time now and I am realy happy with it. My boot time is greatly improved (about 13s on my IBM X40) Everything works like a charm.
Chears to you Jimmy, keep up the good work! |
|
| Back to top |
|
 |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 12:38 pm Post subject: |
|
|
| stahlsau wrote: | make mkfifos does work, but the error stays. Maybe the permissions of in/out are wrong? The files exist with | Code: | prw------- 1 root root 0 4. Mai 10:11 in
prw------- 1 root root 0 4. Mai 10:11 out
|
And coldplug wasn't the problem. This time the boot-process stops at something else, ~92%. |
please giv me your output of
ngc -s > ngcoutput.txt
There it will show what process that refuses to load..
// Jimmy W |
|
| Back to top |
|
 |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 12:40 pm Post subject: |
|
|
| revertex wrote: | | is it LSB compliant? |
I dont know what the LSB standard says about rc init files, but all distros i know have diffrent script system, the only thing that is standard is sysvinit command init, reboot, and halt i think... |
|
| Back to top |
|
 |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 12:42 pm Post subject: |
|
|
| stahlsau wrote: | mmh, my fault. It boots fine into the getty, but it opens only on vt2/vt3/..., not on vt1. So you just have to press ctrl+alt+F1 to get it.
Anyway, those in/out errors still appear every time i boot, and i couldn't find out howto add files from /etc/init.d/ to my runlevel (like mpc, keymap, cups...). |
initscripts that is genntoo specific in /etc/init.d is not compatible with initng, the initfiles have to be designed in a special format and all found in /etc/initng..
More init files will come....
To add and remove on a runlevel, us the ng-update ported from rc-update that follows. |
|
| Back to top |
|
 |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 12:43 pm Post subject: |
|
|
| mojo wrote: | | Of course this error won't disapear until you have your /var directory on the root partition and on a seperat partition. You cannot create mkfifos in the /var directory when you have it seperatly mounted. The errors will disappear when you create the fifos in the /var directory on your root partition, because the /var directory is later mounted in the init process, in the /system/locelmount script. |
You can change path to in and out fifos in src/initng.h
Happy hacking. |
|
| Back to top |
|
 |
Parasietje Apprentice

Joined: 25 Jan 2004 Posts: 194
|
Posted: Wed May 04, 2005 1:31 pm Post subject: |
|
|
Who's talking about adjusting the filesystem to get preloading.
You can just make an extra partition with all the files needed to load. These files are all fysically close to each other because they're on the same partition. |
|
| Back to top |
|
 |
JimmyW Tux's lil' helper

Joined: 28 Sep 2002 Posts: 119 Location: Sweden
|
Posted: Wed May 04, 2005 2:25 pm Post subject: |
|
|
| Parasietje wrote: | Who's talking about adjusting the filesystem to get preloading.
You can just make an extra partition with all the files needed to load. These files are all fysically close to each other because they're on the same partition. |
And mounting with union filesystem? |
|
| Back to top |
|
 |
numerodix l33t


Joined: 18 Jul 2002 Posts: 743 Location: nl.eu
|
Posted: Wed May 04, 2005 3:18 pm Post subject: |
|
|
When compiling I get this error:
| Code: | gcc -Wall -Wextra -pipe -g -pedantic -Werror -c main.c
cc1: error: unrecognized option `-Wextra' |
So I removed -Wextra from the Makefile and it compiled. Going to try it now.
EDIT: the boot doesn't complete. It stops at 88% system/localmount. That's after I removed coldplug from the runway which was the final stop before that. I get a message the mounting fails so I deleted that entry and now it stops at 87& system/static-modules
using the 0.0.4 ebuild _________________ undvd - ripping dvds should be as simple as unzip
Last edited by numerodix on Wed May 04, 2005 4:22 pm; edited 2 times in total |
|
| Back to top |
|
 |
rmh3093 Advocate


Joined: 06 Aug 2003 Posts: 2135 Location: Rochester/Buffalo, NY
|
Posted: Wed May 04, 2005 3:33 pm Post subject: |
|
|
| JimmyW wrote: | | rmh3093 wrote: | | watch out, i created the /var/initng dir and the in and out files and rebooted and then i just got runaway errors on tty1 |
Run away errors?
ar all fios in place, unpack the tarball, step into it, and type make mkfifos...
Make sure you are using the latest version. |
ok i ran make mkfifos and every thing seems to run fine, i added net/pcmcia to initng/runlevel.system before net/lo and it said it started but when I checked lsmod the modules were not loaded, it does not look like cardmgr gets started nor does the net/eth1 becase it complains about the oldschool init boot runlevel not having been completed. _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
| Back to top |
|
 |
stahlsau Guru


Joined: 09 Jan 2004 Posts: 565 Location: WildWestwoods
|
Posted: Wed May 04, 2005 4:22 pm Post subject: |
|
|
| Quote: | | Of course this error won't disapear until you have your /var directory on the root partition and on a seperat partition. You cannot create mkfifos in the /var directory when you have it seperatly mounted. The errors will disappear when you create the fifos in the /var directory on your root partition, because the /var directory is later mounted in the init process, in the /system/locelmount script. |
hum, well, i didn't think about this...ok, fixed
It works ok for now, despite the missing initscripts. I'll see if i can port those i need after the weekend (i'm on tour with the club from tomorrow on).
thx for help! _________________ Join the adopt an unanswered post initiative today |
|
| Back to top |
|
 |
ikke Apprentice


Joined: 14 Jan 2005 Posts: 225 Location: Belgium
|
Posted: Wed May 04, 2005 7:19 pm Post subject: |
|
|
I'll try this too
Is it compatible with gensplash?  _________________ Working day and night to enhance your Linux Desktop experience
Blog |
|
| Back to top |
|
 |
ikke Apprentice


Joined: 14 Jan 2005 Posts: 225 Location: Belgium
|
Posted: Wed May 04, 2005 7:36 pm Post subject: |
|
|
Hmm, just booted using it...
What comes up is damn fast, but I got a lot of errors regarding stuff it can't find on /var, which is quite normal because my /var is in LVM2 so as long as its not mounted nothing is in there. _________________ Working day and night to enhance your Linux Desktop experience
Blog |
|
| Back to top |
|
 |
int2str Guru


Joined: 29 Sep 2003 Posts: 361
|
Posted: Wed May 04, 2005 7:59 pm Post subject: |
|
|
Jimmy,
my notebook is in repair, so I can't try it yet, but I applaud you for taking this on and generating a potentially great program.
Some quesitons/suggestions from the sidelines:
Apparently many people have problems with generating / or the location of the FIFOs. Can you use a different form of IPC? What do you use the FIFOs for and how could we replace them?
If you must use FIFOs, make the location command line configurable maybe. Though I still think that FIFOs might be a bad idea for an init process.
Did you write all the code yourself, or did it evolve out of a different project? There's a lot of BUSYBOX checks in there and the copyright header refers to a "library"...
Also, since you say you generated initng with new ideas and a different approach, it would be nice if you wrote a small design document outlining your ideas and their implementation. That way new developers might join you quicker.
I'll try it as soon as my notebook is out of repair.
Cheers,
Andre _________________ Adpot an unanswered post today! |
|
| Back to top |
|
 |
|