Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932187AbWEWWYy (ORCPT ); Tue, 23 May 2006 18:24:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932228AbWEWWYy (ORCPT ); Tue, 23 May 2006 18:24:54 -0400 Received: from terminus.zytor.com ([192.83.249.54]:51889 "EHLO terminus.zytor.com") by vger.kernel.org with ESMTP id S932187AbWEWWYx (ORCPT ); Tue, 23 May 2006 18:24:53 -0400 Message-ID: <44738BA7.1020507@zytor.com> Date: Tue, 23 May 2006 15:24:39 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Pavel Machek CC: kernel list Subject: Re: [-mm] klibc breaks my initscripts References: <20060523083754.GA1586@elf.ucw.cz> <4473482A.3050407@zytor.com> <20060523211100.GA2788@elf.ucw.cz> <44737C33.4030503@zytor.com> <20060523215111.GA1669@elf.ucw.cz> In-Reply-To: <20060523215111.GA1669@elf.ucw.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1207 Lines: 35 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/