Re: [-mm] klibc breaks my initscripts

From: H. Peter Anvin
Date: Tue May 23 2006 - 18:24:09 EST


Pavel Machek wrote:
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.

-hpa
-
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/