-
Notifications
You must be signed in to change notification settings - Fork 40
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
Installing driver on Ubuntu 20.04 #30
Comments
Hi @reza-alimadadi , Do you have a direct cable connection to the other machine? (RS_FEC might need to be disabled/turned off in the driver, it's a kernel module parameter.) Have you set up static IPs and arp entries? Maybe check the RX and TX hardware registers for the corresponding CMAC port? Best regards, |
Also, a lot of users use Ubuntu 20.04 and it works fine. I've also used Ubuntu 22.04. |
Thanks for the fast response. |
If you want to see the hardware and link status without loading the driver, to narrow it slightly with lower level debugging, then I suggest trying the following: The following few commands without the driver should be able to let you see the link status (using pcimem or similar to read from BAR2), if you adjust them for your PCI device address:
The readback of status the second time should be The status could help to indicate a problem with your generated open-nic-shell or cable connection. If your card has two CMAC ports and if you built the design with two CMAC ports and two phys_func, then you should be able to test your cable by plugging into both ports on the card and checking the link status. The base address for the CMAC port 1 is 0xC0000. So repeat the writes and reads for the corresponding addresses to see its link status. E.g. corresponding RX status is at 0xC204. |
Hi @cneely-amd ,
If I try to use |
Hi @attdone , The CMAC product guide describes the possible values for that register. "0xC0" is a value that typically occurs if there's no physical link detected. A possible explanation and suggestion above was to experiment with disabling RS_FEC (enabled by default) and there is a kernel module parameter for the driver that you can use to disable it. Best regards, |
Hi,
If I set the register 0x8090 (Loopback) and make the device up, the Link shows up. What changes to be made? Which register to be used? |
Although it was said that to install the driver on Ubuntu 18.04 with the Linux kernel version of 4.15.0, I want to install it on Ubuntu 20.04. (I don't want to install another Linux on my machine)
Unfortunately, I cannot ping another machine.
I have programmed my u280 with
open-nic-shell
design and this is the output of dmesg after I load onic.Could you give me some hints on how to debug it?
The text was updated successfully, but these errors were encountered: