* Ccache on btrfs
@ 2014-10-17 17:11 Leonidas Spyropoulos
[not found] ` <CAGqmi7751HOLJ5xU+NfoZSjTQhgYME-9b36hgJt0oG6w+Ft-CA@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Leonidas Spyropoulos @ 2014-10-17 17:11 UTC (permalink / raw)
To: linux-btrfs@vger.kernel.org
Hi
Is there an issue with btrfs ccache and multiple threads during compilation? I'm experiencing kernel panics while building Linux kernel on a btrfs system with -j8 and ccache enabled. Google suggest there was some issue on earlier kernels but my kernel is 3.16+
Anyone can confirm?
Thanks
Leonidas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ccache on btrfs
[not found] ` <CAGqmi7751HOLJ5xU+NfoZSjTQhgYME-9b36hgJt0oG6w+Ft-CA@mail.gmail.com>
@ 2014-10-17 19:24 ` Leonidas Spyropoulos
2014-10-17 20:32 ` Josef Bacik
0 siblings, 1 reply; 3+ messages in thread
From: Leonidas Spyropoulos @ 2014-10-17 19:24 UTC (permalink / raw)
To: linux-btrfs@vger.kernel.org
On 17/10/14, Timofey Titovets wrote:
> i use ccache and often compile linux from git,
> I don't catch any errors with it.
>
Interesting, I re-enabled ccache on an ext4 partition (HDD) and worked
fine. So I suspect it's something to do with btrfs and SSD. My mount
options are:
/dev/sda3 on /home type btrfs (rw,relatime,ssd,discard,nospace_cache)
The problem is that I can't get hold of kernel panic since it's not in
the journal [1]. I don't know a way to get hold of the kernel panic log
to help anyway.
What would it be useful to debug it?
[1] using systemd
Leonidas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ccache on btrfs
2014-10-17 19:24 ` Leonidas Spyropoulos
@ 2014-10-17 20:32 ` Josef Bacik
0 siblings, 0 replies; 3+ messages in thread
From: Josef Bacik @ 2014-10-17 20:32 UTC (permalink / raw)
To: Leonidas Spyropoulos, linux-btrfs@vger.kernel.org
On 10/17/2014 03:24 PM, Leonidas Spyropoulos wrote:
> On 17/10/14, Timofey Titovets wrote:
>> i use ccache and often compile linux from git,
>> I don't catch any errors with it.
>>
> Interesting, I re-enabled ccache on an ext4 partition (HDD) and worked
> fine. So I suspect it's something to do with btrfs and SSD. My mount
> options are:
> /dev/sda3 on /home type btrfs (rw,relatime,ssd,discard,nospace_cache)
>
> The problem is that I can't get hold of kernel panic since it's not in
> the journal [1]. I don't know a way to get hold of the kernel panic log
> to help anyway.
>
> What would it be useful to debug it?
Setup netconsole, you can set it to go to a different box and then on
that box run
nc -lu -p 514 > out.txt
and then reproduce the panic. If you are using fedora you can install
netconsole and edit /etc/sysconfig/netconsole and set SYSLOGADDR=<your
other boxes address>. Thanks,
Josef
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-17 20:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-17 17:11 Ccache on btrfs Leonidas Spyropoulos
[not found] ` <CAGqmi7751HOLJ5xU+NfoZSjTQhgYME-9b36hgJt0oG6w+Ft-CA@mail.gmail.com>
2014-10-17 19:24 ` Leonidas Spyropoulos
2014-10-17 20:32 ` Josef Bacik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).