On 05/24/2015 04:50 AM, Petter Adsen wrote:
On Sun, 24 May 2015 04:12:03 -0500 Mark Allums <mark@allums.top> wrote:Try to run "lsmod | grep snd", and add the modules that snd-hda-intel depend on before the line loading it in the relevant file in /etc/modules-load.d or in /etc/modules.root@persephone:~# lsmod | grep snd snd_hda_codec_hdmi 49263 1 snd_hda_codec_realtek 63196 1 snd_hda_codec_generic 63045 1 snd_hda_codec_realtek snd_hda_intel 26387 5 snd_hda_controller 26938 1 snd_hda_intel snd_hda_codec 108525 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 17244 1 snd_hda_codec snd_pcm_oss 49005 0 snd_mixer_oss 21998 1 snd_pcm_oss snd_pcm 88901 5 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller snd_timer 26614 1 snd_pcm snd 69340 20 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_mixer_oss soundcore 13031 2 snd,snd_hda_codecSo, it depends on snd, snd-pcm, snd-hda-codec, snd-hda-controller (if I didn't miss any). The first entry is the name of the module, the second is the size, third is number of modules that are dependent on it, and the rest are a list of dependent modules. Try to add the ones I listed (I'm not sure about the order, but probably the order I listed them in) before the line that loads snd-hda-intel.>> To actually fix the problem: What do you see when you go through >> the logs after booting, related to sound, and when you load the module manually? There may be something in the logs if you read them carefully, if you snip out the relevant parts and post those here, I will try to help. Petter Which logs do you suggest? (I am only medium grade familiar with the sysadmin tasks of Linux. Not a pro or a guru.)/var/log/kern.log would be a prime candidate :) Reboot your system. Make sure *not* to load snd-hda-intel. Take a look at kern.log, and examine the parts that have messages from the sound subsystem. Look for errors/warnings/etc. Open a second terminal, and run "tail -f /var/log/kern.log", and see what messages are then added when you load the module in your first terminal. It might be easier for you to read if you, after running "tail -f /var/log/kern.log" and getting the last few messages, hit enter a couple of times to get a few blank lines between the last message from the kernel so far and the first message you get when loading the module. Or just look at the time stamps. Petter
This line was the result of trying to use the volume control with no sound:May 24 05:58:04 persephone kernel: [ 3101.238924] mate-volume-con[3721]: segfault at b0 ip 000000000040ce2f sp 00007fff7247d3d0 error 4 in mate-volume-control[400000+14000]
This was after the modprobe:May 24 06:14:14 persephone kernel: [ 4072.669399] snd_hda_intel 0000:00:1b.0: irq 59 for MSI/MSI-X May 24 06:14:14 persephone kernel: [ 4072.669512] snd_hda_intel 0000:04:00.1: Disabling MSI May 24 06:14:14 persephone kernel: [ 4072.669520] snd_hda_intel 0000:04:00.1: Handle VGA-switcheroo audio client May 24 06:14:14 persephone kernel: [ 4072.694390] sound hdaudioC0D0: autoconfig: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line May 24 06:14:14 persephone kernel: [ 4072.694394] sound hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) May 24 06:14:14 persephone kernel: [ 4072.694397] sound hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) May 24 06:14:14 persephone kernel: [ 4072.694398] sound hdaudioC0D0: mono: mono_out=0x0 May 24 06:14:14 persephone kernel: [ 4072.694400] sound hdaudioC0D0: dig-out=0x11/0x1e May 24 06:14:14 persephone kernel: [ 4072.694402] sound hdaudioC0D0: inputs: May 24 06:14:14 persephone kernel: [ 4072.694404] sound hdaudioC0D0: Front Mic=0x19 May 24 06:14:14 persephone kernel: [ 4072.694407] sound hdaudioC0D0: Rear Mic=0x18 May 24 06:14:14 persephone kernel: [ 4072.694408] sound hdaudioC0D0: Line=0x1a May 24 06:14:14 persephone kernel: [ 4072.694410] sound hdaudioC0D0: dig-in=0x1f May 24 06:14:14 persephone kernel: [ 4072.706747] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9 May 24 06:14:14 persephone kernel: [ 4072.706986] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 May 24 06:14:14 persephone kernel: [ 4072.707903] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
:I couldn't spot anything before the modprobe that is relevant to sound, including hardware detection or loading of driver modules. Heres a listing of loaded drivers:
May 24 05:06:57 persephone kernel: [ 29.811038] Modules linked in: ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables binfmt_misc vmw_vsock_vmci_transport vsock vmw_vmci cpufreq_powersave pci_stub cpufreq_conservative vmmon(O) vboxpci(O) cpufreq_userspace vboxnetadp(O) vboxnetflt(O) cpufreq_stats vboxdrv(O) nfsd auth_rpcgss oid_registry nfs_acl nfs lockd grace fscache sunrpc zfs(PO) zunicode(PO) zcommon(PO) znvpair(PO) spl(O) zavl(PO) x86_pkg_temp_thermal intel_powerclamp joydev usb_storage intel_rapl coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel nvidia(PO) aes_x86_64 mxm_wmi lrw gf128mul glue_helper drm eeepc_wmi asus_wmi sparse_keymap iTCO_wdt iTCO_vendor_support rfkill ablk_helper cryptd evdev i2c_i801 serio_raw i2c_core pcspkr lpc_ich mei_me ie31200_edac video button battery edac_core shpchp wmi xhci_pci xhci_hcd mei mfd_core processor loop fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 btrfs xor raid6_pq dm_mod md_mod sr_mod cdrom hid_generic usbhid hid sg sd_mod crc32c_intel ahci libahci ehci_pci ehci_hcd libata aacraid e1000e usbcore ptp scsi_mod usb_common pps_core thermal fan thermal_sys
Thanks for your help, Mark