PDA

View Full Version : HOWTO: Reducing boot time in Breezy using InitNG


Pages : 1 [2]

Trigger|Debian
January 9th, 2006, 11:45 AM
@foxy123: Wanted to talk to you in IRC, but the internet connection in university left me :(
Come around again and I'll be there hopefully.
Maybe it is a problem with acpid, but i'm not sure. Are the modules specified in /etc/default/acpid loaded? Try "modprobe battery". Is hal running and working?

@berserker: Maybe this is a problem with a too slow udev. I will investigate and hopefully find a solution. Can you try to delay initial.ii a bit with a "wait"a dn wee if it works then?

Heliode
January 9th, 2006, 11:46 AM
The latest one that works for me is 0.4.7-3. The 0.5.1 gives me an fsck.ext2 error right after loading the kernel and stops there.

Same for me. Has anyone found a way around this yet?

Trigger|Debian
January 9th, 2006, 11:54 AM
It seems to be the following bug: http://bugzilla.initng.thinktux.net/show_bug.cgi?id=393

DigitalAxis
January 10th, 2006, 06:49 PM
With InitNG 0.4.8-1, I only once (out of about 4 times) managed to shut down properly, every other time the system hung when it got to turning off the USB ports. I'm not sure why.

With InitNG 0.5.1, everything's much slower, and the system hangs where it's trying to detect the ethernet cable (that's not plugged in). I CAN use Ctrl-Alt-Del to get it to halfway shut down, but it won't even turn off properly. I haven't looked at the log yet, but my system no longer boots with splash when set to boot normally.

Limulus
January 11th, 2006, 07:33 AM
DigitalAxis: if you unistall InitNG does it boot normally then?

Trigger|Debian
January 11th, 2006, 12:46 PM
@berserker Heliode and everyone else with problems like this
Can you please try the following:
Copy the files you find here http://triggerit.tr.funpic.de/debian/initng/initfiles/system/ to /etc/initng/system and run “ng-update a system/udev system” to add udev.i to the runlevels. Reboot and hope the best ;)
I need to know of the problem persists. I never had problems and so I need your feedback. It seems as if we are too fast for udev.

@DigitalAxis: I need more information. Please open a bug in http://bugzilla.initng.thinktux.net
Try to boot with "init=/sbin/initng --verbose" and see if you can see something usefull.

DigitalAxis
January 12th, 2006, 02:27 PM
@Limulus
No, it booted normally the second time. I'm not sure what happened; I'll try to reproduce

@Trigger|Debian
Will Do.

DigitalAxis
January 12th, 2006, 09:52 PM
Ok, for some reason KDM is failing.

<...>
Jan 12 14:51:45 localhost daemon/kdm:
Jan 12 14:51:45 localhost daemon/kdm:
Jan 12 14:51:45 localhost daemon/kdm: ** "initng_simple_launcher.c", simple_exec_fork() line:191:
Jan 12 14:51:45 localhost daemon/kdm: 14:51:45 -- FAIL:^IEEEEEEEEEEEEEEEEEEERRRRRRRRRRRRRRRRRRRRRRRR RRROOOOOOOOOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRR!!!!!! !!!
Jan 12 14:51:45 localhost daemon/kdm:
Jan 12 14:51:45 localhost daemon/kdm:
Jan 12 14:51:45 localhost daemon/kdm: ** "initng_simple_launcher.c", simple_exec
Jan 12 14:51:45 localhost InitNG: Service daemon/kdm has been stopped.
<...>
(Somehow X isn't being started?)

Anyway, the endless loop turned out to be daemon/sendmail as started by daemon/fetchmail, continually waiting for the internet (initng_netprobe.c) to come up but since my laptop's not online, no dice.

There's still an odd problem with "initng_common.c line 412. initng_common_mark_service: a state hook did not like this change."

I've appended a file with all of the various weirdness I found in /var/log/messages, though I'm not sure how much my selections will help anyone.

berserker
January 12th, 2006, 11:52 PM
Ok, for some reason KDM is failing.

Same here. I have to manually start KDM. The fsck.ext2 error is gone but it fails at KDM start.

Trigger|Debian
January 13th, 2006, 07:50 AM
The path to kdm seems to be wrong (it should be /usr/bin/kdm). Did you cahnge this and it fails? If yes that's a real problem. If no only Initng's feedback is bad ;)

berserker
January 13th, 2006, 07:56 AM
The path to kdm seems to be wrong (it should be /usr/bin/kdm). Did you cahnge this and it fails? If yes that's a real problem. If no only Initng's feedback is bad ;)

Works like a charm now. Thanks!

foxy123
January 13th, 2006, 08:22 AM
I was trying to set up InitNG on my desktop yesterday. After several reboots it started sort of working, though the computer boots longer with InitNG then with default conf.

After few seconds the screen turns blank with only blinking underscore in the upper left corner. Then it prints something like (I am reproducing in from my menory):
computer's name
login
[4 ; 2R
and then I have gdm. However if I shut down the computer, it hangs, so I have to push reset button.

I wonder what would be the best way to debug it. If it is not easy, I will just leave it....

souled
January 13th, 2006, 11:25 AM
I was trying to set up InitNG on my desktop yesterday. After several reboots it started sort of working, though the computer boots longer with InitNG then with default conf.

After few seconds the screen turns blank with only blinking underscore in the upper left corner. Then it prints something like (I am reproducing in from my menory):
computer's name
login
[4 ; 2R
and then I have gdm. However if I shut down the computer, it hangs, so I have to push reset button.

I wonder what would be the best way to debug it. If it is not easy, I will just leave it....

This happens to me when I try to boot. I haven't tried restarting yet...

Trigger|Debian
January 13th, 2006, 12:12 PM
One more time my plea: Please file bugs like the above (and any other) in bugzilla on http://bugzilla-initng.thinktux.net if you want to see them fixed!
AFAIK I'm the only one from the Initng team reading this thread and I can neither reproduce nor fix ever bug :(
If you open a bug much more people will have a look at this.

foxy123
January 13th, 2006, 12:21 PM
One more time my plea: Please file bugs like the above (and any other) in bugzilla on http://bugzilla-initng.thinktux.net if you want to see them fixed!
AFAIK I'm the only one from the Initng team reading this thread and I can neither reproduce nor fix ever bug :(
If you open a bug much more people will have a look at this.
the problem is that it is very difficult describe this bug for the bugzilla. Do you think that the description in my above post is clear enough to file it as a bug?

Trigger|Debian
January 13th, 2006, 12:30 PM
I think it is the only chance we have - otherwise this will be never fixed :(
Maybe someone else knows more informations and can add them.

sitedesign
January 13th, 2006, 06:28 PM
I tried to use this howto but found that my atheros wifi card (ath0) would not work.

NOW FIXED!

So I then found that after using this howto (http://www.ubuntuforums.org/showthread.php?t=105437) to use the latest madwifi drivers for the atheros wifi card all is now working. (pay attention to post number 7 as there is a typo in the instructions at the top of the post)

I also had to modify /etc/network/interfaces
look for the following lines and put hash marks at the front as shown.
#mapping hotplug
# script grep
# map eth0


So if you have a wifi card listed as ath0 then this should help. Any problems then let me know, I may have missed some steps out.

Trigger|Debian
January 14th, 2006, 09:50 AM
I'll make a release for 0.5.2 within the next time.
If someone knows scripts which need to be tweaked he should yell know and tell me what to change. Kdm is fixed.

EDIT: Ok, speedstep should work now...

Jingo
January 15th, 2006, 01:44 PM
Will you compile it with splash support?

Trigger|Debian
January 15th, 2006, 07:02 PM
Ok, 0.5.2 is out.
I want everybody to read this:http://triggerit.tr.funpic.de/blog/?p=36 and please execute /etc/initng/count_me.sh.
I've built the package with usplash support - for I have no Ubuntu I don't know if it works. Tell it to me!

reet
January 15th, 2006, 08:02 PM
Thanks for the update.

By simply upgrading my current package, speedstep still returns "FAIL_STARTING".

AMD Athlon64 3000+
Asrock 939DUAL-SATA2 motherboard
Linux 2.6.12-10-k7 kernel

Trigger|Debian
January 15th, 2006, 08:13 PM
Uhm, can anyone point me to the problem with system/speedstep? I don't see why it fails. I thought it were not loaded modules, but now all modules should be loaded.

And if anyone tried to get usplash running: tell me. Maybe you need to add system/usplash to system.runlevel - I don't know.

eyebrowman92
January 15th, 2006, 08:43 PM
this works like a charm! i love it! i would like a splash screen though..

Limulus
January 16th, 2006, 05:41 AM
Ok, 0.5.2 is out.
I want everybody to read this:http://triggerit.tr.funpic.de/blog/?p=36 and please execute /etc/initng/count_me.sh.
I've built the package with usplash support - for I have no Ubuntu I don't know if it works. Tell it to me!
0.5.2 doesn't work for me :(

When I boot with InitNG it gets a few seconds into the colorful display of text that scrolls by and then it all disappears and then the generic Terminal login appears but some of the characters at the end are replaced by "[4;4R" Pressing enter a few times gets me to a normal login prompt and then I can login and then reboot out of that.

Reinstalling the package makes no difference.

The entry I use from /boot/grub/menu.lst

title Ubuntu, kernel 2.6.12-10-686 (InitNG)
root (hd0,1)
kernel /boot/vmlinuz-2.6.12-10-686 root=/dev/hda2 ro quiet init=/sbin/initng reboot=h
initrd /boot/initrd.img-2.6.12-10-686
savedefault
boot


When I ran count_me.sh it said I was "user 768 counted" (that BTW was the second time I ran it; the first time I ran it, I used Nautilus and clicked on the file, but it disappeared so fast that I rant it a second time from Terminal to make sure it worked) in case you want to look at my specs.

Hope this works again for me soon. As I recall, I had problems with some of the 0.4 series (because I use a laptop?)

foxy123
January 16th, 2006, 05:50 AM
0.5.2 doesn't work for me :(

When I boot with InitNG it gets a few seconds into the colorful display of text that scrolls by and then it all disappears and then the generic Terminal login appears but some of the characters at the end are replaced by "[4;4R" Pressing enter a few times gets me to a normal login prompt and then I can login and then reboot out of that.

Reinstalling the package makes no difference.

The entry I use from /boot/grub/menu.lst

title Ubuntu, kernel 2.6.12-10-686 (InitNG)
root (hd0,1)
kernel /boot/vmlinuz-2.6.12-10-686 root=/dev/hda2 ro quiet init=/sbin/initng reboot=h
initrd /boot/initrd.img-2.6.12-10-686
savedefault
boot


When I ran count_me.sh it said I was "user 768 counted" (that BTW was the second time I ran it; the first time I ran it, I used Nautilus and clicked on the file, but it disappeared so fast that I rant it a second time from Terminal to make sure it worked) in case you want to look at my specs.

Hope this works again for me soon. As I recall, I had problems with some of the 0.4 series (because I use a laptop?)
I've got the same problem. As I understand InitNG changes a screen during the boot from tty1 to tty6 and as a result a number of services do not start (anacron on my desktop and keymaps on laptop). Although I do not know why.

I filed a bug a couple of days ago here: http://bugzilla.initng.thinktux.net/show_bug.cgi?id=407. I guess you may vote for it to show that more than one person is affected by this bug...

foxy123
January 16th, 2006, 06:04 AM
speedsteps still does not work for me. The scrip I have installed with 0.5.2 is:

service system/speedstep {
need = system/bootmisc system/modules/cpufreq-ondemand system/modules/cpufreq_userspace system/modules/cpufreq_stats system/modules/cpufreq_powersave system/modules/cpufreq_conservative system/modules/speedstep_centrino;
use = system/static-modules system/coldplug;
script start = {
/bin/cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor >/tmp/origgovanor
echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
};
script stop = {
/bin/cat /tmp/origgovanor >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
};
}


The script which works for me is:
service system/speedstep {
need = system/initial system/modules system/mountroot;
use = system/static-modules system/coldplug;
script start = {
/sbin/modprobe cpufreq-ondemand &> /dev/null
/sbin/modprobe cpufreq_userspace
/sbin/modprobe cpufreq_stats
/sbin/modprobe cpufreq_powersave
/sbin/modprobe cpufreq_conservative
/sbin/modprobe acpi_cpufreq
/bin/cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor > /tmp/origgovanor
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
exit 0
};

script stop = {
echo `/bin/cat /tmp/origgovanor` > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
exit 0
}
}

reet
January 16th, 2006, 09:28 AM
Limulus, foxy123, it sounds like you don't have gdm or whatever display manager you use starting. Try:

sudo ng-update add daemon/gdm

foxy123
January 16th, 2006, 09:32 AM
Limulus, foxy123, it sounds like you don't have gdm or whatever display manager you use starting. Try:

sudo ng-update add daemon/gdm
no, I've got gdm started after showing the command prompt, though I had to add it manually. What I do not understand is why it chages the screen to tty6 and how it causes some services not to start properly?

Jingo
January 16th, 2006, 11:46 AM
I have had severel problems getting this 0.5.2 running!
I first uninstalled my 0.4.8 version, which was great.

I have troubles with vixie-cron saying status "FAIL_STARTING". It complains over the pid_file at startup. Cron is started alright and the pid-file is right!? InitNg just don't think so.

Same goes for NetworkManager. I had to comment out the "pid_file" argument to let InitNG see it was loaded, and not break the dependancy chain.

Also on shutdown/reboot I get a coredump. How do I troubleshoot the coredump? I don't know which process gives the dump!?

Jingo
January 16th, 2006, 11:47 AM
I have had severel problems getting this 0.5.2 running!
I first uninstalled my 0.4.8 version, which was great.

I have troubles with vixie-cron saying status "FAIL_STARTING". It complains over the pid_file at startup. Cron is started alright and the pid-file is right!? InitNg just don't think so.

Same goes for NetworkManager. I had to comment out the "pid_file" argument to let InitNG see it was loaded, and not break the dependancy chain.

Also on shutdown/reboot I get a coredump. How do I troubleshoot the coredump? I don't know which process gives the dump!?

Limulus
January 16th, 2006, 08:45 PM
Limulus, foxy123, it sounds like you don't have gdm or whatever display manager you use starting. Try: sudo ng-update add daemon/gdm

While it added fine (Success: added "daemon/gdm" to runlevel "default"), I got the same result as foxy123 (namely, the same result as before; it didn't work).

reet
January 16th, 2006, 10:17 PM
Limulus, Foxy123, am I to understand that gdm does not start and that you have to log in at the command prompt and start it manually? Or does it work, but you are looking at this peculiar "[4;4R" login screen for the entire boot process. If the latter is true, remove usplash and you should be able to observe the lovely boot process once again:

sudo ng-update delete system/usplash

Limulus
January 17th, 2006, 01:56 AM
Limulus, Foxy123, am I to understand that gdm does not start and that you have to log in at the command prompt and start it manually? Or does it work, but you are looking at this peculiar "[4;4R" login screen for the entire boot process. If the latter is true, remove usplash and you should be able to observe the lovely boot process once again: sudo ng-update delete system/usplash
Hey cool, it worked! =D

BTW, I tested it and I need both for Ubuntu to start properly:

sudo ng-update add daemon/gdm
sudo ng-update delete system/usplash
(if I just delete usplash, it stops at 100%)

Speaking of usplash though, why is causing trouble when I don't have "splash" in the kernel line?

Limulus
January 17th, 2006, 02:27 AM
Ok, 0.5.2 is out.
I want everybody to read this:http://triggerit.tr.funpic.de/blog/?p=36 and please execute /etc/initng/count_me.sh.
I've built the package with usplash support - for I have no Ubuntu I don't know if it works. Tell it to me!
OK, now that I have InitNG working, I can answer this question! :)

I put "splash" back in the kernel line and no, it doesn't seem to work properly ;)

Usplash starts fine and the progress bar moves a tiny bit, but there's no scrolling text (http://root.chrizel.com/misc/usplash.png) as there should be and it quits back to InitNG's colorful text at 8 or 9%. That was my experience anyway.

Jingo
January 17th, 2006, 04:17 AM
I just uninstalled my 0.4.8 which worked great, and installed 0.5.2. Problems!

vixie-cron has a wierd behavior. Its status is "FAIL_STARTING" but is actually started. On startup is says something like "wrong pid_file. Pid of non-exsistent process", but when the system came up, crond is running and the pid_file has the right number!!???

I use NetworkManager. I had to comment out he pid_file argument in the .i file to have it start ?
If the .i file doesn't have a pid_file arg. How does initng shutdown NetworkManager ?
Anyone using NetworkManager?

And I have a coredump everytime I shutdown/reboot.
How do I investigate the coredump? I don't know which program causes this, but I suspect the dhcp started by NetworkManager.


Ups... just saw that my previous post did get through. I thought I last connection to the forum yesterday!

reet
January 17th, 2006, 01:30 PM
BTW, I tested it and I need both for Ubuntu to start properly:

sudo ng-update add daemon/gdm
sudo ng-update delete system/usplash
(if I just delete usplash, it stops at 100%)
Of course, the boot process is complete but there is nothing to login with. At this point, if you hit alt+ctrl+f2 you would see a login screen and be able to work just fine.

Nevermore
January 17th, 2006, 05:33 PM
my old desktop would really need a speedup in the boot process, so i tried that .deb package..
got the last release, followed the guide..
PANG:
seg fault..
says can't call the daemon service..
what to do?

jon_z
January 17th, 2006, 07:41 PM
Radeon 9600XT, need fglrx drivers loaded, init-ng doesn't do it by default, any ideas?

*SOLVED*

Add fglrx to a blank line in /etc/modules
UPGRADE to the new version of initng!! then execute /etc/initng/count_me.sh

Trigger|Debian
January 17th, 2006, 08:50 PM
my old desktop would really need a speedup in the boot process, so i tried that .deb package..
got the last release, followed the guide..
PANG:
seg fault..
says can't call the daemon service..
what to do?
Don't follow the guide? It is horrible old and outdated! 99% of the changes are in the package. The syntax of scripts has changed and they won't work anymore. MAybe this is the reason for the segfault - the parser is a little bit bitchy concerning wrong scripts ;)
Can't anyone change it? I contacted the author - he told me he doesn't use Ubuntu anymore (at least ATM). Maybe everybody should write him a PM with the beg for an update. I'm willing to help...

Nevermore
January 18th, 2006, 06:35 AM
i installed initng on another computer and it started no problem, and pretty fast (only the 4R 4] screen was there for a while) but i encountered those problems:
the net connection doesn't work, i have no net interface...
the shutdown doesn't work...it starts the shutdown and after a while hangs there, not turning off the computer, nor rebooting...
reboot doesn't work as well..
nice speed but i suppose the coldplug couldn't get the net interface...
im back to usual for now, hoping it will be working soon!
started in around 10 sec!!!

Limulus
January 18th, 2006, 11:49 AM
Don't follow the guide? It is horrible old and outdated! 99% of the changes are in the package. The syntax of scripts has changed and they won't work anymore. MAybe this is the reason for the segfault - the parser is a little bit bitchy concerning wrong scripts ;)
Can't anyone change it? I contacted the author - he told me he doesn't use Ubuntu anymore (at least ATM). Maybe everybody should write him a PM with the beg for an update. I'm willing to help...

Only the author of the post can change the posts they've made...

Why don't you start a new thread?

Leave a note at the end of this one saying that its time to move on ;)

Plus if you start the new thread, you can edit the instructions in the top post as needed... And if there are no new posts to this thread, it will decrease in search ranking, etc. while the new one will increase. Also, maybe get the author of the first post in this thread to link to the new thread...

foxy123
January 18th, 2006, 12:40 PM
i installed initng on another computer and it started no problem, and pretty fast (only the 4R 4] screen was there for a while) but i encountered those problems:
the net connection doesn't work, i have no net interface...
the shutdown doesn't work...it starts the shutdown and after a while hangs there, not turning off the computer, nor rebooting...
reboot doesn't work as well..
nice speed but i suppose the coldplug couldn't get the net interface...
im back to usual for now, hoping it will be working soon!
started in around 10 sec!!!

