Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp851002imm; Fri, 12 Oct 2018 07:42:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV60+S/DEk28aNBjqSBWl9tQGyLk85RieNCFqmZIUkGUtc+6r+fIc7cQEmvs/fLF+aFV8fGmd X-Received: by 2002:a17:902:d881:: with SMTP id b1-v6mr6404057plz.10.1539355377979; Fri, 12 Oct 2018 07:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539355377; cv=none; d=google.com; s=arc-20160816; b=Pifz2gz9P4a9/lLyKJ8ErG46vWm/U2+lobg/YYsZKyVOB9riyu8o3xBMC/z27FooJ0 40lU0rapR9XTXvtsGqWm0YI2JhqWAOjnlQnkeedAzSUJL8T6LwQvvlvK8X/RmAoCkNpa /5VP2SerrcxGmYl6OzztoH0NUiLKXdP+pYlB7jyyREJ6CszIDylWF1/3azZ9vkb7bpI2 uvHuk9jJ/RaADJLsNu+xG/2ulZNjYvu25N6hCl79aBtfScccrmchSvPAAeT6l45B9lfQ pRnnBK7oxFNWCCWfV7ESkXUobbuiwI1dzQuVQJoGuO6L8UD0pHD+cL79VqobnlAmjg+4 FOoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=WjgFyqyRa78f+1i5JkGQPsMS31A9+K6HH+fpTDCIC6Q=; b=QXShbpBl9xK5NxspMM8dmoD7Q5fR+ZIqJgE/nH+1aPDBN5gbMuxsQDdBdQkLorI3Fm e08zImk35qGBjXT9gMg382AliOPD0TLjBCkTN3WoLdk5mfFibX2GS8j90lUh8vHSPxNi xtic7XDYh42CCkONjJqFyuoBBuM1nI2ntniJf/Z8PicBordvRHbnpHYsuDGwVv26Skqq PQqClnkOmkZ1w+yrPJvtRlBKc0Txvx48tcMBzE0h8KSUjZCP1Aj9VJrDYLrDHq7zjKp5 zIZCrR37vkm3ZD6wKnzLbJMlqEOpaAra9dQke6unOZsh5fYi85CzfoZwR0BPBAF7/fEW RzUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kwIDdQxg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x33-v6si1311070pga.246.2018.10.12.07.42.43; Fri, 12 Oct 2018 07:42:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kwIDdQxg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728960AbeJLWPK (ORCPT + 99 others); Fri, 12 Oct 2018 18:15:10 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:38280 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728804AbeJLWPJ (ORCPT ); Fri, 12 Oct 2018 18:15:09 -0400 Received: by mail-io1-f65.google.com with SMTP id n5-v6so9382766ioh.5 for ; Fri, 12 Oct 2018 07:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WjgFyqyRa78f+1i5JkGQPsMS31A9+K6HH+fpTDCIC6Q=; b=kwIDdQxg8AVBSU326jP4keInmQpRhsxE8JZGrjH20BRUGG8apUXqnFIU9RZkSmuXxf AfqusWMsc6ZB0+lUrbQGbVilhuzzoNlvwuslYamrznTRLT6QTUe+lK5o76+A7qZ2uFUK jKY8T0W1Dvp/rKCUPdbmoPocXGVVWJIP2swrwfnnL3EtF/nd5OXhflAFQ1CPRKiusEKT APOXJ3RS87qgzgp5vB8AYnb5wOiW99JxkHMSACgnxA4kMRoYxodHVnQP4xV9D+/Ay50Z ZHeeHjHEKitQs7R+cv5hxKv+6AEcRfE7KRGhrKD10IMTYIL7cAnQYXK1zXNV9fRDWYnv MLsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WjgFyqyRa78f+1i5JkGQPsMS31A9+K6HH+fpTDCIC6Q=; b=C9gowsRJSmlGyPZNGsttUy9eZG6KI0brg4HRuXEHFl5jmm8S89hawHMNvFtF/7WPfd 3SYEwLVmI3MVwb3L7Tpy3yjZ98iavmFvzIHYeP6F0dMBb9+ZJSpb7X/GXJEPm5uJWNOg /TtHay2emwpPd7PIGkoXcARjxATtwQotQLjBXOAe6mlVLM2Rf5q25FemhtELEah2AC/R /ryQ2kctU7j5CtNTIn7PN3erHQ3YSerLsvCIreiwlovF2jGBTEkxA4yX9rDSEbdG7Mje Hiu2D0Guy7JqMiuMP2c12t4D1xifuNQYjCRWe4tHvL06aawT/LD/RWf27IqoCqalRE6m w5bQ== X-Gm-Message-State: ABuFfohjAJdQAYfcm76Xi62GhpexFawSAlhGpF7RtlxUQZTlcJAi450E b7wo/2wW7zX75dTb9LmXs7FZAPSCShxrfcEkfESr2+oV X-Received: by 2002:a6b:f10f:: with SMTP id e15-v6mr4082445iog.271.1539355342427; Fri, 12 Oct 2018 07:42:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:1003:0:0:0:0:0 with HTTP; Fri, 12 Oct 2018 07:42:01 -0700 (PDT) In-Reply-To: <20181011142808.GC32030@nautica> References: <000000000000fddb150577c15af6@google.com> <20181009020949.GA29622@nautica> <20181010144059.GA20918@nautica> <20181010155814.GC20918@nautica> <20181011131045.GA32030@nautica> <20181011142808.GC32030@nautica> From: Dmitry Vyukov Date: Fri, 12 Oct 2018 16:42:01 +0200 Message-ID: Subject: Re: 9p/RDMA for syzkaller (Was: BUG: corrupted list in p9_read_work) To: Dominique Martinet Cc: Leon Romanovsky , syzbot , David Miller , Eric Van Hensbergen , LKML , Latchesar Ionkov , netdev , Ron Minnich , syzkaller-bugs , v9fs-developer@lists.sourceforge.net Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 11, 2018 at 4:28 PM, Dominique Martinet wrote: > Dmitry Vyukov wrote on Thu, Oct 11, 2018: >> > Now we are talking! >> > We generally assume that all modules are simply compiled into kernel. >> > At least that's we have on syzbot. If somebody can't compile them in, >> > we can suggest to add modprobe into init. >> > So this boils down to just writing to /sys/module/rdma_rxe/parameters/add. >> >> This fails for me: >> >> root@syzkaller:~# echo -n syz1 > /sys/module/rdma_rxe/parameters/add >> [20992.905406] rdma_rxe: interface syz1 not found >> bash: echo: write error: Invalid argument > > Works here, I just did: > > [root@f2 ~]# modprobe rdma_rxe > [root@f2 ~]# echo -n ens3 > /sys/module/rdma_rxe/parameters/add > > dmesg says: > [ 35.595534] rdma_rxe: set rxe0 active > [ 35.595541] rdma_rxe: added rxe0 to ens3 > > > Actually for a dummy interface if I try the echo directly the echo > works, and a verb device is created, and I just confirmed I can use > it... so not sure why rxe_cfg said EINVAL earlier... > > [root@f2 ~]# ip link add dummy0 type dummy > [root@f2 ~]# ip link set dummy0 up > [root@f2 ~]# ip addr add 10.1.1.1/24 dev dummy0 > [root@f2 ~]# modprobe rdma_rxe > [root@f2 ~]# echo -n dummy0 > /sys/module/rdma_rxe/parameters/add > > > (then using my test client: > [root@f2 src]# ./rcat -s > INFO: trans_rdma.c (879), msk_cma_event_handler: CONNECT_REQUEST > INFO: trans_rdma.c (862), msk_cma_event_handler: ESTABLISHED > INFO: trans_rdma.c (917), msk_cma_event_handler: DISCONNECT EVENT... > > [root@f2 src]# ./rcat -c 10.1.1.1 > INFO: trans_rdma.c (862), msk_cma_event_handler: ESTABLISHED > ^C > ) > > > I assume your syz1 interface is a tap device as you were saying earlier? > Got anything in dmesg? Umm... nope, just a random string. Don't assume any prior knowledge on my side :)