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

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

    <bug>
          <bug_id>14015</bug_id>
          
          <creation_ts>2008-01-15 16:47:35 +0300</creation_ts>
          <short_desc>Раздвоение девайсов</short_desc>
          <delta_ts>2012-01-18 12:19:21 +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>udev</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="inger@altlinux.org">inger</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>arseny</cc>
    
    <cc>evg</cc>
    
    <cc>mike</cc>
    
    <cc>shaba</cc>
    
    <cc>silicium</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61135</commentid>
    <comment_count>0</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2008-01-15 16:47:35 +0300</bug_when>
    <thetext>При старте системы в базе данных hal имеются дубляжи устройств. При чём если
сделать потом haldaemon restart, то всё приходит в норму.

udi = &apos;/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d_0&apos;
  info.capabilities = {&apos;net&apos;, &apos;net.80203&apos;, &apos;wake_on_lan&apos;} (string list)
  info.category = &apos;net.80203&apos;  (string)
  info.interfaces = {&apos;org.freedesktop.Hal.Device.WakeOnLan&apos;} (string list)
  info.parent = &apos;/org/freedesktop/Hal/devices/pci_14e4_1677&apos;  (string)
  info.product = &apos;Networking Interface&apos;  (string)
  info.udi = &apos;/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d_0&apos;  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = &apos;net&apos;  (string)
  linux.sysfs_path = &apos;/sys/class/net/eth0&apos;  (string)
  net.80203.mac_address = 74146328893  (0x114377313d)  (uint64)
  net.address = &apos;00:11:43:77:31:3d&apos;  (string)
  net.arp_proto_hw_id = 1  (0x1)  (int)
  net.interface = &apos;eth0&apos;  (string)
  net.linux.ifindex = 2  (0x2)  (int)
  net.originating_device = &apos;/org/freedesktop/Hal/devices/pci_14e4_1677&apos;  (string)
  net.physical_device = &apos;/org/freedesktop/Hal/devices/pci_14e4_1677&apos;  (string)
  org.freedesktop.Hal.Device.WakeOnLan.method_argnames = {&apos;&apos;, &apos;&apos;, &apos;enable&apos;}
(string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_execpaths =
{&apos;hal-system-wol-supported&apos;, &apos;hal-system-wol-enabled&apos;, &apos;hal-system-wol-enable&apos;}
(string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_names = {&apos;GetSupported&apos;,
&apos;GetEnabled&apos;, &apos;SetEnabled&apos;} (string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_signatures = {&apos;&apos;, &apos;&apos;, &apos;b&apos;} (string
list)

udi = &apos;/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d&apos;
  info.capabilities = {&apos;net&apos;, &apos;net.80203&apos;, &apos;wake_on_lan&apos;} (string list)
  info.category = &apos;net.80203&apos;  (string)
  info.interfaces = {&apos;org.freedesktop.Hal.Device.WakeOnLan&apos;} (string list)
  info.parent = &apos;/org/freedesktop/Hal/devices/pci_14e4_1677&apos;  (string)
  info.product = &apos;Networking Interface&apos;  (string)
  info.udi = &apos;/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d&apos;  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = &apos;net&apos;  (string)
  linux.sysfs_path = &apos;/sys/class/net/eth0&apos;  (string)
  net.80203.mac_address = 74146328893  (0x114377313d)  (uint64)
  net.address = &apos;00:11:43:77:31:3d&apos;  (string)
  net.arp_proto_hw_id = 1  (0x1)  (int)
  net.interface = &apos;eth0&apos;  (string)
  net.linux.ifindex = 2  (0x2)  (int)
  net.originating_device = &apos;/org/freedesktop/Hal/devices/pci_14e4_1677&apos;  (string)
  net.physical_device = &apos;/org/freedesktop/Hal/devices/pci_14e4_1677&apos;  (string)
  org.freedesktop.Hal.Device.WakeOnLan.method_argnames = {&apos;&apos;, &apos;&apos;, &apos;enable&apos;}
(string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_execpaths =
{&apos;hal-system-wol-supported&apos;, &apos;hal-system-wol-enabled&apos;, &apos;hal-system-wol-enable&apos;}
(string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_names = {&apos;GetSupported&apos;,
&apos;GetEnabled&apos;, &apos;SetEnabled&apos;} (string list)
  org.freedesktop.Hal.Device.WakeOnLan.method_signatures = {&apos;&apos;, &apos;&apos;, &apos;b&apos;} (string
list)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61137</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-01-15 17:00:21 +0300</bug_when>
    <thetext>Reassign</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61141</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2008-01-15 18:01:35 +0300</bug_when>
    <thetext>А если выполнить echo -n add &gt;/sys/class/net/eth0/uevent, тоже возникает дубль?

Подобную операцию выполняет сервис udevd-final при запуске (для повторной
обработки событий, которые не могли быть обработаны при запуске udevd из
rc.sysinit - в частности, без этого не поднимаются интерфейсы с USE_HOTPLUG=yes,
которые были обнаружены до запуска сервиса network).  При этом вызывается
udevtrigger --retry-failed, однако ожидание завершения обработки событий не
производится - возможно, фоновая обработка событий ещё продолжается после
запуска hald.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61150</commentid>
    <comment_count>3</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2008-01-15 18:33:18 +0300</bug_when>
    <thetext>после подобного echo:

1. на раздвоившийся девайс больше не раздваивается.
2. рядом сидел eth1 (wifi), был в одном экземпляре - он раздвоился.

[root@book1 ~]# hal-find-by-property --key=net.interface --string=&apos;eth1&apos;
/org/freedesktop/Hal/devices/net_00_12_f0_38_cd_e4
[root@book1 ~]# hal-find-by-property --key=net.interface --string=&apos;eth0&apos;
/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d_0
/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d
[root@book1 ~]# echo -n add &gt;/sys/class/net/eth0/uevent
[root@book1 ~]# hal-find-by-property --key=net.interface --string=&apos;eth0&apos;
/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d_0
/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d
[root@book1 ~]# echo -n add &gt;/sys/class/net/eth1/uevent
[root@book1 ~]# hal-find-by-property --key=net.interface --string=&apos;eth0&apos;
/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d_0
/org/freedesktop/Hal/devices/net_00_11_43_77_31_3d
[root@book1 ~]# hal-find-by-property --key=net.interface --string=&apos;eth1&apos;
/org/freedesktop/Hal/devices/net_00_12_f0_38_cd_e4_0
/org/freedesktop/Hal/devices/net_00_12_f0_38_cd_e4
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62862</commentid>
    <comment_count>4</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-02-08 15:22:18 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; после подобного echo:
&gt; 
&gt; 1. на раздвоившийся девайс больше не раздваивается.
&gt; 2. рядом сидел eth1 (wifi), был в одном экземпляре - он раздвоился.

значит udev</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101281</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-10-12 00:55:05 +0400</bug_when>
    <thetext>актуально?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128369</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-01-18 12:19:21 +0400</bug_when>
    <thetext>Иных уж hal, а те далече...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>