LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-10-2003, 05:49 AM   #1
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Rep: Reputation: 30
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
 
Old 08-10-2003, 06:07 AM   #2
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
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 :-)
 
Old 08-10-2003, 06:13 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 08-10-2003, 06:14 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
and dmesg or /var/log/messages should contain those errors you had
 
Old 08-10-2003, 06:52 AM   #5
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
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.

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
 
Old 08-10-2003, 06:59 AM   #6
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
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: hdaMA, hdbMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddMA
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 :-)
 
Old 08-10-2003, 07:14 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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.

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
 
Old 08-10-2003, 07:21 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 08-10-2003, 08:01 AM   #9
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
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
 
Old 08-10-2003, 08:10 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 08-10-2003, 08:22 AM   #11
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
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 :-)
 
Old 08-10-2003, 08:41 AM   #12
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
waaaaaaaaaaaay it works :-) I have sound!

Again, thanks a lot
 
Old 08-10-2003, 09:32 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 08-10-2003, 09:47 AM   #14
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
aaah... so it's not only a problem with me then? that's too bad. I'll keep checking and post the url.
 
Old 08-10-2003, 10:20 AM   #15
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Original Poster
Rep: Reputation: 30
ads.ah-ha.com I believe it is. Always the same one too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE takes you back to the stone age. Rutnut SUSE / openSUSE 23 05-03-2005 11:49 PM
i dont understand your metal birds and sendmail surban99 Linux - Software 2 04-23-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration