Re: Problem unmounting initrd-romfs in 2.4.21

Andreas Haumer (andreas@xss.co.at)
Fri, 20 Jun 2003 16:47:35 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Tobias Reinhard wrote:
> Hi all!
>
> I'm booting up with a initrd in a romfs. After loading all needed
> modules and pivoting root I unmount the initrd and flush the used
> buffers.
>
> Since I updated to 2.4.21 I can't unmount the initrd - it says it's
> busy, but it's no (or at least lsof does say so).
>
> I use kernel 2.4.21 with /drivers/Makefile , /drivers/ide and
> /include/linux/ide.h from ac1 to reenable ide-modules.
>
> Anyone know the problem?
>
Hm, just a guess: do you have devfs mounted to /dev
on the initial ramdisk (probably automounted by the
kernel, with config option CONFIG_DEVFS_MOUNT=y)?

Check the output of "mount", it'll show you if there's
still something mounted under the "old" root.

We use initrd + devfs for ages now (we even use romfs for
initrd like you do), and it works fine with 2.4.21 too.

HTH

- - andreas

- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+8x6CxJmyeGcXPhERAs7RAKCWiPn2qnLvI9v6GdVj3djPeBcPvQCeP1X2
Fd/GfnFm7tWiCGpp6A6zO6c=
=V9df
-----END PGP SIGNATURE-----

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