fwiw, I’m seeing what appears to be this same issue on the latest board I’ve bought - occasionally there is no Ethernet connectivity on power-up, a physical power off/on always resolves it…
This is a rev B board, running the latest Debian test image with beta 3.13 kernel, and has happened on both USB and DC power.
Does anyone happen to know if the 3.8 kernel compiled as per these instructions here http://eewiki.net/display/linuxonarm/BeagleBone+Black also contains the fix? I have a root file system already that I want to use but would like to update my kernel to fix this problem.
Sorry, "the fix" is too generic of a term, therefore I can neither
confirm nor deny it. Either way, that 3.8 branch listed is the one
currently used in all debian/ubuntu images being shipped.
I have seen this problem repeatedly by A6 revision hardware, but not with revision A5C hardware (I am running exactly the same software on both).
Noteworthy is that the “PHY problem” only appears when powering the BBB via the headers. Powering via USB does not give any problems.
I tried the following:
-Use the kernel from the v3.8.13-bone40 image
-Change some lines in davinci_mdio.c to hardcode the mask to 0 (“desperately scan all phys”)
Both tries weren’t lucky. It seems to me that the CPU cannot find the PHY chip, because it never powers up.
I'm powering my BBB using P9 pins 1/2 for 0v and 5/6 for +5v, I'm
using the 'real' ethernet connection and it works fine. It has run
with no problems for at least 24 hours, staying connected (ssh) to my
desktop computer.
After upgrading to the new kernel I setup a script to constantly soft reboot a revision B beaglebone black and have not seen the ethernet lockup once after some 800 consecutive reboots. With the old kernel I did see the ethernet lockup after soft reboots on the same board.
I did however see the libphy: PHY 4a101000.mdio:01 not found message on rebooting many times.
When you say you see the “PHY problem repeatedly” do you mean you see the error messages on boot or have you actually seen the ethernet fail?
I know our company appreciates the cape support, so thanks for supporting it
Been watching this thread anxiously for a while. So glad to see a fix was made, but we are using an Ubuntu 12.04 build for ARM (we really wanted to use Ubuntu to be consistent with our other field deployments). Rob, can you point us to the source changes that were made for this issue so that we can patch our kernel or whatever needs to be patched so we can get a fix in?
Not sure my original post got posted, so at risk of double-posting I’m going to post again (sorry).
Gerald, my company loves the Cape support. Sorry, but thank you for supporting it! It has made what we’re doing with the BeagleBone Black capable!
Rob, regarding the OS patch - can you point us to where the source to the patch is? We use Ubuntu 12.04 to be consistent with our other platforms, so we’d like to apply the patch ourselves. We’ve seen this issue a concerning amount of times… in fact, the Ethernet will just drop out, and we have software to detect this and issue a reset and that’s when the PHY is not detected until we completely drop and re-apply power.
I’m using 3.14.4 kernel (latest stable) - and ‘the fix’ doesn’t seem to have been pushed there - could you give more information about what ‘the fix’ is?