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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-19-2006, 06:17 PM
|
#1
|
Member
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Rep:
|
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
|
|
|
04-24-2006, 09:38 PM
|
#2
|
LQ Newbie
Registered: Jan 2006
Posts: 7
Rep:
|
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.
|
|
|
04-24-2006, 09:52 PM
|
#3
|
Member
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Original Poster
Rep:
|
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).
|
|
|
04-26-2006, 09:25 PM
|
#4
|
LQ Newbie
Registered: Jan 2006
Posts: 7
Rep:
|
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.
|
|
|
04-27-2006, 10:32 AM
|
#5
|
Member
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Original Poster
Rep:
|
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
|
|
|
04-28-2006, 08:55 PM
|
#6
|
Member
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Original Poster
Rep:
|
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.
|
|
|
04-28-2006, 09:13 PM
|
#7
|
Member
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|