ClearFoundation Tracker - ClearOS
View Issue Details
0019851ClearOSapp-network - Network Settingspublic2018-04-13 08:002020-02-18 05:15
dloper 
 
normalminoralways
closedunable to reproduce 
7.4.0 
 
0019851: Realtek card not on the list of valid interfaces due to PCI geographical location name
Some Realtek cards show up with a p name instead of e. For example:

p4p1 or p4p2 are valid network interface names.
[ 4.168089] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 4.168115] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 4.173989] r8169 0000:02:00.0: irq 89 for MSI/MSI-X
[ 4.174392] r8169 0000:02:00.0 eth0: RTL8106e at 0xffffc90000350000, d8:9e:f3:7c:de:c8, XID 04900000 IRQ 89
[ 4.180376] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 4.180436] r8169 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 4.181298] r8169 0000:04:00.0: irq 90 for MSI/MSI-X
[ 4.187619] r8169 0000:04:00.0 eth1: RTL8106e at 0xffffc9000041e000, d8:9e:f3:7c:de:ca, XID 04900000 IRQ 90

From systemd:
https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-net_id.c [^]

/*
 * Predictable network interface device names based on:
 * - firmware/bios-provided index numbers for on-board devices
 * - firmware-provided pci-express hotplug slot index number
 * - physical/geographical location of the hardware
 * - the interface's MAC address
 *
 * http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames [^]
 *
 * Two character prefixes based on the type of interface:
 * en — Ethernet
 * sl — serial line IP (slip)
 * wl — wlan
 * ww — wwan
 *
 * Type of names:
 * b<number> — BCMA bus core number
 * c<bus_id> — bus id of a grouped CCW or CCW device,
 * with all leading zeros stripped [s390]
 * o<index>[n<phys_port_name>|d<dev_port>]
 * — on-board device index number
 * s<slot>[f<function>][n<phys_port_name>|d<dev_port>]
 * — hotplug slot index number
 * x<MAC> — MAC address
 * [P<domain>]p<bus>s<slot>[f<function>][n<phys_port_name>|d<dev_port>]
 * — PCI geographical location
 * [P<domain>]p<bus>s<slot>[f<function>][u<port>][..][c<config>][i<interface>]
 * — USB port number chain
 * v<slot> - VIO slot number (IBM PowerVM)
 * a<vendor><model>i<instance> — Platform bus ACPI instance id
No tags attached.
Issue History
2018-04-13 08:00dloperNew Issue
2018-04-13 08:13dloperNote Added: 0007431
2018-04-23 07:24user2Statusnew => feedback
2018-04-23 07:24user2Target Version7.4.0 Updates =>
2020-02-18 05:15NickHStatusfeedback => closed
2020-02-18 05:15NickHResolutionopen => unable to reproduce

Notes
(0007431)
dloper   
2018-04-13 08:13   
I can see || preg_match('/^p\d+p/', $this->iface) in Iface.php, but for some reason it didn't work. Investigating...