Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #60439
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Kevin Hilman <khilman@baylibre.com> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram* |
| Date | Fri, 09 Mar 2018 20:30:02 +0100 |
| Message-ID | <vrvSh-Xf-1@gated-at.bofh.it> (permalink) |
| References | <vr9f4-2vP-3@gated-at.bofh.it> <vrey5-5Oh-1@gated-at.bofh.it> <vreRr-6cw-1@gated-at.bofh.it> <vrg6R-72t-1@gated-at.bofh.it> <vr9f4-2vP-3@gated-at.bofh.it> <vrg6R-72t-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Fri Mar 9 19:21:12 2018 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -3.85 |
| Reply-To | Kevin Hilman <khilman@baylibre.com>, 892407@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian kernel team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 892407 |
| X-Debian-Pr-Package | initramfs-tools |
| X-Debian-Pr-Keywords | moreinfo |
| X-Debian-Pr-Source | initramfs-tools |
| X-Spam-Bayes | score:0.0000 Tokens: new, 13; hammy, 150; neutral, 59; spammy, 0. spammytokens: hammytokens:0.000-+--initrdimg, 0.000-+--UD:initrd.img, 0.000-+--initrd.img, 0.000-+--D*decadent.org.uk, 0.000-+--sk:ben@dec |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RiznLfn2sd5R/IXtVF6HXP08NOIf1NaaFtvqT7KTgcs=; b=cNm3kI5ieSHejcub+vu6GV71P44ifWxJTvLQw0A44ZRJnrwHvMkaS6YX/XEgG8JbUo qQDNbkxVi8BQdofUuBZ+bd+9d7a3c9UpbSat1bDGsJplz/RPvWGTtnwaTR5h7Xd/2hQ5 zDjBhiD/8XbJ9dM2ex8PKFevv+vsAafmN5WfsuTh+511YLaZls747Ikx7EecDPfBefBE +azb9quYpe0teN2cq0sNxtnjEofOM97pE65rViTPIuhMQxn7zMLDi/Q4RecmGfMuSn8C oEMY3mGH8i3trUi/28qbt+D4TYNsZPWLOzUSVcXzsvYjdXKM0dFRoxX+4QOmXxBzObM3 I6BQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RiznLfn2sd5R/IXtVF6HXP08NOIf1NaaFtvqT7KTgcs=; b=bPd4gdd+F/cNvz80oli0zt5o6DdXlD7un2NfWSohTGIMv4cI8rgCdGjEFAxBVRYOkJ Y4z+QtSnwrvag7EWbKXaBwJe8mf0b+3y31nXrQgp75BJi4ykl/zKXy8OZCNHyo2QvX7r tcr7mJRJjO8pGqPGq69rqKbQVY4Ms9c7+XPy3gs+G0/4kSAjhv00A9yK0VbtMZJqKoni mxmBkaedyAzfXugwgRkqulIEVHTY5el0608vSgyuGnt81lhxyjHhYUBSO7CLvVJRf+f2 t4uuBdmaINb7kyNOBpm2QYv+C9KHFptE99LqSj8qhtmgk/M4Ddu8dINGQ9jEuxltjkc3 1mRg== |
| X-Gm-Message-State | AElRT7EcwoFgpAVBFcCMYNqmAjBdHruQvbwoRTv5jPtpaBvbsMMOLvEV vdBihbLrmna5QGNqAxxJNGoeJjOOtH+mQRqU+Zdm8yvW |
| X-Google-SMTP-Source | AG47ELvr3CD8zN8h+oo8glfbgi1RzXsTzMmCzBVNaOM5zp2waQDzY/bG0fsF6qjMyFeKDuJFYcdPIUV+ps/qcYWdw+o= |
| X-Received | by 10.46.101.8 with SMTP id z8mr4152061ljb.146.1520622962767; Fri, 09 Mar 2018 11:16:02 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1446590 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 35 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | 892407@bugs.debian.org |
| X-Original-Date | Fri, 9 Mar 2018 11:16:01 -0800 |
| X-Original-Message-ID | <CAOi56cU0=TQsWmnSbQ5+t5FgKo6RemsN=K1NMR5rqxav5Wha0w@mail.gmail.com> |
| X-Original-References | <7ho9jyfkpu.fsf@baylibre.com> <1520556935.2495.22.camel@decadent.org.uk> <CAOi56cUO3gCXVOZo+f-7RVWq+WZ94fJDC4Kr36kAc4--8fEC2g@mail.gmail.com> <1520563028.2495.49.camel@decadent.org.uk> <7ho9jyfkpu.fsf@baylibre.com> <1520563028.2495.49.camel@decadent.org.uk> |
| Xref | csiph.com linux.debian.bugs.dist:886121 linux.debian.kernel:60439 |
Cross-posted to 2 groups.
Show key headers only | View raw
On Thu, Mar 8, 2018 at 6:37 PM, Ben Hutchings <ben@decadent.org.uk> wrote: > On Thu, 2018-03-08 at 17:08 -0800, Kevin Hilman wrote: >> I'm not sure exactly what you're referring to, so I guess that means no. > > Aren't you using LAVA in conjunction with kernelci? That's where I've > seen this odd usage of "root=/dev/ram0" before. Yes, this came up in the contect of kernelCI. >> I'm just trying to avoid an unnecessary delay when "root=/dev/ram*" is >> (mistakenly) used on the command-line when passing in the debian >> ramdisk. If that happens, it eventually falls through to the >> initramfs shell, but not before trying 30 times (with a "sleep 1" >> between each) to find another ramdisk on /dev/ramX > > I'm pretty sure "break" does what you need. Well, break does what you describe, but not exactly what I need. I'm trying to workaround the (mis)use of root=/dev/ramX on the commandline. If I could add stuff to the kernel command-line, I would instead just remove the "root=/dev/ramX" rather than add "break=premount", but I'm trying to solve the problem for LAVA labs that we don't control, so we cannot change all the device-types out there and remove "root=/dev/ram0". So, back to the patch at hand... Is there ever a usecase for the debian initrd.img to switch_root to another initrd/ramdisk? If so, then my proposed patch is invalid. If not, then it's a nice optimization and fixup for (mis)use of root=/dev/ram in conjuction with an existing initrd/ramdisk. Kevin
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram* Kevin Hilman <khilman@baylibre.com> - 2018-03-08 20:20 +0100
Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram* Ben Hutchings <ben@decadent.org.uk> - 2018-03-09 02:00 +0100
Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram* Kevin Hilman <khilman@baylibre.com> - 2018-03-09 02:20 +0100
Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram* Ben Hutchings <ben@decadent.org.uk> - 2018-03-09 03:40 +0100
Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram* Kevin Hilman <khilman@baylibre.com> - 2018-03-09 20:30 +0100
Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram* Ben Hutchings <ben@decadent.org.uk> - 2018-03-09 03:30 +0100
Processed: Re: Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram* "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-03-09 02:00 +0100
Bug#892407: marked as done (initramfs-tools: scripts/local: ignore /dev/ram*) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-03-10 00:20 +0100
csiph-web