Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Beta test New Init system, realy improved boot time.

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
634 posts
  • Page 19 of 26
    • Jump to page:
  • Previous
  • 1
  • …
  • 17
  • 18
  • 19
  • 20
  • 21
  • …
  • 26
  • Next
Author
Message
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Sat May 28, 2005 9:07 pm

jamesshuang wrote:Ok, so I got initng installed, and I'm highly impressed. This thing is FAST! Leaves a normal system bootup in the dust.... I have two problems with it right now, though

1) The script "local" is never run, even though it is properly added to the system runlevel, and
2) Hal does not start correctly.

For me, local.start contains an important script to make my screen show up correctly when X is started. Hal works fine if I just run "hald" from the command line, but adding hald to default doesn't work. If I could get this two problems fixed, that would let me permanently use initng. Right now, since i can't get those two things working, I'm just sticking to regular init, and using initng for demonstrations :) Anyone want to help me get this working?
1 : probably is run, but after gdm, make gdm depend on it.
2 : what can I say, figure out how and we'll fix it.
try for example not starting hald in the runlevel, then do ngc -v, ngc -u daemon/hald, and see the verbose output.
Top
lavacano
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun May 29, 2005 6:37 am
Location: Poulsbo, WA
Contact:
Contact lavacano
Website

  • Quote

Post by lavacano » Sun May 29, 2005 9:56 am

any way to make it like go into my bash login prompt?
Sincerely,

Chadwick Ferguson
Top
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Sun May 29, 2005 1:16 pm

lavacano wrote:any way to make it like go into my bash login prompt?
why on earth would you want to do that? :p

you could write a service for it, and not loading getty on tty1 for example. If you want auto login you can also configure gdm to do it (wihch wouldn't need any special support from initng at all).
Top
lavacano
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun May 29, 2005 6:37 am
Location: Poulsbo, WA
Contact:
Contact lavacano
Website

  • Quote

Post by lavacano » Mon May 30, 2005 7:21 am

im just used to the sysvinit boot sequence- Turn on, I login as root, do whatever like I switch between twinview and non twinview for xorg, then I boot X; kdm & exit its just how I do my computer haha. but how would one make a service to do this?
Sincerely,

Chadwick Ferguson
Top
Archangel1
Veteran
Veteran
User avatar
Posts: 1212
Joined: Wed Apr 21, 2004 12:29 am
Location: Work

  • Quote

Post by Archangel1 » Mon May 30, 2005 8:50 am

lavacano wrote:im just used to the sysvinit boot sequence- Turn on, I login as root, do whatever like I switch between twinview and non twinview for xorg, then I boot X; kdm & exit its just how I do my computer haha. but how would one make a service to do this?
Ouch... logging in as root isn't generally considered that good an idea eh...
I see why you're doing it, and there's not a lot of difference really, but it seems a bit awkward. Why bother starting KDM anyway - it'd be just as easy to log in on vc/2 and run startx.

I'm not quite sure why you need a service to do that - shouldn't initng drop you at agetty once it's done? If you meant autologin (as root), that's really not a good idea :-)
What are you, stupid?
Top
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Mon May 30, 2005 11:11 am

lavacano wrote:im just used to the sysvinit boot sequence- Turn on, I login as root, do whatever like I switch between twinview and non twinview for xorg, then I boot X; kdm & exit its just how I do my computer haha. but how would one make a service to do this?
well personally I would never auto login as root...
I also use twinview on occasion, but I login the standard way, and start twinview on :1.0 when I need it
Top
HardenCoonor
n00b
n00b
Posts: 54
Joined: Thu Feb 19, 2004 2:48 pm

  • Quote

Post by HardenCoonor » Tue May 31, 2005 11:16 am

I tested initng, too, but it does not support xfs (X Font Server), so my kdm won't start (no fonts). Is it possible to support xfs? Or has anybody experiences with xfs being worse than including fonts in xorg.conf?
Top
lavacano
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun May 29, 2005 6:37 am
Location: Poulsbo, WA
Contact:
Contact lavacano
Website

  • Quote

Post by lavacano » Tue May 31, 2005 8:16 pm

not autologin; you know after sysvinit gets done it goes into a login prompt for bash to where it has login: and you type whatever. Its just inconvenient to type alt-f2
Sincerely,

Chadwick Ferguson
Top
Mindphaser
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 113
Joined: Wed Dec 15, 2004 10:01 pm
Location: Germany
Contact:
Contact Mindphaser
Website

  • Quote

Post by Mindphaser » Thu Jun 02, 2005 3:58 am

