public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Ubuntu and btrfs root fs
       [not found] <4A7FF988-4F77-4358-8F47-3DF32289D92F@kupper.org>
@ 2010-01-21 18:35 ` Goffredo Baroncelli
  2010-01-21 22:40   ` Thomas Kupper
  0 siblings, 1 reply; 2+ messages in thread
From: Goffredo Baroncelli @ 2010-01-21 18:35 UTC (permalink / raw)
  To: Thomas Kupper; +Cc: linux-btrfs

On Thursday 21 January 2010, you (Thomas Kupper) wrote:
> Hello Goffredo,
> 
> I thought maybe email is a more practial way to ask you about it. But if 
there's a better place in your opinion (mailling list?) let me know.

I cc'ed the btrfs-mailing list.


[speaking about a btrfs setup for a root filesystem]
> 
> After setting the permissions on the rootfs folder right it boots with my 
kernel (Hypernation doesn't work although). I did compile the btrfs module 
into the kernel but would like to use a stock kernel with an updated initrd 
image.
> 
> As you I now additionally installed the 2.6.32-10-generic kernel but tried 
to use the stock btrfs. But it drops to BusyBox because it can't load the 
btrfs module ... because of the libcrc32c module can't be loaded. libcrc32c 
can't be loaded because of a unknown symbol crc32c (of course I added btrfs to 
the module file of initramfs-tools)
[...]

The list of btrfs dependencies is

$ cat /etc/initramfs-tools/modules
[..]
zlib_deflate
crc32c
libcrc32c
btrfs


I discovered that after a lot of tests...

And for what matters, on my fedora laptop (yes the root fs is btrfs)  the 
hibernation seems to work; even tough after the resume an error message 
appeared.

> 
> Thanks for any advise and have a good day,
> Thomas

BR
G.Baroncelli
-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijackATinwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ubuntu and btrfs root fs
  2010-01-21 18:35 ` Ubuntu and btrfs root fs Goffredo Baroncelli
@ 2010-01-21 22:40   ` Thomas Kupper
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Kupper @ 2010-01-21 22:40 UTC (permalink / raw)
  To: Goffredo Baroncelli; +Cc: linux-btrfs

Hi Goffredo,

On 21 Jan 2010, at 19:35, Goffredo Baroncelli wrote:

> On Thursday 21 January 2010, you (Thomas Kupper) wrote:
>> Hello Goffredo,
>> 
>> I thought maybe email is a more practial way to ask you about it. But if 
> there's a better place in your opinion (mailling list?) let me know.
> 
> I cc'ed the btrfs-mailing list.
> 
> 
> [speaking about a btrfs setup for a root filesystem]
>> 
>> After setting the permissions on the rootfs folder right it boots with my 
> kernel (Hypernation doesn't work although). I did compile the btrfs module 
> into the kernel but would like to use a stock kernel with an updated initrd 
> image.
>> 
>> As you I now additionally installed the 2.6.32-10-generic kernel but tried 
> to use the stock btrfs. But it drops to BusyBox because it can't load the 
> btrfs module ... because of the libcrc32c module can't be loaded. libcrc32c 
> can't be loaded because of a unknown symbol crc32c (of course I added btrfs to 
> the module file of initramfs-tools)
> [...]
> 
> The list of btrfs dependencies is
> 
> $ cat /etc/initramfs-tools/modules
> [..]
> zlib_deflate
> crc32c
> libcrc32c
> btrfs
> 
> 
> I discovered that after a lot of tests...
> 
Now I got working! I summed up two errors, too bad. I was close with the list of modules but forgot to update grub2 (have to do it manually) and I didn't realize that I was booting of an older kernel which I haven't updated the initrd for.
Works great now, thanks a million!

> And for what matters, on my fedora laptop (yes the root fs is btrfs)  the 
> hibernation seems to work; even tough after the resume an error message 
> appeared.
> 
Well, that bit still doesn't work, there's just one line in dmesg:

...
[   1.019071] PM: Resume from disk failed.
...

Have to debug that further, not most critical feature for me since a full boot takes as long as resume on my aging laptop.

>> 
>> Thanks for any advise and have a good day,
>> Thomas
> 
> BR
> G.Baroncelli
> -- 
> gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijackATinwind.it>
> Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

o/
Thomas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-21 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4A7FF988-4F77-4358-8F47-3DF32289D92F@kupper.org>
2010-01-21 18:35 ` Ubuntu and btrfs root fs Goffredo Baroncelli
2010-01-21 22:40   ` Thomas Kupper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox