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

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

    <bug>
          <bug_id>12261</bug_id>
          
          <creation_ts>2007-07-07 20:57:47 +0400</creation_ts>
          <short_desc>Пропуск инициализации некоторых сетевых карт</short_desc>
          <delta_ts>2007-07-16 17:43:59 +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>etcnet</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roman Savochenko">rom_as</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>ldv</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52515</commentid>
    <comment_count>0</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-07-07 20:57:48 +0400</bug_when>
    <thetext>ALT4.0:
Замечен эффект пропуска инициализации сетевой карты при загрузке, в случае 
если драйвер самостоятельно выполняет первичную инициализацию пустого 
интерфейса при своей автоматической загрузке ядром, на начальном этапе.
Последний раз такой эффект имел место с картой:  nVidia Corporation MCP51 
Ethernet Controller [Bridge], которая обслуживается драйвером forcedeth. В 
процессе загрузки драйвер сообщает:
//------------ forcedeth---------------
eth0: forcedeth.c: subsystem: 01043:816a bound to 0000:00:14.0
eth0: no link during initialization.
eth0: link up.
//-------------------------------------
Проблема, в принципе, лечится путём добавления строки &quot;blacklist forcedeth&quot; в 
файл /etc/modprobe.d/blacklist. Однако может её попробовать решить на уровне 
etcnet, для подобного класса проблем со всеми возможными картами!?
Steps to Reproduce:
1. При автоматической загрузке драйвера forcedeth ядром выполняется 
инициализация пустого интерфейса eth0.
2. На стадии запуска сервиса network, etcnet пропускает инициализацию eth0, 
поскольку считает его уже инициализированным.
3. В результате получаем пустой интерфейс eth0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52556</commentid>
    <comment_count>1</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2007-07-08 15:43:14 +0400</bug_when>
    <thetext>Можно взглянуть на /etc/net/ifaces/eth0/options?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52558</commentid>
    <comment_count>2</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-07-08 17:28:53 +0400</bug_when>
    <thetext>[root@roman eth0]# cat /etc/net/ifaces/eth0/options
ONBOOT=yes
MODULE=forcedeth
BOOTPROTO=static
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52573</commentid>
    <comment_count>3</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2007-07-08 21:37:58 +0400</bug_when>
    <thetext>Спасибо. Я правильно понял, что до того, как /etc/net начинает старт сети, у нас
в наличии уже есть eth0 с флагом UP?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52574</commentid>
    <comment_count>4</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-07-08 21:52:56 +0400</bug_when>
    <thetext>Именно так.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52802</commentid>
    <comment_count>5</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-07-12 23:13:11 +0400</bug_when>
    <thetext>Прошу прощения!
Данная проблема возникла по причине использования мною своеобразного способа 
смены MAC адреса, в виде сценария для /etc/modprobe.d :
install forcedeth /sbin/modprobe -i forcedeth; /sbin/ifconfig eth0 
down; /sbin/ifconfig eth0 hw ether 00:80:48:AE:5D:95; /sbin/ifconfig eth0 up
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52900</commentid>
    <comment_count>6</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2007-07-15 16:10:58 +0400</bug_when>
    <thetext>Чтобы сменить MAC-адрес более естественным путём, я бы рекомендовал использовать
в iftab привязку по busid, а в /etc/net/ifaces/eth0/iplink записать:

address 00:80:48:AE:5D:95

Закрываю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52943</commentid>
    <comment_count>7</comment_count>
    <who name="Roman Savochenko">rom_as</who>
    <bug_when>2007-07-16 17:43:59 +0400</bug_when>
    <thetext>Спасибо за информацию.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>