Bruce Dubbs wrote:
> Bruce Dubbs wrote:
> 
>> To be continued...

After gcc, most of the packages in Chapter 6 went well.  These are the 
exceptions:

inetutils: Failed at pinging ::1

I'm sure this is because my current kernel configuration does not have 
ipv6 enabled.

---

automake:  The tests took about 2 hours (Estimate 40+ SBU).  We need to 
make a stronger warning about this in the book.

# TOTAL: 2921
# PASS:  2692
# SKIP:  189
# XFAIL: 40

---

iproute2: Reports a failure in 'make install' because of missing arpd.8. 
  We need to remove arpd.8 from the Makefile.

---

libpipeline:  make check doesn't do anything

---

Section 7.2.1  -  Creating stable names for network interfaces

The line 'INTERFACE=eth0 udevadm test --action=add /sys/class/net/eth0' 
does not run write_net_rules.  I get the following output:

run_command: calling: test
adm_test: version 182
This program is for debugging only, it does not run any program,
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

builtin_kmod_init: load module index
add_matching_files: unable to open '/run/udev/rules.d': No such file or 
directory
...
parse_file: reading 
'/lib/udev/rules.d/75-persistent-net-generator.rules' as rules file
...
udev_rules_new: rules use 13680 bytes tokens (1140 * 12 bytes), 7575 
bytes buffer
udev_rules_new: temporary index used 8300 bytes (415 * 20 bytes)
udev_device_new_from_syspath: device 0x8075520 has devpath '/class/net/eth0'
udev_device_new_from_syspath: device 0x8075698 has devpath '/class/net/eth0'
udev_device_read_db: device 0x8075698 filled with db file data
udev_device_new_from_syspath: device 0x8075b90 has devpath '/class/net'
udev_device_update_db: created db file '/run/udev/data/n2' for 
'/class/net/eth0'

ACTION=add
COMMENT=net device ()
DEVPATH=/class/net/eth0
IFINDEX=2
INTERFACE=eth0
MATCHADDR=00:11:11:79:4d:17
MATCHDEVID=0x0
MATCHIFTYPE=1
PHYSDEVBUS=pci
PHYSDEVDRIVER=tg3
PHYSDEVPATH=/devices/pci0000:00/0000:00:1c.0/0000:02:00.0
SUBSYSTEM=net
UDEV_LOG=6
USEC_INITIALIZED=206405826662
builtin_kmod_exit: unload module index

The command also creates two directories (and 4 small data files) in 
/run that will be overlaid with a tmpfs at boot time.

I think the 75-persistent-net-generator.rules will do the right thing on 
boot, but I haven't tested and I can't figure out how to force it before 
boot in chapter 7.

Comments here are welcome.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to