id summary reporter owner description type status priority milestone component version severity resolution keywords cc 1019 Restore ALSA volumes reliably when udev is installed alexander@… DJ Lucas "Problem: the ALSA initscript sometimes is started before udev creates nodes for ALSA soundcards present in the system, if their modules are loaded by the hotplug initscript. As a result, an ugly error message ""No soundcards found"" appears on the screen. And the device nodes appear just after that :( Official upstream recommendation: Use /etc/dev.d callback instead of the initscript to restore ALSA volumes. An example of such callback is provoded inside the udev tarball. However, the example is wrong. The provided example fails if the soundcard driver is not a module, and /usr is on the separate partition. More details: this callback is called from inside the udevstart binary from the udev initscript. /usr is not mounted at that point, that's why the callback scriptlet fails. We should develop an approach that works with all possible combinations of the following factors: 1) Driver is / isn't a module loadable by hotplug 2) /usr is / isn't a separate partition Side note: it seems that the only way to wait from the dev.d scriptlet for /usr to become mounted is by polling (spinning, sleeping and retrying) -- but the dev.d mechanism has been created just to avoid such polling. So the official upstream solution fails, and the dev.d callback gains nothing (instead of waiting for the device node we now wait for /usr). Feel free to prove that I am wrong. Of course, we can just declare all configurations with separate /usr as broken and unsupported, but that's probably not the best thing to do. If this bug is not fixed until 2004-12-01, it will be marked as ""WONTFIX"" here and transferred to LFS Bugzilla." defect closed high 6.2.0 Bootscripts SVN blocker fixed