Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2252119imm; Thu, 11 Oct 2018 07:29:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV63DO8R6NctS5VWxKP6G4lnxPF3UKjwRRJzJQHXd+2xN/Cs6TzUlVJUVxgS4I68YRmI1GX63 X-Received: by 2002:a63:e141:: with SMTP id h1-v6mr1667666pgk.47.1539268146487; Thu, 11 Oct 2018 07:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539268146; cv=none; d=google.com; s=arc-20160816; b=BrWP07mWl0e4bA8tEQa4wmc+1UcBVJySMjgvCZSmEC3sgFh10qErmMroerQWvc7Hgc 7/F2+1NnUSxJlJ0FMomqfahi4Ou0X6XhvpQhun8+Lh7hPGnM9OnZHVQvFBmmoQO4tCfV ZE5TNCecBMdGaU6NsacT3pKT8yf/ZVppH6SX7XwbNR/hiU/M9R9+U7YEnwVDCJV/XNUN l2psIPiIdOkBtnv5lS4Kec9Eb4gCKkn2f+RpOxNcsJ/SIH/e7DTUmaj5DKHMX2snfA/C KnIpjdYYx/sH6432K0vmOSY2hba/fJ+fbj4nJr6f5X1bLBxijctYWBkdtHiGbMhh+TPR C/0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=b1q7Fqjkaby9qMXYlV+xljpNZxm51J8P4CLg/wjjkqU=; b=Jx+W7E23Dcuq5PAv62G0C1To3GZwOwqXNGjZgvRNs6Z7CPW6V9V6NzqW3Z5z5JJvzN SclPABy105iJYuBQLuVV6n0Iw9q/J0icLC9pesYodmdOQCnJ+CHyPA8Fwvb3wTlyt8m9 KjxntNAg0xPL9HcAi44jtSMzcKCAeYju378l8DyXzMHK0pRgKl6u/UlnBwHx4akKiLRC UlKVPtjQTRueaFlmRljAzZxGaoopYzKuVVAO1KWbWn7hi/FcfxyMVt0ySL8Joa72du40 HWuW1zrqq0FNJzF4DKq0MQ6CWIbDH4ejpPPUi7yh4ihT9LsOUSRzIop/YR3nWEmVgQ7C f2Lw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l136-v6si31418856pfd.132.2018.10.11.07.28.51; Thu, 11 Oct 2018 07:29:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728648AbeJKVzv (ORCPT + 99 others); Thu, 11 Oct 2018 17:55:51 -0400 Received: from nautica.notk.org ([91.121.71.147]:45963 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbeJKVzu (ORCPT ); Thu, 11 Oct 2018 17:55:50 -0400 Received: by nautica.notk.org (Postfix, from userid 1001) id 532AFC009; Thu, 11 Oct 2018 16:28:23 +0200 (CEST) Date: Thu, 11 Oct 2018 16:28:08 +0200 From: Dominique Martinet To: Dmitry Vyukov Cc: Leon Romanovsky , syzbot , David Miller , Eric Van Hensbergen , LKML , Latchesar Ionkov , netdev , Ron Minnich , syzkaller-bugs , v9fs-developer@lists.sourceforge.net Subject: 9p/RDMA for syzkaller (Was: BUG: corrupted list in p9_read_work) Message-ID: <20181011142808.GC32030@nautica> References: <000000000000fddb150577c15af6@google.com> <20181009020949.GA29622@nautica> <20181010144059.GA20918@nautica> <20181010155814.GC20918@nautica> <20181011131045.GA32030@nautica> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Dominique