kohan

New Member


Messages: 5

Hello, i have an Microchip LAN743x PCIe NIC interface attached to the computer. I installed FreeBsd 12.2 and completed building from source on it. I then followed this websites to update driver mgb for my LAN7430. (Site: https://reviews.freebsd.org/D20079?id=56981).
After successful making file, from if_mgb.c, if_mgb.h and Make file, i had a folder with the if_mgb.ko. The network interface has shown up after kldload if_mgb.ko. But there is one problem with the media and i dont know how to fix it. Please help me, what i should do to active this interface? Tks so much

Screen Shot 2021-09-28 at 4.27.45 PM.jpg
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,274
Messages: 38,775

Driver appears to have been merged in HEAD when it was still 13.0-CURRENT. So the driver should be included with 13.0-RELEASE. I suggest you try that.

 

emaste@

New Member
Developer

Reaction score: 6
Messages: 10

This driver is rather new and somewhat experimental (and had a number of fixes recently), so ideally you'd test with a build from main.

I've tested mgb only with EVB-LAN7430, which reports:
media: Ethernet autoselect (1000baseT <full-duplex>)

Is your device LAN7430 or LAN7431?
 
OP
K

kohan

New Member


Messages: 5

This driver is rather new and somewhat experimental (and had a number of fixes recently), so ideally you'd test with a build from main.

I've tested mgb only with EVB-LAN7430, which reports:
media: Ethernet autoselect (1000baseT <full-duplex>)

Is your device LAN7430 or LAN7431?
thank you, my device is LAN7430, can you post here the latest source, which you have already sucessfully tested?
 

emaste@

New Member
Developer

Reaction score: 6
Messages: 10

What I tested (including my recent commits) is in the tree at https://cgit.freebsd.org/src/tree/sys/dev/mgb - I expect to merge all of this to stable/13 soon and you could test a stable/13 snapshot after that. It should be available in a week or two.

To help debug you can capture and share the mgb0: and related (following) lines from dmesg.
 
OP
K

kohan

New Member


Messages: 5

The problem is solved with the FreeBsd 13.0 src, tks your supports
 
Top