[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 May 2019 15:38:56 +0800
From: kernel test robot <lkp@...el.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, mlxsw@...lanox.com,
jakub.kicinski@...ronome.com, lkp@...org
Subject: [devlink] 7d172b8be5:
WARNING:at_net/core/devlink.c:#devlink_port_type_warn
FYI, we noticed the following commit (built with gcc-7):
commit: 7d172b8be57c2150fa5ce9642b677859aba7aec0 ("devlink: add warning in case driver does not set port type")
bash: warning:
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------------+------------+------------+
| | 8ef988b914 | 7d172b8be5 |
+-------------------------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 0 | 4 |
| WARNING:at_net/core/devlink.c:#devlink_port_type_warn | 0 | 4 |
| RIP:devlink_port_type_warn | 0 | 4 |
+-------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>
[ 44.924626] WARNING: CPU: 0 PID: 223 at net/core/devlink.c:5396 devlink_port_type_warn+0xc/0x10
[ 44.928075] CPU: 0 PID: 223 Comm: kworker/0:3 Tainted: G T 5.1.0-rc7-01593-g7d172b8 #1
[ 44.930382] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 44.932317] Workqueue: events devlink_port_type_warn
[ 44.933858] RIP: 0010:devlink_port_type_warn+0xc/0x10
[ 44.935285] Code: eb 91 ba a6 ff ff ff eb b1 ba f4 ff ff ff eb aa 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 c7 c7 50 3d 6a 82 e8 94 e3 74 ff <0f> 0b c3 90 41 55 41 54 41 89 f5 55 53 48 89 fb 49 89 d4 80 7b 2c
[ 44.940208] RSP: 0000:ffffc9000043fe68 EFLAGS: 00010292
[ 44.941632] RAX: 0000000000000022 RBX: ffff88806506aaa0 RCX: 0000000000000006
[ 44.943516] RDX: 0000000000000006 RSI: ffff88807fbe6ca0 RDI: ffff88807fbe6a40
[ 44.945078] RBP: ffffc9000043fec8 R08: 0000000000000000 R09: 0000000000000000
[ 44.946714] R10: ffffc9000043fd88 R11: 0000000000000000 R12: ffffffff8285f3a0
[ 44.948410] R13: ffff88807b8c2600 R14: 0000000000000000 R15: ffff88806506aaa8
[ 44.950069] FS: 0000000000000000(0000) GS:ffffffff82848000(0000) knlGS:0000000000000000
[ 44.951940] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 44.953245] CR2: 0000565234e78030 CR3: 000000007e7af000 CR4: 00000000000006f0
[ 44.954870] DR0: 00007f5493f29000 DR1: 0000000000000000 DR2: 0000000000000000
[ 44.956508] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[ 44.958168] Call Trace:
[ 44.958772] ? process_one_work+0x252/0x570
[ 44.959820] ? worker_thread+0x37/0x380
[ 44.960650] ? process_one_work+0x570/0x570
[ 44.961666] ? kthread+0x117/0x130
[ 44.962435] ? __kthread_create_on_node+0x180/0x180
[ 44.963626] ? ret_from_fork+0x24/0x30
[ 44.964455] irq event stamp: 5984
[ 44.965271] hardirqs last enabled at (5983): [<ffffffff8114d088>] vprintk_emit+0xf8/0x270
[ 44.967144] hardirqs last disabled at (5984): [<ffffffff81002e55>] trace_hardirqs_off_thunk+0x1a/0x1c
[ 44.969511] softirqs last enabled at (5902): [<ffffffff81306cb8>] nfs_write_completion+0x138/0x140
[ 44.971664] softirqs last disabled at (5898): [<ffffffff8121a419>] wb_wakeup_delayed+0x29/0x60
[ 44.973677] ---[ end trace 5f94219778cf162c ]---
To reproduce:
# build kernel
cd linux
cp config-5.1.0-rc7-01593-g7d172b8 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
View attachment "config-5.1.0-rc7-01593-g7d172b8" of type "text/plain" (96834 bytes)
View attachment "job-script" of type "text/plain" (4435 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (19488 bytes)
View attachment "trinity" of type "text/plain" (5362 bytes)
Powered by blists - more mailing lists