Solved Intel msi z590 motherboard Lan

T-Daemon

Daemon

Reaction score: 931
Messages: 1,818

rpowell47, please post
Code:
# cat /etc/rc.conf
# ifconfig
# kldstat



And please put BBcodes around the outputs. Previous outputs you have posted are pasted only in the forum editor, and hard to read. I.e.:

No BBcode:

/etc/rc.conf
ifconfig_igc0="DHCP"
ifconfig_igc0_ipv6="inet6 accept_rtadv"

With BBcode:

[FILE]/etc/rc.conf[/FILE]
[CODE]ifconfig_igc0="DHCP"
ifconfig_igc0_ipv6="inet6 accept_rtadv"[/CODE]

Result:

/etc/rc.conf
Code:
ifconfig_igc0="DHCP"
ifconfig_igc0_ipv6="inet6 accept_rtadv"

Most of the BBcodes are available in the icon menus of the forum editor. More options are visible when clicking the three dots.
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

cd /etc/rc.conf
hostname="randy.bsd.net"
ifconfig_re0="DHCP"
ifconfig_re0_ipv6="inet6 accept_rtadv"
#ifconfig_igc0="DHCP"
#ifconfig_igc0_ipv6="inet6 accept_rtadv"

sshd_enable="YES"
ntpd_enable="YES"
dumpdev="AUTO"
kld_list="nvidia-modeset"
zfs_enable="YES"
dbus_enable="YES"
linux_enable="NO"
cupsd_enable="YES"
usb_enable="YES"
webcamd_enable="YES"
autofs_enable="YES"
devfs_system_ruleset="localrules"
devfs_system_ruleset="system"
devfs_system_ruleset="devfsrules"
ubuntu_enable="YES"
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

root@randy:/etc # ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether e8:4e:06:95:7d:04
inet6 fe80::ea4e:6ff:fe95:7d04%re0 prefixlen 64 scopeid 0x1
inet6 2600:8800:a580:2bd0:ea4e:6ff:fe95:7d04 prefixlen 64 autoconf
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

root@randy:/etc # kldstat
Id Refs Address Size Name
1 89 0xffffffff80200000 1f11f28 kernel
2 1 0xffffffff82112000 bdf8 cuse.ko
3 1 0xffffffff8211e000 67feb0 zfs.ko
4 1 0xffffffff8279e000 ae38 cryptodev.ko
5 1 0xffffffff82c10000 10c310 nvidia-modeset.ko
6 1 0xffffffff82e00000 1e8a5a8 nvidia.ko
7 2 0xffffffff82d1d000 388f8 linux.ko
8 6 0xffffffff82d56000 db70 linux_common.ko
9 1 0xffffffff82d64000 3378 acpi_wmi.ko
10 1 0xffffffff82d68000 2340 uhid.ko
11 1 0xffffffff82d6b000 3380 usbhid.ko
12 1 0xffffffff82d6f000 31f8 hidbus.ko
13 1 0xffffffff82d73000 3320 wmt.ko
14 1 0xffffffff82d77000 4350 ums.ko
15 1 0xffffffff82d7c000 23c0 ulpt.ko
16 1 0xffffffff82d7f000 e538 snd_uaudio.ko
17 1 0xffffffff82d8e000 5af8 autofs.ko
18 1 0xffffffff82d94000 2a08 mac_ntpd.ko
19 1 0xffffffff82d97000 30ac8 linux64.ko
20 1 0xffffffff82dc8000 2260 pty.ko
21 1 0xffffffff82dcb000 639c linprocfs.ko
22 1 0xffffffff82dd2000 3284 linsysfs.ko
23 1 0xffffffff82dd6000 3530 fdescfs.ko
24 1 0xffffffff82dda000 4700 nullfs.ko
 

T-Daemon

Daemon

Reaction score: 931
Messages: 1,818

Let's try this again.

After booting the system please edit the relevant lines in /etc/rc.conf
Code:
....
#ifconfig_re0="DHCP"
#ifconfig_re0_ipv6="inet6 accept_rtadv"
ifconfig_igc0="DHCP"
#ifconfig_igc0_ipv6="inet6 accept_rtadv"
...
kld_list="if_igc   nvidia-modeset"
...
Make sure the ethernet cable is connected properly into the motherboards LAN interface, and the left LED above the interface is lit yellow.

MSI-Z590 PRO-LAN Port LED Status.jpeg


Reboot the machine. Post output of
Code:
# ping -c3 8.8.8.8
# ifconfig
# kldstat -n if_igc
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

Let's try this again.

After booting the system please edit the relevant lines in /etc/rc.conf
Code:
....
#ifconfig_re0="DHCP"
#ifconfig_re0_ipv6="inet6 accept_rtadv"
ifconfig_igc0="DHCP"
#ifconfig_igc0_ipv6="inet6 accept_rtadv"
...
kld_list="if_igc   nvidia-modeset"
...
Make sure the ethernet cable is connected properly into the motherboards LAN interface, and the left LED above the interface is lit yellow.

View attachment 11416

Reboot the machine. Post output of
Code:
# ping -c3 8.8.8.8
# ifconfig
# kldstat -n if_igc
oot@randy:~ # ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=117 time=27.109 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=29.782 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=32.799 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 27.109/29.896/32.799/2.324 ms
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether e8:4e:06:95:7d:04
media: Ethernet autoselect (none)
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
igc0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
ether d8:bb:c1:45:16:9c
inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root@randy:~ #
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

