Bug#663436: modprobe: does not seem to set module options for snd_hda_intel
Hi Marco. Marco d'Itri - 28.01.23, 23:04:43 CET: > Do you have any feedback? > Can you still reproduce this on a modern system? No idea. I do not even use the hardware involved in that bug report anymore. Feel free to close it. Best, -- Martin
Bug#663436: modprobe: does not seem to set module options for snd_hda_intel
Do you have any feedback? Can you still reproduce this on a modern system? On Sep 17, Marco d'Itri wrote: > On May 02, Martin Steigerwald wrote: > > > Sorry. Still happens: > Are you really sure that snd_hda_intel is loaded in the initramfs? > In a normal configuration it would not be available there. > > I did some tests with a different module which is available in the > initramfs and I am still unable to reproduce this: > > #!/bin/bash > kver=3.16-1-amd64 > opts+=(-m 256M) > opts+=(-curses) > opts+=(-kernel /boot/vmlinuz-$kver -initrd /boot/initrd.img-$kver \ >-append 'break=top') > kvm "${opts[@]}" > > Then at the console: > /lib/systemd/systemd-udevd & > echo 'options e1000 copybreak=16' > /etc/modprobe.d/test.conf > echo add > /sys/devices/pci:00/:00:03.0/uevent > cat /sys/module/e1000/parameters/copybreak > > -- > ciao, > Marco -- ciao, Marco signature.asc Description: PGP signature
Bug#663436: modprobe: does not seem to set module options for snd_hda_intel
On May 02, Martin Steigerwald wrote: > Sorry. Still happens: Are you really sure that snd_hda_intel is loaded in the initramfs? In a normal configuration it would not be available there. I did some tests with a different module which is available in the initramfs and I am still unable to reproduce this: #!/bin/bash kver=3.16-1-amd64 opts+=(-m 256M) opts+=(-curses) opts+=(-kernel /boot/vmlinuz-$kver -initrd /boot/initrd.img-$kver \ -append 'break=top') kvm "${opts[@]}" Then at the console: /lib/systemd/systemd-udevd & echo 'options e1000 copybreak=16' > /etc/modprobe.d/test.conf echo add > /sys/devices/pci:00/:00:03.0/uevent cat /sys/module/e1000/parameters/copybreak -- ciao, Marco signature.asc Description: Digital signature
Bug#663436: modprobe: does not seem to set module options for snd_hda_intel
reopen found 663436 16-2 thanks Am Donnerstag, 1. Mai 2014, 22:07:12 schrieb Marco d'Itri: > On Jan 02, Marco d'Itri wrote: > > Can you still reproduce this issue with kmod 16? > > Closing. Sorry. Still happens: merkaba:~> apt list 2>/dev/null | egrep "(^kmod/|^udev/)" kmod/unstable,now 16-2 amd64 [installed] udev/unstable,now 204-10 amd64 [installed] merkaba:~> cat /proc/version Linux version 3.14.0-tp520 (martin@merkaba) (gcc version 4.8.2 (Debian 4.8.2-17) ) #52 SMP PREEMPT Mon Mar 31 13:41:48 CEST 2014 merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save 0 I can switch to using /etc/sysfs.d to set it. Thanks, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 signature.asc Description: This is a digitally signed message part.
Bug#663436: modprobe: does not seem to set module options for snd_hda_intel
Can you still reproduce this issue with kmod 16? -- ciao, Marco signature.asc Description: Digital signature
Bug#663436: modprobe: does not seem to set module options for snd_hda_intel
Am Freitag, 16. März 2012 schrieb Marco d'Itri: > On Mar 11, Martin Steigerwald wrote: > > merkaba:~> cat /etc/modprobe.d/snd-hda-intel.conf > > # c`t kompakt Linux 1/2012 > > # Thorsten Leemhuis, Notebooks unter Linux, S. 38ff > > # S. 42, Kasten Handoptimiert > > options snd_hda_intel power_save_controller=Y power_save=1 > > I cannot reproduce this. > What happens if you manually remove and then reload the module without > rebooting? It works when manually removing and reloading the module - but still on rebooting it does not. The manual case: merkaba:~> modprobe -r snd_hda_intel merkaba:~> lsmod | grep snd_hda_intel merkaba:~#1> modprobe snd_hda_intel merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save 1 merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save_controller Y Another test for the manual case: merkaba:~> echo "0" > /sys/module/snd_hda_intel/parameters/power_save merkaba:~> echo "N" > /sys/module/snd_hda_intel/parameters/power_save_controller merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save 0 merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save_controller N (I don´t think these above are necessary, but anyway.) merkaba:~> modprobe -r snd_hda_intel merkaba:~> modprobe snd_hda_intel merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save 1 merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save_controller Y Now for the reboot case I disabled the sysfs.conf entry for setting it: merkaba:/etc> vim sysfs.conf merkaba:/etc> grep snd sysfs.conf # Macht modprobe/kmod anhand von /etc/modprobe.d/snd-hda-intel.conf derzeit nicht. #module/snd_hda_intel/parameters/power_save = 1 Then I build a new initramfs with this configuration: merkaba:/etc> cat modprobe.d/snd-hda-intel.conf # c`t kompakt Linux 1/2012 # Thorsten Leemhuis, Notebooks unter Linux, S. 38ff # S. 42, Kasten Handoptimiert options snd_hda_intel power_save_controller=Y power_save=1 merkaba:/etc> update-initramfs -k all -u update-initramfs: Generating /boot/initrd.img-3.2.0-2-amd64 W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. W: mdadm: no arrays defined in configuration file. update-initramfs: Generating /boot/initrd.img-3.1.0-1-amd64 W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. W: mdadm: no arrays defined in configuration file. WARNING: could not open /var/tmp/mkinitramfs_B1Cp6D/lib/modules/3.1.0-1- amd64/modules.builtin: No such file or directory merkaba:/etc> Then after reboot into 3.2.0-2-amd64: merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save 0 merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save_controller Y merkaba:~> Further analysis of the initramfs yields: merkaba:~> cp -p /boot/initrd.img-3.2.0-2-amd64 /tmp merkaba:~> cd /tmp merkaba:/tmp> file initrd.img-3.2.0-2-amd64 initrd.img-3.2.0-2-amd64: gzip compressed data, from Unix, last modified: Sat Mar 17 11:20:42 2012 merkaba:/tmp> mv initrd.img-3.2.0-2-amd64 initrd.img-3.2.0-2-amd64.gz merkaba:/tmp> gzip -d initrd.img-3.2.0-2-amd64.gz merkaba:/tmp> file initrd.img-3.2.0-2-amd64 initrd.img-3.2.0-2-amd64: ASCII cpio archive (SVR4 with no CRC) merkaba:/tmp> cpio --extract --no-absolute-filenames -I initrd.img-3.2.0-2- amd64 66570 blocks merkaba:/tmp> cat etc/modprobe.d/snd-hda-intel.conf # c`t kompakt Linux 1/2012 # Thorsten Leemhuis, Notebooks unter Linux, S. 38ff # S. 42, Kasten Handoptimiert options snd_hda_intel power_save_controller=Y power_save=1 merkaba:/tmp> Thanks, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#663436: modprobe: does not seem to set module options for snd_hda_intel
On Mar 11, Martin Steigerwald wrote: > merkaba:~> cat /etc/modprobe.d/snd-hda-intel.conf > # c`t kompakt Linux 1/2012 > # Thorsten Leemhuis, Notebooks unter Linux, S. 38ff > # S. 42, Kasten Handoptimiert > options snd_hda_intel power_save_controller=Y power_save=1 I cannot reproduce this. What happens if you manually remove and then reload the module without rebooting? -- ciao, Marco signature.asc Description: Digital signature
Bug#663436: modprobe: does not seem to set module options for snd_hda_intel
Package: kmod Version: 6-1.1 Severity: normal Dear Maintainer, I have merkaba:~> cat /etc/modprobe.d/snd-hda-intel.conf # c`t kompakt Linux 1/2012 # Thorsten Leemhuis, Notebooks unter Linux, S. 38ff # S. 42, Kasten Handoptimiert options snd_hda_intel power_save_controller=Y power_save=1 I did: - update-initramfs -k all -u - reboot Yet I get: merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_save 0 Echoing the value to the corresponding sysfs file works: merkaba:~> echo 1 > /sys/module/snd_hda_intel/parameters/power_save merkaba:~> cat /sys/module/snd_hda_intel/parameters/power_saved 1 As I a workaround I use: merkaba:~> grep power_save /etc/sysfs.conf module/snd_hda_intel/parameters/power_save = 1 This works. Yet the module actually has that parameters: merkaba:~> modinfo snd_hda_intel | grep power_save parm: power_save:Automatic power-saving timeout (in second, 0 = disable). (int) parm: power_save_controller:Reset controller in power save mode. (bool) Yet setting parameters for i915 works: merkaba:~> cat /etc/modprobe.d/i915-kms.conf # Thorsten Leemhuis, Die Woche: Ungenutztes Stromsparpotenzial # http://www.heise.de/open/artikel/Die-Woche-Ungenutztes-Stromsparpotenzial-1361381.html # Eugeni Dodonov, Intel Linux Graphics # Following the open source road from Kernel to UI toolkits # http://www.scribd.com/doc/73071712/Intel-Linux-Graphics # i915_enable_fbc wieder aus, da: # Enabling FBC is causing the BLT ring to run between 10-100x slower than # normal and frequently lockup. The interim solution is disable FBC once # more until we know why. # http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git; # a=commitdiff;h=d56d8b28e9247e7e35e02fbb12b12239a2c33ad1 options i915 modeset=1 i915_enable_rc6=1 semaphores=1 merkaba:~> Leads to: merkaba:~> grep . /sys/module/i915/parameters/* /sys/module/i915/parameters/enable_hangcheck:Y /sys/module/i915/parameters/fbpercrtc:0 /sys/module/i915/parameters/i915_enable_fbc:-1 /sys/module/i915/parameters/i915_enable_rc6:1 /sys/module/i915/parameters/lvds_downclock:0 /sys/module/i915/parameters/lvds_use_ssc:-1 /sys/module/i915/parameters/modeset:1 /sys/module/i915/parameters/panel_ignore_lid:0 /sys/module/i915/parameters/powersave:1 /sys/module/i915/parameters/reset:Y /sys/module/i915/parameters/semaphores:1 /sys/module/i915/parameters/vbt_sdvo_panel_type:-1 Expected results: Setting parameters for snd_hda_intel works as well. I do not see any obvious syntax errors in my snd-hda-intel.conf. I might have overlooked some. If it has a syntax error please point me at it and feel free to close the bug. Thanks, Martin -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (120, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kmod depends on: ii libc6 2.13-27 ii libkmod2 6-1.1 ii lsb-base 3.2+Debian30 kmod recommends no packages. kmod suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org