for 4R 4 and shutdown problem do
sudo ng-update delete system/usplash

try to boot after that. It may solve your other problem. If not, let us know.

shade11
January 20th, 2006, 09:47 PM
Interesting guide. But can someone tell me how to startup GDM automatically?

Rob2687
January 20th, 2006, 09:50 PM
It should start automatically if you followed the guide properly. Initng is very buggy so yeah...

shade11
January 20th, 2006, 11:06 PM
Yes, well i followed instructions except for 7, because it sait it was optional. I am goint to try again today with 7. If i follow each one it will start GDM right?

Rob2687
January 21st, 2006, 12:08 AM
Yeah, make sure you only run one of the two commands in step 5.

Anywho...

Has anyone gotten wpasupplicant to start at boot?
I did the sudo ng-update add daemon/wpasupplicant default, but it gives an error which goes by way to fast to see what it is during boot time.

Something about needing daemon/wpasupplicant and daemon/wpacli

souled
January 21st, 2006, 12:56 AM
You can view the boot log. In the terminal type "sudo ngc -L". You can find your error message in there.

shade11
January 23rd, 2006, 11:28 PM
Well I did all of the 7 instructions. And there are still problems:
No sound, even after doing this (http://ubuntuforums.org/showthread.php?t=77078).
I want DHCP to succeed 100% of the Time.
I can't get ACPI to work even after following the instructions that were shown. I have a laptop so I really need it.

Please Help :(

Jingo
January 24th, 2006, 01:37 PM
This 0.5.2 seems very buggy to me. I get very random errrors.
0.4.8 was rather stable, I am downgrading again.

Hope the next relases will be less buggy.
Will there be a 0.5.3 dep ? Or are we waiting for more bugfixes?

shade11
January 24th, 2006, 11:46 PM
ARRGH!

This ticks me off. HOW CAN I GET SOUND!

Trigger|Debian
January 25th, 2006, 04:44 PM
Hope the next relases will be less buggy.
Will there be a 0.5.3 dep ? Or are we waiting for more bugfixes?
We will wait for a new release.
I'm very busy at the moment and not very mutch has changed between 0.5.2 and 0.5.3.
Please report your bugs in bugzilla (http://bugzilla.initng.thinktux.net).
I neither have the bugs you report nor have I the time to fix them all.
You have the choice: if you report them they will be fixed, otherwise they won't be fixed. So easy is life.

Thx.

shade11
January 26th, 2006, 12:28 AM
Haha I am happy now. I got initNG to work thanks to my friend Benplaut. Sound, DHCP 100% successful, and ACPI works now. My boot time was reduced down to around 13 seconds. I had originally disabled some other processes with BUM and sysc-rc-conf.

benplaut
January 26th, 2006, 01:09 AM
Haha I am happy now. I got initNG to work thanks to my friend Benplaut. Sound, DHCP 100% successful, and ACPI works now. My boot time was reduced down to around 13 seconds. I had originally disabled some other processes with BUM and sysc-rc-conf.

no problem... if you need something, just 'call' ;)

Trigger|Debian
January 26th, 2006, 12:17 PM
@shade11: Did you made changes in scripts (which were buggy) or did you make some changes on your system?
If you needed to change some scripts you should tell me :)

shade11
January 26th, 2006, 02:56 PM
Actually, Ben made a few changes to the intNG scripts and gave me this program he made that helps with DHCP.

Trigger|Debian
January 26th, 2006, 03:13 PM
Oh, guys!
You want me to deliver me a working package but you don't tell me what needs to be changed. You see the problem?

Jingo
January 27th, 2006, 07:14 AM
I neither have the bugs you report nor have I the time to fix them all.


Are you or anyone using NetworkManager ?
I have filed a bugreport. Pid_file problem is known, but is very rare (random I'd say). I bet the problem with wrong pid number is causing my problems.

Sometimes InitNG doesn't shutdown properly, last print is "static-modules [stopped]", so I guess it hangs on bootmisc, but again is only 1/10 of the shutdowns!? What should I write in the bugreport. I don't have much data/facts to report!

/Jingo

shade11
February 6th, 2006, 02:40 AM
Well I got most of it working but:

-Can anyone help me with sound? I got it working but it doesn't want to work with most programs. I know it has to do with initNg because I can normally boot and it will have sound work all the time.

-Is is possbile to make DHCP succeed 100% of the time even if increasing boot time? Ben just gave me a tool incase it fails but I need it to work without a tool.

Thanks in advance.

wmvdg123
February 8th, 2006, 07:48 AM
Hi, I'm a noob, first time with Linux. So I downloaded initng_0.4.8-1_i386.deb to my desktop and then opened a terminal and entered,

sudo dpkg -i initng_0.4.8-1_i386.deb

But all I got was "error processing initng_0.4.8-1_i386.deb (--install):
cannot access archive: No such file or directory"

Any ideas about what I'm doing wrong? Thanks,
Wayne

foxy123
February 8th, 2006, 07:52 AM
Hi, I'm a noob, first time with Linux. So I downloaded initng_0.4.8-1_i386.deb to my desktop and then opened a terminal and entered,

sudo dpkg -i initng_0.4.8-1_i386.deb

But all I got was "error processing initng_0.4.8-1_i386.deb (--install):
cannot access archive: No such file or directory"

Any ideas about what I'm doing wrong? Thanks,
Wayne
why are installing 0.4.8? I guess the newest is 0.5.2? anyway, make sure that you typed the name of the dep without any typo and the file is actualy in the dir from where you try to install it. type ls to make sure...

wmvdg123
February 8th, 2006, 06:01 PM
Thanks Foxy123, you were right, I moved it to the "home" folder and then it installed fine :-)
Wayne

shade11
February 9th, 2006, 04:57 AM
I had to re-install Ubuntu because of the bugs. But it works alot better now. I even used a better journaling system format instead of ext3. Anyway, now that I re-installed I am getting more problems. Pretty much DHCP.

I have Gtk-wifi as my default and only Wireless connection manager. 50% of the time DHCP fails. So how can i get it to 100%?

foxy123
February 9th, 2006, 05:16 AM
I had to re-install Ubuntu because of the bugs. But it works alot better now. I even used a better journaling system format instead of ext3. Anyway, now that I re-installed I am getting more problems. Pretty much DHCP.

I have Gtk-wifi as my default and only Wireless connection manager. 50% of the time DHCP fails. So how can i get it to 100%?
where do you use your wireless? maybe you can use static ip address instead of dhcp...

shade11
February 9th, 2006, 05:32 PM
I go to many networks. So I go to diffrent networks all the time.

haleakala
February 10th, 2006, 06:24 PM
Haha I am happy now. I got initNG to work thanks to my friend Benplaut. Sound, DHCP 100% successful, and ACPI works now. My boot time was reduced down to around 13 seconds. I had originally disabled some other processes with BUM and sysc-rc-conf.

I've got an Inspiron 6000 on which I've installed the version 0.33 of InitNG, and I'd like to install a new version to see what is new.

Shade11, it would be very nice from you if you could explain us how did you manage to install your version of InitNG on an Inspiron 6000, I mean to be as precise as possible concerning the change you made to the normal version of InitNG, so that it works great...

Thank in advance!

Haleakala

Skippy le Grand Gourou
February 10th, 2006, 07:55 PM
Hi ! Nice job :
before > boot ~1'25s (+25s for session), shutdown ~23s
after > boot ~50s (+25s), shutdown ~10s \\:D/

However, I too have a cpu scaling problem, and neither modprobe speedstep-centrino (of course...), neither acpi_cpufreq solved it. My cpu is an AMD Sempron 3200+ (that's why I said "of course"), and the weird thing is the following : when I type
sudo modprobe acpi
booting without InitNg, the answer is :
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.12-10-k7/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): Device or resource busy
So that seems ok. But when I type it booting on InitNg, it says :
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.12-10-k7/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

Anybody has an idea ?

Thanx.

macewan
February 11th, 2006, 08:18 AM
Damn, that was so fast I thought something was going wrong. No joke


Thanks for introducing InitNG

Skippy le Grand Gourou
February 11th, 2006, 09:04 AM
Erf, my printer (Canon PIXMA iP1500,with bjcups) also disappears with InitNg... :-?

macewan
February 11th, 2006, 11:45 AM
Erf, my printer (Canon PIXMA iP1500,with bjcups) also disappears with InitNg... :-?

which driver were you using?

Skippy le Grand Gourou
February 11th, 2006, 12:14 PM
which driver were you using?These ones (http://linux.cergynux.net/canon/).

shade11
February 11th, 2006, 05:32 PM
I've got an Inspiron 6000 on which I've installed the version 0.33 of InitNG, and I'd like to install a new version to see what is new.

Shade11, it would be very nice from you if you could explain us how did you manage to install your version of InitNG on an Inspiron 6000, I mean to be as precise as possible concerning the change you made to the normal version of InitNG, so that it works great...

Thank in advance!

Haleakala

I just followed the instructions. Thats all. Then I did this (http://www.ubuntuforums.org/showpost.php?p=429313&postcount=4). I gave my laptop over to benplaut who gave me sound, then used this shell script he made called simplewifi. But simplewifi is just a program to execute incase DHCP fails. But I want it automated.

I still need help with DHCP.

DigitalAxis
February 11th, 2006, 11:24 PM
Ok, 0.5.2-1 works on my laptop now, both for startup and shutdown. I have sound and ethernet and usplash (except for a short blip I don't understand entirely)

With Init: startup 125 seconds
With InitNG: startup 77 seconds (shutdown 20)

It's still a bit long for my taste, but 48 seconds off is nothing to sneeze at either... I suspect I'm loading stuff I don't need.

macewan
February 12th, 2006, 06:19 PM
These ones (http://linux.cergynux.net/canon/).

thanks

yanns
February 17th, 2006, 09:30 AM
I'm testing initng with the 0.5.2-1 version found on http://alioth.debian.org/projects/pkg-initng/.

After package installation, I added the following lines in /boot/grub/menu.lst
title Ubuntu InitNG, kernel 2.6.12-10-686
root (hd0,6) kernel /boot/vmlinuz-2.6.12-10-686 root=/dev/hda7 ro quiet init=/sbin/initng
initrd /boot/initrd.img-2.6.12-10-686
savedefault
boot

I changed the "laptop_mode" by "laptop-mode" in the laptop-mode.i file.

Everything is working great.

I only got one problem: NetworkManager does not work any more, whereas it is working correctly with a "standard" boot.

I checked that NetworkManagerDispatcher.i and NetworkManager.i can be found in /etc/initng/daemon.

Any help welcome...

Edit: solution found
sudo ng-update add NetworkManager
sudo ng-update add NetworkManagerDispatcher

haleakala
February 18th, 2006, 06:24 PM
Hi,

I must say it: yanns, I really appreciate your post! I tried what you did, and Ubuntu boots very well and faster with InitNG on my laptop.

Haleakala

I'm testing initng with the 0.5.2-1 version found on http://alioth.debian.org/projects/pkg-initng/.

After package installation, I added the following lines in /boot/grub/menu.lst
title Ubuntu InitNG, kernel 2.6.12-10-686
root (hd0,6) kernel /boot/vmlinuz-2.6.12-10-686 root=/dev/hda7 ro quiet init=/sbin/initng
initrd /boot/initrd.img-2.6.12-10-686
savedefault
boot

I changed the "laptop_mode" by "laptop-mode" in the laptop-mode.i file.

Everything is working great.

I only got one problem: NetworkManager does not work any more, whereas it is working correctly with a "standard" boot.

I checked that NetworkManagerDispatcher.i and NetworkManager.i can be found in /etc/initng/daemon.

Any help welcome...

Edit: solution found
sudo ng-update add NetworkManager
sudo ng-update add NetworkManagerDispatcher

dodgeman79
February 19th, 2006, 09:34 AM
having trouble getting Initng to run at all. here are the error messages I'm getting at bootup.

** "initng_depend.c", service_state() line:113:
01:15:17 --WARN: service "daemon/dbus" needs service "daemon", that could not be found
Not the one SEGFAULTED!
Initng segfaulted, will wait 20 seconds for you to start a gdb, before execve (sbin/initng-segfault);

that is typed word for word, also no matter how long I wait the computer will not do anything. have to hard reset and boot up normal.

Trigger|Debian
February 19th, 2006, 12:54 PM
Hey boys and girsl,

there will be a new Initng release in a few days and we are bugsquashing right now - if you want to see your bugs fixed add them on http://bugzilla.initng.thinktux.net
If you don't do it they won't be fixed. Life's easy, huh?

Thx
Trigger

Skippy le Grand Gourou
February 19th, 2006, 07:53 PM
Are there so many bugs to report that the server is overflowed or is just your link dead ? :-k

I'll try later... :mrgreen:

Trigger|Debian
February 19th, 2006, 08:15 PM
The link works perfectly for me :)
Please try again.

Jingo
February 22nd, 2006, 05:29 PM
0.5.4 out!! ;-)

Can't wait for .deb! ;-) Hope some of my bugs where solved, although they are still "NEW" in bugzilla!

Keep up the great work.. This thing is just as importent for linux succes as Xgl...

Trigger|Debian
February 22nd, 2006, 05:36 PM
If you need it now you can get it from svn://svn.debian.org/pkg-initng/ ;)
I hope I will release the package tomorrow. Need to do some testing before.

sailor420
February 23rd, 2006, 05:25 PM
Out of curiousity, any chance we could get this moved to the wiki? The install has changed a whole lot since the original post was last updated, but we can't update it because the OP has disappeared. With a wiki entry, it could be changed as new releases come out, regardless of whether or not the original author is still around. We could keep this thread here for discussion of problems, but I think it'd be much easier if the actual install instructions were in the wiki.

foxy123
February 23rd, 2006, 06:29 PM
Out of curiousity, any chance we could get this moved to the wiki? The install has changed a whole lot since the original post was last updated, but we can't update it because the OP has disappeared. With a wiki entry, it could be changed as new releases come out, regardless of whether or not the original author is still around. We could keep this thread here for discussion of problems, but I think it'd be much easier if the actual install instructions were in the wiki.
i will ry to do it, though for Dapper as I have already switched to it.

Trigger|Debian
February 23rd, 2006, 07:49 PM
Yeah, a wiki entry sound very good.
And afterwards we close this thread and start a new one for problems.

BTW: http://triggerit.tr.funpic.de/blog/?p=38
The package is ready :)

benplaut
February 23rd, 2006, 10:37 PM
i'm trying to use this is dapper, running into a bit of trouble. When it's loading hal, i get a bunch of errors about "missing x or y relative value", and about relative values, too.

Anyone know why? using a fully updated system and the tweaks in the first post

Jingo
February 24th, 2006, 02:17 AM
0.5.4 works for me. Until now at least.

Had to make small change to NetworkManager! Yes trigger, I have filed a bug-report.
Had to add "daemon/hald" to the "need" of NetworkManager.i else it would coredump on shutdown!

yanns
February 24th, 2006, 05:34 AM
I tried 0.5.4, but nvidia module cannot be loaded.

I'll check when I have time.

Trigger|Debian
February 24th, 2006, 06:44 AM
@benplaut: Forget the first post - it is completely outdated. Which version do you use? 0.5.4 can't work with the scripts rom the first post...
@ Jingo: Good. Will have a look at this.
@yanns: Is this only a problem of 0.5.4? Did it work before?

yanns
February 24th, 2006, 07:13 AM
@yanns: Is this only a problem of 0.5.4? Did it work before?
Yeah, it worked

Trigger|Debian
February 24th, 2006, 07:57 AM
Hm, ok.
Once the problem was the not started lrm-manager. But if you look at the last lines of system/modules.i you see it is started. AFAIK nothing has been changed there since the last release.
Please try to find out what's the problem :-)

yanns
February 24th, 2006, 08:59 AM
OK I found my problem: I installed the new version too quickly, and did not re-add gdm... :D

I thougt the problem come from nvidia cause I got this message:
"FATAL: could not open /lib/modules/2.6.12-10-686/volatile/nvidia.ko: No such file or directory"
whereas the file does exist.

Trigger|Debian
February 24th, 2006, 10:24 AM
@yanns: Strange - normally it shouldn't be removed. But good, if it works now :-)

@all: If you have problems with NetworManager please add "need = daemon/hald" - seems as if the missing dependency on hald can cause problems.
See http://bugzilla.initng.thinktux.net/show_bug.cgi?id=476

Jefim
February 24th, 2006, 04:57 PM
Jesus! This works perfectly with my system! The boot time was 65 seconds (I measured it), and now it is ONLY 30 sec! It's a miracle I say :) I'm really shocked. Thanks for the guide - finally ubuntu boots faster than windows (and in linux I have much more to boot!).

Limulus
February 25th, 2006, 02:30 AM
http://triggerit.tr.funpic.de/blog/?p=38
The package is ready :)

I just upgraded from 0.5.2 to 0.5.4; here are my notes:

I was running 0.5.2, downloaded 0.5.4 and installed it; when I went to reboot, my computer wouldn't shutdown or reboot (I had to manually power it down). [edit: Heh. I didn't read the link closely enough: "we had an internel API change - this means the first reboot after updating a running Initng will be b0rked." I guess that explains it ;] I would thus recommend (for this release anyway) that if you're upgrading that you boot via a normal Ubuntu boot and upgrade from there.

