marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cth451_desktop has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
aleasto has quit [Quit: Konversation terminated!]
<cth451_desktop>
For some reason on 5.16-rc6 with jennau's patchset, soft reset timeout in atlantic driver of 200000us is no longer enough
<cth451_desktop>
The driver will report "Boot code hanged", but if we crank the timeout up 0.2s the card actually comes up.
<cth451_desktop>
Any suggestions on why this would be the case given changes from rc2 to rc6?
<cth451_desktop>
The actual time before reset completion was 1.75s on rc6, compared to 0.04s on rc2
<marcan>
cth451_desktop: we actually reset the card properly now
<marcan>
see ee91cb570
<marcan>
not sure if we just need to wait longer or if there is something wrong causing it to take that long
<marcan>
that almost sounds like whatever the reset the driver thinks it's doing, it's not actually resetting the card, and when you actually reset it it takes quite a bit longer
<cth451_desktop>
I assume this PCIe reset occurs on PCIe link bring up stage?
<marcan>
yes
<cth451_desktop>
Sounds like the card wasn't properly reset before and is already initialized and the driver just picked that up
<marcan>
yeah
<cth451_desktop>
The offending function is "hw_atl2_utils_soft_reset" in quantia/atlantic/hw_atl2/hw_atl2_utils.c
<marcan>
(bbl, sorry, busy with some other stuff now)
mini has quit [Quit: ZNC closing...]
mini has joined #asahi
mini has quit []
mini has joined #asahi
yuyichao has joined #asahi
<cth451_desktop>
It seems that the eth card isn't fully functional at this point
riker77_ has joined #asahi
<cth451_desktop>
Packets replied to the card aren't actually processed
<tpw_rules>
eth card on what?
<cth451_desktop>
on a 10GE mac mini
<tpw_rules>
ah. it works great on the 1 gigabit mac mini
<cth451_desktop>
So a bunch of DHCP discover went out and the DHCP server replied with an offer
<cth451_desktop>
normally the client is supposed to accept that offer with a DHCP request but this never appeared on wire
<cth451_desktop>
instead dhcp fails due to timeout
<tpw_rules>
do you have the firmware installed? i did notice an odd issue on the 1GbE where if the firmware file isn't available the card is more or less dead for 60 seconds until the kernel concludes that's okay and then it works nromally
<cth451_desktop>
The 10G card is a aquantia atlantic and should have on-card firmware blob
<cth451_desktop>
Or at least that's how it works back in rc2
<tpw_rules>
ok, it's probably time to ignore me then :)
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
<cth451_desktop>
Knowing I'll be running Linux off iSCSI I opted for a 10G card
<tpw_rules>
why, out of curiosity?
<cth451_desktop>
out of my hatred for soldered SSD?
<cth451_desktop>
and this makes backup and experimenting slightly easier (the LUN is a logical volume on the iSCSI server)
<Glanzmann>
cth451_desktop: You can 'git bisect' the issue and than take it from there once you find the offending commit.
sailorek1234 has joined #asahi
skrll has joined #asahi
<marcan>
it's almost certainly the pcie reset change as I said
<marcan>
but if it is, it won't help find the problem by itself because the pcie reset change was itself fixing a bug and resetting the card is supposed to work
curlyqueue__ has quit [Remote host closed the connection]
gabuscus_ has joined #asahi
sirn- has joined #asahi
sirn has quit [Ping timeout: 480 seconds]
sirn- is now known as sirn
gabuscus has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
the_lanetly_052__ has joined #asahi
gabuscus__ has joined #asahi
gabuscus_ has quit [Ping timeout: 480 seconds]
hexchain has left #asahi [WeeChat 3.4]
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
gabuscus has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
gabuscus__ has quit [Ping timeout: 480 seconds]
skrll has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi
Dcow__ has quit [Ping timeout: 480 seconds]
Dcow_ has joined #asahi
aleasto has joined #asahi
skrll has joined #asahi
<yournoob[m]>
I couldn't build a rootFS. I continually get a kernel panic (systemd)