udev hangs on >=2.6.25

Mariusz Mazur mmazur at kernel.pl
Sat Oct 25 22:10:00 CEST 2008


udev.spec has this inside:

# needed on kernels < 2.6.25
cat <<EOF >$RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/05-udev-early.rules
# sysfs is populated after the event is sent
ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
EOF

On kernels >2.6.25 (tested; dunno about 2.6.25 itself) this line causes a 
10second udev hangup while booting the system. Removing it fixes the problem 
and breaks nothing.

The question is whether we remove it altogether or is it possible to write a 
if kernelver version of this rule? (Any udev rules magicians please step 
out.)


-- 
Judge others by their intentions and yourself by your results.
                                                                 Guy Kawasaki
Education is an admirable thing, but it is well to remember from
time to time that nothing that is worth knowing can be taught.
                                                                  Oscar Wilde


More information about the pld-devel-en mailing list