Re: Hangs in parts.rc
From: Roger Johansson (no-email_at_home.se)
Date: 01/31/04
- Next message: Joachim Feise: "Re: (OT) One more user admin question"
- Previous message: Randy Allen: "Reiser vs ext3"
- In reply to: J.O. Aho: "Re: Hangs in parts.rc"
- Next in thread: Roger Johansson: "Re: Hangs in parts.rc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jan 2004 17:29:18 +0100
"J.O. Aho" <user@example.net> wrote:
> That is a okey device, it depends on the dev system used in the system if it's
> /dev/hda or /dev/ide/...
>
> It seems like the system does find the system in the right location.
Okay, thanks.
> Something that don't look good in the log file is
>
> ---cut---
> > Jan 31 14:58:14 localhost init: Switching to runlevel: 6
> ...
>> Jan 31 14:58:12 localhost init: Entering runlevel: 5
> ---cut---
Yes, but that is at the end, after it has got stuck and I manually force a
reboot. So there is nothing strange about that.
> off time from the rest of the entries. But this can be that when booting up,
> time is taken from windows, suddenly the BIOS time is read and then the linux
> time is set with the adjust to the BIOS time.
Yes, that is my interpretation too. Nothing strange or worrying there, it
is only about setting the time, anyway.
> The secon thin here is that it appears that the system is set to init 6 before
> init 5, not sure if you know what they stand for,
I have understood that runlevels are modes of operation, and the reboot
mode is used to reboot.
This is a section from INITTAB
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have
networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
Maybe I should change that line to singleuser, for example.
The X11 environment has maybe not been started yet?
>init 5 is used normally for
> a graphical environment (Gentoo uses init 3 for graphical environments as
> default, but they do a lot thing differently than from other linuxes), while
> init 6 is reboot.
> If you are already starting to boot down when you get to start the graphical
> environment, then you may have services that have been already turned off
> whcih can make the system to behavie badly.
I think it is running in runlevel 5 when I break execution with ctrl-c,
then I do a ctrl-alt-del and it switches to runlevel 6, kills all processes
and reboots.
I don't think this is a problem, it probably works as it should.
I don't know why I cannot use ctrl-alt-del directly, maybe it is still in
the bootup stage, so the process which should be watching the keyboard for
ctrl-alt-del has not been started yet.
I still think the problem is in the line
while [ -d "$mpoint" ]
in rc.parts, where it gets stuck.
Can somebody explain what that line means, and what it is trying to do?
It must be some kind of evaluation of the expression [ -d "$mpoint" ]
Why does it get stuck when it is evaluating that expression?
What does that expression mean?
Could I set the value of mpoint before that line is trying to evaluate it,
so it succeeds in its evaluation?
-- Roger J. (No Emails)
- Next message: Joachim Feise: "Re: (OT) One more user admin question"
- Previous message: Randy Allen: "Reiser vs ext3"
- In reply to: J.O. Aho: "Re: Hangs in parts.rc"
- Next in thread: Roger Johansson: "Re: Hangs in parts.rc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|