From: "Пламен Петров" <plamen@petrovi.no-ip.info>
To: "'Marc MERLIN'" <marc@merlins.org>
Cc: <linux-btrfs@vger.kernel.org>
Subject: RE: Can anyone boot a system using btrfs root with linux 3.14 or newer?
Date: Thu, 24 Apr 2014 00:54:57 +0300 [thread overview]
Message-ID: <000001cf5f3e$aaf7a080$00e6e180$@petrovi.no-ip.info> (raw)
In-Reply-To: <20140423205819.GH26949@merlins.org>
[-- Attachment #1: Type: text/plain, Size: 3382 bytes --]
> -----Original Message-----
> From: Marc MERLIN [mailto:marc@merlins.org]
> Sent: Wednesday, April 23, 2014 11:58 PM
> To: Пламен Петров
> Cc: linux-btrfs@vger.kernel.org
> Subject: Re: Can anyone boot a system using btrfs root with linux 3.14 or
> newer?
>
> On Wed, Apr 23, 2014 at 10:37:44PM +0300, Пламен Петров wrote:
> > > So now, we're kind of guessing. To save us all time, could you
> > > capture a serial console boot from the running 3.13 and then the failing
> 3.14.
> >
> > Well, for the details - see for example here:
> > https://bugzilla.kernel.org/attachment.cgi?id=133111
> > how does a 3.14.1 built the way described earlier fails.
>
> Thanks, that helps.
> Except, now I'm perplexed.
>
> It indeed shows btrfs loaded and your block device being detected.
> However it does not show a btrfs mount error.
>
> I haven't had to debug this in a while, but I'm wondering if you're having a
> block device problem.
>
> It may help to look up what error -38 translates into for that mount error.
My searches so far failed to return anything useful to solving this problem.
>
> > And for that matter - see the whole bugzilla bug entry - I went on and
> bisected this, using the linux-stable git tree, and after that landed me on the
> commit that introduces some "shiny new btrfs feature" for 3.14 - I decided
> my git bisection has gone wrong. And because I reported it on April 17-th and
> since then there has been no activity on the bugzilla entry besides me
> updating it - I posted my problem here, for more eyes to see.
>
> One easier way to debug this would be to create an initrd for 3.13 and 3.14.
> Make sure it works with 3.13 first, then boot 3.14 and see what error you get.
> You'll get an error from mount(8) and not the kernel and you'll be dropped to
> a shell, giving you more debug options.
>
The initrd way will require some reading up on my part - so will have to wait for tomorrow.
> > > My guess is that if you diff both you'll likely find what went
> > > wrong, but if not you can post here.
> >
> > See the result of "diff config-v3.14.1-mix64 config-v3.13.11-mix64" in the
> attached file.
>
> diff -u is your friend ;)
> but diff looks reasonable.
>
> > > As for the btrfs FS format, it has not changed in a way that new
> > > kernels wouldn't be able to mount an FS from a year ago or more.
> >
> > Good to know! Thanks!
>
> Of course, that doesn't mean you didn't find a bug saying otherwise.
>
> If you try from an initrd, it'll make it easier to debug.
I will have to lookup how to do that...
> You don't have to build a
> new kernel or make btrfs a module, just mounting a working initrd and then
> trying this again with userland tools will help debug.
> (alternatively, rescue boot media with your kernel would work too, but that's
> likely more work to build than an initrd)
Not more work - just replaced the kernel on the setup/rescue media with mine and the result is the same - see attached image file.
> Actually, you could also use your VM
> setup to boot another linux image running ext4 as root with your new kernel,
> setup your existing drive as sdb, and try to mount it then.
>
> Marc
> --
Thanks for the ideas, Marc. It's nice to see someone trying to help!
-----------------
Plamen Petrov
[-- Attachment #2: rescue-media-plus-my-kernel-3.14.1.png --]
[-- Type: image/png, Size: 46112 bytes --]
next prev parent reply other threads:[~2014-04-23 21:55 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 17:30 Can anyone boot a system using btrfs root with linux 3.14 or newer? Пламен Петров
2014-04-23 18:33 ` Swâmi Petaramesh
2014-04-23 18:54 ` Marc MERLIN
2014-04-23 19:02 ` Hugo Mills
2014-04-23 19:06 ` Пламен Петров
2014-04-23 19:15 ` Marc MERLIN
2014-04-23 19:37 ` Пламен Петров
2014-04-23 20:58 ` Marc MERLIN
2014-04-23 21:54 ` Пламен Петров [this message]
2014-04-23 22:03 ` Marc MERLIN
2014-04-23 22:20 ` Пламен Петров
2014-04-23 22:40 ` Chris Murphy
2014-04-23 22:43 ` Hugo Mills
2014-04-23 22:50 ` Marc MERLIN
2014-04-23 22:53 ` Hugo Mills
2014-04-23 22:41 ` Hugo Mills
2014-04-24 12:34 ` Chris Mason
2014-04-24 12:36 ` Chris Mason
2014-04-24 17:08 ` Пламен Петров
2014-04-24 17:19 ` Пламен Петров
2014-04-24 17:33 ` Marc MERLIN
2014-04-24 17:44 ` Пламен Петров
2014-04-24 18:51 ` Пламен Петров
2014-04-24 19:31 ` Marc MERLIN
2014-04-24 20:26 ` Пламен Петров
2014-04-24 21:47 ` Chris Murphy
2014-04-24 21:06 ` Chris Murphy
2014-04-24 21:23 ` Пламен Петров
[not found] ` <000c01cf600b$b01f6cf0$105e46d0$@petrovi.no-ip.info>
2014-04-24 23:07 ` Marc MERLIN
2014-04-25 0:04 ` Chris Murphy
2014-04-25 0:08 ` Chris Mason
2014-04-25 5:04 ` Пламен Петров
2014-04-25 7:02 ` Duncan
2014-04-25 5:03 ` Пламен Петров
2014-04-23 19:06 ` Kai Krakow
2014-04-23 20:25 ` Calvin Walton
2014-04-23 22:34 ` Chris Murphy
2014-04-24 3:23 ` Chris Murphy
2014-04-24 6:27 ` Fajar A. Nugraha
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='000001cf5f3e$aaf7a080$00e6e180$@petrovi.no-ip.info' \
--to=plamen@petrovi.no-ip.info \
--cc=linux-btrfs@vger.kernel.org \
--cc=marc@merlins.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox