You are not logged in.

#1 2013-03-22 03:04:56

nian
Member
Registered: 2013-03-22
Posts: 8

[SOLVED]tinkpad x201, wired network adapter can't R/T packages

hi,all.
Yestoday i updated my system,but afternoon, the laptop wired network adpater can't receive/send packages.
who can help me,thanks!

*****************ip link show ******************

[nianhz@nianhz-pc src]$ ip link show enp0s25
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
    link/ether f0:de:f1:4d:dd:51 brd ff:ff:ff:ff:ff:ff

****************ifconfig******************

enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether f0:de:f1:4d:dd:51  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf2500000-f2520000 

*****************lspci -v********************************************

00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
        Subsystem: Lenovo Device 2153
        Flags: fast devsel, IRQ 20
        Memory at f2500000 (32-bit, non-prefetchable) [size=128K]
        Memory at f2525000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 1820 [size=32]
        Capabilities: <access denied>
        Kernel driver in use: e1000e

****************dmesg**************************************

[nianhz@nianhz-pc src]$ dmesg | grep e1000e
[    6.262387] e1000e: Intel(R) PRO/1000 Network Driver - 2.1.4-k
[    6.262390] e1000e: Copyright(c) 1999 - 2012 Intel Corporation.
[    6.262428] e1000e 0000:00:19.0: setting latency timer to 64
[    6.262522] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    6.262567] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[    6.445663] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) f0:de:f1:4d:dd:51
[    6.445666] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    6.445716] e1000e 0000:00:19.0 eth0: MAC: 9, PHY: 10, PBA No: A002FF-0FF
[   25.244691] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[   25.345608] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[   95.982494] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[   95.987295] e1000e 0000:00:19.0 enp0s25: PHY Wakeup cause - Link Status Change
[   96.188416] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[   96.291132] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[   96.550907] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[   96.653527] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  101.979760] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  101.984560] e1000e 0000:00:19.0 enp0s25: PHY Wakeup cause - Link Status Change
[  102.186506] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  102.289395] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  119.678052] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  119.682917] e1000e 0000:00:19.0 enp0s25: PHY Wakeup cause - Link Status Change
[  119.885544] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  119.988392] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  120.261182] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  120.364123] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  124.919364] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  124.924152] e1000e 0000:00:19.0 enp0s25: PHY Wakeup cause - Link Status Change
[  125.119055] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  125.221922] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  206.878553] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  206.883310] e1000e 0000:00:19.0 enp0s25: PHY Wakeup cause - Link Status Change
[  207.090297] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
[  207.193118] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X

Last edited by nian (2013-03-22 07:27:19)

Offline

#2 2013-03-22 03:14:48

nian
Member
Registered: 2013-03-22
Posts: 8

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

i suspect that may be caused by network adapter driver,then i download intel network driver 2.2.14 and compile it.
but, have this error:
[nianhz@nianhz-pc src]$ make install

make -C /lib/modules/3.8.3-2-ARCH/build SUBDIRS=/home/nianhz/downloads/e1000e-2.2.14/src modules
make[1]: 进入目录“/usr/src/linux-3.8.3-2-ARCH”
  CC [M]  /home/nianhz/downloads/e1000e-2.2.14/src/netdev.o
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:3119:22: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘e1000_alloc_queues’
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:4780:22: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘e1000_sw_init’
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:7575:22: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘e1000_probe’
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:7989:23: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘e1000_remove’
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:8158:11: 错误:‘e1000_probe’未声明(不在函数内)
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:8159:2: 错误:隐式声明函数‘__devexit_p’ [-Werror=implicit-function-declaration]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:8159:24: 错误:‘e1000_remove’未声明(不在函数内)
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:348:33: 警告:‘e1000_info_tbl’定义后未使用 [-Wunused-variable]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:1436:13: 警告:‘e1000_print_hw_hang’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:1520:13: 警告:‘e1000e_tx_hwtstamp_work’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:2134:13: 警告:‘e1000e_downshift_workaround’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:3149:12: 警告:‘e1000e_poll’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:4757:16: 警告:‘e1000e_cyclecounter_read’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:5208:13: 警告:‘e1000e_update_phy_task’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:5227:13: 警告:‘e1000_update_phy_info’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:5598:13: 警告:‘e1000_watchdog’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:5608:13: 警告:‘e1000_watchdog_task’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:6464:13: 警告:‘e1000_reset_task’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:7434:13: 警告:‘e1000_print_device_info’定义后未使用 [-Wunused-function]
/home/nianhz/downloads/e1000e-2.2.14/src/netdev.c:7460:13: 警告:‘e1000_eeprom_checks’定义后未使用 [-Wunused-function]
cc1: some warnings being treated as errors
make[2]: *** [/home/nianhz/downloads/e1000e-2.2.14/src/netdev.o] 错误 1
make[1]: *** [_module_/home/nianhz/downloads/e1000e-2.2.14/src] 错误 2
make[1]: 离开目录“/usr/src/linux-3.8.3-2-ARCH”
make: *** [default] 错误 2

Last edited by nian (2013-03-22 04:13:52)

Offline

