LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   2 birds, 1 stone (https://www.linuxquestions.org/questions/linux-general-1/2-birds-1-stone-80607/)

breakerfall 08-10-2003 05:49 AM

2 birds, 1 stone
 
Hi there...

I have gentoo installed and I need a little help. First of all, when booting I see "modprobe failed /ect/blahblah" and they fly past. I want to see what's causing this and stop it.... so: is there a command to view the boot log. I'm a newb so I don't have a clue what it is.

Also, I want to get my sound working. Unfortunately I have built in sound using nforce... i know i know, not the best of things to use. But I have emerged the alsa drivers. I took a glance into the file I was supposed to edit and I don't have a clue what I'm supposed to change in there. Any help to get the sound working would be awesome.

Thanks

breakerfall 08-10-2003 06:07 AM

here's the alsa file:

Quote:

## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1
Thanks :-)

acid_kewpie 08-10-2003 06:13 AM

all you should need to do is change "## alias snd-card-0 snd-interwave" to "alias snd-card-0 snd-intel8x0" and load it... should be ok....

mind you i'm having horrible troubles making alsa load right with this setup... a modrobe here and there and it does strat though. alsa is certainly the way forward for nforce2 audio though.

acid_kewpie 08-10-2003 06:14 AM

and dmesg or /var/log/messages should contain those errors you had

breakerfall 08-10-2003 06:52 AM

no joy :(

I edited the file, saved and then ran the update-modules. I rebooted and... nothing.

I'm sure that I read somewhere that alsa mixer mutes all channel by default. But I don't know where that is and kmixer can't detect the card I want to use it with. :scratch:

I really want sound. I don't wanna have to go and buy a new card. I should have guessed that I would have troubles with onboard nforce [but that's what you get for low budget ;)]

Do you have any other ideas? Or am I missing somethin?

Thanks

breakerfall 08-10-2003 06:59 AM

in dmesg, I see this:
Quote:

NFORCE2: IDE controller on PCI bus 00 dev 48
NFORCE2: detected chipset, but driver not compiled in!
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
but this is referring to the mobo chipset. This would't affect my hds would it? and would you think it worth me setting hdparm to DMA mode 5 or just leave DMA switched on?

Apart from that I don't actually see in dmesg where it shows the modprobe failures. It shows them whilst everything is being loaded.

Thanks again :-)

MasterC 08-10-2003 07:14 AM

Quote:

Originally posted by breakerfall
no joy :(

I edited the file, saved and then ran the update-modules. I rebooted and... nothing.

I'm sure that I read somewhere that alsa mixer mutes all channel by default. But I don't know where that is and kmixer can't detect the card I want to use it with. :scratch:

I really want sound. I don't wanna have to go and buy a new card. I should have guessed that I would have troubles with onboard nforce [but that's what you get for low budget ;)]

Do you have any other ideas? Or am I missing somethin?

Thanks

alsamixer is a utility that comes with alsa. Try running it as root, in a console.

Cool

acid_kewpie 08-10-2003 07:21 AM

do something things to try to track down what elevel this issue is at.... does /dev/dsp exist? does /proc/asound/cards (ish...) have any information in it?

the alsa guide at gentoo.org is pretty neat too.

breakerfall 08-10-2003 08:01 AM

Thanks for the help guys...

@MasterC
still no joy. I tried alsamixer after the initial install of alsa. It's nowhere to be found. Tried again, same problem :(

@acid_kewpie
/dev/dsp: exists and
In the /proc/asound these were among the various sub-dirs

"NForce2 card0 cards"

/dir of the NForce2 sub-dir includes
Quote:

ac97#0 ac97#0regs id intel8x0 oss_mixer pcm0c pcm0p
Also, what about the DMA thing... would it be worth setting DMA mode 5?

Any more ideas... I really appreciate the help.

Regards

MasterC 08-10-2003 08:10 AM

When you emerged alsa did you also emerge alsa-utils:
emerge alsa-utils -p
emerge alsa-tools -p

And see if they are marked "N" or something else.

If N, install em ;)

You've also got the alsamixergui:
emerge alsamixergui -p

Check /usr/portage/media-sound
for more info.

Cool

breakerfall 08-10-2003 08:22 AM

I think linux exists to make me feel dumb ;-)

I will get there though. I'm gonna emerge the utils and frontend for the mixer now and see how that goes.

Thanks a lot for your help.

-----------------------------------------------------------
This is totally unrelated but... I have to use konquerer to view LQ.org because mozilla loads only the top menu/ad-banner. I haven't experienced troubles with any other website except this one. Is there something on this page which would be a problem for mozilla [it's weird because sometimes it works. Sometimes it doesn't.]
----------------------------------------------------------

But again, thanks for your help guys. See how this goes :-)

breakerfall 08-10-2003 08:41 AM

waaaaaaaaaaaay it works :-) I have sound!

Again, thanks a lot

MasterC 08-10-2003 09:32 AM

You're welcome, glad I could help. As for the page loading, it's definitely being looked into. If you can get a URL of the ad that loads when that happens, that'd be GREAT!

:)

Cool

breakerfall 08-10-2003 09:47 AM

aaah... so it's not only a problem with me then? that's too bad. I'll keep checking and post the url.

breakerfall 08-10-2003 10:20 AM

ads.ah-ha.com I believe it is. Always the same one too.


All times are GMT -5. The time now is 06:34 AM.