lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 30 Dec 2019 08:53:05 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Russell King <rmk+kernel@...linux.org.uk>
Cc:     "David S. Miller" <davem@...emloft.net>,
        LKML <linux-kernel@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        lkp@...ts.01.org
Subject: [net] 2203cbf2c8:
 kmsg.dsa-loop_fixed-#:#f_lan1(uninitialized):error_creating_PHYLINK

FYI, we noticed the following commit (built with gcc-7):

commit: 2203cbf2c8b58a1e3bef98c47531d431d11639a0 ("net: sfp: move fwnode parsing into sfp-bus layer")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+-------------------------------------------------------------------+------------+------------+
|                                                                   | 9370f2d05a | 2203cbf2c8 |
+-------------------------------------------------------------------+------------+------------+
| boot_successes                                                    | 0          | 0          |
| boot_failures                                                     | 6          | 6          |
| WARNING:at_fs/open.c:#do_dentry_open                              | 6          | 6          |
| RIP:do_dentry_open                                                | 6          | 6          |
| dsa-loop_fixed-#:#f_lan1(uninitialized):unable_to_attach_SFP_bus  | 6          | 6          |
| dsa-loop_fixed-#:#f_lan1(uninitialized):error_creating_PHYLINK    | 6          | 6          |
+-------------------------------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>


[   38.403301] dsa-loop fixed-0:1f: DSA mockup driver: 0x1f
[   38.421486] libphy: dsa slave smi: probed
[   38.424643] dsa-loop fixed-0:1f lan1 (uninitialized): unable to attach SFP bus: -22
[   38.426047] dsa-loop fixed-0:1f lan1 (uninitialized): error creating PHYLINK: -22
[   38.427369] e1000 0000:00:03.0 eth0: error -22 setting up slave phy
[   38.432020] dsa-loop: probe of fixed-0:1f failed with error -22


To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc1-00566-g2203cbf2c8b58 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare 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,
Rong Chen


View attachment "config-5.4.0-rc1-00566-g2203cbf2c8b58" of type "text/plain" (152084 bytes)

View attachment "job-script" of type "text/plain" (4731 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (20700 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