How to compile bcache kernel ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have spent whole weekend by playing with bcache, but I'm still no able to build bcache kernel.

I tried get the newest kernel from git

git clone git://evilpiepirate.org/~kent/linux-bcache.git
cd linux-bcache

Ensure that bcache is enabled
cat .config | grep CONFIG_BLK_CACHE
CONFIG_BLK_CACHE=y

Build the kernel
make-kpkg --revision 1 --initrd kernel_image kernel_headers modules_image
cd ..

install it
dpkg -i *.deb
reboot
uname -a
Linux me-VirtualBox 2.6.35+ #1 SMP Sun May 15 13:38:21 CEST 2011 x86_64 x86_64 x86_64 GNU/Linux

But there is no bcache directory in /sys
ls /sys/kernel/bcache
ls: cannot access /sys/kernel/bcache: No such file or directory


and also downloaded 2.6.35-rc3 from http://www.kernel.org/pub/linux/kernel/v2.6/testing/v2.6.35/linux-2.6.35-rc3.tar.bz2 and patch it with http://evilpiepirate.org/~kent/bcache.patch.
But this kernel doesn't boot and ends in Kernel Panic...

Can You help me with building bcache kernel ?

thanks,
Pavel


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux