RE: Missing /sys/fs/bcache

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

 



Hi Greg,

Sorry - guess I misunderstood.

That is exactly what I did and I had /sys/fs/bcache immediately.

Maybe double check in 'make menuconfig' that bcache support is actually enabled?  (I think it's under block devices)

I remember I had some troubles compiling at one point and had to disable one of the sub-entries under bcache in menuconfig.  (cgroups I think it was) I was actually getting compile errors though so it is probably not this since your compile sounds like it went through.

Maybe kern.log (or the boot log) might show a useful error somewhere.

Sorry if that's no help - you might have to wait for Kent or someone with more experience to show up.

Best of luck,

James

-----Original Message-----
From: Greg Zapp [mailto:greg.zapp@xxxxxxxxx]
Sent: 12 March 2013 01:53
To: James Sefton
Subject: Re: Missing /sys/fs/bcache

Hi James,

Thank you for your response.  I have actually checked out Kent's
bcache-3.2 branch which includes the the entire kernel.  I compiled that and booted it up.

Cheers,
   Greg

On Tue, Mar 12, 2013 at 2:42 PM, James Sefton <james@xxxxxxxxxxxx> wrote:
> Hi Greg,
>
> I may well be wrong but I think bcache requires the patched kernel to run.  I don't think it can simply be compiled as a loadable module.
>
> I have not used the latest versions so I could well be wrong here.
>
> If building a modules is supported now and you have compiled a module for bcache then maybe it is not loaded?
>
> Check the output of 'lsmod' for a bcache entry.
>
> If it is not listed then you can probably load the module with:
>
> insmod <module name>
>
> Like I said above tho, to my knowledge you have to patch the kernel.
>
> I am sure someone more knowledgeable will be around soon enough to 
> give you a proper answer. (They are usually pretty decent at
> answering)
>
> Hope this helps a bit,
>
> James
>
> -----Original Message-----
> From: linux-bcache-owner@xxxxxxxxxxxxxxx
> [mailto:linux-bcache-owner@xxxxxxxxxxxxxxx] On Behalf Of Greg Zapp
> Sent: 12 March 2013 01:36
> To: linux-bcache@xxxxxxxxxxxxxxx
> Subject: Missing /sys/fs/bcache
>
> Hello All,
>
> I have decided to just test the bcache-3.2 branch for now without patching the Ubuntu Kernel.  I've built and installed it successfully but for some reason /sys/fs/bcache is not present:
> root@server:~# uname -a
> Linux server.local 3.2.28+ #1 SMP Tue Mar 12 01:28:27 NZDT 2013 x86_64
> x86_64 x86_64 GNU/Linux
> root@server:~# ls /sys/fs
> cgroup  ecryptfs  ext4  fuse
>
> I'm sure I've done something wrong, would anybody be able to point me in the right direction?
>
> Thanks,
>    Greg
> --
> To unsubscribe from this list: send the line "unsubscribe 
> linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx 
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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