Today I tried with a FreeBSD live cd. With the FreeBSD driver happens almost the same, by default it selects 100baseTX, except for that if I manually run:
# ifconfig em0 autoselect it sometimes changes to 1000baseT, but the connection goes down. Same selecting 1000baseT manually. I don't know if this could be useful. While media 1000baseT is set, freebsd kernel continuously prints this message: # em0: TX(0) desc avail=1024, pidx=0 When I select 100baseTX again those messages go away and the connection is reestablished. I tried also with another linux distribution, linux recognizes the card as 1G by default. I even cleaned up the ethernet port connectors with alcohol. :-) The ethernet cables I've been using are cat5E. I'll try buying some cat6 or cat7 to be sure it's not a cable issue. On Mon, Aug 26, 2019 at 04:24:06PM +0200, Walter Alejandro Iglesias wrote: > $ dmesg | grep em0 > em0 at pci0 dev 25 function 0 "Intel ICH8 IGP AMT" rev 0x02: msi, address > 00:0f:fe:77:4f:df > $ cat /etc/hostname.em0 > dhcp > $ ifconfig em0 > em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500 > lladdr 00:0f:fe:77:4f:df > index 1 priority 0 llprio 3 > groups: egress > media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) > status: active > inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 > $ ifconfig em0 media > em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500 > lladdr 00:0f:fe:77:4f:df > index 1 priority 0 llprio 3 > groups: egress > media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) > status: active > supported media: > media 10baseT > media 10baseT mediaopt full-duplex > media 100baseTX > media 100baseTX mediaopt full-duplex > media 1000baseT mediaopt full-duplex > media 1000baseT > media autoselect > inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 > # ifconfig em0 media media 1000baseT mediaopt full-duplex > # ifconfig em0 > em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500 > lladdr 00:0f:fe:77:4f:df > index 1 priority 0 llprio 3 > groups: egress > media: Ethernet 1000baseT full-duplex (none) > status: no carrier > inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 > # ifconfig em0 media autoselect > # ifconfig em0 > em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500 > lladdr 00:0f:fe:77:4f:df > index 1 priority 0 llprio 3 > groups: egress > media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) > status: active > inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 > > > I ran the above commands consecutively, without delay. As they show, > after I set "media" to "1000baseT full-duplex" (available according to > ifconfig output) connection is lost, then I set media back to > "autoselect" and the connection is immediately reestablished. > > Tried with another (tested) cable, same result. Tried connecting the PC > to another router, same result. With an old linux liveCD the card works > at 1G speed by default. > > > dmesg: > OpenBSD 6.6-beta (GENERIC.MP) #246: Sat Aug 24 09:18:54 MDT 2019 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 4135260160 (3943MB) > avail mem = 3997245440 (3812MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb920 (70 entries) > bios0: vendor Hewlett-Packard version "786E1 v01.16" date 08/17/2011 > bios0: Hewlett-Packard HP Compaq dc7700 Convertible Minitower > acpi0 at bios0: ACPI 1.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET > acpi0: wakeup devices PCI0(S4) COM1(S4) PEG1(S4) IGBE(S4) PCX1(S4) PCX2(S4) > HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) EUS1(S3) EUS2(S3) > PBTN(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.78 MHz, 06-0f-02 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > cpu0: 2MB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 199MHz > cpu0: mwait min=64, max=64, C-substates=0.2, IBE > cpu1 at mainbus0: apid 1 (application processor) > TSC skew=-22 > cpu1: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.50 MHz, 06-0f-02 > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > cpu1: 2MB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins, remapped > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf4000000, bus 0-63 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG1) > acpiprt2 at acpi0: bus 32 (PCX1) > acpiprt3 at acpi0: bus -1 (PCX2) > acpiprt4 at acpi0: bus 7 (HUB_) > acpicpu0 at acpi0: C1(@1 halt!), PSS > acpicpu1 at acpi0: C1(@1 halt!), PSS > acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 > acpicmos0 at acpi0 > "PNP0003" at acpi0 not configured > acpibtn0 at acpi0: PBTN > "PNP0C14" at acpi0 not configured > cpu0: Enhanced SpeedStep 1795 MHz: speeds: 1800, 1200 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02 > inteldrm0 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02 > drm0 at inteldrm0 > intagp0 at inteldrm0 > agp0 at intagp0: aperture at 0xe0000000, size 0x10000000 > inteldrm0: apic 1 int 16 > "Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured > em0 at pci0 dev 25 function 0 "Intel ICH8 IGP AMT" rev 0x02: msi, address > 00:0f:fe:77:4f:df > uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20 > uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21 > ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 22 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: msi > azalia0: codecs: Realtek ALC262 > audio0 at azalia0 > ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: msi > pci1 at ppb0 bus 32 > uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20 > uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21 > ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 20 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2 > pci2 at ppb1 bus 7 > pcib0 at pci0 dev 31 function 0 "Intel 82801HO LPC" rev 0x02 > pciide0 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel > 0 configured to native-PCI, channel 1 configured to native-PCI > pciide0: using apic 1 int 18 for native-PCI interrupt > wd0 at pciide0 channel 0 drive 0: <WDC WD1600AAJS-08WAA0> > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus1 at atapiscsi0: 2 targets > cd0 at scsibus1 targ 0 lun 0: <TSSTcorp, DVD-ROM TS-H353B, BC03> ATAPI > 5/cdrom removable > cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 > usb2 at uhci0: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at uhci1: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb4 at uhci2: USB revision 1.0 > uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb5 at uhci3: USB revision 1.0 > uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at pcib0 > isadma0 at isa0 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > uhidev0 at uhub3 port 2 configuration 1 interface 0 "EATON Eaton 3S" rev > 2.00/1.00 addr 2 > uhidev0: iclass 3/0, 32 report ids > upd0 at uhidev0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on wd0a (4aeef12f7b9611d5.a) swap on wd0b dump on wd0b > [drm] ACPI BIOS requests an excessive sleep of 858477105 ms, using 1500 ms > instead > inteldrm0: 1360x768, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > > usbdevs: > Controller /dev/usb0: > addr 01: 8086:0000 Intel, EHCI root hub > high speed, self powered, config 1, rev 1.00 > driver: uhub0 > Controller /dev/usb1: > addr 01: 8086:0000 Intel, EHCI root hub > high speed, self powered, config 1, rev 1.00 > driver: uhub1 > Controller /dev/usb2: > addr 01: 8086:0000 Intel, UHCI root hub > full speed, self powered, config 1, rev 1.00 > driver: uhub2 > Controller /dev/usb3: > addr 01: 8086:0000 Intel, UHCI root hub > full speed, self powered, config 1, rev 1.00 > driver: uhub3 > addr 02: 0463:ffff EATON, Eaton 3S > low speed, power 20 mA, config 1, rev 1.00, iSerial 000000000 > driver: uhidev0 > Controller /dev/usb4: > addr 01: 8086:0000 Intel, UHCI root hub > full speed, self powered, config 1, rev 1.00 > driver: uhub4 > Controller /dev/usb5: > addr 01: 8086:0000 Intel, UHCI root hub > full speed, self powered, config 1, rev 1.00 > driver: uhub5 > >
