<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>5853</bug_id>
          
          <creation_ts>2005-01-11 10:44:49 +0300</creation_ts>
          <short_desc>ide-cs отправляет сообщение add и remove при каждом обращении к устройству</short_desc>
          <delta_ts>2005-08-31 03:18:11 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>kernel-image-std26-up</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>5852</blocked>
    
    <blocked>5854</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Farygin">rider</reporter>
          <assigned_to name="Sergey Vlasov">vsu</assigned_to>
          <cc>morozov</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>20993</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2005-01-11 10:44:49 +0300</bug_when>
    <thetext>при каждом обращении к устройству, работающему через ide-cs мы получаем в
hotplug&apos;е сообщения remove и add, что приводит к невозможности определять раздел
на таком устройстве в hotplug&apos;е или 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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20994</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2005-01-11 10:46:58 +0300</bug_when>
    <thetext>reassign to new mantainer</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21282</commentid>
    <comment_count>2</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2005-01-24 12:18:38 +0300</bug_when>
    <thetext>Может быть такой патч поможет ?
http://www.ussg.iu.edu/hypermail/linux/kernel/0308.0/1649.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21283</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2005-01-24 12:28:59 +0300</bug_when>
    <thetext>Кстати, в 2.6.10 этот код присутствует.

Может быть достаточно будет добавить в ide-cs.c::ide_attach()
drive-&gt;attach = 1;
???
В ide-disk.c есть обработка этого кода, по ощущениям - то что нужно.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21863</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2005-02-10 11:45:13 +0300</bug_when>
    <thetext>Fixed in kernel-image-std26-up-2.6.10-alt3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24415</commentid>
    <comment_count>5</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2005-05-12 09:56:23 +0400</bug_when>
    <thetext>*** Bug 5854 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>