-
danmcd
@nikolam -> your card is 10ec,8161, which we do not have immediate support for, but honestly, probably should, and with a few mods we could. This is only GigE right? Not 2.5 or faster?
-
danmcd
Also @nikolam if I spun a PI with that PCI ID folded in, would you be able to test it? (And if so, ISO, PI, or USB ?)
-
nikolam
danmcd, thanks a lot for your interest. yes, just a Gigabit one
-
nikolam
Yes danmcd I would love to get that PI
-
danmcd
Which form factor do you prefer your spin?
-
nikolam
I have both booting from USB and also can boot from HDD, so switching PI is trivial for me
-
nikolam
Maybe one from HDD is better for testing, before it lands hopefully on one for USB. I anyway, usually update USB with unpacking it.
-
danmcd
So a PI .tgz file is sufficient. TY. Can't promise something, but if it's only adding a PCI ID it should be quick to bringup.
-
danmcd
And if it works for you, the plan would be for it to land in illumos-gate first so all distros can enjoy it.
-
nikolam
Actually I think it is not only adding PCI ID.. I think after adding PCI ID it is not even showing in dladm show-phys anymore.
-
nikolam
Currently in my /etc/driver_aliases it is there: rge "pci10ec,8168"
-
nikolam
So it is there and does not works for me..
-
nikolam
Actually, it is written in driver_aliases as rge "pci10ec,8168,p" huh
-
danmcd
The ",p" means it MUST match the literal device id.
-
danmcd
your prtconf says:
-
danmcd
device-id: 00008161
-
danmcd
vendor-id: 000010ec
-
danmcd
No 8161.
-
danmcd
Illumos bugs fenix illumos#17571 and illumos#17570 are relevant here.
-
fenix
BUG 17571: rge(4D) should not bind to Realtek BMC device (Closed)
-
fenix
-
fenix
BUG 17570: rge(4D) should aim before shooting (Closed)
-
fenix
-
danmcd
I probably have to add 8161,p to it.
-
nikolam
So I can test if you make it
-
nikolam
If it doesn't fix it, i am interested in deep diving, whatever is needed to make it work, I think it is of wider interest, too.
-
danmcd
@nikolam I'm not sure if this may just work, but did I ask you to try the following earlier?
-
danmcd
1.) Edit /etc/driver_aliases and add this line:
-
danmcd
rge "pci10ec,8161,p"
-
danmcd
2.) Utter "devfsadm"
-
danmcd
3.) See if `dladm show-ether` starts showing rge0 ?
-
danmcd
If that Just Works, the change will be simple. If it doesn't, I won't have the time to dig deeply right away.
-
danmcd
I will say that if you wish to deep-dive, consult FreeBSD's rl/if_rlreg.h for constant definitions, and their re/if_re.c for their moral equivalent of our rge for what revisions may need to be added in some cases.
-
danmcd
(IMHO our rge *might* be capable of doing both the 1Gbit *and* future 2.5 & 5 but that'll require work, and probably looking at FreeBSD as Realtek has been, apparently in the past, loathe to share HW documentation.)