#3 2013-03-22 03:47:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

Hello, and welcome to Arch Linux.

Three things:
<moderatorMode> Please use bbcode code tags when posting files or program output.  Your readers will appreciate it.  There is also a reference link under the post boxes on the forum </moderatorMode>

Second, It really looks like you have an intermittent cable.  Check that the cable is plugged at both ends.  Are the link lights (LEDs) on at both end of your cable?  What if you wiggle the cable?

Third:  Installing software with make %% make install is not encouraged.  You really should install from the AUR.

ewaller@odin:~ 1002 %packer -Ss e1000e
aur/e1000e 2.1.4-1 (0)
    Intel e1000e server adapters driver
aur/dkms-e1000e 2.1.4-1 (0)
    Intel e1000e server adapters driver
ewaller@odin:~ 1003 %

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2013-03-22 04:20:22

nian
Member
Registered: 2013-03-22
Posts: 8

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

ewaller wrote:

Hello, and welcome to Arch Linux.

Three things:
<moderatorMode> Please use bbcode code tags when posting files or program output.  Your readers will appreciate it.  There is also a reference link under the post boxes on the forum </moderatorMode>

Second, It really looks like you have an intermittent cable.  Check that the cable is plugged at both ends.  Are the link lights (LEDs) on at both end of your cable?  What if you wiggle the cable?

Third:  Installing software with make %% make install is not encouraged.  You really should install from the AUR.

ewaller@odin:~ 1002 %packer -Ss e1000e
aur/e1000e 2.1.4-1 (0)
    Intel e1000e server adapters driver
aur/dkms-e1000e 2.1.4-1 (0)
    Intel e1000e server adapters driver
ewaller@odin:~ 1003 %

thanks!
First, the cable has nothing problem, i use that connect my another windows laptop, it's works fine.

second, aur packpage can't install ,because md5sum is invalide, i will attempt to modify PKG file.

third, aur e1000e package version is equal  to the version of kernel included( 2.1.4-1).

Last edited by nian (2013-03-22 04:23:42)

Offline

#5 2013-03-22 04:32:06

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

See the man page of makepkg (or just the help)

Offline

#6 2013-03-22 05:29:13

nian
Member
Registered: 2013-03-22
Posts: 8

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

now,i compile and install the latest driver(2.3.2), but dos not solve the problem.


[nianhz@nianhz-pc ~]$ dmesg | grep e1000e
[    6.338836] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-NAPI
[    6.338839] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[    6.338881] e1000e 0000:00:19.0: setting latency timer to 64
[    6.338974] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    6.339018] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[    6.520762] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) f0:de:f1:4d:dd:51
[    6.520766] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    6.520816] e1000e 0000:00:19.0 eth0: MAC: 9, PHY: 10, PBA No: A002FF-0FF
[   28.247594] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[   28.350295] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[   32.186170] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[   32.190931] e1000e 0000:00:19.0 enp0s25: PHY Wakeup cause - Link Status Change
[   32.390451] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[   32.493126] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[nianhz@nianhz-pc ~]$ ifconfig
enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether f0:de:f1:4d:dd:51  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf2500000-f2520000 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 576
        inet 192.168.1.110  netmask 255.255.255.0  broadcast 255.255.255.255
        ether 88:9f:fa:fd:47:d5  txqueuelen 1000  (Ethernet)
        RX packets 11  bytes 2117 (2.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1271 (1.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Offline

#7 2013-03-22 06:46:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

I am not going to help you until you start using code tags. 

They are like this without the spaces between the "[" and "code" ->[ code ]A bunch of text here[ /code ]

For a more ridiculously visual explanation, hit the quote button on the bottom of this post to see how I made this silly box.

Offline

#8 2013-03-22 07:15:01

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

Offline

#9 2013-03-22 07:16:49

nian
Member
Registered: 2013-03-22
Posts: 8

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

WonderWoofy wrote:

I am not going to help you until you start using code tags. 

They are like this without the spaces between the "[" and "code" ->[ code ]A bunch of text here[ /code ]

For a more ridiculously visual explanation, hit the quote button on the bottom of this post to see how I made this silly box.

You are so humorous, but the adapter works, and i dos not find the reason.

[nianhz@nianhz-pc vm]$ ifconfig 
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.1.0.59  netmask 255.255.255.0  broadcast 10.1.0.255
        inet6 fe80::f2de:f1ff:fe4d:dd51  prefixlen 64  scopeid 0x20<link>
        ether f0:de:f1:4d:dd:51  txqueuelen 1000  (Ethernet)
        RX packets 130  bytes 32515 (31.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 99  bytes 13173 (12.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf2500000-f2520000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 63  bytes 4866 (4.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 63  bytes 4866 (4.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I think, the major factor is the wired adapter state can't become up :

2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
    link/ether f0:de:f1:4d:dd:51 brd ff:ff:ff:ff:ff:ff

Offline

#10 2013-03-22 07:25:05

nian
Member
Registered: 2013-03-22
Posts: 8

Re: [SOLVED]tinkpad x201, wired network adapter can't R/T packages

Offline

Board footer

Powered by FluxBB