I booted via a normal Ubuntu boot, uninstalled InitNG and then reinstalled it. This deleted any changes I had made previously. I then tried using it with splash and splash works now! :) There was just one minor glitch where it switched back to the InitNG text for a second and then came back to the Ubuntu splash screen. The normal text (http://root.chrizel.com/misc/usplash.png) under the logo isn't working, but the progress bar works :)

At 100% it failed though; GDM did not start (the same problem as in 0.5.2). I ran sudo ng-update add daemon/gdm and rebooted and then it started just fine :) Printers didn't work in Ubuntu, but that's the same as in 0.5.2 too; just run sudo ng-update add daemon/cupsd and reboot.

There is one final problem that I don't have the answer to just yet; sound doesn't work ^_^; I vaguely recall having this problem before with a previous version; I'll see if I can find the answer... or if someone posts it first I'd appreciate it :)

Limulus
February 25th, 2006, 09:22 AM
There is one final problem that I don't have the answer to just yet; sound doesn't work ^_^;
I figured it out; I ran
sudo ng-update add daemon/esound
and rebooted and had sound :)

Edit: the above only works if the Multimedia Systems Selector is set to ESD before the computer reboots... how odd (I changed it ALSA and rebooted and there was no sound again...)

Edit2: I just booted and the audio didn't start; I wonder if its related to bug 436 (http://bugzilla.initng.thinktux.net/show_bug.cgi?id=436)...

