Re: [-mm] klibc breaks my initscripts

From: Pavel Machek
Date: Tue May 23 2006 - 18:43:01 EST


Hi!

> >>[Adjusted Cc: list]
> >>
> >>Pavel Machek wrote:
> >>>>- a. What distro?
> >>>Hacked debian.
> >>>
> >>>>- b. What's the error?
> >>>Something about root not being mounted so it can't be remounted.
> >>I need the details on this one. This sounds like it could be the Debian
> >>mount getting confused by /proc/mounts and/or /etc/mtab.
> >
> >I cheated: I added "rw" to the command line. But results are the same
> >as in normal case, even strace looked the same.
> >
> >Any ideas?
> > Pavel
> >
>
> >read(3, "/dev/hda4\t/\text2\tdefaults,commit"..., 4096) = 601
> ^^^^^^
>
> Yes, check your /etc/fstab. You're trying (explicitly) to mount an ext3
> filesystem as ext2, but your /etc/fstab contains ext3-related options.
> This means that mount(8) will try to add them to the remount, and the
> remount will fail because you're passing options to the filesystem that the
> filesystem doesn't understand.

Aha, sorry for confusion. So it was not klibc merge but stricter
parser to mount commandline. Problems are now fixed, thanks.

(And swsusp works okay; now I could test it from multiuser mode).

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/