All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vyacheslav Dubeyko <slava@dubeyko.com>
To: htl10@users.sourceforge.net
Cc: Sergei Antonov <saproj@gmail.com>,
	Linux FS devel list <linux-fsdevel@vger.kernel.org>,
	Al Viro <viro@zeniv.linux.org.uk>,
	ChristophHellwig <hch@infradead.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH v3 01/15] hfsplus: add necessary declarations for journal replay
Date: Sat, 15 Feb 2014 18:27:45 +0400	[thread overview]
Message-ID: <1392474465.3524.8.camel@slavad-CELSIUS-H720> (raw)
In-Reply-To: <1392437066.60668.YahooMailBasic@web172306.mail.ir2.yahoo.com>

Hi Hin-Tak,

On Sat, 2014-02-15 at 04:04 +0000, Hin-Tak Leung wrote:
>  
> Hi Vyacheslav,
> 
> I am afraid I have bad news for you - Sergei may be right.
> 
> This is what shows on an unclean-shutdown image:
> 
> [179982.068363] hfsplus: invalid journal header
> [179982.068375] hfsplus: journal replay failed, mounting read-only
> [179982.068378] hfsplus: filesystem was not cleanly unmounted, mounting read-only
> [179982.068380] hfsplus: running fsck.hfsplus is recommended
> 
> This is on the clean shutdown after:
> 
> [182188.224271] hfsplus: invalid journal header
> [182188.224287] hfsplus: journal replay failed, mounting read-only
> 

Ok. Now I can see the issue. :) It is the real evidence. Thank you.

> Obviously my virtual machine is still working, so the file system
> must be valid.
> I have also recorded that the darwin kernel outputs this when replaying the journal:
>  Feb 14 19:15:55 localhost kernel[0]: jnl: replay_journal: from: 3365376 to: 2762752 (joffset 0x1a000)
> 
> which might be interesting to try to replicate.
> 
> The good news is I have saved the unclean image, and the clean one after,
> they compress to just over 600MB each (and expands to 3GB each).
> Since they are just darwin 8 (plus some open-source software I tried to work on within)
> and *not* full Mac OS X, I suppose you can have them, if you
> can find the space for me to upload them to.
> 

It is really great. I send you the information about place and
credentials for upload in private e-mail.

I am looking forward to have these images in my hands for investigation.

> As I mentioned earlier that the darwin kernel seems to notice that its filesystem
> had been manipulated by fsck.hfsplus. To be precise, it seems
> that whenever I had done a fsck.hfsplus between, the darwin kernel outputs this
> kind of message:
> 
> Feb 12 07:23:20 localhost kernel[0]: jnl: journal start/end pointers reset! (jnl 0x1838e60; s 0x232a00 e 0x722600)
> Feb 12 15:22:37 localhost kernel[0]: jnl: journal start/end pointers reset! (jnl 0x17dbe60; s 0x96600 e 0x322600)
> 
> So it might be also worth looking at the XNU source what that means,
> and whether fsck.hfsplus is behaving correctly on x86_64 linux on manipulating
> powerpc HFS+ images.
> 
> OTOH, I am happy if you have debug patches, etc to try thing out at this end.
> 

Thank you for all efforts. I really appreciate it.

Thanks,
Vyacheslav Dubeyko.



  reply	other threads:[~2014-02-15 14:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-12 14:25 [PATCH v3 01/15] hfsplus: add necessary declarations for journal replay Vyacheslav Dubeyko
2014-02-12 16:15 ` Sergei Antonov
2014-02-12 16:38   ` Vyacheslav Dubeyko
2014-02-12 16:50     ` Sergei Antonov
2014-02-12 17:59       ` Vyacheslav Dubeyko
2014-02-13 10:41         ` Sergei Antonov
2014-02-13 10:56           ` Vyacheslav Dubeyko
2014-02-13 20:07         ` Hin-Tak Leung
2014-02-14  7:22           ` Vyacheslav Dubeyko
2014-02-15  4:04             ` Hin-Tak Leung
2014-02-15 14:27               ` Vyacheslav Dubeyko [this message]
2014-02-15 16:12 Hin-Tak Leung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1392474465.3524.8.camel@slavad-CELSIUS-H720 \
    --to=slava@dubeyko.com \
    --cc=akpm@linux-foundation.org \
    --cc=hch@infradead.org \
    --cc=htl10@users.sourceforge.net \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=saproj@gmail.com \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.