Edit 3: I filed this as bug 489 (http://bugzilla.initng.thinktux.net/show_bug.cgi?id=489)

Limulus
February 25th, 2006, 06:05 PM
On the advice of a more knowledgeable Linux user who asked "Can you start alsa manually after you have booted?" suggested I try:
/etc/init.d/alsa-utils start
the result was:
* Setting up ALSA...
* /etc/init.d/alsa-utils: Warning: 'alsactl restore' failed with error message 'alsactl: load_state:1236: No soundcards found...'.
[ ok ]
And no sound ;)

Edit: Same person infers that it "Sounds like it skipped the part where in modprobes your soundcard driver."

Jefim
February 26th, 2006, 06:21 AM
I want Apache2 & MySQL servers to start, but initng can't (I don't know why). I added them to default (with ng-update), but there no change... How do I solve this?

Limulus
February 26th, 2006, 06:55 AM
Yeah, a wiki entry sound very good.
Here you go: https://wiki.ubuntu.com/InitNG :)
Edit away ;)

foxy123
February 28th, 2006, 05:54 PM
has anyone tried it on Dapper? I have a trouble with debian-ifupdown:
Feb 28 21:24:49 localhost system/ifupdown-debian: bash_helper[system/ifupdown-debian]: line 72: /etc/network/run/ifstate: No such file or directory
Feb 28 21:24:49 localhost system/ifupdown-debian: failed.
Feb 28 21:24:49 localhost system/ifupdown-debian: ifupdown-debian]: Error: Failure initializing /etc/network/run/ifstate

