Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932067AbcCHP3h (ORCPT ); Tue, 8 Mar 2016 10:29:37 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34419 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbcCHP33 (ORCPT ); Tue, 8 Mar 2016 10:29:29 -0500 Date: Tue, 8 Mar 2016 16:29:24 +0100 From: Ingo Molnar To: Peter Zijlstra , Dmitry Vyukov Cc: Wang Nan , mingo@redhat.com, linux-kernel@vger.kernel.org, He Kuang , Alexei Starovoitov , Arnaldo Carvalho de Melo , Brendan Gregg , Jiri Olsa , Masami Hiramatsu , Namhyung Kim , Zefan Li , pi3orama@163.com Subject: Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Message-ID: <20160308152924.GB9147@gmail.com> References: <1457322619-170254-1-git-send-email-wangnan0@huawei.com> <20160308134454.GY6344@twins.programming.kicks-ass.net> <20160308134901.GC19756@gmail.com> <20160308135759.GH6356@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160308135759.GH6356@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2058 Lines: 50 * Peter Zijlstra wrote: > Here's a thread on syz-kaller: > > lkml.kernel.org/r/CACT4Y+Ym0TZLkmRrM0ZGgLpu8kqS-YjoWTMrvaLz=tx2tnyO3w@mail.gmail.com > > If things have shifted again I'm sure Dmitry is willing to help. So I tried to install 'go' but it's a _really_ unintuitive tool I have to say. I installed golang-go on Ubuntu, which gave me a 'go' command: triton:~> go version go version go1.5.1 linux/amd64 that was the only step that worked. It's a dead end from that point on: triton:~> go get github.com/google/syzkaller package github.com/google/syzkaller: cannot download, $GOPATH not set. For more details see: go help gopath ok, so lets set GOPATH to the distro src directory: triton:~> export GOPATH=/usr/lib/go/src/ triton:~> go get github.com/google/syzkaller package github.com/google/syzkaller: mkdir /usr/lib/go/src/src: permission denied btw., this is what the directory contains: triton:~> ls /usr/lib/go/src/ all.bash bootstrap.bash bytes compress debug flag html io make.bat nacltest.bash race.bash run.bash strconv testing unsafe all.bat bufio clean.bash container encoding fmt image iostest.bash Make.dist net race.bat run.bat strings text androidtest.bash buildall.bash clean.bat crypto errors go index log math os reflect runtime sync time archive builtin cmd database expvar hash internal make.bash mime path regexp sort syscall unicode so, according to the error message it wants a writable directory. Lets try it that way: triton:~> mkdir go triton:~> triton:~> export GOPATH=/home/mingo/go/ triton:~> go get github.com/google/syzkaller can't load package: package github.com/google/syzkaller: no buildable Go source files in /home/mingo/go/src/github.com/google/syzkaller looks like someone wants 'Go' to be used as little as possible! ;-) Thanks, Ingo