RPI2 hanging during boot

Jukka Ukkonen jau789 at gmail.com
Wed Jun 17 12:51:18 UTC 2015


Right, and if swaplate fails for whatever reason to release
some existing swap area before releasing the file systems and
devices, what will happen then? Esp. devices living on top
of file systems, like md, may create a kind of a chicken and
egg problem. The proper means from my point of view would
be the kernel itself flushing the swap areas and revoking them
before letting go of the underlying device or file system. Maybe
the kernel even does this and I simply failed to notice where it
is done. I don't know really. I am just beating the bushes here,
because it would take quite some time for me to read through
the source in detail enough to convince myself about what
will happen and when, where, and why.

--jau


Sent from my iPad

> On 17 Jun 2015, at 09:44, Tim Kientzle <tim at kientzle.com> wrote:
> 
> 
>> On Jun 16, 2015, at 10:27 PM, jau789 at gmail.com wrote:
>> 
>> Maybe
>> the same problem with unreleased swap space which I suspect
>> as the culprit to my unbootable ufs2 on an SD card applies to
>> any and all swap spaces, even those mentioned in the fstab.
> 
> Swap spaces mentioned in the fstab are automatically
> released on shutdown by /etc/rc.d/swaplate.
> 
> Tim
> 


More information about the freebsd-arm mailing list