PreScriptum: можно отложить разборки с hotplug/pci на post-Master, но тогда бы где написать, что поддержка Linux 2.6 в ALM2.4 -- экспериментальная и известны такие-то проблемы. Дальше -- скорее ссылки и обрывки, что-то голова не варит связать в одну нить. Но, с другой стороны, про противоречия install/boot-timt настраивалок и "вечнозеленого" hotplug уже кой-чего с pilot@, rider@ и vsu@ успели обсудить. Пожалуй, самая ёмкая по степени суммирования ссылка: http://lists.debian.org/debian-devel/2004/03/msg02466.html On Fri, Jun 11, 2004 at 12:01:28PM +0300, Michael Shigorin wrote: > Другой вопрос -- куда вообще движется hotplug? Ведь эти вопросы > явно возникли не только у нас и сейчас и явно должны были > предвидеться его авторами -- насчет противоречия hotplug unix-way > по части "автомат vs прибили_и_держится", которое особенно бьет > по дорогим/"невозможным" для автодетекта старым железкам и > администраторам. (*grin*) http://lists.debian.org/debian-devel/2004/03/msg02479.html http://lists.debian.org/debian-devel/2004/03/msg02409.html: > #2) ALSA's init script is executed after hotplug. The mixer > settings are > then "restored." Same issue: a init script is the wrong place to restore the mixer settings. Two correct places are /etc/modprobe.d/ or a script in /etc/dev.d/. С этим и хотелось бы согласиться, но udev в Sisyphus не наблюдаю, да и 2.6 у нас пока не дефолтное. К этому по мелочи можно прибавить http://lists.debian.org/debian-devel/2004/03/msg02526.html http://lists.debian.org/debian-devel/2004/03/msg02487.html: >> You need to add something like this in /etc/modprobe.d/ to >> make modprobe automatically load the OSS compatibility >> module. (snd-mixer-oss is loaded anyway, does anybody know >> why?) >> install snd-pcm /sbin/modprobe --ignore-install snd-pcm && >> /sbin/modprobe snd-pcm-oss > Isn't "above snd-pcm snd-pcm-oss" a simpler and clearer way to > express the same thing? Yes, but it's a modprobe (modutils) thing; modprobe (module-init-tools) doesn't support it. Здесь накладывается на вопрос о будущем modutils vs hotplug, который, помнится, был оставлен открытым до выяснения. http://lists.debian.org/debian-devel/2004/03/msg02449.html: It's not at all clear to me that the hotplug framework is the right way to deal with automatically loading modules at boot time. We have other schemes, such as /etc/modules, which work just as well, if not better. -- Theodore Ts'o Followup с все тем же вопросом о порядке сетевых интерфейсов как результате определения discover vs hotplug: http://lists.debian.org/debian-devel/2004/03/msg02456.html http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240582: предложение добавить "ручку" для выбора нужных задеваемых компонент в hotplug. В итоге он получил такой changelog entry: --- Changes: hotplug (0.0.20040329-3) unstable; urgency=low . * debian/hotplug.postinst preserve /etc/default/hotplug closes: Bug#240582 anyway, current debconf configurations are deprecated, and I plan to delete these configuration variables in future. If you need something to load at start time, use /etc/modules instead. * debian/hotplug.postinst move deprecated /etc/hotplug/usb.usermap.local to /etc/hotplug/usb/local.usermap closes: Bug#241144 * debian/hotplug.dirs: add /etc/hotplug/blacklist.d patches/014_load_drivers_blacklist_dir blacklist can be added by other packages, such as ALSA closes: Bug#241225 * patches/013_load_drivers_check_module_dup patches/012_usb.agent_check_driver don't load drivers several times. closes: Bug#232909, Bug#237952, Bug#241326 * patches/012_usb.rc_try_all_interfaces for TYPE=0/* USB devices, it will have several interfaces, so try them at startup time. problem reported by mat@nask.pl * patches/012_pci.rc_return_value backported * patches/011_hotplug.functions_quote_loaded backported --- PS: еще момент, который, видимо, может иметь отношение к ALM2.4 и/или 3.x: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75015 (краткий смысл -- "отключите USB-звук перед установкой и добавьте его _после_ установки, если дефолтной должна быть внутренняя звуковая карта") (здесь припоминается btaudio и опять идут мысли про приоретизацию модулей) -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/