Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Great problem on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Tue Mar 08, 2005 1:04 am    Post subject: Great problem on boot Reply with quote

My iBook today doesn't boot correctly. It stops immediately after (or during, I don't know) the Setting clock init script.
I can only do a CTRL+C, insert my root password and try to make something to correct the problem.

My problem is that I don't know what's stopping my iBook booting process!

dmesg and /var/log/everything/current says nothing, where can I get more informations?

What init scripts comes after the Clock one?

I can't use my iBook, this is a bad problem for me. So, thanks in advance!
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
battra
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2004
Posts: 77

PostPosted: Tue Mar 08, 2005 6:18 am    Post subject: Reply with quote

Read the documentation on init scripts to find out the order in which the scripts are run on your system:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4

Then, try using trial-and-error by adding/removing init scripts to see which one is causing the problem. If needed, you can add your own debug messages to the init scripts to see where exactly it is failing.

There's my 2 cents...
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Tue Mar 08, 2005 11:58 pm    Post subject: Reply with quote

Is there a way to know what's the last init script executed? Or the order of initscripts?

I've read the documentation, but I cannot disable all my init scripts at random (i have a very few and important ones)....

Is it possible that I don't have nothing on my log files? I use metalog, is there a better solution?
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Wed Mar 09, 2005 12:15 pm    Post subject: Reply with quote

I have found this:

Code:
abook ~ # rc-status
 * Could not local current runlevel in /var/lib/init.d/softlevel
 * Assuming current runrevel is 'single'
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

Runlevel: single


Is it useful?
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Wed Mar 09, 2005 12:56 pm    Post subject: Reply with quote

I have this services: what can I disable without problem?

Code:
          domainname |      default                 
              hdparm |      default                 
             hotplug |      default                 
               local |      default nonetwork       
          pbbuttonsd |      default                 
          vixie-cron |      default                 
                 xdm |      default


           alsasound | boot                         
            bootmisc | boot                                                   
             checkfs | boot                         
           checkroot | boot                         
         consolefont | boot                         
            hostname | boot                         
             keymaps | boot                         
          localmount | boot                   
             modules | boot                         
              net.lo | boot                         
           rmnologin | boot                         
           speedfreq | boot                         
             urandom | boot

_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Thu Mar 10, 2005 9:29 am    Post subject: Reply with quote

My problem was on this line:

Code:
if [[ ${TBLURB} == "UML" ]] || [[ ${TBLURB} == "coLinux" ]] ; then
                ret=0


of /etc/init.d/clock script

do you know what's the problem?
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum