Jffs2: systemd-journald fails to open log files on jffs2

Richard Weinberger richard.weinberger at gmail.com
Wed Nov 22 09:07:27 PST 2017


Frank,

On Wed, Nov 22, 2017 at 4:12 PM, Frank Mori Hess <fmh6jj at gmail.com> wrote:
> Hi, I have systemd-journald spewing EINVAL errors on a 4.1.33 kernel
> when it tries to
> open persistent journal files on jffs2, for example:
>
> systemd-journald[766]: Failed to open system journal: Invalid argument
>
> I traced this back to a failing mmap call which was attempting to do a
> writable mmap with MAP_SHARED.  Are there any plans for jffs2 to
> support such mappings, or is the answer just to dump jffs2 and move on
> to ubifs?

As UBIFS guy you can guess what my answer is. ;-)

But I'd like to know why you are still using JFFS2.
Is this some super small NOR flash where UBIFS does not work?

-- 
Thanks,
//richard



More information about the linux-mtd mailing list