при каждом обращении к устройству, работающему через ide-cs мы получаем в hotplug'е сообщения remove и add, что приводит к невозможности определять раздел на таком устройстве в hotplug'е или udev: Jan 11 08:55:55 rimob default.hotplug[11301]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQ NUM=1404 _=/usr/bin/env) Jan 11 08:55:55 rimob default.hotplug[11309]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQNUM =1405 _=/usr/bin/env) Jan 11 08:55:55 rimob default.hotplug[11321]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQ NUM=1406 _=/usr/bin/env) Jan 11 08:55:55 rimob default.hotplug[11345]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQNUM =1409 _=/usr/bin/env) Jan 11 08:55:55 rimob default.hotplug[11340]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQ NUM=1408 _=/usr/bin/env) Jan 11 08:55:55 rimob default.hotplug[11360]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQ NUM=1410 _=/usr/bin/env) Jan 11 08:55:55 rimob default.hotplug[11329]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQNUM =1407 _=/usr/bin/env) Jan 11 08:55:55 rimob default.hotplug[11369]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQNUM =1411 _=/usr/bin/env) Jan 11 08:55:55 rimob default.hotplug[11381]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQ NUM=1412 _=/usr/bin/env) Jan 11 08:55:56 rimob default.hotplug[11389]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQNUM =1413 _=/usr/bin/env) Jan 11 08:55:56 rimob default.hotplug[10578]: no runnable /etc/hotplug/block.agent is installed Jan 11 08:55:56 rimob default.hotplug[11403]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQ NUM=1414 _=/usr/bin/env) Jan 11 08:55:56 rimob default.hotplug[11411]: arguments (block) env (PHYSDEVPATH=/devices/ide2/2.0 SUBSYSTEM=block OLDPWD=/ DEVPATH=/block/h de/hde1 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 PHYSDEVDRIVER=ide-disk DEBUG=yes PHYSDEVBUS=ide SEQNUM =1415 _=/usr/bin/env)
reassign to new mantainer
Может быть такой патч поможет ? http://www.ussg.iu.edu/hypermail/linux/kernel/0308.0/1649.html
Кстати, в 2.6.10 этот код присутствует. Может быть достаточно будет добавить в ide-cs.c::ide_attach() drive->attach = 1; ??? В ide-disk.c есть обработка этого кода, по ощущениям - то что нужно.
Fixed in kernel-image-std26-up-2.6.10-alt3.
*** Bug 5854 has been marked as a duplicate of this bug. ***