sailor420
February 28th, 2006, 05:54 PM
On the advice of a more knowledgeable Linux user who asked "Can you start alsa manually after you have booted?" suggested I try:
/etc/init.d/alsa-utils start
the result was:
* Setting up ALSA...
* /etc/init.d/alsa-utils: Warning: 'alsactl restore' failed with error message 'alsactl: load_state:1236: No soundcards found...'.
[ ok ]
And no sound ;)

Edit: Same person infers that it "Sounds like it skipped the part where in modprobes your soundcard driver."

Have you found out anymore about this or how to fix it?

Also, how do I make eth0 start on boot? I'm having to go in and manually start it after a reboot...

Trigger|Debian
March 1st, 2006, 06:53 AM
has anyone tried it on Dapper? I have a trouble with debian-ifupdown:
Feb 28 21:24:49 localhost system/ifupdown-debian: bash_helper[system/ifupdown-debian]: line 72: /etc/network/run/ifstate: No such file or directory
Feb 28 21:24:49 localhost system/ifupdown-debian: failed.
Feb 28 21:24:49 localhost system/ifupdown-debian: ifupdown-debian]: Error: Failure initializing /etc/network/run/ifstate
It has been reported here: http://bugzilla.initng.thinktux.net/show_bug.cgi?id=487
To be honest I don't really have an Idea what is happening here. Seems as if something has changed in Dapper.
Please do me a favour and attach /etc/init.d/ifupdown-clean and /etc/init.d/ifupdown to this bugreport.

foxy123
March 1st, 2006, 07:03 AM
It has been reported here: http://bugzilla.initng.thinktux.net/show_bug.cgi?id=487
To be honest I don't really have an Idea what is happening here. Seems as if something has changed in Dapper.
Please do me a favour and attach /etc/init.d/ifupdown-clean and /etc/init.d/ifupdown to this bugreport.
I've no /etc/init.d/ifupdown-clean and /etc/init.d/ifupdown:
~$ locate ifupdown
/etc/udev/rules.d/85-ifupdown.rules
/etc/initng/system/ifupdown-debian.i
/var/lib/dpkg/info/ifupdown.config
/var/lib/dpkg/info/ifupdown.list
/var/lib/dpkg/info/ifupdown.templates
/var/lib/dpkg/info/ifupdown.postinst
/var/lib/dpkg/info/ifupdown.preinst
/var/lib/dpkg/info/ifupdown.postrm
/var/lib/dpkg/info/ifupdown.conffiles
/var/lib/dpkg/info/ifupdown.md5sums
/var/cache/apt/archives/ifupdown_0.6.7ubuntu7_i386.deb
/usr/share/doc/ifupdown
/usr/share/doc/ifupdown/changelog.gz
/usr/share/doc/ifupdown/examples
/usr/share/doc/ifupdown/examples/pcmcia-compat.sh
/usr/share/doc/ifupdown/examples/bridge
/usr/share/doc/ifupdown/examples/generate-interfaces.pl.gz
/usr/share/doc/ifupdown/examples/check-mac-address.sh
/usr/share/doc/ifupdown/examples/network-interfaces.gz
/usr/share/doc/ifupdown/examples/get-mac-address.sh
/usr/share/doc/ifupdown/examples/ping-places.sh
/usr/share/doc/ifupdown/TODO
/usr/share/doc/ifupdown/copyright
/usr/share/doc/ifupdown/contrib
/usr/share/doc/ifupdown/contrib/ifstate-check
/usr/share/doc/ifupdown/contrib/ensureifup
/usr/share/doc/ifupdown/contrib/ifstate
/usr/share/doc/ifupdown/changelog.Debian.gz
/usr/share/ifupdown
/usr/share/ifupdown/upgrade-from-0.5.x.pl
/usr/share/ifupdown/upgrade-from-hotplug.pl
/usr/share/NetworkManager/dispatcher.d/01ifupdown

~$ locate ifupdown-clean
~$

Trigger|Debian
March 1st, 2006, 07:58 AM
Oha, very interesting. Looks like a major change.
Please gimme /usr/share/doc/ifupdown/, /usr/share/ifupdown and /etc/udev/rules.d/85-ifupdown.rules

NoWhereMan
March 1st, 2006, 03:17 PM
Ok, 0.5.2-1 works on my laptop now, both for startup and shutdown. I have sound and ethernet and usplash
How? :mrgreen: I want it, too, using 0.5.4 :)

foxy123
March 1st, 2006, 03:24 PM
Oha, very interesting. Looks like a major change.
Please gimme /usr/share/doc/ifupdown/, /usr/share/ifupdown and /etc/udev/rules.d/85-ifupdown.rules
I have attached etc/udev/rules.d/85-ifupdown.rules to the bug report. /usr/share/doc/ifupdown/, /usr/share/ifupdown are directories, so make your pick...

sailor420
March 1st, 2006, 03:52 PM
Has anyone been able to get sound working?

NoWhereMan
March 1st, 2006, 04:05 PM
Has anyone been able to get sound working?
it's the first i try it and for me it works out of the box... did you try to update?

sailor420
March 1st, 2006, 05:09 PM
Yeah, I'm running a clean install of 0.5.4, but like Limulus, I can't get anything running...

Trigger|Debian
March 1st, 2006, 07:13 PM
I have attached etc/udev/rules.d/85-ifupdown.rules to the bug report. /usr/share/doc/ifupdown/, /usr/share/ifupdown are directories, so make your pick...
Thx.
Gimme both directories in a tar.gz or something like this :)
BTW: Try to remove ifupdown-debian.i from the runlevel and see what happens.

@all with soundproblems: See if you can add something to the closed bug 489. Loaded modules e.g....

Limulus
March 2nd, 2006, 12:57 AM
@all with soundproblems: See if you can add something to the closed bug 489. Loaded modules e.g....
How would we go about doing that? (e.g. what command line should I run or what file should I look in? I'm not a linux expert O:)

Comment #2 in bug 489 says "Please compare which modules concerning sond are loaded when you booted with Initng and which are loaded when you booted with sysvinit." so I take it I would have to run/view whatever twice: once using a normal Ubuntu login and another InitNG (0.5.4) login... Should I also run a third; one for InitNG 0.5.2 too?

Limulus
March 2nd, 2006, 01:28 AM
Gimme both directories in a tar.gz or something like this :)
FYI, you can grap a copy of them from the Dapper ifupdown DEB package on Ubuntu's website: http://packages.ubuntu.com/dapper/base/ifupdown

Trigger|Debian
March 2nd, 2006, 08:06 AM
Comment #2 in bug 489 says "Please compare which modules concerning sond are loaded when you booted with Initng and which are loaded when you booted with sysvinit." so I take it I would have to run/view whatever twice: once using a normal Ubuntu login and another InitNG (0.5.4) login... Should I also run a third; one for InitNG 0.5.2 too?
Hm, yeah, if you want gimme all the three. "lsmod" is your friend.

Getting the Deba sounds good ;)
Will do this when i have some time.

foxy123
March 2nd, 2006, 08:09 AM
Thx.
Gimme both directories in a tar.gz or something like this :)
BTW: Try to remove ifupdown-debian.i from the runlevel and see what happens.

@all with soundproblems: See if you can add something to the closed bug 489. Loaded modules e.g....
here you are... attached to the bug report...

Limulus
March 3rd, 2006, 09:08 PM
Hm, yeah, if you want gimme all the three. "lsmod" is your friend.

<grin> Thanks; here you go. BTW, when I reinstalled 0.5.4, sound worked the first time it booted, but didn't the second time, so here are the results of running lsmod from *four* boots:


Normal Ubuntu Login (splash line in GRUB)

