lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+1xoqc+4Bjgmnjx5kzMGr1ShVs8mbNppjr3OMa__tcFEcGuAA@mail.gmail.com>
Date:	Mon, 7 May 2012 11:00:52 +0200
From:	Sasha Levin <levinsasha928@...il.com>
To:	Ingo Molnar <mingo@...nel.org>
Cc:	torvalds@...ux-foundation.org, chuck.lever@...cle.com,
	linux@...ik.name, Trond.Myklebust@...app.com,
	linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
	mingo@...e.hu
Subject: Re: [PATCH] init: don't try mounting device as nfs root unless type
 fully matches

On Mon, May 7, 2012 at 10:54 AM, Ingo Molnar <mingo@...nel.org> wrote:
>
> * Sasha Levin <levinsasha928@...il.com> wrote:
>
>> Currently, we'll try mounting any device who's major device number is
>> UNNAMED_MAJOR as NFS root. This would happen for non-NFS devices as well (such
>> as 9p devices) but it wouldn't cause any issues since mounting the device
>> as NFS would fail quickly and the code proceeded to doing the proper mount:
>>
>>        [  101.522716] VFS: Unable to mount root fs via NFS, trying floppy.
>>        [  101.534499] VFS: Mounted root (9p filesystem) on device 0:18.
>>
>> Commit 6829a048 ("NFS: Retry mounting NFSROOT") has introduced retries when
>> mounting NFS root, which means that now we don't immediately fail and instead
>> it takes an additional 90+ seconds until we stop retrying, which has revealed
>> the issue this patch fixes.
>
> Just wondering, which tree is commit 6829a048 included in? It
> does not appear to be mainline AFAICS.

It's 43717c7daebf10b43f12e68512484b3095bb1ba5 in mainline now.

Commit 6829a048 was from the -next tree (not sure which one of the
-next trees, but if you grab -next you'll see it there). I've prepared
this patch a while ago when it wasn't in mainline yet.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