Walter Webb wrote: > # udevadm trigger --verbose --dry-run --action=add --subsystem-match=net \ > > --attr-match=address=00:e0:4c:19:16:99 > /sys/devices/pci0000:00/0000:00:1e.0/0000:07:03.0/net/eth1 > > # udevadm test > calling: test > version 188 > syspath parameter missing
I think you need udevadm test --action=add --subsystem=net /sys/class/net/eth1 > I copied my lfs-7.2 build to another partition, made all the > necessary changes, then installed udev-181 according to > the lfs-7.1 instructions. I just built it over the systemd-188 > from 7.2. Whenever the wrong ethernet got recognized > first, it always got switched. Here is one dmesg: > > # dmesg | grep eth > r8169 0000:02:00.0: eth0: RTL8168d/8111d at 0xf890a000, > 00:26:18:fe:70:ec, XID 083000c0 IRQ 46 > 8139too 0000:07:03.0: eth1: RealTek RTL8139 at 0xf8908c00, > 00:e0:4c:19:16:99, IRQ 18 > r8169 0000:02:00.0: eth0: jumbo features [frames: 9200 bytes, tx > checksumming: ko] > 8139too 0000:07:03.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1 > r8169 0000:02:00.0: eth1: unable to load firmware patch > rtl_nic/rtl8168d-2.fw (-2) > r8169 0000:02:00.0: eth1: link down > > Note there is no message from udevd like this from lfs-7.1: > > udevd[1053]: renamed network interface eth0 to eth1 I'm not sure if the difference between 181 and 188 are due to our code or upstream. I'll have to investigate more. > Incidentally, udev-181 put 70-persistent-cd.rules in > /etc/udev/rules.d. I had noticed it wasn't there before, > but I hadn't got around to investigating it. Yes, working the cd rules is on my todo list. It should be able to create symlinks for /dev/cdrom or /dev/dvd etc. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