$ lsmod
Module Size Used by
binfmt_misc 11496 1
rfcomm 38460 0
l2cap 24740 5 rfcomm
bluetooth 48356 4 rfcomm,l2cap
speedstep_lib 4228 0
cpufreq_userspace 4316 0
cpufreq_stats 5252 0
freq_table 4388 1 cpufreq_stats
cpufreq_powersave 1696 0
cpufreq_ondemand 6044 0
cpufreq_conservative 6948 0
orinoco_cs 8872 1
orinoco 39820 1 orinoco_cs
hermes 7264 2 orinoco_cs,orinoco
pcmcia 26568 5 orinoco_cs
ipt_limit 2208 8
iptable_mangle 2720 0
ipt_LOG 6976 8
ipt_MASQUERADE 3296 0
iptable_nat 22900 1 ipt_MASQUERADE
ipt_TOS 2336 0
ipt_REJECT 5376 1
ip_conntrack_irc 71696 0
ip_conntrack_ftp 72688 0
ipt_state 1792 6
ip_conntrack 43064 5 ipt_MASQUERADE,iptable_nat,ip_conntrack_irc,ip_con ntrack_ftp,ipt_state
iptable_filter 2816 1
ip_tables 19456 9 ipt_limit,iptable_mangle,ipt_LOG,ipt_MASQUERADE,ip table_nat,ipt_TOS,ipt_REJECT,ipt_state,iptable_fil ter
usblp 12640 0
video 15748 0
toshiba_acpi 10716 0
tc1100_wmi 6692 0
sony_acpi 5324 0
pcc_acpi 11104 0
hotkey 9284 0
dev_acpi 11108 0
i2c_acpi_ec 5472 0
button 6480 0
battery 9348 0
container 4384 0
ac 4708 0
ipv6 251232 12
af_packet 21768 2
rtc 12344 0
pcspkr 3396 0
yenta_socket 25292 3
rsrc_nonstatic 13376 1 yenta_socket
pcmcia_core 49348 4 orinoco_cs,pcmcia,yenta_socket,rsrc_nonstatic
i2c_ali15x3 7428 0
snd_ali5451 24740 0
snd_ac97_codec 83932 1 snd_ali5451
snd_pcm_oss 52704 0
snd_mixer_oss 19296 1 snd_pcm_oss
snd_pcm 88840 3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10600 1 snd_pcm
pci_hotplug 27508 0
ali_agp 6976 0
agpgart 34792 1 ali_agp
dm_mod 57692 1
joydev 9984 0
tsdev 7776 0
snd_seq_dummy 3620 0
evdev 9664 1
snd_seq_oss 33600 0
snd_seq_midi 9088 0
snd_rawmidi 24704 1 snd_seq_midi
snd_seq_midi_event 6848 2 snd_seq_oss,snd_seq_midi
snd_seq 50736 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 24164 2 snd_pcm,snd_seq
snd_seq_device 8460 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
snd 54884 10 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_o ss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_tim er,snd_seq_device
soundcore 9600 1 snd
eeprom 7312 0
lm90 13476 0
i2c_sensor 3360 2 eeprom,lm90
i2c_ali1535 6948 0
i2c_core 21200 6 i2c_acpi_ec,i2c_ali15x3,eeprom,lm90,i2c_sensor,i2c _ali1535
psmouse 30116 0
mousedev 11616 1
parport_pc 35236 0
lp 12292 0
parport 35912 2 parport_pc,lp
md 45584 0
ext3 136264 2
jbd 54776 1 ext3
mbcache 9252 1 ext3
thermal 13000 0
processor 22812 1 thermal
fan 4484 0
usbhid 35264 0
ehci_hcd 34248 0
ohci_hcd 20644 0
usbcore 118044 5 usblp,usbhid,ehci_hcd,ohci_hcd
8139too 25504 0
8139cp 19744 0
mii 5696 2 8139too,8139cp
ide_cd 41572 0
cdrom 39616 1 ide_cd
ide_disk 18464 4
ide_generic 1376 0
alim15x3 12204 1
ide_core 138772 4 ide_cd,ide_disk,ide_generic,alim15x3
unix 26896 969
vesafb 7992 0
capability 4712 0
commoncap 6816 1 capability
vga16fb 12584 1
vgastate 9664 1 vga16fb
softcursor 2272 2 vesafb,vga16fb
cfbimgblt 2944 2 vesafb,vga16fb
cfbfillrect 3872 2 vesafb,vga16fb
cfbcopyarea 4608 2 vesafb,vga16fb
fbcon 38496 72
tileblit 2368 1 fbcon
font 8224 1 fbcon
bitblit 5632 1 fbcon


InitNG 0.5.2 (no splash line in GRUB)

$ lsmod
Module Size Used by
ipt_limit 2208 8
iptable_mangle 2720 0
ipt_LOG 6976 8
ipt_MASQUERADE 3296 0
iptable_nat 22900 1 ipt_MASQUERADE
ipt_TOS 2336 0
ipt_REJECT 5376 1
ip_conntrack_irc 71696 0
ip_conntrack_ftp 72688 0
ipt_state 1792 6
ip_conntrack 43064 5 ipt_MASQUERADE,iptable_nat,ip_conntrack_irc,ip_con ntrack_ftp,ipt_state
iptable_filter 2816 1
ip_tables 19456 9 ipt_limit,iptable_mangle,ipt_LOG,ipt_MASQUERADE,ip table_nat,ipt_TOS,ipt_REJECT,ipt_state,iptable_fil ter
ipv6 251232 6
af_packet 21768 2
yenta_socket 25292 3
rsrc_nonstatic 13376 1 yenta_socket
i2c_ali15x3 7428 0
snd_ali5451 24740 0
snd_ac97_codec 83932 1 snd_ali5451
snd_pcm_oss 52704 0
snd_mixer_oss 19296 1 snd_pcm_oss
snd_pcm 88840 3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10600 1 snd_pcm
pci_hotplug 27508 0
ali_agp 6976 0
rtc 12344 0
agpgart 34792 1 ali_agp
pcspkr 3396 0
snd_seq_dummy 3620 0
snd_seq_oss 33600 0
snd_seq_midi 9088 0
snd_rawmidi 24704 1 snd_seq_midi
snd_seq_midi_event 6848 2 snd_seq_oss,snd_seq_midi
video 15748 0
snd_seq 50736 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 24164 2 snd_pcm,snd_seq
toshiba_acpi 10716 0
snd_seq_device 8460 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
snd 54884 10 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_o ss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_tim er,snd_seq_device
tc1100_wmi 6692 0
soundcore 9600 1 snd
joydev 9984 0
evdev 9664 1
tsdev 7776 0
sony_acpi 5324 0
eeprom 7312 0
lm90 13476 0
pcc_acpi 11104 0
i2c_sensor 3360 2 eeprom,lm90
i2c_ali1535 6948 0
hotkey 9284 0
dev_acpi 11108 0
i2c_acpi_ec 5472 0
i2c_core 21200 6 i2c_ali15x3,eeprom,lm90,i2c_sensor,i2c_ali1535,i2c _acpi_ec
psmouse 30116 0
mousedev 11616 1
button 6480 0
battery 9348 0
pcmcia 26568 0
parport_pc 35236 0
lp 12292 0
container 4384 0
ac 4708 0
pcmcia_core 49348 3 yenta_socket,rsrc_nonstatic,pcmcia
parport 35912 2 parport_pc,lp
ext3 136264 2
jbd 54776 1 ext3
mbcache 9252 1 ext3
thermal 13000 0
processor 22812 1 thermal
fan 4484 0
usbhid 35264 0
ehci_hcd 34248 0
ohci_hcd 20644 0
usbcore 118044 4 usbhid,ehci_hcd,ohci_hcd
8139too 25504 0
8139cp 19744 0
mii 5696 2 8139too,8139cp
ide_cd 41572 0
cdrom 39616 1 ide_cd
ide_disk 18464 4
ide_generic 1376 0
alim15x3 12204 1
ide_core 138772 4 ide_cd,ide_disk,ide_generic,alim15x3
unix 26896 726
fbcon 38496 0
tileblit 2368 1 fbcon
font 8224 1 fbcon
bitblit 5632 1 fbcon
vesafb 7992 0
cfbcopyarea 4608 1 vesafb
cfbimgblt 2944 1 vesafb
cfbfillrect 3872 1 vesafb
softcursor 2272 1 vesafb
capability 4712 0
commoncap 6816 1 capability


InitNG 0.5.4 (no splash line in GRUB; sound working)

$ lsmod
Module Size Used by
ipt_limit 2208 8
iptable_mangle 2720 0
ipt_LOG 6976 8
ipt_MASQUERADE 3296 0
iptable_nat 22900 1 ipt_MASQUERADE
ipt_TOS 2336 0
ipt_REJECT 5376 1
ip_conntrack_irc 71696 0
ip_conntrack_ftp 72688 0
ipt_state 1792 6
ipv6 251232 6
ip_conntrack 43064 5 ipt_MASQUERADE,iptable_nat,ip_conntrack_irc,ip_con ntrack_ftp,ipt_state
iptable_filter 2816 1
ip_tables 19456 9 ipt_limit,iptable_mangle,ipt_LOG,ipt_MASQUERADE,ip table_nat,ipt_TOS,ipt_REJECT,ipt_state,iptable_fil ter
af_packet 21768 2
video 15748 0
toshiba_acpi 10716 0
tc1100_wmi 6692 0
sony_acpi 5324 0
rtc 12344 0
pcc_acpi 11104 0
hotkey 9284 0
dev_acpi 11108 0
pcspkr 3396 0
pcmcia 26568 0
i2c_acpi_ec 5472 0
button 6480 0
battery 9348 0
container 4384 0
ac 4708 0
pcmcia_core 49348 1 pcmcia
snd_ali5451 24740 0
snd_ac97_codec 83932 1 snd_ali5451
snd_pcm_oss 52704 0
snd_mixer_oss 19296 1 snd_pcm_oss
snd_pcm 88840 3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10600 1 snd_pcm
pci_hotplug 27508 0
ali_agp 6976 0
agpgart 34792 1 ali_agp
snd_seq_dummy 3620 0
snd_seq_oss 33600 0
snd_seq_midi 9088 0
snd_rawmidi 24704 1 snd_seq_midi
snd_seq_midi_event 6848 2 snd_seq_oss,snd_seq_midi
joydev 9984 0
tsdev 7776 0
evdev 9664 1
snd_seq 50736 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 24164 2 snd_pcm,snd_seq
snd_seq_device 8460 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
snd 54884 10 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_o ss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_tim er,snd_seq_device
soundcore 9600 1 snd
eeprom 7312 0
lm90 13476 0
i2c_sensor 3360 2 eeprom,lm90
i2c_ali1535 6948 0
i2c_core 21200 5 i2c_acpi_ec,eeprom,lm90,i2c_sensor,i2c_ali1535
psmouse 30116 0
mousedev 11616 1
parport_pc 35236 0
lp 12292 0
parport 35912 2 parport_pc,lp
ext3 136264 2
jbd 54776 1 ext3
mbcache 9252 1 ext3
thermal 13000 0
processor 22812 1 thermal
fan 4484 0
usbhid 35264 0
ehci_hcd 34248 0
ohci_hcd 20644 0
usbcore 118044 4 usbhid,ehci_hcd,ohci_hcd
8139too 25504 0
8139cp 19744 0
mii 5696 2 8139too,8139cp
ide_cd 41572 0
cdrom 39616 1 ide_cd
ide_disk 18464 4
ide_generic 1376 0
alim15x3 12204 1
ide_core 138772 4 ide_cd,ide_disk,ide_generic,alim15x3
unix 26896 726
fbcon 38496 0
tileblit 2368 1 fbcon
font 8224 1 fbcon
bitblit 5632 1 fbcon
vesafb 7992 0
cfbcopyarea 4608 1 vesafb
cfbimgblt 2944 1 vesafb
cfbfillrect 3872 1 vesafb
softcursor 2272 1 vesafb
capability 4712 0
commoncap 6816 1 capability


