LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2006, 06:17 PM   #1
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
initng (again) timeout kill checkfs


I have problems with initng again.

Sometimes, every 2 boot or so, initng finds that checkfs took too long to load and decides to kill the service, resulting in a hanged computer.

How do I override that timeout for checkfs so my root partition loads correctly?

thanks
 
Old 04-24-2006, 09:38 PM   #2
gandalf3
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
I've had a similar problem. On my box, the problem seems to be with non-root partitions . . . I've looked at the mountroot script, to see what it does differently from mountfs, and the most relevant thing seems to be that, for non-root partitions, system/checkfs and system/mountfs are different processes, whereas the check script for the root partition is part of system/mountroot: system/mountroot/check. Perhaps, by including the check-the-filesystem script in the mount file, before the actual mount script, it forces initng to wait for any scans of the root partition to complete.

But that's only an uneducated guess. I'd love to find out the answer to this, since it's one of the reasons I'm inclined not to use initng.
 
Old 04-24-2006, 09:52 PM   #3
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
It has stabilized recently. It did act up twice when I added another partition, hda8 (for qemu), but haven't heard problems of it since (nor have I rebooted it since the last successful boot, huh).
 
Old 04-26-2006, 09:25 PM   #4
gandalf3
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
I think this worked for me: put " critical; " before " never_kill; " in system/checkfs. The fsck root and mount root parts of system/mountroot are marked critical, as is mountfs, but checkfs isn't. At least, for me it wasn't.
 
Old 04-27-2006, 10:32 AM   #5
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
um, I'll try that

I was thinking, perhaps it's udev or something. In my terminal, all the output is scrambled at that point, and FAIL may either belong to checkfs, or udev, which seams to have spewed a few outputs before checkfs executed...

sure enough, udev doesn't have never_kill, only critical...

or it can be a combination of the two. When two or more things don't work properly, we have to find what does work properly
 
Old 04-28-2006, 08:55 PM   #6
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
the problem is checkfs.

now that it is critical, it gives me a su_login, since it became critical.
It fails at line 54, which is

then
echo "Checking file systems"
logsave -s ${FSCK_LOGFILE} fsck ${spinner} -R -A ${fix} ${force} ${FSCKTYPES_OPT}
FSCKCODE=${?}
if [ ${FSCKCODE} -gt 1 ]
then
echo 1 "code ${FSCKCODE}"
handle_failed_fsck
fi
else

somehow, in there, it fails
However, I don't get the warning messages from checkfs.i, instead, I get the error of initng, smashed with the prompt of the su_login.

I'll google this. If you find the solution, I'm all ears.
 
Old 04-28-2006, 09:13 PM   #7
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
HALF-FIXED:
I added those reps:
http://triggerit.tr.funpic.de/blog/?p=42

and installed the latest ifiles. it works now
three boots without problems! whoohoo!

but, the latest initng requires more recent glibc6, which I don't have.
I might just use the source instead eventually.


nevermind

Last edited by mimithebrain; 05-01-2006 at 08:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Initng broke internet SnowSurfAir Linux - Software 1 03-18-2006 10:54 PM
Did you ever installed initng on slackware? stormrider_may Slackware 3 03-15-2006 05:39 PM
Initng with Slackware mjjzf Slackware 1 01-12-2006 10:52 AM
SuSE 9.3 and InitNG mac57 SUSE / openSUSE 0 10-03-2005 01:08 PM
initng dajomu Ubuntu 0 09-16-2005 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration