139-network problem

Rodolfo Perez r-v-r at gmx.net
Fri Mar 18 00:01:11 PDT 2011


On Thu, 2011-03-17 at 14:42 -0500, Bruce Dubbs wrote:
> Rodolfo Perez wrote:
> > On Thu, 2011-03-17 at 10:21 -0500, Bruce Dubbs wrote:
> >> Rodolfo Perez wrote:
> >>> Hey all
> >>>
> >>> I trying to install lfs-6.8 with the svn-jhalfs. I almost succeeded :-)
> >>> I experienced the same problem as mentioned below. Is there now a
> >>> "smooth" solution to this?
> >>> I'm working on a laptop (TravelMate 6291) and My Host has Mandriva
> >>> 2010.1. help is highly appreciated.
> >> I think this is a host system issue.  What is the result of
> >>
> >> ls -ld /sys/class/net/*
> > 
> > 
> > That gives me:
> > 
> > [ruedi at localhost ~]$ ls -ld /sys/class/net/*
> > lrwxrwxrwx 1 root root 0 2011-03-17 20:48 /sys/class/net/eth0 -> 
> > lrwxrwxrwx 1 root root 0 2011-03-17 20:48 /sys/class/net/lo -> 
> > lrwxrwxrwx 1 root root 0 2011-03-17 20:53 /sys/class/net/ppp0 ->
> > lrwxrwxrwx 1 root root 0 2011-03-17 20:48 /sys/class/net/vboxnet0 -> 
> > lrwxrwxrwx 1 root root 0 2011-03-17 20:48 /sys/class/net/wlan0 ->
> > [ruedi at localhost ~]$ 
> 
> I'm not familiar with vboxnet0, but what happens if you do:
> 
> for NIC in /sys/class/net/eth* ; do
>      INTERFACE=${NIC##*/} udevadm test --action=add $NIC
> done
> 

That gives me:

[root at localhost ruedi]# for NIC in /sys/class/net/eth* ; do
INTERFACE=${NIC##*/} udevadm test --action=add $NIC; done
run_command: calling: test
udevadm_test: version 153
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.

parse_file: reading '/lib/udev/rules.d/10-console.rules' as rules file
parse_file: reading '/lib/udev/rules.d/10-dm.rules' as rules file
add_rule: name empty, node creation suppressed
parse_file: reading '/lib/udev/rules.d/13-dm-disk.rules' as rules file
parse_file: reading '/etc/udev/rules.d/40-hplip.rules' as rules file
parse_file: reading '/lib/udev/rules.d/40-libgphoto2.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/40-usb-media-players.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 '/lib/udev/rules.d/50-udev-mandriva.rules' as rules
file
parse_file: reading '/etc/udev/rules.d/56-hpmud_support.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-libmtp.rules' as rules file
parse_file: reading '/etc/udev/rules.d/60-libpisock.rules' as rules file
parse_file: reading '/etc/udev/rules.d/60-libsane.rules' as rules file
parse_file: reading '/etc/udev/rules.d/60-pcmcia.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 '/etc/udev/rules.d/60-raw.rules' as rules file
parse_file: reading '/lib/udev/rules.d/61-mobile-action.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/61-mobile-zte-drakx-net.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-md-raid.rules' as rules file
parse_file: reading '/etc/udev/rules.d/69-floppy-acl.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/69-printeracl.rules' as rules
file
parse_file: reading '/etc/udev/rules.d/69-printers_lp_user_fix.rules' as
rules file
parse_file: reading '/lib/udev/rules.d/70-acl.rules' as rules file
parse_file: reading '/lib/udev/rules.d/70-hid2hci.rules' as rules file
parse_file: reading '/lib/udev/rules.d/70-hotplug_map.rules' as rules
file
parse_file: reading '/etc/udev/rules.d/70-persistent-cd.rules' as rules
file
parse_file: reading '/etc/udev/rules.d/70-persistent-net.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/70-printers.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-net-description.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/75-tty-description.rules' as
rules file
parse_file: reading '/lib/udev/rules.d/76-net.rules' as rules file
parse_file: reading '/lib/udev/rules.d/78-sound-card.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/80-udisks.rules' as rules file
parse_file: reading '/lib/udev/rules.d/85-regulatory.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/85-usbmuxd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/88-clock.rules' as rules file
parse_file: reading '/lib/udev/rules.d/90-hal.rules' as rules file
parse_file: reading '/lib/udev/rules.d/90-libgpod.rules' as rules file
parse_file: reading '/lib/udev/rules.d/90-pulseaudio.rules' as rules
file
parse_file: reading '/etc/udev/rules.d/91-drm-modeset.rules' as rules
file
parse_file: reading '/etc/udev/rules.d/91-usb_modeswitch.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/95-dm-notify.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-gcm-colorimeters.rules' as
rules file
parse_file: reading '/lib/udev/rules.d/95-gcm-devices.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/95-keyboard-force-release.rules'
as rules file
parse_file: reading '/lib/udev/rules.d/95-keymap.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-pam-console.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/95-udev-late.rules' as rules file
parse_file: reading
'/lib/udev/rules.d/95-upower-battery-recall-dell.rules' as rules file
parse_file: reading
'/lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules' as rules file
parse_file: reading
'/lib/udev/rules.d/95-upower-battery-recall-gateway.rules' as rules file
parse_file: reading
'/lib/udev/rules.d/95-upower-battery-recall-ibm.rules' as rules file
parse_file: reading
'/lib/udev/rules.d/95-upower-battery-recall-lenovo.rules' as rules file
parse_file: reading
'/lib/udev/rules.d/95-upower-battery-recall-toshiba.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-upower-csr.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/95-upower-hid.rules' as rules
file
parse_file: reading '/lib/udev/rules.d/95-upower-wup.rules' as rules
file
parse_file: reading '/etc/udev/rules.d/97-bluetooth-hid2hci.rules' as
rules file
parse_file: reading '/etc/udev/rules.d/97-bluetooth-serial.rules' as
rules file
parse_file: reading '/etc/udev/rules.d/97-bluetooth.rules' as rules file
parse_file: reading '/etc/udev/rules.d/alsa.rules' as rules file
parse_file: reading '/etc/udev/rules.d/kino.rules' as rules file
parse_file: reading '/etc/udev/rules.d/kpartx.rules' as rules file
parse_file: reading '/etc/udev/rules.d/virtualbox.rules' as rules file
udev_rules_new: rules use 203556 bytes tokens (16963 * 12 bytes), 34227
bytes buffer
udev_rules_new: temporary index used 60040 bytes (3002 * 20 bytes)
udev_device_new_from_syspath: device 0x88170b8 has devpath
'/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0'
udev_device_new_from_syspath: device 0x8817318 has devpath
'/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0'
udev_device_read_db: device 0x8817318 filled with db file data
udev_device_new_from_syspath: device 0x88175f8 has devpath
'/devices/pci0000:00/0000:00:1c.1/0000:03:00.0'
udev_device_new_from_syspath: device 0x8817950 has devpath
'/devices/pci0000:00/0000:00:1c.1'
udev_device_new_from_syspath: device 0x8817af0 has devpath
'/devices/pci0000:00'
udev_rules_apply_to_event: NAME
'eth0' /etc/udev/rules.d/70-persistent-net.rules:8
udev_rules_apply_to_event: IMPORT
'pci-db /devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0' /lib/udev/rules.d/75-net-description.rules:11
util_run_program:
'pci-db /devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0' started
util_run_program: '/lib/udev/pci-db' (stderr) 'libudev:
udev_device_new_from_syspath: '
util_run_program: '/lib/udev/pci-db' (stderr) 'device 0x80cb0d0 has
devpath '/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0''
util_run_program: '/lib/udev/pci-db' (stderr) 'libudev:
udev_device_new_from_syspath: '
util_run_program: '/lib/udev/pci-db' (stderr) 'device 0x80cb2f0 has
devpath '/devices/pci0000:00/0000:00:1c.1/0000:03:00.0''
util_run_program: '/lib/udev/pci-db' (stdout)
'ID_VENDOR_FROM_DATABASE=Broadcom Corporation'
util_run_program: '/lib/udev/pci-db' (stdout)
'ID_MODEL_FROM_DATABASE=NetLink BCM5787M Gigabit Ethernet PCI Express'
util_run_program:
'pci-db /devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0' returned
with exitcode 0
udev_rules_apply_to_event: RUN
'net_create_ifcfg' /lib/udev/rules.d/76-net.rules:4
udev_rules_apply_to_event: RUN
'net_action' /lib/udev/rules.d/76-net.rules:5
udev_rules_apply_to_event: RUN
'socket:@/org/freedesktop/hal/udev_event' /lib/udev/rules.d/90-hal.rules:2
udev_device_update_db: created db file for
'/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0' in
'/dev/.udev/db/net:eth0'
udevadm_test: UDEV_LOG=6
udevadm_test:
DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0
udevadm_test: INTERFACE=eth0
udevadm_test: IFINDEX=2
udevadm_test: ACTION=add
udevadm_test: SUBSYSTEM=net
udevadm_test: ID_VENDOR_FROM_DATABASE=Broadcom Corporation
udevadm_test: ID_MODEL_FROM_DATABASE=NetLink BCM5787M Gigabit Ethernet
PCI Express
udevadm_test: ID_BUS=pci
udevadm_test: ID_VENDOR_ID=0x14e4
udevadm_test: ID_MODEL_ID=0x1693
udevadm_test: run: 'net_create_ifcfg'
udevadm_test: run: 'net_action'
udevadm_test: run: 'socket:@/org/freedesktop/hal/udev_event'
[root at localhost ruedi]# 



When I compare this with my 139-network log:




Thu Mar 17 08:52:20 GMT 2011

KB: 1228832	/

run_command: calling: test
udevadm_test: version 166
parse_file: reading '/lib/udev/rules.d/42-qemu-usb.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 '/etc/udev/rules.d/70-persistent-net.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 11040 bytes tokens (920 * 12 bytes), 7153
bytes buffer
udev_rules_new: temporary index used 7260 bytes (363 * 20 bytes)
unable to open device '/sys/class/net/*'
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.


The log indicates that "unable to open device '/sys/class/net/*'
Why? Is that the problem?








More information about the alfs-discuss mailing list