Re: 2.6.0-test3 _still_ cannot mount root fs

From: Herbert Pötzl
Date: Sat Aug 16 2003 - 10:04:10 EST



Hi Jeff!

On Fri, Aug 15, 2003 at 08:34:37PM -0400, jeff millar wrote:
> Redhat's 2.4.20 will boot with root=/dev/hda3 pointing to an ext3
> filesystem, without an initrd, with the following message
>
> ext2fs warning (device IDE0(3,3) ) ext2_read_super: mounting ext3
> filesystem as ext2
> VFS: mounted root (ext2 filesystem) readonly
>
> So I assumed that 2.6.0-test3 will also work with ext3 compiled as a module.
> I tried the various suggestions root=/dev/hda3, root=0303, root=03:03
> without any luck.
>
> I then tested a suggestion that ext3 should get compiled in but get the same
> results
>
> Herbert's debug patch produced the same messages with ext3 compiled in.
>
> Any suggestions for what to try next?

appended a short patch, which goes ontop of my other
debug patch ... this time, please concentrate on the
%% lines and the lines immediately above and below ...

best,
Herbert

> jeff

--- linux-2.6.0-test3-debug/init/do_mounts.c 2003-08-13 15:15:23.000000000 +0200
+++ linux-2.6.0-test3-debug-P1/init/do_mounts.c 2003-08-16 16:57:02.000000000 +0200
@@ -277,7 +277,11 @@
get_fs_names(fs_names);
retry:
for (p = fs_names; *p; p += strlen(p)+1) {
- int err = do_mount_root(name, p, flags, root_mount_data);
+ int err;
+
+ printk("%%%% do_mount_root() >%s<,>%s<, %08x ...\n", name, p, flags);
+ err = do_mount_root(name, p, flags, root_mount_data);
+ printk("%%%% ret = %d\n", err);
switch (err) {
case 0:
goto out;

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