Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2017-09-23 18:34:06

  TeHaX - Użytkownik

TeHaX
Użytkownik
Zarejestrowany: 2006-06-07

Problem z uruchomieniem 2 karty sieciowej na Atom D2500CC

Mam problem z dodaniem do systemu i uruchomieniem jednej z dwóch zintegrowanych kart sieciowej na płycie Intel Atom D2500CC.

# lspci

Kod:

00:00.0 Host bridge: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 0b)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02)
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection

# lspci -v

Kod:

00:00.0 Host bridge: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller (rev 04)
        Subsystem: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller
        Flags: bus master, fast devsel, latency 0

00:02.0 VGA compatible controller: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller
        Flags: bus master, fast devsel, latency 0, IRQ 31
        Memory at d0300000 (32-bit, non-prefetchable) [size=1M]
        I/O ports at 30d0 [size=8]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [d0] Power Management version 2
        Capabilities: [b0] Vendor Specific Information: Len=07 <?>
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Kernel driver in use: gma500
        Kernel modules: gma500_gfx

00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
        Subsystem: Intel Corporation NM10/ICH7 Family High Definition Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 30
        Memory at d0500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 24
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: d0200000-d02fffff
        Prefetchable memory behind bridge: 00000000d0600000-00000000d07fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation NM10/ICH7 Family PCI Express Port 1
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 25
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: d0000000-d01fffff
        Prefetchable memory behind bridge: 00000000d0800000-00000000d09fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation NM10/ICH7 Family PCI Express Port 2
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation NM10/ICH7 Family USB UHCI Controller
        Flags: bus master, medium devsel, latency 0, IRQ 23
        I/O ports at 30a0 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci_hcd

00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation NM10/ICH7 Family USB UHCI Controller
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 3080 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci_hcd

00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation NM10/ICH7 Family USB UHCI Controller
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 3060 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci_hcd

00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation NM10/ICH7 Family USB UHCI Controller
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at 3040 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci_hcd

00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at d0404400 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])
        Flags: fast devsel
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
        Capabilities: [50] Subsystem: Intel Corporation 82801 Mobile PCI Bridge

00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
        Subsystem: Intel Corporation NM10 Family LPC Controller
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02) (prog-if 01 [AHCI 1.0])
        Subsystem: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 29
        I/O ports at 30c8 [size=8]
        I/O ports at 30dc [size=4]
        I/O ports at 30c0 [size=8]
        I/O ports at 30d8 [size=4]
        I/O ports at 3020 [size=16]
        Memory at d0404000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 2
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02)
        Subsystem: Intel Corporation NM10/ICH7 Family SMBus Controller
        Flags: medium devsel, IRQ 19
        I/O ports at 3000 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
        Subsystem: Intel Corporation 82574L Gigabit Network Connection
        Flags: fast devsel, IRQ 17
        Memory at d0100000 (32-bit, non-prefetchable) [size=128K]
        Memory at d0000000 (32-bit, non-prefetchable) [size=1M]
        I/O ports at 1000 [size=32]
        Memory at d0120000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [a0] MSI-X: Enable- Count=1 Masked-
        Capabilities: [100] Advanced Error Reporting
        Kernel modules: e1000e

02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
        Subsystem: Intel Corporation 82574L Gigabit Network Connection
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d0220000 (32-bit, non-prefetchable) [size=128K]
        Memory at d0200000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 2000 [size=32]
        Memory at d0240000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [a0] MSI-X: Enable+ Count=5 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 00-22-4d-ff-ff-a5-99-bb
        Kernel driver in use: e1000e
        Kernel modules: e1000e

# cat /etc/network/interfaces

Kod:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp2s0
iface enp2s0 inet static
    address 192.168.0.3
    netmask 255.255.252.0
    gateway 192.168.0.1

# ifconfig -a

Kod:

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.3  netmask 255.255.252.0  broadcast 192.168.3.255
        inet6 fe80::222:4dff:fea5:99bb  prefixlen 64  scopeid 0x20<link>
        ether 00:22:4d:a5:99:bb  txqueuelen 1000  (Ethernet)
        RX packets 2422  bytes 404806 (395.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2386  bytes 294404 (287.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xd0220000-d0240000

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 1  (Local Loopback)
        RX packets 160  bytes 12960 (12.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 160  bytes 12960 (12.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.8.0.1  netmask 255.255.255.0  destination 10.8.0.1
        inet6 fe80::a973:1a04:2b5d:987b  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 384 (384.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# uname -a

Kod:

Linux SERWER 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux

# ip addr show

Kod:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:22:4d:a5:99:bb brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.3/22 brd 192.168.3.255 scope global enp2s0
       valid_lft forever preferred_lft forever
    inet6 fe80::222:4dff:fea5:99bb/64 scope link
       valid_lft forever preferred_lft forever
3: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
    link/none
    inet 10.8.0.1/24 brd 10.8.0.255 scope global tun0
       valid_lft forever preferred_lft forever
    inet6 fe80::a973:1a04:2b5d:987b/64 scope link flags 800
       valid_lft forever preferred_lft forever

####################################################

Po dodaniu do wpisów do pliku /etc/network/interfaces

Kod:

allow-hotplug enp1s0
iface enp1s0 inet static
    address 192.168.10.3
    netmask 255.255.255.0
    gateway 192.168.10.1

# ifup enp1s0

Kod:

Cannot find device "enp1s0"
ifup: failed to bring up enp1s0

# systemctl status networking.service

Kod:

● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
   Active: active (exited) since Sat 2017-09-23 18:21:57 CEST; 3min 43s ago
     Docs: man:interfaces(5)
  Process: 240 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
  Process: 226 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=1/FAILURE)
 Main PID: 240 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/networking.service

wrz 23 18:21:55 SERWER systemd[1]: Starting Raise network interfaces...
wrz 23 18:21:57 SERWER systemd[1]: Started Raise network interfaces.

enp2s0 zostało skonfigurowane i uruchomione podczas instalacji systemu.

Do jednej karty sieciowej (enp2s0) jest podłączony kabel z routera który dostarcza internet.
Do drugiej karty sieciowej jest podłączony kabel z innego routera, bez dostępu do internetu.


Wyszukałem jeszcze coś takiego:
# dmesg | grep 02:00.0

Kod:

[    0.357431] pci 0000:02:00.0: [8086:10d3] type 00 class 0x020000
[    0.357470] pci 0000:02:00.0: reg 0x10: [mem 0xd0220000-0xd023ffff]
[    0.357491] pci 0000:02:00.0: reg 0x14: [mem 0xd0200000-0xd021ffff]
[    0.357512] pci 0000:02:00.0: reg 0x18: [io  0x2000-0x201f]
[    0.357534] pci 0000:02:00.0: reg 0x1c: [mem 0xd0240000-0xd0243fff]
[    0.357712] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    0.357799] pci 0000:02:00.0: System wakeup disabled by ACPI
[    1.490139] e1000e 0000:02:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    1.552633] e1000e 0000:02:00.0 0000:02:00.0 (uninitialized): registered PHC clock
[    1.613549] e1000e 0000:02:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:22:4d:a5:99:bb
[    1.613554] e1000e 0000:02:00.0 eth0: Intel(R) PRO/1000 Network Connection
[    1.613570] e1000e 0000:02:00.0 eth0: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF
[    1.698116] e1000e 0000:02:00.0 enp2s0: renamed from eth0

# dmesg | grep 01:00.0

Kod:

[    0.367024] pci 0000:01:00.0: [8086:10d3] type 00 class 0x020000
[    0.367059] pci 0000:01:00.0: reg 0x10: [mem 0xd0100000-0xd011ffff]
[    0.367081] pci 0000:01:00.0: reg 0x14: [mem 0xd0000000-0xd00fffff]
[    0.367101] pci 0000:01:00.0: reg 0x18: [io  0x1000-0x101f]
[    0.367122] pci 0000:01:00.0: reg 0x1c: [mem 0xd0120000-0xd0123fff]
[    0.367294] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.367373] pci 0000:01:00.0: System wakeup disabled by ACPI
[    1.613889] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    1.613899] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): Failed to initialize MSI-X interrupts.  Falling back to MSI interrupts.
[    1.672407] e1000e 0000:01:00.0: The NVM Checksum Is Not Valid
[    1.695385] e1000e: probe of 0000:01:00.0 failed with error -5

Ostatnio edytowany przez TeHaX (2017-09-23 19:49:23)

Offline

 

#2  2017-09-23 20:44:22

  mati75 - Psuj

mati75
Psuj
Skąd: masz ten towar?
Zarejestrowany: 2010-03-14

Re: Problem z uruchomieniem 2 karty sieciowej na Atom D2500CC

Spróbuj zaktualizować jądra do wersji backportów.


https://l0calh0st.pl/obrazki/userbar.png

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)