InitNG 0.5.4 (no splash line in GRUB; sound not working)

$ lsmod
Module Size Used by
ipt_limit 2208 8
iptable_mangle 2720 0
ipt_LOG 6976 8
ipt_MASQUERADE 3296 0
iptable_nat 22900 1 ipt_MASQUERADE
ipt_TOS 2336 0
ipt_REJECT 5376 1
ip_conntrack_irc 71696 0
ip_conntrack_ftp 72688 0
ipt_state 1792 6
ipv6 251232 6
ip_conntrack 43064 5 ipt_MASQUERADE,iptable_nat,ip_conntrack_irc,ip_con ntrack_ftp,ipt_state
iptable_filter 2816 1
ip_tables 19456 9 ipt_limit,iptable_mangle,ipt_LOG,ipt_MASQUERADE,ip table_nat,ipt_TOS,ipt_REJECT,ipt_state,iptable_fil ter
af_packet 21768 2
rtc 12344 0
pcspkr 3396 0
video 15748 0
toshiba_acpi 10716 0
tc1100_wmi 6692 0
sony_acpi 5324 0
pcc_acpi 11104 0
hotkey 9284 0
dev_acpi 11108 0
i2c_acpi_ec 5472 0
button 6480 0
battery 9348 0
container 4384 0
ac 4708 0
pcmcia 26568 0
pcmcia_core 49348 1 pcmcia
pci_hotplug 27508 0
ali_agp 6976 0
agpgart 34792 1 ali_agp
snd_seq_dummy 3620 0
snd_seq_oss 33600 0
joydev 9984 0
tsdev 7776 0
evdev 9664 1
snd_seq_midi 9088 0
snd_rawmidi 24704 1 snd_seq_midi
snd_seq_midi_event 6848 2 snd_seq_oss,snd_seq_midi
snd_seq 50736 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 24164 1 snd_seq
snd_seq_device 8460 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
snd 54884 5 snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_ device
soundcore 9600 1 snd
eeprom 7312 0
lm90 13476 1
i2c_sensor 3360 2 eeprom,lm90
i2c_ali1535 6948 0
i2c_core 21200 5 i2c_acpi_ec,eeprom,lm90,i2c_sensor,i2c_ali1535
psmouse 30116 0
mousedev 11616 1
parport_pc 35236 0
lp 12292 0
parport 35912 2 parport_pc,lp
ext3 136264 2
jbd 54776 1 ext3
mbcache 9252 1 ext3
thermal 13000 0
processor 22812 1 thermal
fan 4484 0
usbhid 35264 0
ehci_hcd 34248 0
ohci_hcd 20644 0
usbcore 118044 4 usbhid,ehci_hcd,ohci_hcd
8139too 25504 0
8139cp 19744 0
mii 5696 2 8139too,8139cp
ide_cd 41572 0
cdrom 39616 1 ide_cd
ide_disk 18464 4
ide_generic 1376 0
alim15x3 12204 1
ide_core 138772 4 ide_cd,ide_disk,ide_generic,alim15x3
unix 26896 692
fbcon 38496 0
tileblit 2368 1 fbcon
font 8224 1 fbcon
bitblit 5632 1 fbcon
vesafb 7992 0
cfbcopyarea 4608 1 vesafb
cfbimgblt 2944 1 vesafb
cfbfillrect 3872 1 vesafb
softcursor 2272 1 vesafb
capability 4712 0
commoncap 6816 1 capability


Edit: Ah! I think I see what's going on now; compared to the 0.5.4 with sound, the one without it is missing:


snd_ali5451 24740 0
snd_ac97_codec 83932 1 snd_ali5451
snd_pcm_oss 52704 0
snd_mixer_oss 19296 1 snd_pcm_oss
snd_pcm 88840 3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10600 1 snd_pcm


Edit 2: I reopened Bug 489 (http://bugzilla.initng.thinktux.net/show_bug.cgi?id=489)

Limulus
March 4th, 2006, 03:56 AM
Has anyone been able to get sound working?
Based on what I found using lsmod, when you boot with 0.5.4 and there's no sound, run the following six commands:

sudo modprobe snd_pcm
sudo modprobe snd_page_alloc
sudo modprobe snd_pcm_oss
sudo modprobe snd_mixer_oss
sudo modprobe snd_ali5451
sudo modprobe snd_ac97_codec


The ali5451 one took a few seconds on my computer during which time the system was busy; even the clock froze... but when it finished doing what it did everything was back to normal. After running those, I had sound on my system for that boot. Try it and see if it works for you.

(Edit: if it does, save the above as something like "audio.sh" on your desktop; when you boot and there's no sound, double click the file and select "Run in Terminal". This should be a good enough work-around until the underlying problem is resolved)

If not, post a copy of the output from running lsmod from a clean InitNG boot.

Trigger|Debian
March 4th, 2006, 06:35 AM
Modprobing the modules does the job for sure, but this can't be the solution.
Try to run "sudo alsaconf" when you have started with Inintg and see if it works after a reboot.

Limulus
March 4th, 2006, 09:56 AM
Modprobing the modules does the job for sure, but this can't be the solution.
*nods* I know; this is just a work-around for the time being.


Try to run "sudo alsaconf" when you have started with Inintg and see if it works after a reboot.
Hmm...


$ sudo alsaconf
sudo: alsaconf: command not found

I just did a search and from what I can piece together, Ubuntu doesn't have alsaconf; they removed it 'to make sure people use the Gnome interface' apparently... ^_^;

I'm guessing then that what does the configuration is the "Multimedia Systems Selector" (under System -> Preferences)

When I go to it and press test (making sure ALSA is selected), it says "Failed to construct test pipeline for 'ALSA - Advanced Linux Sound Architecture'"

When I run the six sudo modprobe commands and repeat, it tests just fine.

*shrug*

Given that the sound works just fine without running anything else in 0.5.2 and that occasionally it runs on its own in 0.5.4, could it be that there's a timing problem somewhere in InitNG?

Limulus
March 4th, 2006, 08:52 PM
Normal Ubuntu Login (splash line in GRUB)
InitNG 0.5.4 (no splash line in GRUB; sound working)

Just FYI, I compared these two and the former has everything the latter has, PLUS the following:


binfmt_misc 11496 1
rfcomm 38460 0
l2cap 24740 5 rfcomm
bluetooth 48356 4 rfcomm,l2cap
speedstep_lib 4228 0
cpufreq_userspace 4316 0
cpufreq_stats 5252 0
freq_table 4388 1 cpufreq_stats
cpufreq_powersave 1696 0
cpufreq_ondemand 6044 0
cpufreq_conservative 6948 0
orinoco_cs 8872 1
orinoco 39820 1 orinoco_cs
hermes 7264 2 orinoco_cs,orinoco
usblp 12640 0
yenta_socket 25292 3
rsrc_nonstatic 13376 1 yenta_socket
i2c_ali15x3 7428 0
dm_mod 57692 1
md 45584 0
vga16fb 12584 1
vgastate 9664 1 vga16fb


Edit: This leads me to suspect another bug; while adding daemon/cupsd gets the Printer Settings (System -> Administration -> Printing) working, I went to print a document from OpenOffice in an InitNG 0.5.4 boot and it wouldn't (the printer icon opened in the Notification area, showing the document, but nothing happened at the printer). Booting normally and repeating the same steps resulted in a printed document ;)

I don't recall ever trying to print with a 0.5.2 install, so I don't know if this affects that version or not.

I just filed it as bug 505 (http://bugzilla.initng.thinktux.net/show_bug.cgi?id=505)

Edit 2: I added *all* of those and printing still didn't work for me :/ I should add BTW that I use a USB printer.

kecci
March 6th, 2006, 04:50 AM
Hi, i just installed InitNG 0.54 on my notebook (Dell Inspiron 630m + Ubuntu Dapper latest) following the instructions of the Ubuntu Wiki and all i get as soon as i login into GDM is a terminal window which says repeatedly "bash: /dev/null: Permission denied". Please help me get this working!
p.s. i get these messages also if i log in via a tty console (e.g. hitting ctrl+alt+F2 and logging in), but i get a usable shell by hitting ctrl+c.

Bye

flummoxed
March 6th, 2006, 07:36 PM
Uhh...

3. Change the content of dbus.i file in /etc/initng/daemon to this:

http://bugzilla.initng.thinktux.net/...ment.cgi?id=69

4. Change the content of hald.i file in /etc/initng/daemon to this:

http://bugzilla.initng.thinktux.net/...ment.cgi?id=70

These links are dead...

Limulus
March 8th, 2006, 01:36 AM
Uhh...
3. Change the content of dbus.i file in /etc/initng/daemon to this:
4. Change the content of hald.i file in /etc/initng/daemon to this:
These links are dead...
You're quoting from the very first post in this thread, which is for InitNG version 0.3.3-2, which is long outdated :) See the Ubuntu Wiki Entry for details on how to install the latest version: https://wiki.ubuntu.com/InitNG

Limulus
March 8th, 2006, 01:39 AM
Hi, i just installed InitNG 0.54 on my notebook (Dell Inspiron 630m + Ubuntu Dapper latest) following the instructions of the Ubuntu Wiki
"the most recent version for Ubuntu (Breezy) is 0.5.4"

Daper is a whole different animal; people have been reporting problems trying to use InitNG as it now exists with Dapper...

I will update the Wiki to make it more explicit that those instructions are for Breezy only.

Trigger|Debian
March 8th, 2006, 08:16 AM
We finally have migrated the Website and the whole bug management to Trac.
Bugzilla is dead. If you know a bug please go to http://initng.thinktux.net and open a ticket.
We need more bugs ;)
If someone has a solution for the Dapper naetworking probs: Tell me :)

lleberg
March 8th, 2006, 01:05 PM
My networking died after trying this (from the wiki) howto..

Any tips getting it up and running again?

Trigger|Debian
March 10th, 2006, 10:31 PM
0.5.5 is out: http://triggerit.tr.funpic.de/blog/?p=39

NoWhereMan
March 11th, 2006, 07:00 AM
w00t! :mrgreen:

glennric
March 11th, 2006, 11:34 AM
0.5.5 is nice. Sound works without doing anything.
I just added daemon/gdm (for gnome), net/eth0 (to get internet), daemon/cupsd (for printing), and system/speedstep (for cpu frequency stuff), and now everything works just like with a normal boot except much faster boot up and shut down.

Trigger|Debian
March 11th, 2006, 01:06 PM
Ok, Dapper users. I have had a looked at the weird new ifupdown package and I have something you can try (don't know if it works).
Open /etc/initng/net/net.i and search for "service net/lo"
Replace it with the following code:
service net/lo {
need = system/initial system/mountfs;
script start = {
[ -d /var/run/network ] || mkdir /var/run/network
ifup --allow auto lo
exit 0
};
exec stop = /sbin/ifdown lo;
}
Search in the rest of the script for occurences of "system/ifupdown-debian" and delete these entries. If this script is in one of your runlevels: Remove it.

Now try to reboot. If it fails with more networking problems:
Remove all occurences of "net/whatever" (e.g. net/all) from the runlevels and try again).

Last step: Tell me what happened.

briancrutin
March 11th, 2006, 05:03 PM
big help! thanks!:)

