<Xogium>
asking because I'm tempted to migrate to 5.3 kernel but still unsure about it since I run on eMMC
<pigiron>
Yes, and I have the one that was failing with the 5.2 kernel. That's why I was waiting so much for 5.3, because that problem is fixed in that version. And then I immediately ran into this problem :-(
<Xogium>
pigiron: hah
<Xogium>
pigiron: did the speed improve on eMMC ? Or does it still gets limited at 80 mb/s or so ?
<Xogium>
I can try the 5.3 kernel too :)
<pigiron>
hmm... I've never tested the speed. But it sure "feels" a LOT faster than the SD card.
<Xogium>
oh yeah it is faster
<Xogium>
hdparm -Tt can give you the speed
<Xogium>
both buffered and non-buffered
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
<pigiron>
You can read the long and sad eMMC story here (but it has a happy ending):
<Tartarus>
FWIW, eMMC works on my S905 board but the v5.2 kernel in meta-meson seems very unstable on it
<Xogium>
yeah I'm not gonna try 5.2
<Tartarus>
I'm about to crack open another one of these boxes and see if it's just the one I'm using or a real problem.
<Tartarus>
Some general concerns or ?
<Tartarus>
I'm looking at just backporting the driver to 4.20 for now as that was fine
<pigiron>
All I can say is that eMMC Version 5.1 HS400 was failing for some of us on 5.2. Yet some (undefined) eMMC chips seemed to work.
nsaenz has quit [Remote host closed the connection]
<xdarklight>
pigiron: can you do an experiment with your kernel config? please replace CONFIG_HZ_100=y with CONFIG_HZ_250=y and set CONFIG_HZ to 250 (your old value is 100), rebuild your kernel and test if that "fixes" (rather works around) the issue
<Tartarus>
pigiron: unstable or just not showing up?
<Tartarus>
actually scratch that, I'm crashing writing to the SD card anyhow
nsaenz has joined #linux-amlogic
<pigiron>
xdarklight: You bet. But that will take a long time. Can I give the results tomorrow?
<xdarklight>
pigiron: sure - it's only an experiment and may lead to nothing but there was an Odroid-C1 user some time ago who reported that this fixes a similar problem
<pigiron>
xdarklight: Good. That's encouraging ;)
<xdarklight>
pigiron: I made a similar change that's problematic for you on Odroid-C1 and tested that on my own board and in my tests it worked fine regardless of CONFIG_HZ set to 100 or 250. I've also tested it on a Khadas VIM2 with similar Ethernet setup as your Odorid-C2 and it was working fine for me. however, I've learned that just because it works for me doesn't mean it works for everyone ;)
<Xogium>
xdarklight: well I'm starting a build, do you want me to do this too ?
<Xogium>
odroid c2 from 2016 -- I don't know what rev of the board that is
<pigiron>
Tartarus: It fails to boot 100% of the time... if you have the "wrong" chip.
<Tartarus>
pigiron: ah, so not this problem then, ok
<Tartarus>
thanks
<Xogium>
eMMC are awesome, at least the ones hk is using, still going strong and reproting no issue after almost 4 years of 24/7 usage
<Xogium>
reporting
<pigiron>
xdarklight: Chuckle. Now that you say that, I was looking at that P200 output on KernelCI and I don't think it captures *everything*...
<xdarklight>
Xogium: I'm not sure - I'm more curious to see whether CONFIG_HZ=100 works for you, but you could end up with broken Ethernet (in theory, not sure how high the chances are). if it does then pigiron's issue may be a timing problem "somewhere"
<Xogium>
nod
<Xogium>
will left at default first and see how it goes
<Xogium>
*leave
<Xogium>
hmm. I should really reinstall my system, one of these days
<xdarklight>
pigiron: indeed, but it has this: "Starting network: OK"
<pigiron>
xdarklight: Ahh, OK. Its missing the "Link is Up" or "Link is Down" type messages I find on my box (failing or not).
<Xogium>
so issue is that you get link is up, then it goes downafter that dma thing, all in a loop ? So up, down, up, down again and again ?
* Xogium
gets uart ready
<pigiron>
Then things are good, it's UP, DOWN, and UP. When it fails, it's UP, DOWN, and never comes UP again.
<pigiron>
s/Then/When/
<Xogium>
ah
<Xogium>
alright
<Xogium>
woah 24 days uptime on my c2 ? I didn't even notice
CEnnis91 has joined #linux-amlogic
<pigiron>
Xogium: Yes, you'll need the USB dongle. If/when it fails, revert commit f29cabf240ed6e67993f17594e5e6fffc5bc07e0. If it *doesn't* fail, please let us know. I'm not sure if my box is unique with this problem. But I really doubt it. It's failed on the Arch 5.3.1 and 5.3.5 kernels for me.
<Xogium>
alrighty
<pigiron>
xdarklight: FYI - I just remembered that I've got an appointment tomorrow morning. So I might not get back with results until Friday afternoon. Maybe around happy hour ;-) But I'm not in any rush. And once again, a HUGE thanks for looking into this!!!
Elpaulo1 has joined #linux-amlogic
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo1 is now known as Elpaulo
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 265 seconds]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
warpme_ has quit [Quit: Connection closed for inactivity]
vagrantc has quit [Quit: leaving]
return0e has quit [Remote host closed the connection]