tested initNG, looks very good so far ! but there is still a lot to do...

for example, i miss a initscript for rp-pppoe, here is my solution (far from perfect, very simple, but actualy working):

daemon/rp-pppoe.i

Code: Select all

service daemon/rp-pppoe {
        depends = system/initial net/net
	use = system/static-modules
        start {
		/usr/sbin/adsl-start
        }

        stop {
		/usr/sbin/adsl-stop
        }
}
some other things i couldnt fix because im no scriptor:

- initng inits eth0, but it doesnt inits my eth1
- the script for apache2 doesnt reads the config in /etc/conf.d/apache2 and starts apache2 with -D PHP5 by default, I had to change it to PHP4....

well there are some other things I noticed, but im too tired and drunken to count them all
however, initng looks very promising so far and I will follow its process to become the new sysvinit !!
Top
StringCheesian
l33t
l33t
Posts: 887
Joined: Tue Oct 21, 2003 6:21 am

  • Quote

Post by StringCheesian » Thu Jun 02, 2005 12:29 pm

What's the correct way to install this? I did "emerge -C sysvinit && emerge initng", but then everything was complaining that the shutdown executable couldn't be found.
Top
lavacano
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun May 29, 2005 6:37 am
Location: Poulsbo, WA
Contact:
Contact lavacano
Website

  • Quote

Post by lavacano » Thu Jun 02, 2005 1:29 pm

StringCheesian wrote:What's the correct way to install this? I did "emerge -C sysvinit && emerge initng", but then everything was complaining that the shutdown executable couldn't be found.
I think
cp /sbin/reboot /sbin/reboot.bak
emerge -C sysvinit
emerge initng
edit lilo/grub.conf and sync
then do /sbin/reboot.bak

see if that works it may not there may be other executables/linked files that are removed that the command "reboot" needs. I think you could always just pull the power but you might hurt something if you do dont blame me, but thats what I do.
Sincerely,

Chadwick Ferguson
Top
FatBoy666
n00b
n00b
Posts: 33
Joined: Sat Mar 15, 2003 1:59 pm

  • Quote

Post by FatBoy666 » Fri Jun 03, 2005 11:28 pm

HardenCoonor wrote:I tested initng, too, but it does not support xfs (X Font Server), so my kdm won't start (no fonts). Is it possible to support xfs? Or has anybody experiences with xfs being worse than including fonts in xorg.conf?
I had the same problem, so I tried to write an initscript. I just took a part of the _original_ initscript. No guarantee, but it works for me:

Code: Select all

service daemon/xfs {
        depends = system/initial net/lo
        use = daemon/syslog-ng
        daemon = /usr/bin/xfs

        opts="${opts} mkfontdirs"

start {
#/bin/bash
if [ -f /etc/conf.d/xfs ]
then
        source /etc/conf.d/xfs
fi

if [ -z "${XFS_PORT}" ]
then
        echo "Please set \$XFS_PORT in /etc/conf.d/xfs!"
        exit 1
fi

if [ "`grep -e "^xfs:" /etc/passwd`" ]
then
        # Fix possible security problem, turned to hard failure in 6.8.0
        # See discussion at http://freedesktop.org/bugzilla/show_bug.cgi?id=306
        rm -rf /tmp/.font-unix
        mkdir /tmp/.font-unix
        chmod 1777 /tmp/.font-unix

        start-stop-daemon --start --quiet --exec /usr/bin/xfs \
                -- -daemon -config /etc/X11/fs/config \
                -droppriv -user xfs -port ${XFS_PORT} 1>&2
else
        start-stop-daemon --start --quiet --exec /usr/bin/xfs \
                -- -daemon -config /etc/X11/fs/config \
                -port ${XFS_PORT} 1>&2
fi
}

stop {
        start-stop-daemon --stop --quiet --exec /usr/bin/xfs 1>&2
        rm -rf /tmp/.font-unix
}
}
.::Mein System::.
Top
HardenCoonor
n00b
n00b
Posts: 54
Joined: Thu Feb 19, 2004 2:48 pm

  • Quote

Post by HardenCoonor » Mon Jun 06, 2005 10:43 am

@FatBoy666: Thank you. Will test that.
Top
JimmyW
Tux's lil' helper
Tux's lil' helper
Posts: 119
Joined: Sat Sep 28, 2002 12:09 pm
Location: Sweden
Contact:
Contact JimmyW
Website

New release

  • Quote

Post by JimmyW » Tue Jun 07, 2005 1:47 am

Check out http://initng.thinktux.net
Top
grzewho
l33t
l33t
User avatar
Posts: 626
Joined: Tue Dec 31, 2002 12:30 pm
Location: /home/g

  • Quote

Post by grzewho » Fri Jun 10, 2005 9:41 am

does poweroff work for you? everytime i want to shut down my system it simply reboots. any hints ?

Code: Select all

USE="freedom -software_patents" emerge --deep --update world
Top
Erlend
Guru
Guru
Posts: 493
Joined: Sun Dec 26, 2004 2:36 pm

  • Quote

Post by Erlend » Wed Jun 22, 2005 9:17 am

Hey, I've just tested initng again (0.1.3). It worked before I tried to add/remove services, in that it gave me a working terminal. No gdm/xdm login though.

I made a few changes with ng-update, removing coldplug and adding dhcpcd. It now gets to 90-something% and stops... so I went to tty2 and logged in. I noticed swap, among others, was "starting". initial was also starting.

Is this because I removed coldplug, because some of these services "use" coldplug?

Erlend
Top
genneth
Apprentice
Apprentice
User avatar
Posts: 152
Joined: Mon Mar 24, 2003 3:17 pm
Location: UK

  • Quote

Post by genneth » Wed Jun 22, 2005 5:52 pm

Erlend wrote:Hey, I've just tested initng again (0.1.3). It worked before I tried to add/remove services, in that it gave me a working terminal. No gdm/xdm login though.

I made a few changes with ng-update, removing coldplug and adding dhcpcd. It now gets to 90-something% and stops... so I went to tty2 and logged in. I noticed swap, among others, was "starting". initial was also starting.

Is this because I removed coldplug, because some of these services "use" coldplug?

