can't install latest ALSA driver in lucid 2.6.32-25 preempt, one hdd has bad sectors
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
can't install latest ALSA driver in lucid 2.6.32-25 preempt, one hdd has bad sectors
Honestly, I have also posted this as a question in ubuntu launchpad but I figure I have more of a chance coming across a solution this way- as I had been struggling with no sound issue (and other issues for so long now!)------
I first had alsa driver version that came with this 2.6.32-25 preempt kernel: ALSA driver 1.0.22, I believe. My maudio soundcard was detected but I couldn't get sound so I found a suggestion in ubuntu forum to install lucid backports. This created 2.6.32-25 generic kernel which I didn't want since I need low latency (and still had no sound). I tried at first to compile and install Alsa driver 1.0.23 (following Ubuntu Sound Troubleshooting Guide), having booted into the preempt kernel- but ALSA driver 1.0.23 only installed into the generic backport kernel. So I proceeded to remove the 2.6.32-25 backport generic kernel via synaptic.
I once again only have my original preempt kernel 2.6.32.25 and 2.6.32.21 in my grub list. I discovered that I had no soundcard detected and no more ALSA installed, according to 'aplay -l' & 'cat /proc/asound/version'
'cat: /proc/asound/version: No such file or directory'
so I proceeded to try to install Alsa driver 1.0.23 twice more but each time I get:
'bash alsa-info.sh --stdout
cat: /proc/asound/version: No such file or directory
grep: /proc/asound/cards: No such file or directory
cat: /proc/asound/cards: No such file or directory
cat: /proc/asound/modules: No such file or directory
ls: cannot access /dev/snd/*: No such file or directory
grep: /proc/asound/cards: No such file or directory
/usr/sbin/alsactl: save_state:1504: No soundcards found...
cat: /tmp/alsa-info.MBbsMbmpxU/alsactl.tmp: No such file or directory
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.59
!!################################
Somehow I can't install the driver, but the ALSA utilities and libraries are installed. What makes no sense is that I see the driver installed in /usr/src/alsa-driver-1.0.23.
I have / and /home in ubuntu software raid 0 and one of my drives has some bad sectors according to Disk Utility-even after I did a low level format; Can any quirks arise from such a set-up? I had problems with Ubuntu Studio Karmic on this computer (minus the 'bad' drive- Pulse audio would freeze up my system) -and I am still hoping that I can get better results with Lucid LTS...
Note: The 'bad' drive seems to be acceptable by gparted, I could still partition e.t.c... and I installed Win 7 and the 1/2 of my raid 0 for Ubuntu fine on it, but I couldn't use install any grub or windows bootloader to the mbr. Even though I changed the cable/port around and the boot order in bios- so if anyone thinks that this warrants chucking out the drive and replacing it - pls. advise.
I don't see a hardware driver for any sound card in your loaded modules. It could be installed in the kernel but that is unusual.
re:Note, some motherboards will prevent writing to the MBR if their BIOS has a setting to prevent viruses being loaded into that sector. You may be able to turn that off and install a bootloader.
Try loading a live Linux CD and see if the sound works. If it does then look at which modules are loaded. Try to load those modules on your installed system.
Unfortunately I never had sound working off the bat with any live version of Ubuntu and my maudio 2496 soundcard! Right now I am too tired to check and see if that means that no modules get loaded. Also, it looks like pulse audio still fails to initialize the ICE17xx chipsets after 3 years and version upgrades. I hope that the driver didn't install to the kernel as you also mentionned.
You suggested that some bios have a setting which could block from installing to the mbr: I don't think my mb has that feature but it has other quirks. I had to flash to the latest bios because otherwise there was a severe latency issue when trying to run sound editing software in Windows XP among other things.
Still hoping to hear a confirmation on what to do about the 'bad sector' Sata HDD. In the end, I will probably replace the drive, which will lead to me re-installing Ubuntu once more- and I hope that will at least result in the earlier ALSA driver installing with the distro. (which had at least recognised my sound card).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.