Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-15 Thread Andy Shevchenko
On Tue, Feb 12, 2019 at 3:50 PM Andy Shevchenko wrote: > On Tue, Feb 12, 2019 at 2:12 PM David Engraf wrote: > > On 12.02.19 at 11:43, Andy Shevchenko wrote: > > > On Mon, Feb 11, 2019 at 2:40 PM David Engraf > > > wrote: > > >> On 11.02.19 at 12:40, Andy Shevchenko wrote: > > > >> Ok got it. W

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-12 Thread Andy Shevchenko
On Tue, Feb 12, 2019 at 2:12 PM David Engraf wrote: > On 12.02.19 at 11:43, Andy Shevchenko wrote: > > On Mon, Feb 11, 2019 at 2:40 PM David Engraf wrote: > >> On 11.02.19 at 12:40, Andy Shevchenko wrote: > >> Ok got it. When the memory behind the actual file size is clear (0x0) > >> the decompr

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-12 Thread David Engraf
On 12.02.19 at 11:43, Andy Shevchenko wrote: On Mon, Feb 11, 2019 at 2:40 PM David Engraf wrote: On 11.02.19 at 12:40, Andy Shevchenko wrote: On Mon, Feb 11, 2019 at 10:49 AM David Engraf wrote: On 11.02.19 at 08:56, David Engraf wrote: On 09.02.19 at 11:35, Andy Shevchenko wrote: On Sat,

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-12 Thread Andy Shevchenko
On Mon, Feb 11, 2019 at 2:40 PM David Engraf wrote: > On 11.02.19 at 12:40, Andy Shevchenko wrote: > > On Mon, Feb 11, 2019 at 10:49 AM David Engraf > > wrote: > >> On 11.02.19 at 08:56, David Engraf wrote: > >>> On 09.02.19 at 11:35, Andy Shevchenko wrote: > On Sat, Feb 9, 2019 at 12:08 AM

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-12 Thread David Engraf
On 12.02.19 at 01:56, Andrew Morton wrote: On Sat, 9 Feb 2019 12:35:03 +0200 Andy Shevchenko wrote: On Sat, Feb 9, 2019 at 12:08 AM Andrew Morton wrote: On Fri, 8 Feb 2019 21:45:21 +0200 Andy Shevchenko wrote: On Tue, Oct 30, 2018 at 5:22 PM David Engraf wrote: Unpacking an external i

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-11 Thread Andrew Morton
On Sat, 9 Feb 2019 12:35:03 +0200 Andy Shevchenko wrote: > On Sat, Feb 9, 2019 at 12:08 AM Andrew Morton > wrote: > > On Fri, 8 Feb 2019 21:45:21 +0200 Andy Shevchenko > > wrote: > > > On Tue, Oct 30, 2018 at 5:22 PM David Engraf > > > wrote: > > > > > > > > Unpacking an external initrd ma

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-11 Thread David Engraf
On 11.02.19 at 12:40, Andy Shevchenko wrote: On Mon, Feb 11, 2019 at 10:49 AM David Engraf wrote: On 11.02.19 at 08:56, David Engraf wrote: On 09.02.19 at 11:35, Andy Shevchenko wrote: On Sat, Feb 9, 2019 at 12:08 AM Andrew Morton wrote: On Fri, 8 Feb 2019 21:45:21 +0200 Andy Shevchenko wr

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-11 Thread Andy Shevchenko
On Mon, Feb 11, 2019 at 10:49 AM David Engraf wrote: > On 11.02.19 at 08:56, David Engraf wrote: > > On 09.02.19 at 11:35, Andy Shevchenko wrote: > >> On Sat, Feb 9, 2019 at 12:08 AM Andrew Morton > >> wrote: > >>> On Fri, 8 Feb 2019 21:45:21 +0200 Andy Shevchenko > >>> wrote: > On Tue, Oct

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-11 Thread David Engraf
On 11.02.19 at 08:56, David Engraf wrote: On 09.02.19 at 11:35, Andy Shevchenko wrote: On Sat, Feb 9, 2019 at 12:08 AM Andrew Morton wrote: On Fri, 8 Feb 2019 21:45:21 +0200 Andy Shevchenko wrote: On Tue, Oct 30, 2018 at 5:22 PM David Engraf wrote: Unpacking an external initrd may fail e.

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-10 Thread David Engraf
On 09.02.19 at 11:35, Andy Shevchenko wrote: On Sat, Feb 9, 2019 at 12:08 AM Andrew Morton wrote: On Fri, 8 Feb 2019 21:45:21 +0200 Andy Shevchenko wrote: On Tue, Oct 30, 2018 at 5:22 PM David Engraf wrote: Unpacking an external initrd may fail e.g. not enough memory. This leads to an inc

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-09 Thread Andy Shevchenko
On Sat, Feb 9, 2019 at 12:08 AM Andrew Morton wrote: > On Fri, 8 Feb 2019 21:45:21 +0200 Andy Shevchenko > wrote: > > On Tue, Oct 30, 2018 at 5:22 PM David Engraf wrote: > > > > > > Unpacking an external initrd may fail e.g. not enough memory. This leads > > > to an incomplete rootfs because so

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-08 Thread Andrew Morton
On Fri, 8 Feb 2019 21:45:21 +0200 Andy Shevchenko wrote: > On Tue, Oct 30, 2018 at 5:22 PM David Engraf wrote: > > > > Unpacking an external initrd may fail e.g. not enough memory. This leads > > to an incomplete rootfs because some files might be extracted already. > > Fixed by cleaning the ro

Re: [PATCH RESEND] initramfs: cleanup incomplete rootfs

2019-02-08 Thread Andy Shevchenko
On Tue, Oct 30, 2018 at 5:22 PM David Engraf wrote: > > Unpacking an external initrd may fail e.g. not enough memory. This leads > to an incomplete rootfs because some files might be extracted already. > Fixed by cleaning the rootfs so the kernel is not using an incomplete > rootfs. This breaks m