reopen 376589
retitle 376589 udev: z25_persistent-net.rules is no longer generated/updated 
during boot
thanks

Hi Kay, hi Marco,

I switched testing to another machine that can be rebooted more easily.
It has only one (onboard) network interface:
# PCI device 10ec:8139 (8139too)

Kay Sievers wrote:
...
> Care to provide:
>   udevinfo -a -p /class/net/eth0
>
> That should print all the DRIVER= values, just to check if that is
> correct.

  looking at device '/class/net/eth0':
    KERNEL=="eth0"
    SUBSYSTEM=="net"
    SYSFS{weight}=="64"
    SYSFS{tx_queue_len}=="1000"
    SYSFS{flags}=="0x1003"
    SYSFS{mtu}=="1500"
    SYSFS{operstate}=="unknown"
    SYSFS{dormant}=="0"
    SYSFS{carrier}=="1"
    SYSFS{broadcast}=="ff:ff:ff:ff:ff:ff"
    SYSFS{address}=="00:c0:26:01:8c:05"
    SYSFS{link_mode}=="0"
    SYSFS{type}=="1"
    SYSFS{features}=="0x29"
    SYSFS{ifindex}=="2"
    SYSFS{iflink}=="2"
    SYSFS{addr_len}=="6"

  looking at device '/devices/pci0000:00/0000:00:0a.0':
    ID=="0000:00:0a.0"
    BUS=="pci"
    DRIVER=="8139too"
    SYSFS{modalias}=="pci:v000010ECd00008139sv000010ECsd00008139bc02sc00i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="11"
    SYSFS{class}=="0x020000"
    SYSFS{subsystem_device}=="0x8139"
    SYSFS{subsystem_vendor}=="0x10ec"
    SYSFS{device}=="0x8139"
    SYSFS{vendor}=="0x10ec"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


Marco d'Itri wrote:
> On Jul 04, Andreas Beckmann <[EMAIL PROTECTED]> wrote:
>
>> # ignore interfaces without a driver link
>> DRIVER!="?*", GOTO="persistent_net_generator_end"
> So try replacing this rule with:
>
> PHYSDEVDRIVER!="?*", GOTO="persistent_net_generator_end"
>
> and check if it works better.

There is no difference between DRIVER!="?*" and PHYSDEVDRIVER!="?*" - no
z25_persistent-net.rules created during boot.


Andreas



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to