Re: [-mm] klibc breaks my initscripts

From: Joshua Hudson
Date: Tue May 23 2006 - 14:18:48 EST

On 5/23/06, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
Pavel Machek wrote:
> Hi!
> To reproduce: boot with init=/bin/bash
> attempt to
> mount / -oremount,rw
> I have this as my command line:
> root=/dev/hda4 resume=/dev/hda1 psmouse.psmouse_proto=imps
> psmouse_proto=imps psmouse.proto=imps vga=1 pci=assign-busses
> rootfstype=ext2

I tried this (or at least as close to this as I can get in my simulation
environment), and I don't see any problems. It works as is should;
however, mount(8) requires that /proc is mounted so that it can read
/proc/partitions, but that has nothing to do with klibc (or the kernel
overall) of course.

I'm afraid I'm going to have to ask for more details...


Sounds like /etc/fstab corruption to me. Try this:
# mount -n /proc /proc -t proc
# mount /dev/hda4 -t ext2 -o remount,ro /
# mount -f /proc /proc -t proc
If it works, you have fstab corruption
If it doesn't, the problem lies elsewhere.

Yes I know that mount shouldn't require all that for
a remount. I'm probably way out on a limb on this one.
I still can't figure out what this has to do with klibc.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at