Erlend
Coldplug is sort of necessary with a 2.6 kernel (assuming you're using a normal-ish config). I'm not sure you need dhcpd -- the net services ought to start them automatically.
Image
Top
Erlend
Guru
Guru
Posts: 493
Joined: Sun Dec 26, 2004 2:36 pm

  • Quote

Post by Erlend » Thu Jun 23, 2005 9:35 am

Coldplug is sort of necessary with a 2.6 kernel
Really?! Doesn't coldplug just look at what modules are available, and what hardware you have, to decide which modules to load at boot? I just put all the modules I need at boot in /etc/modules.autoload.d/kernel-2.6. Is that wrong?

Thanks,

Erlend
Top
pem
Guru
Guru
User avatar
Posts: 390
Joined: Sun Aug 29, 2004 12:24 pm
Location: France
Contact:
Contact pem
Website

  • Quote

Post by pem » Thu Jun 23, 2005 10:14 pm

grzewho wrote:does poweroff work for you? everytime i want to shut down my system it simply reboots. any hints ?
That should do it properly:

Code: Select all

ngc -u halt
If you want to share it to your user accounts, I advise you sudo.
Registered user #30505
Top
pem
Guru
Guru
User avatar
Posts: 390
Joined: Sun Aug 29, 2004 12:24 pm
Location: France
Contact:
Contact pem
Website

  • Quote

Post by pem » Thu Jun 23, 2005 10:28 pm

Erlend wrote:Hey, I've just tested initng again (0.1.3). It worked before I tried to add/remove services, in that it gave me a working terminal. No gdm/xdm login though.

I made a few changes with ng-update, removing coldplug and adding dhcpcd. It now gets to 90-something% and stops... so I went to tty2 and logged in. I noticed swap, among others, was "starting". initial was also starting.

Is this because I removed coldplug, because some of these services "use" coldplug?

Erlend
From my understanding, Coldplug goes a little bit ahead than just starting modules at boot. It can also trigger scripts and daemons according to your definition under /etc/hotplug. For instance, I was using it to launch cupsd when my USB printer was plugged in (before, this crappy EPSON stopped working :x )

For the initial at starting, I've experienced the same issue. To counter it, I've removed the "wait" at the end of the initial.i script.
Registered user #30505
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sat Jun 25, 2005 3:26 pm

No effing way!!! this is fast!!!. From 55sec to 15sec (using 2.6.12-love1)
this is great

there were a few errors with it (sometihng about filedescriptor >=3 but the forum said that not a problem)_


one thing I have quite a few errors as well as the one mentioned (mainly when trying to start gpm so I can copy the errors)


** FAIL [initng_simple_launcher.c] initng_execute_fork_and_exec(line:369): --> EEEEEEEEEEEEEEEEEEERRRRRRRRRRRRRRRRRRRRRRRRRRROOOOOOOOOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRR!!!!!!!!!
** FAIL [initng_simple_launcher.c] initng_execute_fork_and_exec(line:370): --> Cant execute source INITNG=0.1.3 Ill think on you, from the beach /J.W., "SERVICE=daemon/gpm" !
** FAIL [initng_kill_handler.c] handle_killed_start(line:110): --> handle_killed_start(daemon/gpm): Returned with exit 1.



equally my eth0 is giving some gripe
* Bringing interface eth0 up
* No configuration found - defaulting to DHCP
accton: Function not implemented

how can i get it to use DHCP and what is that "accton"


and finally:
at shutdown it is now saying problems with filesystem and wants to enter maitenance mode to repair !!! what has happened???
thanks
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
dan2003
Apprentice
Apprentice
User avatar
Posts: 258
Joined: Sun May 11, 2003 10:19 pm
Location: somewhere near london, UK
Contact:
Contact dan2003
Website

  • Quote

Post by dan2003 » Sun Jul 03, 2005 5:57 pm

Has anybody using initng got the storage media thing working in kde yet?

WIth normal init if i pop in a sd card or my microdrive etc they show up right away under the storage media thing..

With initng they dont.
I have found that dbus andhal dont start, i start them manually but still no cigar. Does anybody know why this is?

I been starting bus with dbus-daemon-1 --system
and then doing hald

The two processes are running but the media dont show when inserted![/code]
Top
Erlend
Guru
Guru
Posts: 493
Joined: Sun Dec 26, 2004 2:36 pm

  • Quote

Post by Erlend » Fri Jul 15, 2005 7:28 pm

Gave initng another shot. No luck. First thing I noticed is no gdm login screen (not on tty*). But I also noticed no network, even though eth0 should be started. Here's my "ng-upddate show":

Code: Select all

ls: /etc/initng/conf/*.i: No such file or directory
               acpid |                
              agetty |         system 
             anacron |                
              apache |                
             apache2 |                
           bluetooth |                
             cardmgr |                
            cpufreqd |                
               cupsd |                
                dbus |                
               dcron |                
        dhclient-old |                
            dhclient |                
              dhcpcd |         system 
             distccd |                
           entranced |                
              esound |                
          fakeidentd |                
                famd |                
                 gdm | default        
               getty |         system 
                 gpm |                
                hald |                
              hald05 |                
             ifplugd |                
                 kdm |                
       mDNSResponder |                
               mdnsd |                
             metalog | default        
                 mpd |                
               mysql |                
                nifd |                
                nscd |                
                ntpd |                
             openvpn |                
             portmap |                
                pump |                
              rsyncd |                
               samba |                
               slapd |  
            slmodemd |                
           speedstep |                
       splash_update |                
                sshd |                
            svnserve |                
           syslog-ng |                
              udhcpc |                
          vixie-cron |                
              vmware |                
             wpa_cli |                
      wpa_supplicant |                
                 xdm | default        
                  lo | default system 
                 net | default system 
           readahead |                
                acct |                
           alsasound | default        
               aumix |                
            bootmisc |         system 
             checkfs |                
           checkroot |                
               clock |         system 
            coldplug | default        
         consolefont |         system 
          domainname | default        
              dotnet |                
              hdparm |         system 
            hostname |         system 
             initial |         system 
             keymaps |         system 
              laptop |                
               local |                
          localmount |                
             modules |         system 
             mountfs |         system 
           mountroot |         system 
            netmount |                
             numlock |                
              pcmcia |                
           readahead |                
           rmnologin |                
              serial |                
              splash |                
      static-modules |         system 
                swap |         system 
              sysctl |                
             urandom |         system 
                 usb |                
                 xfs | default        
                eth0 | default        
      eth0daemon/gdm | default
Can anybody see an obvious problem please?
Maybe the error on the first line is the problem, does initng use /etc/conf.d or /etc/initng/conf/*.i?

Thanks,

Erlend
Top
arach
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 92
Joined: Sat Jan 22, 2005 8:56 pm
Location: Between the Moon and a star

  • Quote

Post by arach » Fri Jul 15, 2005 8:46 pm

the last line doesn't look good IMO
ble! :P
Top
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Fri Jul 15, 2005 10:05 pm

try latest svn, we've been unstable for a looong time in svn now, but I think things are stabilizing, and we're closing on a new release.
Top
Post Reply

634 posts
  • Page 19 of 26
    • Jump to page:
  • Previous
  • 1
  • …
  • 17
  • 18
  • 19
  • 20
  • 21
  • …
  • 26
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic