Наблюдается такая проблема: на hotplug-2004_09_23-alt17, udev-097-alt2 и 2.6.16-std26-up-alt12 hotplug не грузит модули via_rhine или ne2k-pci (на другой системе), которые при этом в выводе pciscan наблюдаются. фрагменты messages при DEBUG=yes в /etc/sysconfig/hotplug (http://pastebin.ca/243466): ** pci.rc Nov 8 16:44:12 localhost default.hotplug[4087]: arguments (pci) env (LESSKEY=/etc/.less PCI_SLOT_N AME=0000:00:12.0 HOSTNAME=localhost.localdomain TERM=xterm SHELL=/bin/bash HISTSIZE=999 PCI_ID=1106 :3065 TMPDIR=/tmp/.private/root OLDPWD=/sys/bus/pci/devices QTDIR=/usr/lib/qt3/ QTINC=/usr/lib/qt3/ include/ USER=root HISTFILESIZE=9999 LS_COLORS=[...skipped...] Nov 8 16:44:12 localhost default.hotplug[4087]: invoke /etc/hotplug/pci.agent () ** justnet.rc (прицеплю, по сути modprobe `pciscan -c 002` и работает): Nov 8 16:47:22 localhost default.hotplug[4319]: arguments (module) env (SUBSYSTEM=module OLDPWD=/ DEVPATH=/module/via_rhine PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHL VL=2 SEQNUM=483 _=/usr/bin/env) Nov 8 16:47:22 localhost default.hotplug[4319]: no runnable /etc/hotplug/module.agent is installed Nov 8 16:47:22 localhost default.hotplug[4328]: arguments (drivers) env (SUBSYSTEM=drivers OLDPWD= / DEVPATH=/bus/pci/drivers/via-rhine PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 SEQNUM=484 _=/usr/bin/env) Nov 8 16:47:22 localhost default.hotplug[4328]: no runnable /etc/hotplug/drivers.agent is installe d Nov 8 16:47:22 localhost kernel: via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Beck er Nov 8 16:47:22 localhost default.hotplug[4337]: arguments (net) env (PHYSDEVPATH=/devices/pci0000: 00/0000:00:12.0 SUBSYSTEM=net OLDPWD=/ DEVPATH=/class/net/eth0 PATH=/bin:/sbin:/usr/sbin:/usr/bin A CTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=via-rhine INTERFACE=eth0 PHYSDEVBUS=pci SEQ NUM=485 _=/usr/bin/env) Nov 8 16:47:22 localhost default.hotplug[4337]: invoke /etc/hotplug/net.agent () Nov 8 16:47:22 localhost net.agent[4337]: invoke /etc/net/scripts/ifup-removable eth0 hotplug Nov 8 16:47:22 localhost kernel: ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 18 Nov 8 16:47:22 localhost kernel: eth0: VIA Rhine II at 0x19800, 00:15:f2:25:d1:84, IRQ 18. Nov 8 16:47:22 localhost kernel: eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. Nov 8 16:47:23 localhost kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 Nov 8 16:47:23 localhost dhcpcd.exe: interface eth0 has been configured with old IP=192.168.1.13 Nov 8 16:47:23 localhost dhcpcd[4396]: infinite IP address lease time. Exiting В /etc/hotplug/blacklist этих модулей нет, в /proc/sys/kernel/hotplug -- /sbin/hotplug, udevd присутствует (остановлен), hal присутствует только в виде libhal-0.5.7-alt4.1. Фрагмент sh -x /etc/hotplug/pci.rc start (http://pastebin.ca/243459): + for PCI_DEVICE in '*' ++ echo 0000:00:12.0 ++ sed -e 's/\([^:]*\):\(.*\):\(.*\)\.\(.*\)/\1 \2 \3 \4/' + set 0000 00 12 0 + PCI_SLOT_NAME=0000:00:12.0 ++ cat 0000:00:12.0/class + PCI_CLASS=0x020000 + PCI_CLASS=020000 ++ cat 0000:00:12.0/vendor + vendor_id=0x1106 ++ cat 0000:00:12.0/device + device_id=0x3065 + PCI_ID=1106:3065 ++ cat 0000:00:12.0/subsystem_vendor + sub_vendor_id=0x1043 ++ cat 0000:00:12.0/subsystem_device + sub_device_id=0x80ed + PCI_SUBSYS_ID=1043:80ed + /sbin/hotplug pci Тж. http://pastebin.ca/243447 (pci.rc завершается, и только после него загружается модуль -- при отключении justnet.rc этого не происходит, не лаг): Nov 8 16:05:38 localhost hotplug: Hotplug (pci.rc) start: succeeded Nov 8 16:05:38 localhost kernel: via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker Nov 8 16:05:38 localhost kernel: ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 18 Nov 8 16:05:38 localhost kernel: PCI: Via IRQ fixup for 0000:00:12.0, from 11 to 2 Nov 8 16:05:38 localhost kernel: eth0: VIA Rhine II at 0x19800, 00:15:f2:25:d1:84, IRQ 18. Nov 8 16:05:38 localhost kernel: eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. Nov 8 16:05:38 localhost hotplug: Hotplug (justnet.rc) start: succeeded Nov 8 16:05:38 localhost hotplug: Hotplug (misc.rc) start: succeeded Nov 8 16:05:38 localhost kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 Nov 8 16:05:38 localhost kernel: NET: Registered protocol family 17 Nov 8 16:05:38 localhost kernel: hdc: ATAPI 48X DVD-ROM drive, 2048kB Cache, UDMA(33) Nov 8 16:05:38 localhost kernel: Uniform CD-ROM driver Revision: 3.20 Nov 8 16:05:38 localhost dhcpcd.exe: interface eth0 has been configured with new IP=192.168.1.223 Nov 8 16:05:39 localhost hotplug: Hotplug (block.rc) start: succeeded
Created attachment 1676 [details] stub rc script to *start* net (/etc/hotplug/justnet.rc)
За прошедший год вопрос потерял актуальность -- ишак сдох, ездит udev.