Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 01:10:39 GMT
From:      Elmer Henriksen <root@fjerhammer.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/173137: em(4) unable to run at gigabit with 9.1-RC2
Message-ID:  <201210270110.q9R1Ad5B091526@red.freebsd.org>
Resent-Message-ID: <201210270120.q9R1K1wG072090@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173137
>Category:       kern
>Synopsis:       em(4) unable to run at gigabit with 9.1-RC2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 27 01:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Elmer Henriksen
>Release:        9.1-RC2
>Organization:
N/A
>Environment:
FreeBSD scuba.fjerhammer.dk 9.1-RC2 FreeBSD 9.1-RC2 #0: Wed Oct 24 13:10:36 CEST 2012     esh@scuba.fjerhammer.dk:/usr/obj/usr/src/sys/SCUBAKERN  amd64
>Description:
After upgrading from 9.0 to 9.1-RC2, my Intel 1000/GT Desktop (82541PI) PCI ethernet controller using the em(4) driver is unable to run at gigabit speeds.

Using autoselect, the interface defaults to 100baseTX, and setting it to 1000baseT or 1000baseTX either half- or full-duplex simply disconnects the controller from the network and changes its status to "no carrier". Changing the media to 100baseTX or autoselect again brings back the connection.

I have tried replacing the cable and connecting the machine to several different (gigabit) devices, but nothing helps. dmesg does not output anything out of the ordinary.
The other network interface in the machine, an onboard Realtek, does not have any problems and autonegotiates to gigabit just fine.

The system is an Intel D945GCLF2D dual-core Atom 330 running FreeBSD/amd64.

lspci:
04:00.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)

dmesg:
em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.4> port 0x1000-0x103f mem 0x88120000-0x8813ffff,0x88100000-0x8811ffff irq 21 at device 0.0 on pci4

sysctl dev.em:
dev.em.0.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.4
dev.em.0.%driver: em
dev.em.0.%location: slot=0 function=0
dev.em.0.%pnpinfo: vendor=0x8086 device=0x107c subvendor=0x8086 subdevice=0x1376 class=0x020000
dev.em.0.%parent: pci4
dev.em.0.nvm: -1
dev.em.0.rx_int_delay: 0
dev.em.0.tx_int_delay: 66
dev.em.0.rx_abs_int_delay: 66
dev.em.0.tx_abs_int_delay: 66
dev.em.0.rx_processing_limit: 100
dev.em.0.flow_control: 3
dev.em.0.mbuf_alloc_fail: 0
dev.em.0.cluster_alloc_fail: 0
dev.em.0.dropped: 0
dev.em.0.tx_dma_fail: 0
dev.em.0.tx_desc_fail1: 0
dev.em.0.tx_desc_fail2: 145326
dev.em.0.rx_overruns: 0
dev.em.0.watchdog_timeouts: 0
dev.em.0.device_control: 1480327745
dev.em.0.rx_control: 32770
dev.em.0.fc_high_water: 47104
dev.em.0.fc_low_water: 45604
dev.em.0.fifo_workaround: 0
dev.em.0.fifo_reset: 0
dev.em.0.txd_head: 243
dev.em.0.txd_tail: 243
dev.em.0.rxd_head: 14
dev.em.0.rxd_tail: 12
dev.em.0.mac_stats.excess_coll: 0
dev.em.0.mac_stats.single_coll: 0
dev.em.0.mac_stats.multiple_coll: 0
dev.em.0.mac_stats.late_coll: 0
dev.em.0.mac_stats.collision_count: 0
dev.em.0.mac_stats.symbol_errors: 0
dev.em.0.mac_stats.sequence_errors: 0
dev.em.0.mac_stats.defer_count: 0
dev.em.0.mac_stats.missed_packets: 0
dev.em.0.mac_stats.recv_no_buff: 0
dev.em.0.mac_stats.recv_undersize: 0
dev.em.0.mac_stats.recv_fragmented: 0
dev.em.0.mac_stats.recv_oversize: 0
dev.em.0.mac_stats.recv_jabber: 0
dev.em.0.mac_stats.recv_errs: 0
dev.em.0.mac_stats.crc_errs: 0
dev.em.0.mac_stats.alignment_errs: 0
dev.em.0.mac_stats.coll_ext_errs: 0
dev.em.0.mac_stats.xon_recvd: 0
dev.em.0.mac_stats.xon_txd: 0
dev.em.0.mac_stats.xoff_recvd: 0
dev.em.0.mac_stats.xoff_txd: 0
dev.em.0.mac_stats.total_pkts_recvd: 27700266
dev.em.0.mac_stats.good_pkts_recvd: 27700266
dev.em.0.mac_stats.bcast_pkts_recvd: 21448
dev.em.0.mac_stats.mcast_pkts_recvd: 1334
dev.em.0.mac_stats.rx_frames_64: 5590389
dev.em.0.mac_stats.rx_frames_65_127: 12234066
dev.em.0.mac_stats.rx_frames_128_255: 882048
dev.em.0.mac_stats.rx_frames_256_511: 239892
dev.em.0.mac_stats.rx_frames_512_1023: 8548498
dev.em.0.mac_stats.rx_frames_1024_1522: 205373
dev.em.0.mac_stats.good_octets_recvd: 7051893659
dev.em.0.mac_stats.good_octets_txd: 17847873333
dev.em.0.mac_stats.total_pkts_txd: 27183553
dev.em.0.mac_stats.good_pkts_txd: 27183553
dev.em.0.mac_stats.bcast_pkts_txd: 429
dev.em.0.mac_stats.mcast_pkts_txd: 599
dev.em.0.mac_stats.tx_frames_64: 9427391
dev.em.0.mac_stats.tx_frames_65_127: 3163651
dev.em.0.mac_stats.tx_frames_128_255: 3203080
dev.em.0.mac_stats.tx_frames_256_511: 565954
dev.em.0.mac_stats.tx_frames_512_1023: 185206
dev.em.0.mac_stats.tx_frames_1024_1522: 10638271
dev.em.0.mac_stats.tso_txd: 0
dev.em.0.mac_stats.tso_ctx_fail: 0
>How-To-Repeat:
Connect the interface to a gigabit network.
>Fix:
Using the interface at 100baseTX.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210270110.q9R1Ad5B091526>