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

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

    <bug>
          <bug_id>32065</bug_id>
          
          <creation_ts>2016-05-05 00:56:51 +0300</creation_ts>
          <short_desc>alsactl: sysfs_init:48: sysfs path &apos;/sys&apos; is invalid</short_desc>
          <delta_ts>2016-06-23 14:37:40 +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>alsa-utils</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>
          
          <blocked>30940</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Speccyfighter">zxwarior</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>aen</cc>
    
    <cc>boyarsh</cc>
    
    <cc>dangolan</cc>
    
    <cc>mike</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>156491</commentid>
    <comment_count>0</comment_count>
    <who name="Speccyfighter">zxwarior</who>
    <bug_when>2016-05-05 00:56:51 +0300</bug_when>
    <thetext>Сабж.

# rpm -qf $(which alsactl)
alsa-utils-1.1.0-alt1.1

При попытке инициализации, инициализация проходит, звук есть.
Но вылазит ошибка:

# alsactl init
alsactl: sysfs_init:48: sysfs path &apos;/sys&apos; is invalid

Found hardware: &quot;ICH4&quot; &quot;Analog Devices AD1981B&quot; &quot;AC97a:41445374&quot; &quot;0x103c&quot; &quot;0x099c&quot;
Hardware is initialized using a generic method</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156514</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2016-05-05 13:11:27 +0300</bug_when>
    <thetext>https://forum.altlinux.org/index.php?topic=36177.msg285840#msg285840
=&gt; предлагается добавить Requires: sysfsutils, есть ли противопоказания?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156552</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2016-05-05 17:55:56 +0300</bug_when>
    <thetext>Желающим просьба проверить http://webery.altlinux.org/task/164337
(или самостоятельно установить sysfsutils, что эквивалентно).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156553</commentid>
    <comment_count>3</comment_count>
    <who name="Daniil Golovanov">dangolan</who>
    <bug_when>2016-05-05 17:57:24 +0300</bug_when>
    <thetext>Похоже, установкой sysfsutils проблема не решается.
https://forum.altlinux.org/index.php?topic=36177.msg285875#msg285875</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156559</commentid>
    <comment_count>4</comment_count>
    <who name="Speccyfighter">zxwarior</who>
    <bug_when>2016-05-05 19:57:32 +0300</bug_when>
    <thetext>На мысль навело вот это
http://jjacky.com/2016-03-11-what-does-it-means-when-alsactl-restore-talks-invalid-sysfs/

и вот это
https://forum.altlinux.org/index.php?topic=32361.msg276259#msg276259
Downgrade текущего Sisyphus-ядра (будущий p8) на ядро из p7/branch  в системе на Сизиф
(Переезд в системе на Сизиф с 4-го ядра на ядро 3.x.y из p7/branch)

# uname -r
3.14.67-std-def-alt0.M70P.1


# ll /sys/kernel/uevent_helper 
-rw-r--r-- 1 root root 4096 май  5 19:25 /sys/kernel/uevent_helper


# alsactl init
Found hardware: &quot;ICH4&quot; &quot;Analog Devices AD1981B&quot; &quot;AC97a:41445374&quot; &quot;0x103c&quot; &quot;0x099c&quot;
Hardware is initialized using a generic method


# reboot


# uname -r
4.5.1-un-def-alt1


# ll /sys/kernel/uevent_helper 
ls: невозможно получить доступ к /sys/kernel/uevent_helper: Нет такого файла или каталога


# alsactl init
alsactl: sysfs_init:48: sysfs path &apos;/sys&apos; is invalid

Found hardware: &quot;ICH4&quot; &quot;Analog Devices AD1981B&quot; &quot;AC97a:41445374&quot; &quot;0x103c&quot; &quot;0x099c&quot;
Hardware is initialized using a generic method


Осталось наверное куда-то сюда окунуться:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800572
Debian Bug report logs - #800572
CONFIG_UEVENT_HELPER=n kernel confuses alsactl restore</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156561</commentid>
    <comment_count>5</comment_count>
    <who name="Speccyfighter">zxwarior</who>
    <bug_when>2016-05-05 20:42:28 +0300</bug_when>
    <thetext>Похоже это проблема всех 4-тых ядер:

# sdiff -a 4121.txt 451.txt | grep UEVENT_HELPER
# CONFIG_UEVENT_HELPER is not set	# CONFIG_UEVENT_HELPER is not set</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157428</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-06-23 14:37:40 +0300</bug_when>
    <thetext>alsa-utils-1:1.1.1-alt1.1 -&gt; sisyphus:

* Thu Jun 23 2016 Michael Shigorin &lt;mike@altlinux&gt; 1:1.1.1-alt1.1
- dropped alsa-bat subpackage: upstream renamed bat(1)
  which conflicted with existing bacula binary to alsabat(1)
- added 90-alsa-restore.rules

* Mon Jun 20 2016 Michael Shigorin &lt;mike@altlinux&gt; 1:1.1.1-alt1
- 1.1.1

* Thu May 05 2016 Michael Shigorin &lt;mike@altlinux&gt; 1:1.1.0-alt1.1.1
- added R: sysfsutils (closes: #32065)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>