qeth_l2 driver is reporting errors during initialization of the port
Issue
- Error logs are present on dmesg for Ethernet device during the initialization of the port.
- Sometimes the port is initialized without issue even if logs are present and other times the initialization is simply failing.
Sep 29 07:10:29 atest kernel: qeth: register layer 2 discipline
Sep 29 07:10:29 atest kernel: sysfs: cannot create duplicate filename '/devices/qeth/0.0.0600/bridge_role'
Sep 29 07:10:29 atest kernel: ------------[ cut here ]------------
Sep 29 07:10:29 atest kernel: WARNING: CPU: 1 PID: 865 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x8c/0xa8
Sep 29 07:10:29 atest kernel: Modules linked in: qeth_l2 zcrypt_cex4 ip_tables xfs libcrc32c dasd_fba_mod dasd_eckd_mod dasd_mod qeth ccwgroup qdio dm_mirror dm_region_hash dm_log dm_mod pkey zcrypt ap prng sha512_s390 ghash_s390 des_s390 des_generic aes_s390
Sep 29 07:10:29 atest kernel: CPU: 1 PID: 865 Comm: ccw_init Not tainted 3.10.0-1127.19.1.el7.s390x #1
Sep 29 07:10:29 atest kernel: task: 00000000f0c1a310 ti: 00000000f345c000 task.ti: 00000000f345c000
Sep 29 07:10:29 atest kernel: Krnl PSW : 0704e00180000000 00000000003b0aa4 (sysfs_warn_dup+0x8c/0xa8)
Sep 29 07:10:29 atest kernel: R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:2 PM:0 EA:3#012Krnl GPRS: 0000000000148ad8 0000000000c57f04 000000000000004c 000000000000000
Sep 29 07:10:29 atest kernel: 000000000075333e 0000000000000000 000000000078cb10 00000000000001a4
Sep 29 07:10:29 atest kernel: 000000000213c448 0000000000000000 000000007eba2960 000000007eba2960
Sep 29 07:10:29 atest kernel: 000003ff804b8a8e 00000000f1ff8000 00000000003b0aa0 00000000f345fc40
Sep 29 07:10:29 atest kernel: Krnl Code: 00000000003b0a94: c020002aef76#011larl#011%r2,90e980#012#011 00000000003b0a9a: c0e5001d141b#011brasl#011%r14,7532d0#012#011 #00000000003b0aa0: a7f40001#011#011brc#01115,3b0aa2#012#011 >00000000003b0aa4: b904002d#011#011lgr#011%r2,%r13#012#011 00000000003b0aa8: ebbff0a00004#011lmg#011%r11,%r15,160(%r15)#012#011 00000000003b0aae: c0f4fff9b19d#011brcl#01115,2e6de8#012#011 00000000003b0ab4: a7390000#011#011lghi#011%r3,0#012#011 00000000003b0ab8: a7f4ffec#011#011brc#01115,3b0a90
Sep 29 07:10:29 atest kernel: Call Trace:
Sep 29 07:10:29 atest kernel: ([<00000000003b0aa0>] sysfs_warn_dup+0x88/0xa8)
Sep 29 07:10:29 atest kernel: [<00000000003b061a>] sysfs_add_file_mode_ns+0x18a/0x190
Sep 29 07:10:29 atest kernel: [<00000000003b19f8>] internal_create_group+0x100/0x268
Sep 29 07:10:29 atest kernel: [<000003ff804b41f4>] qeth_l2_probe_device+0xac/0xb8 [qeth_l2]
Sep 29 07:10:29 atest kernel: [<000003ff8016708a>] qeth_dev_layer2_store+0x13a/0x168 [qeth]
Sep 29 07:10:29 atest kernel: [<00000000003aec4c>] kernfs_fop_write+0x114/0x198
Sep 29 07:10:29 atest kernel: [<000000000030585a>] vfs_write+0xba/0x1e8
Sep 29 07:10:29 atest kernel: [<0000000000306824>] SyS_write+0x84/0x128
Sep 29 07:10:29 atest kernel: [<00000000007622cc>] sysc_nr_ok+0x22/0x2c
Sep 29 07:10:29 atest kernel: [<000003ff8c0fc9c8>] 0x3ff8c0fc9c8
Sep 29 07:10:29 atest kernel: Last Breaking-Event-Address:
Sep 29 07:10:29 atest kernel: [<00000000003b0aa0>] sysfs_warn_dup+0x88/0xa8
Sep 29 07:10:29 atest kernel: ---[ end trace dc142a293ea01347 ]---
Sep 29 07:10:29 atest kernel: qeth 0.0.0600: The qeth device driver failed to recover an error on the device
Sep 29 07:10:29 atest kernel: qeth: irb 00000000: 00 c2 60 17 7e a0 80 38 0e 00 10 00 00 80 00 00 ..`.~..8........
Sep 29 07:10:29 atest kernel: qeth: irb 00000010: 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 29 07:10:29 atest kernel: qeth: sense data 00000000: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 29 07:10:29 atest kernel: qeth: sense data 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Sep 29 07:10:29 atest kernel: qeth 0.0.0600: The qeth device driver failed to recover an error on the device
Sep 29 07:10:29 atest kernel: netif_napi_add() called with weight 128 on device eth%d
Sep 29 07:10:29 atest kernel: qeth 0.0.0600: MAC address 02:00:09:00:00:1e successfully registered on device eth0
Sep 29 07:10:29 atest kernel: qeth 0.0.0600: Device is a Virtual NIC QDIO card (level: V713)#012with link type Virt.NIC QDIO (portname: 2178)
Environment
- Red Hat Enterprise Linux 7
- IBM Z
- s390x architecture
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.