New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apu2c4 fails to TFTP boot after it did not become healthy after an update #29
Comments
I was recently in a position to reproduce this issue. It seems like any network traffic not related to the network boot confuses the apu to the point where it won’t continue network booting. Establishing a point-to-point link (instead of connecting the apu to the rest of my network) helps. This should probably be reported as a coreboot bug? We should probably reproduce this issue with a more recent coreboot build first, and check their changelogs in case this is a known issue. Currently, my apu reports: https://pcengines.github.io/#mr-22 offers a much more recent build from just a few weeks ago. |
I could successfully reproduce the issue with v4.6.1, statically configuring the MAC address and running the dnsflood program: package main
import (
"log"
"time"
"github.com/miekg/dns"
)
func main() {
for range time.Tick(100 * time.Millisecond) {
go func() {
m := new(dns.Msg)
m.SetQuestion("miek.nl.", dns.TypeMX)
c := new(dns.Client)
in, rtt, err := c.Exchange(m, "192.168.1.1:53")
log.Printf("in = %v, rtt = %v, err = %v", in, rtt, err)
}()
}
} With v4.9.0.5, I get a log message from PXELINUX:
I also tried upgrading the version of SYSLINUX, but the most recent version gets just as far:
|
Reached out to the SYSLINUX mailing list: https://www.syslinux.org/archives/2019-June/026447.html |
Could this be related: Maybe the apu2c4 nic does not correctly set PXENV_UNDI_ISR_OUT_NOT_OURS in all situations? Using pxelinux instead of lpxelinux could indeed be worth a try. |
Thanks for the pointer! That’s a very interesting post. I had planned to do some more debugging based on the replies I got on the mailing list today or tomorrow, as time permits. Will check if the same fix works here, too. |
I haven’t verified, but it sounds unlikely that the flag would only be set in response to network traffic. The blog post was very interesting regardless, so thanks again for the pointer :)
Indeed, that did the trick! Now using pxelinux. |
I have seen this a few times now, but finally have a serial log from when it happened.
The symptom is:
The updater’s log contains:
Given pcengines/coreboot#181, I wonder if the network interfaces sometimes don’t properly come up, perhaps because we are doing a kexec reboot.
I’ll check the network LED the next time it happens, and will try to disable kexec to see if that helps.
The text was updated successfully, but these errors were encountered: