From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39D7AC32750 for ; Tue, 13 Aug 2019 14:28:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0BF102067D for ; Tue, 13 Aug 2019 14:28:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="oRwFbK/a" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729551AbfHMO2l (ORCPT ); Tue, 13 Aug 2019 10:28:41 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:44990 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728681AbfHMO2l (ORCPT ); Tue, 13 Aug 2019 10:28:41 -0400 Received: by mail-ot1-f68.google.com with SMTP id w4so5998473ote.11 for ; Tue, 13 Aug 2019 07:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EGE30nOZT5K+NX+TVv0ZpoRS3fgZeiZCXeoj6PCI09w=; b=oRwFbK/akWqLZNnM9R9bFSlLh+siffUaqcsG4pH5e21Q74fI+o59X9+W3QVzXbqqAh t4C74Jk7AOEkwsTuEMalWAmpwhlv3Kd8myMl6V8aD0OKuEvHe09inEmWr8JFlvBIILAE bNIImCK2fdhneXH5pZ9E9l3bD3R7hniio4gGR0XPZb1fHHqJf/tkejhPP3Jfju8soQ0Q J1AazUIqqRL+AAZkYixSZn36PQCMsOhz6GGEeh5lErW5Y1gDvfC9+1mrKDIy7QFBxhjT w0xx6RVi1BDXbwuV7V6DXRoPZEQBiu+k/9ErKvNypx2C5voFhAdSBiJi8fe/kKJqC+Ru RE3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EGE30nOZT5K+NX+TVv0ZpoRS3fgZeiZCXeoj6PCI09w=; b=fP2ks0pKD+sVQceCKIWpJMeQFeJWzgm2CWaU6S1ozO154J4ILyCFPgVXvXpGpiW9bB Jxic+SZRta9P707mRsztVXRG249UebzpRq82axADtnjhG2MpJAuQLWoUmCwtq8uAWSYR bIXueLJdAlj4HDGFAbDGecSmJ0h5xW+4o5Tq/oIYLMPhd130x2DIiY3zQuGNtm/5bwIL zgoNbWF/Fz2wvLlTwdVsgQ/KDr+gPmbR6/N/F0ZtcNozpqNJhbZqYbRP8Fqcx68Oedl/ 9HuZisZ0AIxYSWos3MKaRr7WcqX7B5pByFEOMJKXhr9wT8LGYp/BzkKCtEVx2QujTofA WMWQ== X-Gm-Message-State: APjAAAUt5MMSiEOtkJsxUy81qPYSO1eh5dsqMnWss7aql2XQCtkzQBVQ EC12Ak0S8Wt6bmyryVykpz9BSIFTQE2mAROiu8j/18H1orPCdQ== X-Google-Smtp-Source: APXvYqwlq1LkEmHZGn0qkIw6FNb+sqMzHT6Uz+MVyhL1/eMC+7YxAyStCbIPQRImgvsV4ec37Zf3Vjv7m+yElymKlbg= X-Received: by 2002:a02:ca0c:: with SMTP id i12mr25239794jak.82.1565706520008; Tue, 13 Aug 2019 07:28:40 -0700 (PDT) MIME-Version: 1.0 References: <0000000000004c2416058c594b30@google.com> <24282.1562074644@warthog.procyon.org.uk> <20330.1564583454@warthog.procyon.org.uk> <22318.1564586386@warthog.procyon.org.uk> <3135.1565706180@warthog.procyon.org.uk> In-Reply-To: <3135.1565706180@warthog.procyon.org.uk> From: Dmitry Vyukov Date: Tue, 13 Aug 2019 16:28:26 +0200 Message-ID: Subject: Re: kernel BUG at net/rxrpc/local_object.c:LINE! To: David Howells Cc: syzbot , Eric Biggers , David Miller , linux-afs@lists.infradead.org, LKML , netdev , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Aug 13, 2019 at 4:23 PM David Howells wrote: > > Dmitry Vyukov wrote: > > > > > Please send a patch for testing that enables this tracing > > > > unconditionally. This should have the same effect. There is no way to > > > > hook into a middle of the automated process and arbitrary tune things. > > > > > > I don't know how to do that off hand. Do you have an example? > > > > Few messages above I asked it to test: > > https://groups.google.com/d/msg/syzkaller-bugs/gEnZkmEWf1s/r2_X_KVQAQAJ > > > > Basically, git repo + branch + patch. Here are the docs: > > https://github.com/google/syzkaller/blob/master/docs/syzbot.md#testing-patches > > I meant that I don't know how to turn a tracepoint on from inside the kernel. This /sys/kernel/debug/tracing/events/rxrpc/rxrpc_local/enable in: echo 1 > /sys/kernel/debug/tracing/events/rxrpc/rxrpc_local/enable should map to some global variable, right? If so, it should be possible to initialize that var to 1 statically. Or that won't work for some reason?