ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
Pali has quit [Ping timeout: 252 seconds]
ravan has quit [Ping timeout: 240 seconds]
ravan has joined #armlinux
djrscally has quit [Ping timeout: 245 seconds]
apritzel has quit [Ping timeout: 256 seconds]
archetech has quit [Quit: Konversation terminated!]
sicelo has quit [Quit: Bye!]
sicelo has joined #armlinux
sicelo has joined #armlinux
sicelo has quit [Changing host]
amitk has joined #armlinux
amitk has quit [Remote host closed the connection]
amitk has joined #armlinux
Theborger has quit [Remote host closed the connection]
iivanov has joined #armlinux
cbeznea has joined #armlinux
ravan_ has joined #armlinux
ravan_ has joined #armlinux
ravan_ has quit [Changing host]
ravan has quit [Ping timeout: 240 seconds]
Misotauros has quit [Ping timeout: 256 seconds]
guillaume_g has joined #armlinux
vigneshr has joined #armlinux
vigneshr has left #armlinux [#armlinux]
apritzel has joined #armlinux
nsaenz has joined #armlinux
apritzel has quit [Ping timeout: 256 seconds]
milkylainen has joined #armlinux
nsaenz has quit [Remote host closed the connection]
ravan_ has quit [Quit: Leaving]
cleger has joined #armlinux
frieder has joined #armlinux
djrscally has joined #armlinux
nsaenz has joined #armlinux
sszy has joined #armlinux
Pali has joined #armlinux
headless has joined #armlinux
luispm has joined #armlinux
Pali has quit [Ping timeout: 256 seconds]
nsaenz_ has joined #armlinux
nsaenz has quit [Ping timeout: 245 seconds]
nsaenz__ has joined #armlinux
nsaenz_ has quit [Ping timeout: 256 seconds]
nsaenz__ has quit [Quit: Leaving]
nsaenz has joined #armlinux
gdd has quit [Ping timeout: 272 seconds]
matthias_bgg has joined #armlinux
<milkylainen>
I have an imx6ull with fec and micrel 8081 phys. I've tried vendor 5.4.91, latest 5.4 lts, 5.16.4. All hang when I try to access the ethernet interface. Hard hang. ifconfig up, machine dies (atleast console, I have no network access), no printouts.
<milkylainen>
nic works in barebox though.
<milkylainen>
Any idea?
suzukikp1 has quit [Quit: Leaving]
luispm has quit [Quit: Leaving]
luispm has joined #armlinux
<javierm>
milkylainen: did you try booting with clk_ignore_unused ?
<javierm>
wonder if some clocks are being gated that are needed to access the device registers
prabhakarlad has joined #armlinux
<mripard>
javierm: just fiy clk_ignore_unused can still lead to some clocks being disabled, it just doesn't disable them at boot
<javierm>
mripard: yes I know, but it's still is worth to try
<javierm>
mripard: when I've these sort of issues the first thing I do is booting with clk_ignore_unsed pd_ignore_unused
apritzel has joined #armlinux
<ukleinek>
that remembers me that my clk_ignore_unused patch probably still isn't in mainline
<ukleinek>
..ooOO(maybe an ack would help to get this in if you consider it helpful)
<javierm>
ukleinek: oh, that's very interesting. I'm not that familiar with the CCF to have a say but being able to bisect would indeed be helpful IMO
<mripard>
ukleinek: is it really this useful compared to using the ftrace events?
<ukleinek>
mripard: it helped me.
<ukleinek>
mripard: ftrace only helps if you see the list of clks. But if from this list the culprit isn't obvious, you need my patch
<ukleinek>
s/if you see the list of clks/& and immediately spot the right one/
<ukleinek>
the last time i used that was a hard hang (in which case I was unable to (easily) extract the ftrace buffer)
<mripard>
tp_printk?
<mripard>
I'd argue it's much easier when it's a hard hang :)
<ukleinek>
mripard: my patch also has the advantage that I don't need to recompile
<ukleinek>
(once the patch has landed that is)
<mripard>
the one thing I find weird is that it's usefulness completely depends on where the faulty clock is in your clock list
<mripard>
if it's in the upper half, then it's marginally useful
<mripard>
if it's the first clocks, then it's very useful indeed
<ukleinek>
yes, it relies on the order of the clks which in practise doesn't change
<mripard>
but it's just down to luck
<ukleinek>
well, if the kernel disables say 50 clks, you start with clk_ignore_unused=25 and depending on the problem appearing or not, you increase or decrease the number
<ukleinek>
until you found that =27 is the biggest number that still works, so the 28th clk is the one you need.
<ukleinek>
(ok, this only works fine if it's a single clk that's missing)
<mripard>
ah yes, of course
<mripard>
never mind then :)
<javierm>
ukleinek: I wonder though is overloading the semantics of clk_ignore_unused is the best approach or another kernel cmdline param should be introduced for this
Amit_T has joined #armlinux
<milkylainen>
javierm: clk_ignore_unused makes ifconfig eth0 up not hang, but interface is thoroughly broken.
<geertu>
milkylainen: which phy mode? Do you need internal delay configuration?
<milkylainen>
geertu: mode? I assume RMII, the 8081 isn't a fancy thing. Also I'd assume that the vanilla tree dts for the segin board would add skews/delays if needed? arch/arm/boot/dts/imx6ull-phytec-segin-ff-rdk-nand.dts
<milkylainen>
why would a misconfigured phy mode cause a kernel hard hang?
* milkylainen
not following.
<milkylainen>
Misconfigured in the sense of line skew delays.
<geertu>
milkylainen: I didn't ask because of the hangs, but because of the "thoroughly broken".
<geertu>
Perhaps I should have asked first: how is it thoroughly broken?
<milkylainen>
geertu: if I use clk_ignore unused the kernel does not hang when I do ifconfig eth0 up. Bringing interface up works and interface is listed in kernel as up, but can't really access it as link is not available. ethtool controls seem broken, link state is not detected nor physically on. ethtool controls returns various errors. I can't reset the phy
<milkylainen>
or anything else that is useful.
headless has quit [Quit: Konversation terminated!]
Misotauros has joined #armlinux
monstr has joined #armlinux
saiprakash has joined #armlinux
Misotauros has quit [Ping timeout: 240 seconds]
wolfshappen_ has quit [*.net *.split]
Tokamak has quit [*.net *.split]
mag has quit [*.net *.split]
Xogium has quit [*.net *.split]
jtf has quit [*.net *.split]
darkapex has quit [*.net *.split]
shailangsa has quit [*.net *.split]
maz has quit [*.net *.split]
zx2c4 has quit [*.net *.split]
ndesaulniers has quit [*.net *.split]
dtor has quit [*.net *.split]
marcan has quit [*.net *.split]
macromorgan has quit [*.net *.split]
rfried has quit [*.net *.split]
sven has quit [*.net *.split]
scott-ph has quit [*.net *.split]
Esmil has quit [*.net *.split]
tmlind has quit [*.net *.split]
mal`` has quit [*.net *.split]
wolfshappen_ has joined #armlinux
Tokamak has joined #armlinux
Xogium has joined #armlinux
mag has joined #armlinux
shailangsa has joined #armlinux
jtf has joined #armlinux
dtor has joined #armlinux
ndesaulniers has joined #armlinux
rfried has joined #armlinux
marcan has joined #armlinux
tmlind has joined #armlinux
scott-ph has joined #armlinux
Esmil has joined #armlinux
mal`` has joined #armlinux
maz has joined #armlinux
macromorgan has joined #armlinux
sven has joined #armlinux
zx2c4 has joined #armlinux
darkapex has joined #armlinux
shailangsa has quit [Max SendQ exceeded]
wolfshappen_ has quit [Max SendQ exceeded]
wolfshappen has joined #armlinux
torez has joined #armlinux
tlwoerner has quit [Ping timeout: 256 seconds]
tlwoerner has joined #armlinux
tlwoerner_ has joined #armlinux
tlwoerner has quit [Ping timeout: 256 seconds]
shailangsa has joined #armlinux
iivanov__ has joined #armlinux
iivanov has quit [Ping timeout: 240 seconds]
suzukikp has joined #armlinux
jlinton has joined #armlinux
ravan has joined #armlinux
Theborger has joined #armlinux
mag has quit [Remote host closed the connection]
mag has joined #armlinux
guillaume_g has quit [Quit: Konversation terminated!]
headless has joined #armlinux
luispm has quit [Quit: Leaving]
nsaenz has quit [Remote host closed the connection]
apritzel_ has joined #armlinux
frieder has quit [Remote host closed the connection]
jlinton has quit [Quit: Client closed]
iivanov__ has quit [Remote host closed the connection]
iivanov has joined #armlinux
cleger has quit [Quit: Leaving]
Misotauros has joined #armlinux
jlinton has joined #armlinux
archetech has joined #armlinux
kristo has quit [Ping timeout: 260 seconds]
apritzel_ has quit [Ping timeout: 240 seconds]
kristo has joined #armlinux
jlinton has quit [Ping timeout: 256 seconds]
monstr has quit [Remote host closed the connection]
Amit_T has quit [Remote host closed the connection]
matthias_bgg has quit [Read error: Connection reset by peer]