sounds logical … but if the issue “waiting for phy” is not succeeding, how do I find out what’s missing?
I tried compiling with soft and hard lockups, hung tasks etc, but that didn’t show anything. I tried top to see whether that would reveal where it was stuck, but nothing either. how can I find out at which function it gets stuck when the “detect hung tasks” doesn’t work?
yes, but before I’m starting to hack around in a kernel which is supposed to be stable one day or another … what are the consequences of “no phy detected”? if the impact is pretty minimal, it may simply not be worth it waiting for the phy to get detected; the link works perfectly
If no phy is detected it maybe has issues with different speeds because a phy can adapt the rate and report host system to limit data. Without phy detected you may have packet loss which needs to be resent (tcp).
I’d love to, do you accidentally have a tftp compatible initrd image I can fetch from u-boot? Emmc isn’t empty + I already used my sdcard for something else
EDIT: for what it’s worth:
mdio
fixed-0
i2c:sfp1
i2c:sfp2
mdio-bus
mt7530-0
r8169-1-300
r8169-1-400
root@OpenWrt:/# mdio fixed-0
DEV PHY-ID LINK
root@OpenWrt:/# mdio i2c\:sfp2
ERROR: Unable to read status (-95)
root@OpenWrt:/# mdio i2c\:sfp1
ERROR: Unable to read status (-95)
I’ll backup the emmc contents + install your image
I haven’t tried emmc on R4 myself, but should be ok.
It wouldn’t hurt to get an extra 32GB sd card for a few euros, just for some experimenting. SD installation is simpler then emmc. Get a sandisk sd card from a respectable IT store, minimizing chances it is not a fake.
To me this sounds like an invitation to end up with a fake. I would never buy microSD from any third party. I often had to, because there was no time. Went to the mall, to large consumer electronic outlets, FNAC, Worten, RadioPopular are the biggest in Portugal where I live. I’ve bought both Kingston and Sandisk high-end microSD there – and ended up with fake (vendor id: 1234, very slow, corrupted data after first time format, …) many times.
Honestly, the only thing I can recommend to everyone: Go to samsung.com and buy directly from there. Don’t even trust Amazon. It may sound crazy, but what I’ve seen is crazy, and everyone with a bit of bad luck can confirm that. Supply chains even of major consumer electronic outlets are all fundamentally broken when it comes to microSDs and pendrives, prone to be selling counterfeit goods without knowing it themselves. F**k retail.
There are many websites which do microSD forensics. It is scary what you see there.
Yes, when I remove those sfp cages, the output is different (al xx instead of whatever hex number you may see above), i got 2 of those modules, they are at bus 3 and 4, the output does not change when inserting a RJ45 cable
EDIT looks like I was wrong.
This is with a cable attached: