Date: Thu, 29 Aug 2019 21:46:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 240201] smsc floods console with warning messages "Failed to read register 0x114" and "MII is busy" Message-ID: <bug-240201-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240201 Bug ID: 240201 Summary: smsc floods console with warning messages "Failed to read register 0x114" and "MII is busy" Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: iz-rpi03@hs-karlsruhe.de In some rare to repoduce circumstances the smsc driver starts flooding the console and syslog with % Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: Failed to read register 0x= 114 % Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: MII is busy messages. This seems to be an old flaw https://lists.freebsd.org/pipermail/freebsd-arm/2015-July/011970.html which is also seen by other people https://forums.freebsd.org/threads/smsc0-problem-in-raspberry-pi1-b.69936/ recently. Now it looks like I am able to reproduce the needed circumstances. It is a RaspberryPI 3B, running a CURRENT GENERIC-NODEBUG at r351477, with a mirrored ZFS root pool. When trying to write around 2.2GByte in several files from the network into the filesystem those smsc warning messages show up. make installkernel, installworld, mergemaster or building and installing something from ports, e.g. python, does not trigger the warning messages. The system seems to stay somehow responsible, as the warnings get logged into /var/log/messages, but the USB keyboard is dead. At the moment it is possible to let the system as it is to aid debugging. Some additional information: # zpool status ... NAME STATE READ WRITE CKSUM rootpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 mmcsd0s2a ONLINE 0 0 0 da0s2a ONLINE 0 0 0 errors: No known data errors #=20 The beginning of one flooding: Aug 23 20:43:43 rpi3-b .... Aug 23 22:00:55 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:00:55 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:00:55 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:00:55 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:00:55 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:00:55 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:00:55 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:00:55 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:00:55 rpi3-b kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0= 0 01 24 d3 b8 00 00 80 00=20 Aug 23 22:00:55 rpi3-b kernel: (da0:umass-sim0:0:0:0): CAM status: CCB requ= est completed with an error Aug 23 22:00:55 rpi3-b kernel: (da0:umass-sim0:0:0:0): Retrying command, 3 = more tries remain Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:01:34 rpi3-b kernel: ue0: link state changed to DOWN Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: MII is busy Aug 23 22:01:34 rpi3-b kernel: smsc0: error: usb error on tx: USB_ERR_TIMEO= UT Aug 23 22:01:34 rpi3-b kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0= 0 01 24 d3 b8 00 00 80 00=20 Aug 23 22:01:34 rpi3-b kernel: (da0:umass-sim0:0:0:0): CAM status: CCB requ= est completed with an error Aug 23 22:01:34 rpi3-b kernel: (da0:umass-sim0:0:0:0): Retrying command, 2 = more tries remain Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 23 22:01:34 rpi3-b kernel: smsc0: warning: MII is busy Here is one from today: Aug 29 10:22:37 rpi3-b ... Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:09:48 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:09:48 rpi3-b kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0= 0 00 bc 4b 90 00 00 80 00=20 Aug 29 16:09:48 rpi3-b kernel: (da0:umass-sim0:0:0:0): CAM status: CCB requ= est completed with an error Aug 29 16:09:48 rpi3-b kernel: (da0:umass-sim0:0:0:0): Retrying command, 3 = more tries remain Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:10:22 rpi3-b kernel: ue0: link state changed to DOWN Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:10:22 rpi3-b kernel: smsc0: error: usb error on tx: USB_ERR_TIMEO= UT Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: Failed to read register 0x114 Aug 29 16:10:22 rpi3-b kernel: smsc0: warning: MII is busy Aug 29 16:10:22 rpi3-b kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0= 0 00 bc 4b 90 00 00 80 00=20 Aug 29 16:10:22 rpi3-b kernel: (da0:umass-sim0:0:0:0): CAM status: CCB requ= est completed with an error Aug 29 16:10:22 rpi3-b kernel: (da0:umass-sim0:0:0:0): Retrying command, 2 = more tries remain Best regards, Ralf --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240201-7>