Hello all,

I wanted to use the noatime option for the jffs2 filesystem that is used in
the default ptxdist / mini2440 configuration, and found the following problem:

I first tried to modify /env/config in barebox to pass rootflags=noatime in
the kernel bootargs parameter.

This results in a kernel panic:

jffs2: Error: unrecognized mount option 'noatime' or missing value
[...]
No filesystem could mount root, tried:  jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)

However, if I boot normally (with the default bootargs) and then remount
the jffs2 filesystem with noatime, it works fine:

$ mount -o remount,noatime /

I am puzzled by this as according to the documentation [1], the rootflags
argument "allows you to give options pertaining to the mounting of the
root filesystem just as you would to the mount program".

Looks like a kernel bug to me, but on the other hand it seems so obvious
that perhaps I am overlooking something.

I have tested this with kernel versions 3.7.10 (BSP 2013.10.0) and 3.14.2
(BSP from git)

Can someone help?

[1] http://www.tldp.org/HOWTO/BootPrompt-HOWTO-3.html

-- 
Guillermo Rodriguez Garcia
[email protected]

Reply via email to