NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unusable Realtek NIC after upgrading to NetBSD 9



Hi!

> Sent: Sunday, September 13, 2020 at 8:28 PM
> From: "Martin Husemann" <martin%duskware.de@localhost>
> To: "Rocky Hotas" <rockyhotas%post.com@localhost>
> Cc: "Valery Ushakov" <uwe%stderr.spb.ru@localhost>, "NetBSD Users Mailing List" <netbsd-users%netbsd.org@localhost>
> Subject: Re: Unusable Realtek NIC after upgrading to NetBSD 9
...
> With the old working kernel, what interrupt target did you get?
> The MSI / MSI-X interrupt support is new and may not work on your board
> (for whatever reasons we would still need to analyze).

Here is the dmesg using 8.1 (formal release) kernel:

re0 at pci3 dev 0 function 0: RealTek 8100E/8101E/8102E/8102EL PCIe 10/100BaseTX (rev. 0x05)
re0: interrupting at msi2 vec 0
re0: Unknown revision (0x40c00000)
re0: Ethernet address 28:92:4a:29:53:5a
re0: using 256 tx descriptors
ukphy0 at re0 phy 7: OUI 0x00e04c, model 0x0008, rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

So, it is MSI instead of MSI-X.
This is from ifconfig:

re0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
        capabilities=3f80<UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        ec_capabilities=3<VLAN_MTU,VLAN_HWTAGGING>
        ec_enabled=0
        address: 28:92:4a:29:53:5a
        inet 192.168.1.27/24 broadcast 192.168.1.255 flags 0x0
        inet6 fe80::2a92:4aff:fe29:535a%re0/64 flags 0x0 scopeid 0x1

I checked again and the NIC is perfectly working in this case.

Rocky


Home | Main Index | Thread Index | Old Index