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

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

    <bug>
          <bug_id>22894</bug_id>
          
          <creation_ts>2010-02-04 19:48:37 +0300</creation_ts>
          <short_desc>Проблема с загрузкой модулей из kernel-modules-staging-un-def-2.6.32-alt7</short_desc>
          <delta_ts>2010-02-10 17:32:08 +0300</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-un-def</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Pokidko">pma</reporter>
          <assigned_to name="Vitaly Chikunov">vt</assigned_to>
          <cc>kernelbot</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106345</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Pokidko">pma</who>
    <bug_when>2010-02-04 19:48:37 +0300</bug_when>
    <thetext>[root@caballo ~]$ modprobe rt2860sta
FATAL: Module rt2860sta not found.

Тем не менее, модули удаётся загрузить с явным указанием пути:
[root@caballo ~]$ insmod /lib/modules/2.6.32-un-def-alt7/kernel/drivers/staging/rt2860/rt2860sta.ko

Проблема замечена с версии alt7.

Это касается и kernel-image-std-def-2.6.32-alt1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106346</commentid>
    <comment_count>1</comment_count>
    <who name="Michail Yakushin">silicium</who>
    <bug_when>2010-02-04 19:57:45 +0300</bug_when>
    <thetext>А dmesg после этого можно. Какое то странное сообщение.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106347</commentid>
    <comment_count>2</comment_count>
    <who name="Mikhail Pokidko">pma</who>
    <bug_when>2010-02-04 20:13:21 +0300</bug_when>
    <thetext>После этого - после insmod?
В dmesg появляется
[  549.752155] rt2860sta: module is from the staging directory, the quality is unknown, you have been warned.
[  549.765942] rt2860 0000:01:00.0: enabling device (0000 -&gt; 0002)
[  549.765959] rt2860 0000:01:00.0: PCI INT A -&gt; GSI 19 (level, low) -&gt; IRQ 19
[  549.766296]
[  549.766298]
[  549.766300] === pAd = f888b000, size = 580808 ===
[  549.766302]
[  549.766306] &lt;-- RTMPAllocAdapterBlock, Status=0
[  549.766382] rt2860 0000:01:00.0: setting latency timer to 64
[  549.844372] RX DESC f60ef000  size = 2048
[  549.844915] &lt;-- RTMPAllocTxRxRingMemory, Status=0
[  549.886900] 1. Phy Mode = 0
[  549.886906] 2. Phy Mode = 0
[  549.907246] RTMPSetPhyMode: channel is out of range, use first channel=1
[  549.913445] 3. Phy Mode = 0
[  549.918093] MCS Set = 00 00 00 00 00
[  549.919710] &lt;==== RTMPInitialize, Status=0
[  549.919782] 0x1300 = 00073200
[  549.956657] NET: Registered protocol family 17
[  555.013603] ===&gt;rt_ioctl_giwscan. 1(1) BSS returned, data-&gt;length = 133
[  566.235074] ===&gt;rt_ioctl_giwscan. 2(2) BSS returned, data-&gt;length = 270
[  566.235409] ==&gt;rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=8)
[  575.036278] ===&gt;rt_ioctl_giwscan. 2(2) BSS returned, data-&gt;length = 270</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106349</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2010-02-04 20:50:26 +0300</bug_when>
    <thetext>depmod -a   ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106351</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2010-02-04 20:52:28 +0300</bug_when>
    <thetext>По каким-то причинам не обновился файл /lib/modules/$uname_r/modules.dep (или modules.dep.bin). Попробуйте выполнить depmod -A; если после этого modprobe всё равно не заработает - depmod -a.

Действительно, в http://git.altlinux.org/gears/k/kernel-image-std-def.git?p=kernel-image-std-def.git;a=commitdiff;h=7849c1bbcba890a1e6b8a3d2a15beafdae4c26e7 модули staging были отпилены в отдельный пакет, а соответствующая секция %post для него (где и вызывается depmod) не была добавлена - в результате, если пакет kernel-modules-staging-* ставился последним, будет как раз такой эффект.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106408</commentid>
    <comment_count>5</comment_count>
    <who name="Mikhail Pokidko">pma</who>
    <bug_when>2010-02-05 22:42:52 +0300</bug_when>
    <thetext>Да, перегенерация modules.dep помогла.
Спасибо, теперь буду знать про depmod.

[/me посмотрел в git] Полагаю, баг стоит закрыть после исправления?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106588</commentid>
    <comment_count>6</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2010-02-10 17:32:08 +0300</bug_when>
    <thetext>2.6.32-un-def-alt8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>