View previous topic :: View next topic |
Author |
Message |
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Thu Dec 06, 2012 3:04 pm Post subject: Soundcards suddenly missing |
|
|
Hi, after a reboot today, alsa seems unable to find any of my soundcards (one onboard one for normal playback, one usb external for other stuff) Code: | alsactl: save_state:1580: No soundcards found... | This message appears when the /etc/init.d/alsasound script stops while Code: | sed: can't read /proc/asound/cards: No such file or directory | appears on startup. That's as much info as I've been able to find on my system. Any idea what could cause this?
Since the last reboot I've upgraded both udev and openrc, and an old thread from the arch forum implies udev might be the culprit somehow ( https://bbs.archlinux.org/viewtopic.php?id=91104 ) but the situation seems different.
Between shutting down Gentoo and booting it again, I unplugged my main hdd (to try and install Windows on the other hdd, a failed project), and then plugged it back to how it was before, I don't suppose that could have made a difference? Both soundcards wouldn't disappear if I somehow dislodged some cable inside my box? _________________
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Thu Dec 06, 2012 4:14 pm Post subject: |
|
|
Yes, both cards show up with lspci and lsusb respectively. lspci: | 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) |
lsusb: | Bus 004 Device 003: ID 0763:200f Midiman M-Audio MobilePre |
_________________
|
|
Back to top |
|
|
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Dec 06, 2012 6:41 pm Post subject: |
|
|
Same thing happened to me today, none of my modules are being autoloaded by udev at boot when they should - not just sound card ones. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Thu Dec 06, 2012 9:29 pm Post subject: |
|
|
Yes _________________
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Dec 06, 2012 9:58 pm Post subject: |
|
|
rc-status -a says it's started... |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Dec 06, 2012 10:15 pm Post subject: |
|
|
Can't believe you dig archlinux and linuxquestion and didn't find any thread in gentoo complaining against udev >= 172 |
|
Back to top |
|
|
arnvidr l33t
Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Thu Dec 06, 2012 10:34 pm Post subject: |
|
|
Oh, I've read plenty of complaints, but this problem seemed new. Anyway, I synced again, there was a kmod upgrade and a udev rebuild, and after a restart everything seems normal. Or at least I have sound. My computer's been fucking me enough for today, so I'm going to bed. _________________
|
|
Back to top |
|
|
ShinyDoofy n00b
Joined: 22 Jul 2006 Posts: 73
|
Posted: Wed Dec 19, 2012 6:30 pm Post subject: |
|
|
I've had a similar problem. After I'd swapped my / drive, I had to repopulate /dev from a stage 3 tarball (guess I excluded it in backups...) and found that /dev/snd was missing, yet /proc/asound/cards still listed two cards (namely being my Realtek 889a and the one for HDMI output in my nVidia card). Rebuilding udev, kmod, switching kernels from 3.5 to 3.7 and back and countless reboots didn't change anything. The cards file still listed those two, the modules were correctly loaded (including the model option), but whatever I tried doing, there was no /dev/snd and thus no mixer and no sound output at all.
Going back to udev-171 (and an older udisks revision at that due to dependencies) fixed it, even without rebooting. Restarting udev and udev-mount in /etc/init.d/ already did the trick. /dev/snd was fully populated and mplayer and sorts started playing sound again.
This bug indicates the culprit being about moved directories. Is anyone knowledgeable enough about udev and/or the recent updates to confirm this? Is there a safe way to update to the latest udev again without this biting me once more? Is there some einfo I've simply missed or misinterpreted? Is eudev a viable alternative? Would this not have happened had I used systemd over OpenRC?
If possible, I'd really appreciate any input or information on this as it's already cost me the better part of last night and I've grown tired of running into dead ends.
Thank you, though, arnvidr, for the udev rules directory pointer. I wouldn't have even tried it without your post.
/edit: Turns out my initramfs was at fault. See this thread for details. |
|
Back to top |
|
|
|