root@randy:~ # kldstat -n if_igc
Id Refs Address Size Name
5 1 0xffffffff82c10000 ea5c if_igc.ko
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

I'M SORRY,BUT THE CONNECTION JUST STOPPED WORKING!!

I had to go back into rc.conf and uncommitted the ifconfig_re0="DCHP" and thn #ifconfig_igc0="DHCP" so as to get back online.

I'll post the current dmesg:

This is the only syntax showing and I think it has to do with the kld_list="if_igc nvidia-modeset" line in the rc.conf file.

igc0: <Intel(R) Ethernet Controller I225-V> mem 0xa5200000-0xa52fffff,0xa5300000-0xa5303fff at device 0.0 on pci3
igc0: Using 1024 TX descriptors and 1024 RX descriptors
igc0: Using 4 RX queues 4 TX queues
igc0: Using MSI-X interrupts with 5 vectors
igc0: Ethernet address: d8:bb:c1:45:16:9c
igc0: netmap queues/slots: TX 4/1024, RX 4/1024
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

When the Ethernet cable is plugged in, both the yellow and green LEDs blink even when the /etc/rc.conf has the if_igc commented out. Nevertheless, there is no server found when I try to use the internet. Now that seems kinda suspicious. Maybe it has something to do with the Mother Board BIOS settings?
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

If this actually will attach, this is a photo of dmesg when booting. The boot actually failed and I had to reboot in single user mode to change the rc.conf file so as to be able to boot and get back on the internet.
 

Attachments

  • igc.jpg
    igc.jpg
    1.7 MB · Views: 15

T-Daemon

Daemon

Reaction score: 931
Messages: 1,818

What else could be tried is to rebuild the igc(4) driver.

As root:
Code:
# cd /usr/src/sys/modules/igc

# /bin/csh
# setenv CFLAGS -DVIMAGE

# make clean
# make
# make install

Edit /etc/rc.conf
Code:
....
#ifconfig_re0="DHCP"
#ifconfig_re0_ipv6="inet6 accept_rtadv"
ifconfig_igc0="DHCP"
#ifconfig_igc0_ipv6="inet6 accept_rtadv"
...
kld_list="if_igc   nvidia-modeset"
...
Plug in the ethernet cable into the LAN port of the motherboard,
reboot system.
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

Had to go back and change /etc/rc.conf back so as to get back on line. Know that I did carry out the #138 post first just as you instructed. The photo is from the dmesg of that reboot.
 

Attachments

  • if_igc.jpg
    if_igc.jpg
    1.5 MB · Views: 13

Jose

Daemon

Reaction score: 1,072
Messages: 1,286

Had to go back and change /etc/rc.conf back so as to get back on line. Know that I did carry out the #138 post first just as you instructed. The photo is from the dmesg of that reboot.
Nothing has carrier? Do you have a bad ethernet cable?
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

I don't think so because when I change the rc.conf file back to execute the re0 card and not the igc card, I have internet again.
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

It is an ARRIS Wi-FI Cable Modem and our ISP is COX. Here are the Numbers:
SBG6950AC2
SBG7400AC2
SBG7600AC2
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

No, but after removing everything in the /usr/src directory, and going through and following each applicable post in this thread, the z590 + Inteli1225-V is now active. I shutdown - restarted - and then simply within the terminal rebooted a few times and each time the igc0 was UP and the re0 was inactive. Wow! I wished I knew which one of the executed codes brought the igc driver to life. Anyway, I offer my heart felt thanks to all of you BSDer's who helped with your expertise and patience.

Now, I think I need to remember how to mark this thread SOLVED.
 

shkhln

Daemon

Reaction score: 982
Messages: 2,270

No, but after removing everything in the /usr/src directory, and going through and following each applicable post in this thread, the z590 + Inteli1225-V is now active. I shutdown - restarted - and then simply within the terminal rebooted a few times and each time the igc0 was UP and the re0 was inactive. Wow! I wished I knew which one of the executed codes brought the igc driver to life.
Hmm… Glad it worked for you, though.

The problem could be related to the I225 hardware itself:
Presumably, the 3rd revision of the chip (which should be installed on that board) is free of hardware issues.

Those two are defined as part of the GENERIC kernel configuration. Out of tree module builds do not read /usr/src/sys/amd64/conf/GENERIC* and will follow different configuration if you don't specify things directly. …
I had a look at the generated /usr/obj/usr/src/amd64.amd64/sys/modules/igc/opt_global.h and now this doesn't seem to be necessary. Not sure at which point (and to what extent) this was changed.
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

After reading the information posted on #144 and #146, I'll post any issues that I may encounter as to the duration of the Z590 + Intel 1225 Ethernet Chip. Again, a heart felt thank you!!!
 
OP
R

rpowell47

Active Member

Reaction score: 26
Messages: 198

Good Morning, Well the z590 + Inteli1225-V chip only worked for a couple of days. I'm now back with the re0 and posting this as I had mentioned in post #147. All in all, It seems as though the Intel chip on the MSI motherboard design has the issue. I'm stuck with the Motherboard for now, so I'll depend on the added Ethernet Card for now. Again, thanks for all of your help and patience.
 
Top