[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault
From: |
James Clarke |
Subject: |
Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault |
Date: |
Wed, 15 Jul 2015 21:20:57 +0100 |
As discussed in IRC, this successfully stopped the disk pager from
dereferencing sblock. However, it was still hanging at boot a lot of the time
(seemingly if and only if I booted in normal mode ie not recovery mode, but
that's probably just a timing thing).
I had a look today at what's happening, and it's that the *file* pager is
trying to read from disk. Any thoughts?
James
> On 14 Jul 2015, at 20:54, Justus Winter <4winter@informatik.uni-hamburg.de>
> wrote:
>
> Hi James :)
>
> you found a long-standing bug in ext2fs. Fixing it allows us to get
> rid of the ugly workaround in daemons/runsystem.sh (look for `XXX').
>
> Quoting Richard Braun (2015-07-13 10:16:14)
>>> On Sun, Jul 12, 2015 at 12:56:31PM +0100, James Clarke wrote:
>>> That doesn’t seem to boot at all. I had tried changing it to inhibiting all
>>> RPCs (it looks like you’ve inhibited an extra class?), but it seems that
>>> paging is needed? Perhaps part of ext2fs gets paged out, and it needs to be
>>> paged in when remounting?
>>
>> Remounting can require paging out, yes.
>>
>> See diskfs_reload_global_state in ext2fs :
>>
>> diskfs_reload_global_state ()
>> {
>> pokel_flush (&global_pokel);
>> pager_flush (diskfs_disk_pager, 1);
>
> So I guess we need to inhibit the RPCs here, not before calling
> diskfs_reload_global_state, then do:
>
> get_hypermetadata ();
> map_hypermetadata ();
>
> And reenable them here.
>
> return 0;
> }
>
> I guess that means changing the diskfs API. James, do you want to
> give it a shot?
>
> In the mean time, enjoy my hacky workaround:
> http://nonmonolithic.org/ext2fs.static
>
> Cheers,
> Justus
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, (continued)
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/11
- [PATCH hurd] yyy fix remount, Justus Winter, 2015/07/11
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, James Clarke, 2015/07/12
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/12
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Richard Braun, 2015/07/13
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/14
- Fixing re-mounting of ext2fs, Justus Winter, 2015/07/14
- [PATCH hurd] yyy fix remount, Justus Winter, 2015/07/14
- Re: Fixing re-mounting of ext2fs, Justus Winter, 2015/07/14
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/14
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault,
James Clarke <=
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/19
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, James Clarke, 2015/07/19
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Richard Braun, 2015/07/19
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, James Clarke, 2015/07/20
- [PATCH] WIP: Fix ext2fs remount race condition, James Clarke, 2015/07/21
- Re: [PATCH] WIP: Fix ext2fs remount race condition, Justus Winter, 2015/07/22