dashed
March 11th, 2006, 06:50 PM
i installed 0.5.5

im wondering.. howd u enable internet connection?

foxy123
March 11th, 2006, 07:20 PM
Ok, Dapper users. I have had a looked at the weird new ifupdown package and I have something you can try (don't know if it works).
Open /etc/initng/net/net.i and search for "service net/lo"
Replace it with the following code:
service net/lo {
need = system/initial system/mountfs;
script start = {
[ -d /var/run/network ] || mkdir /var/run/network
ifup --allow auto lo
exit 0
};
exec stop = /sbin/ifdown lo;
}
Search in the rest of the script for occurences of "system/ifupdown-debian" and delete these entries. If this script is in one of your runlevels: Remove it.

Now try to reboot. If it fails with more networking problems:
Remove all occurences of "net/whatever" (e.g. net/all) from the runlevels and try again).

Last step: Tell me what happened.
hey, it did help. The only daemon which failed was klogd. Also although I've got daemon/samba/smbd and daemon/samba/nmbd loaded, I cannot get samba connetion. Please note that I have modified speedstep script according to the instructions posted earlier.

xsupernerdx
March 11th, 2006, 07:24 PM
I have InitNG installed and everything is working as it should except frequency scaling. I've got an Athlon XP-M in my laptop and it doesn't seem to like the instructions found in this thread. Can anyone help? I'm sure it's something minor that I'm not bright enough to figure out. Thanks.

dashed
March 11th, 2006, 07:25 PM
im like a super noob in linux.

im using ubuntu 5.10 and initng 0.5.5.

i didn't want to enable my ethernet connection from the network settings panel every time i log in. how do i automatically enable this with initng? O.o

sailor420
March 11th, 2006, 07:43 PM
im like a super noob in linux.

im using ubuntu 5.10 and initng 0.5.5.

i didn't want to enable my ethernet connection from the network settings panel every time i log in. how do i automatically enable this with initng? O.o

Should be as easy as "sudo ng-update add daemon/eth0".

dashed
March 11th, 2006, 08:21 PM
Should be as easy as "sudo ng-update add daemon/eth0".

it didn't work.


this is what i got:

daemon
Warning: "daemon/eth0" isn't a script or a runlevel, it's being removed from list
Error: you didn't specify any script

glennric
March 11th, 2006, 09:34 PM
I added speedstep and powernowd and the cpu frequency scaling works.
"sudo ng-update add system/speedstep" and
"sudo ng-update add daemon/powernowd"

glennric
March 11th, 2006, 09:34 PM
dashed:
It should be
"sudo ng-update add net/eth0"

Trigger|Debian
March 11th, 2006, 10:04 PM
@Foxy123: Good to hear. Did you need to remove net/all and things like this?
I wonder how I can ship a changed script - they wouldn't support Breezy and Debian...
We will see...

sailor420
March 11th, 2006, 10:41 PM
dashed:
It should be
"sudo ng-update add net/eth0"

Doh! Sorry, brain fart! ;)

foxy123
March 12th, 2006, 07:42 AM
@Foxy123: Good to hear. Did you need to remove net/all and things like this?
I wonder how I can ship a changed script - they wouldn't support Breezy and Debian...
We will see...
no I just made the changes to the script... I really surprised that they changed things in Dapper so that it's different from Debian. You should either stick to Debian and we put the necssary changes in wiki or you could ship a Dapper script as optional and we put in wiki that in Dapper one should replace net.i say with net.dapper...

dashed
March 12th, 2006, 12:33 PM
dashed:
It should be
"sudo ng-update add net/eth0"

sorrry it diddn't work.

i still had to enable the connection fro mthe network settings.

RaptorRaider
March 12th, 2006, 06:38 PM
Why are we not closing this thread and starting a new one with a decent startpost?

xsupernerdx
March 12th, 2006, 09:39 PM
Frequency scaling is still not working for me. Do I need to have anything installed besides powernowd (and InitNG of course)? Also, what do I put in the place of "modprobe speedstep_centrino" on the speedstep.i file?

dodgeman79
March 13th, 2006, 09:58 AM
These two steps have broken links
3. Change the content of dbus.i file in /etc/initng/daemon to this:

http://bugzilla.initng.thinktux.net/...ment.cgi?id=69

4. Change the content of hald.i file in /etc/initng/daemon to this:

http://bugzilla.initng.thinktux.net/...ment.cgi?id=70

foxy123
March 13th, 2006, 11:34 AM
These two steps have broken links
Please do not use this howto, as it is redundant. Use wiki link in the first post instead.

NoWhereMan
March 13th, 2006, 01:53 PM
Why are we not closing this thread and starting a new one with a decent startpost?

Why don't we just UPDATE the first post, as seen in other howtos here ? :mrgreen:

xsupernerdx
March 13th, 2006, 07:08 PM
I followed the wiki and used the 0.5.5 debs. I tried to get frequency scaling to work with and without editing the speedstep.i and powernowd.i files...still no luck.

glennric
March 13th, 2006, 09:32 PM
I followed the wiki and used the 0.5.5 debs. I tried to get frequency scaling to work with and without editing the speedstep.i and powernowd.i files...still no luck.

Hmm, I don't know. I just added speedstep and powernowd and it worked.

cerberos
March 14th, 2006, 03:17 AM
Just upgraded from version 0.4.8-1 to 0.5.5-1 and am having troubles with getting the fglrx drivers working (fglrxinfo reports mesa crap), the previous comment of putting "fglrx" into /etc/modules isn't the current fix as its already in there.

Can anyone help me?

yanns
March 15th, 2006, 06:51 AM
Just upgraded to 0.5.5-1 too.
And I got problem with nvidia module not being loaded.

A guy on IRC (Trigger|Debian ?) told me to enter
sudo lrm-manager --quick
before loading nvidia driver and that works.

I am trying to investigate on "/etc/initng/system/modules.i" to know why this command is not run on boot. Without any success so far.

If somebody has ideas...

Trigger|Debian
March 15th, 2006, 06:56 AM
@yanns Yes, it was me :)
Do you have system/modules/depmod in system.runlevel? If not this is the reason and I will add it automatically with the next package. Add it with "ng-update a system/modules/depmod system"

I just created a new page with a howto, but it seems as if it need to be moderated first.
I will post the link when I have it. Please don't reply to this thread anymore - use the new one when availlable.

yanns
March 15th, 2006, 08:23 AM
@yanns Yes, it was me :)
Do you have system/modules/depmod in system.runlevel? If not this is the reason and I will add it automatically with the next package. Add it with "ng-update a system/modules/depmod system"

I just created a new page with a howto, but it seems as if it need to be moderated first.
I will post the link when I have it. Please don't reply to this thread anymore - use the new one when availlable.

Trigger, you're my hero!
It's working!

Trigger|Debian
March 19th, 2006, 08:38 AM
Hm, my little howto doesn't show up.
Seems as if we need to stay here for the moment.

@yanns: :)
@all: Please execute "ng-update a system/modules/depmod system"

Trigger|Debian
March 20th, 2006, 06:58 AM
Ok, here we go. Please use this thread from now on: http://www.ubuntuforums.org/showthread.php?t=144831

PLEASE DON'T ANSEWR HERE ANYMORE!

robtotheb
April 11th, 2006, 01:50 PM
Can I safely remove InitNG using synaptic?