Hi,

I have a doubt at section 7.13.1.

Then I run the following command

for NIC in /sys/class/net/* ; do
     INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done

I get the below output. The file "
/etc/udev/rules.d/70-persistent-net.rules " is missing from it. Hence
I guess I am stuck.

root:/sources/lfs-bootscripts-20100124# for NIC in /sys/class/net/* ; do
>      INTERFACE=${NIC##*/} udevadm test --action=add $NIC
> done
run_command: calling: test
udevadm_test: version 151
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.

add_matching_files: unable to open '/dev/.udev/rules.d': No such file
or directory
parse_file: reading '/lib/udev/rules.d/40-isdn.rules' as rules file
parse_file: reading '/lib/udev/rules.d/40-pilot-links.rules' as rules file
parse_file: reading '/lib/udev/rules.d/50-firmware.rules' as rules file
parse_file: reading '/lib/udev/rules.d/50-udev-default.rules' as rules file
parse_file: reading '/etc/udev/rules.d/55-lfs.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-cdrom_id.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-floppy.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-alsa.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-input.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-serial.rules' as rules file
parse_file: reading
'/lib/udev/rules.d/60-persistent-storage-tape.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage.rules' as
rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-v4l.rules' as rules file
parse_file: reading
'/lib/udev/rules.d/61-persistent-storage-edd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/64-device-mapper.rules' as rules file
parse_file: reading '/lib/udev/rules.d/64-md-raid.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-cd-aliases-generator.rules'
as rules file
parse_file: reading
'/lib/udev/rules.d/75-persistent-net-generator.rules' as rules file
parse_file: reading '/lib/udev/rules.d/79-fstab_import.rules' as rules file
parse_file: reading '/lib/udev/rules.d/80-drivers.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-udev-late.rules' as rules file
udev_rules_new: rules use 11388 bytes tokens (949 * 12 bytes), 7453 bytes buffer
udev_rules_new: temporary index used 7540 bytes (377 * 20 bytes)
unable to open device '/sys/class/net/*'
root:/sources/lfs-bootscripts-20100124# cat
/etc/udev/rules.d/70-persistent-net.rules
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory



Where I might have gone wrong ? To my knowledge I cleared all the
possible passes earlier.



Other details:
I am using book version LFS 6.6.

Host System Requirements:

bash, version 4.0.33(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.20
bison (GNU Bison) 2.4.1
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.5, 10-Dec-2007.
Coreutils:  7.4
diff (GNU diffutils) 2.8.1
find (GNU findutils) 4.4.2
GNU Awk 3.0.4
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
GNU C Library (EGLIBC) stable release version 2.10.1
GNU grep 2.5.4
gzip 1.3.12
Linux version 2.6.31-19-generic (bui...@palmer) (gcc version 4.4.1
(Ubuntu 4.4.1-4ubuntu8) ) #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010
m4 (GNU M4) 1.4.13
GNU Make 3.81
patch 2.5.9
Perl version='5.10.0';
GNU sed version 4.2.1
tar (GNU tar) 1.22
Texinfo: makeinfo (GNU texinfo) 4.13
Compilation OK


I don't think I have deviated from the book because I did get the
previous checks right.

Thank you.

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

Reply via email to