-
Notifications
You must be signed in to change notification settings - Fork 618
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
iPXE on Synology NAS ds1515+ - NICs link down. #1188
Comments
Try connecting a pair of ports on the NIC directly with a cable (i.e. without any network switch in between) and use the |
@mcb30 HI. I checked different wires configuration and NICs without success: I used normal cable not a crossover one if that matter. Btw as I wrote before under linux all works fine, so this should not be related to my switches or wires.
Additionally I play with I think that something is not ok in lower PHY layer and the NICs are not initialized properly or something missing in the driver. I added more debug flags to have more verbose output:
I found on network such issues for this card when auto-negotiation is off: Let me know if I can do anything to solve it. |
|
The goal of this project is to be able to run iPXE on mentioned NAS and boot experimental systems that I want to prepare for it. The given solution by me for #1189 is wrong, so make no sense to prepare merge request for broken code. I mean, it works as a workaround to be able to have input, but should not be considered as a solution, as it block main thread and the main root cause why bit UART_LSR_DR is not set most of the time, is still unknown for me. Current task about NIC is another story, as you can see from logs the card is detected but somehow link is not up. I try already different settings about autospeed detection but I have very limited knowledge about writing such complex drivers. Idea came to my mind, to strip linux igb driver (as it works) to very basic code were my NICs report link to be up and try to port that part to ipxe, but not sure if/when I be able to do it. If we have someone onboard who already know intel drivers and know what can be check regarding registers and initialization part of it, then I be more then happy to spend some hours to check things up... |
@hetii I was going to suggest trying the
which indicates that the link was down when iPXE started execution (i.e. it's not the reset that's causing the link to drop). I'd suggest checking the Linux driver to see what it does differently between i350 and i354. Are the NIC ports connected to completely standard RJ-54 Gigabit Ethernet switch ports with autonegotiation enabled, or is there some kind of unusual network setup? |
@mcb30 Hi, |
Hi.
As I test ipxe on Synology NAS ds1515+ I notice NICs issue.
I compile my ipxe by:
make bin-x86_64-efi/ipxe.efi DEBUG=intel,intelx,netdevice EMBED=SynoBootLoader.ipxe
First is about networking cards.
All my interfaces claim that all links are in down state (all leds in RJ45 sockets are off):
Opening interfaces don't change anything:
We can see the MACa are OUIs one, but even when I set correct one nothing change.
On other hand I compile pure kernel 6.8.4 and load igb drivers and all my NICs works fine,
so this seams to be issue in intel driver implementation inside ipxe:
Now leds on eth0 are on.
I can analyze kernel drivers vs ipxe driver but if you had any tips what I should check first on ipxe side let me know.
B.R.
The text was updated successfully, but these errors were encountered: