View previous topic :: View next topic |
Author |
Message |
jazzi n00b
Joined: 21 Aug 2007 Posts: 73
|
Posted: Wed Jul 23, 2008 1:08 pm Post subject: |
|
|
Code: | #lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 400 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control |
Quote: | 00:00.0 0500: 10de:03ea (rev a1)
00:01.0 0601: 10de:03e0 (rev a2)
00:01.1 0c05: 10de:03eb (rev a2)
00:01.2 0500: 10de:03f5 (rev a2)
00:02.0 0c03: 10de:03f1 (rev a2)
00:02.1 0c03: 10de:03f2 (rev a2)
00:04.0 0604: 10de:03f3 (rev a1)
00:05.0 0403: 10de:03f0 (rev a2)
00:06.0 0101: 10de:03ec (rev a2)
00:07.0 0680: 10de:03ef (rev a2)
00:08.0 0101: 10de:03f6 (rev a2)
00:0b.0 0604: 10de:03e9 (rev a2)
00:0c.0 0604: 10de:03e9 (rev a2)
00:0d.0 0300: 10de:03d2 (rev a2)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
|
Code: | /etc/init.d/alsasound restart |
Quote: | * Storing ALSA Mixer Levels ... [ ok ]
* Killing processes using ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
* Loading ALSA modules ...
* Loading: snd-card-0 ...
WARNING: Error inserting soundcore (/lib/modules/2.6.24-gentoo-r8/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd-pcm.ko): Invalid module format
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.24-gentoo-r8/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-pcm-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.24-gentoo-r8/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/oss/snd-mixer-oss.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd-pcm.ko): Invalid module format
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-mixer-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.24-gentoo-r8/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd.ko): Invalid module format
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/oss/snd-mixer-oss.ko): Invalid modul [ !! ]
* Loading: snd-seq ...
WARNING: Error inserting soundcore (/lib/modules/2.6.24-gentoo-r8/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/seq/snd-seq-device.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd-timer.ko): Invalid module format
FATAL: Error inserting snd_seq (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/seq/snd-seq.ko): Invalid module format [ ok ]
* Restoring Mixer Levels ... |
Code: | #lsmod
Module Size Used by
snd_hwdep 5892 0
ehci_hcd 23564 0
nvidia 6615364 36
ohci_hcd 16772 0
forcedeth 35980 0
usbcore 87020 3 ehci_hcd,ohci_hcd
pcspkr 1664 0
k8temp 3584 0
fan 3204 0
sg 22560 0
thermal 11292 0
processor 18992 1 thermal
button 5776 0 |
Quote: | # cat /proc/asound/cards
0 [Dummy ]: Dummy - Dummy
Dummy 1 |
Code: | # ls /proc/asound/card0
id oss_mixer |
Quote: | lspci|grep Audio
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2) |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Wed Jul 23, 2008 5:57 pm Post subject: |
|
|
jazzi,
Code: | * Loading: snd-card-0 ...
WARNING: Error inserting soundcore (/lib/modules/2.6.24-gentoo-r8/kernel/sound/soundcore.ko): Invalid module format |
Go to jail, go directly to jail, do not pass go, do not collect 200 <insert-local-currency>
That warning means that your kernel and the soundcore.ko module have some fundamentally different configuration options or they were compiled with different versions of gcc.
If you want a straw to clutch at, Code: | emerge -1 module-init-tools | and try again.
If you still get the warning after that, remake and reinstall your kernel, beginning with Code: | cd /usr/src/liunx
make clean | to get rid of all the left over binaries and intermediate files before you remake the kernel, or they may be reused. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Jul 23, 2008 6:48 pm Post subject: |
|
|
Please post your kernel .config.
Thanks
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
jazzi n00b
Joined: 21 Aug 2007 Posts: 73
|
Posted: Thu Jul 24, 2008 1:04 am Post subject: |
|
|
I will post the part of my .config tonight. Thanks for help again.
Here is the .config I remember.
Quote: | Device Drivers --->
Sound --->
<M> Sound card support
Open Sound System --->
< > Open Sound System (DEPRECATED)
Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture
<M> Sequencer support
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
PCI devices --->
<M> Intel HD Audio
[*] Build hwdep interface for HD-audio driver
[*] Build Realtek HD-audio codec support
[*] Build Analog Device HD-audio codec support
[*] Build IDT/Sigmatel HD-audio codec support
[*] Build VIA HD-audio codec support
[*] Build ATI HDMI HD-audio codec support
[*] Build Conexant HD-audio codec support
[*] Build C-Media HD-audio codec support
[*] Build Silicon Labs 3054 HD-modem codec support
[*] Enable generic HD-audio codec parser
[ ] Aggressive power-saving on HD-audio |
|
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu Jul 24, 2008 3:40 am Post subject: |
|
|
I would prefer the whole .config, but I already know what your problem is.
Code: | <M> Sound card support |
should be
Code: | <Y> Sound card support |
The part below is correct as a beginning.
Code: | <M> Intel HD Audio
[*] Build hwdep interface for HD-audio driver
[*] Build Realtek HD-audio codec support
[*] Build Analog Device HD-audio codec support
[*] Build IDT/Sigmatel HD-audio codec support
[*] Build VIA HD-audio codec support
[*] Build ATI HDMI HD-audio codec support
[*] Build Conexant HD-audio codec support
[*] Build C-Media HD-audio codec support
[*] Build Silicon Labs 3054 HD-modem codec support
[*] Enable generic HD-audio codec parser
[ ] Aggressive power-saving on HD-audio |
Once you get the sound working, then you can check in /proc/asound/card0/codec#0 to see which codec the sound device actually winds up using.
Be sure you have also emerge the alsa packages (alsa-headers, alsa-lib, alsa-tools, and alsa-utils), and use rc-update to add alsasound to the boot runlevel.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
jazzi n00b
Joined: 21 Aug 2007 Posts: 73
|
Posted: Thu Jul 24, 2008 8:01 am Post subject: |
|
|
Thanks Pappy. I'll get a try tonight.
The reason why I set the Sound card support as <M> not <Y> is because I followed the Gentoo Linux Alsa Guide in the wiki
http://gentoo-cn.org/doc/en/alsa-guide.xml
Code: | Code Listing 2.3: Kernel Options for ALSA
Device Drivers --->
Sound --->
(This needs to be enabled)
<M> Sound card support
(Make sure OSS is disabled)
Open Sound System --->
< > Open Sound System (DEPRECATED)
(Move one step back and enter ALSA)
Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture
(Select this if you want MIDI sequencing and routing)
<M> Sequencer support
(Old style /dev/mixer* and /dev/dsp* support. Recommended.)
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
(You now have a choice of devices to enable support for. Generally,
you will have one type of device and not more. If you have more than one
sound card, please enable them all here.)
(Mostly for testing and development purposes, not needed for normal
users unless you know what you are doing.)
Generic devices --->
(For ISA Sound cards)
ISA devices --->
(IF you had the Gravis, you would select this option)
<M> Gravis UltraSound Extreme
(Move one level back and into PCI devices. Most sound cards today are
PCI devices)
PCI devices --->
(We now select the emu10k1 driver for our card)
<M> Emu10k1 (SB Live!, Audigy, E-mu APS)
(Or an Intel card would be)
<M> Intel/SiS/nVidia/AMD/ALi AC97 Controller
(Or if you have a VIA Card)
<M> VIA 82C686A/B, 8233/8235 AC97 Controller
(Move one level back and select in case you have an USB sound card)
USB Devices ---> |
I'll try your idea later, Thanks again. |
|
Back to top |
|
|
jazzi n00b
Joined: 21 Aug 2007 Posts: 73
|
Posted: Thu Jul 24, 2008 11:14 am Post subject: |
|
|
My whole .config, download from here:
http://www.box.net/shared/07mtvwjeoc
Code: | $ ls /proc/asound/card0
id oss_mixer |
Code: | #dmesg
Adding 530104k swap on /dev/sda11. Priority:-1 extents:1 across:530104k
snd_page_alloc: exports duplicate symbol snd_free_pages (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_notify (owned by kernel)
snd_hda_intel: disagrees about version of symbol snd_pcm_new
snd_hda_intel: Unknown symbol snd_pcm_new
snd_hda_intel: disagrees about version of symbol snd_pcm_limit_hw_rates
snd_hda_intel: Unknown symbol snd_pcm_limit_hw_rates
snd_hda_intel: disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all
snd_hda_intel: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_hda_intel: disagrees about version of symbol snd_pcm_lib_malloc_pages
snd_hda_intel: Unknown symbol snd_pcm_lib_malloc_pages
snd_hda_intel: disagrees about version of symbol snd_pcm_lib_ioctl
snd_hda_intel: Unknown symbol snd_pcm_lib_ioctl
snd_hda_intel: disagrees about version of symbol snd_pcm_lib_free_pages
snd_hda_intel: Unknown symbol snd_pcm_lib_free_pages
snd_hda_intel: disagrees about version of symbol snd_pcm_set_ops
snd_hda_intel: Unknown symbol snd_pcm_set_ops
snd_hda_intel: disagrees about version of symbol snd_pcm_hw_constraint_list
snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_list
snd_hda_intel: disagrees about version of symbol snd_pcm_suspend_all
snd_hda_intel: Unknown symbol snd_pcm_suspend_all
snd_hda_intel: disagrees about version of symbol snd_pcm_hw_constraint_integer
snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_integer
snd_hda_intel: disagrees about version of symbol snd_pcm_period_elapsed
snd_hda_intel: Unknown symbol snd_pcm_period_elapsed
snd_hda_intel: disagrees about version of symbol snd_pcm_hw_constraint_step
snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_step
snd_mixer_oss: exports duplicate symbol snd_mixer_oss_ioctl_card (owned by kernel)
snd_page_alloc: exports duplicate symbol snd_free_pages (owned by kernel)
snd_pcm: exports duplicate symbol snd_pcm_notify (owned by kernel)
snd_pcm_oss: disagrees about version of symbol snd_pcm_lib_read
snd_pcm_oss: Unknown symbol snd_pcm_lib_read
snd_pcm_oss: disagrees about version of symbol snd_pcm_hw_param_first
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_first
snd_pcm_oss: disagrees about version of symbol snd_pcm_kernel_ioctl
snd_pcm_oss: Unknown symbol snd_pcm_kernel_ioctl
snd_pcm_oss: disagrees about version of symbol snd_pcm_open_substream
snd_pcm_oss: Unknown symbol snd_pcm_open_substream
snd_pcm_oss: disagrees about version of symbol snd_pcm_lib_readv
snd_pcm_oss: Unknown symbol snd_pcm_lib_readv
snd_pcm_oss: disagrees about version of symbol snd_pcm_lib_writev
snd_pcm_oss: Unknown symbol snd_pcm_lib_writev
snd_pcm_oss: disagrees about version of symbol snd_pcm_mmap_data
snd_pcm_oss: Unknown symbol snd_pcm_mmap_data
snd_pcm_oss: disagrees about version of symbol snd_pcm_hw_param_last
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_last
snd_pcm_oss: disagrees about version of symbol snd_pcm_hw_refine
snd_pcm_oss: Unknown symbol snd_pcm_hw_refine
snd_pcm_oss: disagrees about version of symbol snd_pcm_notify
snd_pcm_oss: Unknown symbol snd_pcm_notify
snd_pcm_oss: disagrees about version of symbol snd_pcm_release_substream
snd_pcm_oss: Unknown symbol snd_pcm_release_substream
snd_pcm_oss: disagrees about version of symbol snd_pcm_lib_write
snd_pcm_oss: Unknown symbol snd_pcm_lib_write
snd_mixer_oss: exports duplicate symbol snd_mixer_oss_ioctl_card (owned by kernel)
snd_seq_device: exports duplicate symbol snd_seq_autoload_unlock (owned by kernel)
snd_seq: exports duplicate symbol snd_seq_kernel_client_write_poll (owned by kernel)
|
Code: | jazzi # lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 400 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control |
Code: | jazzi # lsmod
Module Size Used by
pcspkr 1664 0
k8temp 3584 0
nvidia 6615364 30
ohci_hcd 16772 0
ehci_hcd 23564 0
forcedeth 35980 0
usbcore 87020 3 ohci_hcd,ehci_hcd
thermal 11292 0
fan 3204 0
sg 22560 0
processor 18992 1 thermal
button 5776 0 |
|
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu Jul 24, 2008 6:45 pm Post subject: |
|
|
Taking a quick look at your .config, I see that the sound support is currently set properly for your hardware. The errors seem to be caused by a dirty source code directory.
The fix below can be done while the kernel you're fixing is up and running, but it is much better to do this if you have a secondary kernel version installed. That way, there's no possibility of an unintended oops.
1) Move or copy your .config file out of the /usr/src/linux-2.6.24-gentoo-r8 directory. If you don't, the next step will delete it.
2) Run make mrproper.
3) Return the .config to it's source directory after make mrproper finishes.
4) Run make.
5) Once make is finished, move or delete /lib/modules/linux-2.6.24-gentoo-r8.
6) Run make modules_install.
7) Reboot.
This should get rid of the module errors. Please do this gently, and make sure you have a backup of your .config before you start this ride. Once you get the sound working, I'd like to tweak your kernel, if that's ok.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Thu Jul 24, 2008 8:16 pm Post subject: |
|
|
jazzi,
You skipped make clean, make modules_install, or you are ruuning your old kernel against new modules, so you have parts of two kernels installed now.
What I suggested earlier works, what pappy_mcfae suggests also works but provides better error checking as it removes everything, so things you miss are err, missing, not wrong versions. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jazzi n00b
Joined: 21 Aug 2007 Posts: 73
|
Posted: Sat Jul 26, 2008 12:50 pm Post subject: |
|
|
Sorry for delay response. I do what Pappy said, and don't get the sound work.
here is the screenshot of alsamixer
http://picasaweb.google.com/jazzihong22/Temp/photo#5227303338359294082
Quote: | lsmod
Module Size Used by
snd_seq_dummy 2052 0
snd_seq_oss 20096 0
snd_seq_midi_event 3328 1 snd_seq_oss
snd_seq 27632 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 4364 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 30080 0
snd_mixer_oss 11392 1 snd_pcm_oss
ehci_hcd 24332 0
pcspkr 1664 0
snd_hda_intel 155828 0
ohci_hcd 16388 0
usbcore 83056 3 ehci_hcd,ohci_hcd
forcedeth 35724 0
k8temp 3456 0
fan 2560 0
thermal 13468 0
nvidia 6611396 30
processor 22836 1 thermal
sg 22064 0
button 5520 0 |
Code: | # cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe028000 irq 5 |
Code: | # cat /etc/modprobe.conf
### This file is automatically generated by update-modules
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modprobe.d and read
# the manpage for update-modules(8).
#
alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81-* bttv
alias char-major-108-* ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
alias char-major-89-* i2c-dev
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0 model=3stack
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc
### update-modules: start processing /etc/modprobe.d/blacklist
# This file lists modules which will not be loaded by udev,
# not at coldplugging and not on hotplug events.
# Add your own entries to this file
# in the format "blacklist <name of module>"
# Some examples:
# evbug is a debug tool and should be loaded explicitly
blacklist evbug
# Autoloading eth1394 most of the time re-orders your network
# interfaces, and with buggy kernel 2.6.21, udev persistent-net
# is not able to rename these devices, so you get eth?_rename devices
# plus an exceeded 30sec boot timeout
blacklist eth1394
# You probably want this to not get the console beep loud on every tab :)
#blacklist pcspkr
# these drivers are very simple, the HID drivers are usually preferred
#blacklist usbmouse
#blacklist usbkbd
# Sometimes loading a framebuffer driver at boot gets the console black
#install pci:v*d*sv*sd*bc03sc*i* /bin/true
### update-modules: end processing /etc/modprobe.d/blacklist
### update-modules: start processing /etc/modprobe.d/nvidia
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more
# options see /usr/share/doc/nvidia-drivers-173.14.09/README
#
# !!! SECURITY WARNING !!!
# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
# WHAT YOU ARE DOING.
# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1
### update-modules: end processing /etc/modprobe.d/nvidia
### update-modules: start processing /etc/modprobe.d/pnp-aliases
# /etc/modprobe.d/pnp-aliases
#
# These aliases are used by this udev-rule:
# SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c '/sbin/modprobe -a $$(while read id; do echo pnp:d$$id; done < /sys$devpath/id)'"
#
# They should help to autoload drivers used by various pnp-devices
# (if not blacklisted somewhere else)
#
alias pnp:dPNP0510 irtty-sir
alias pnp:dPNP0511 irtty-sir
alias pnp:dPNP0700 floppy
alias pnp:dPNP0800 pcspkr
alias pnp:dPNP0b00 rtc
alias pnp:dPNP0303 atkbd
alias pnp:dPNP0f13 psmouse
alias pnp:dPNPb02f analog
### update-modules: end processing /etc/modprobe.d/pnp-aliases
### update-modules: start processing /etc/modprobe.d/ppp
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-13 n_hdlc
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias net-pf-24 pppoe
### update-modules: end processing /etc/modprobe.d/ppp |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Sat Jul 26, 2008 4:41 pm Post subject: |
|
|
jazzi,
Have you followed the ALSA Guide ?
Your alsa setup is missing ... you should have a file called /etc/modules.d/alsa that contains your ALSA settings.
All the files in /etc/modules.d/ are copied into /etc/modules.conf every boot, so don't change /etc/modules.conf yourself. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jazzi n00b
Joined: 21 Aug 2007 Posts: 73
|
Posted: Sun Jul 27, 2008 1:32 am Post subject: |
|
|
alsaconf does found my card as Quote: | hda-intel:Nvidia MPC61 High Definition Audio(rev a2) |
This is my /etc/modules.d/alsa
Code: | # cat /etc/modules.d/alsa
# Alsa kernel modules' configuration file.
# ALSA portion
# OSS/Free portion
##
## 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
## 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-hda-intel model=toshiba
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.16 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---
option snd-hda-intel model=3stack |
Neddy, I found something in my dmesg
Code: | ALSA device list:
No soundcards found.
hda_codec: Unknown model for ALC861, trying auto-probe from BIOS...
|
Code: | # /etc/init.d/alsasound restart
* Loading ALSA modules ...
* Loading: snd-card-0 ... [ ok ]
* Loading: snd-pcm-oss ... [ ok ]
* Loading: snd-seq-oss ... [ ok ]
* Restoring Mixer Levels ... |
|
|
Back to top |
|
|
jazzi n00b
Joined: 21 Aug 2007 Posts: 73
|
Posted: Sun Jul 27, 2008 4:05 am Post subject: |
|
|
Great news, I got the sound in the end. Woooooooooooooo, Thanks Neddy and Pappy so much.
When run alsamixer, I got the PCM althrough no Master, my /etc/modules.d/alsa is
Quote: | option snd-hda-intel model=auto |
I there is still one question, that the audacious can't add audio files, it can't play any mp3 or wav, I've tried it with different audios.
I emerge audacious like that: Code: | USE="alsa" emerge audacious |
I don't know why it can't play.
Thanks again, for these days, for your kind and patience.
jazzi
++++++++++++++++++
audacious solved this way:
Code: | USE="mp3 alsa" emerge audacious
USE="mp3 alsa" emerge audacious-plugins |
cheers |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Sun Jul 27, 2008 6:44 am Post subject: |
|
|
Awesome. You're most welcome
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Sun Jul 27, 2008 11:42 am Post subject: |
|
|
jazzi,
Never ever put USE flags on the emerge command line except for a test with the -p option.
The reason is that portage will not track such USE flag use and it will be dropped at your next emerge world.
Global USE flags go in /etc/make.conf
Per package USE flags go in /etc/portage/package.use
Read man portage
I suspect you have other USE settings missing. Please post your emerge --info _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jazzi n00b
Joined: 21 Aug 2007 Posts: 73
|
Posted: Sun Jul 27, 2008 1:05 pm Post subject: |
|
|
Code: | # cat /etc/make.conf |
Quote: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
#for Nvidia Cards
VIDIO_CARDS="nvidia"
USE="X alsa mp3 nvidia jpeg"
source /usr/local/portage/layman/make.conf |
Quote: | Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 AMD Sempron(tm) Processor 3000+
Timestamp of tree: Sun, 27 Jul 2008 02:00:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.5.2-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r2
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog jpeg midi mp3 mudflap ncurses nls nptl nptlonly nvidia openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
When the system booting, sometimes it will halt when Code: | Setting system clock using hardware clock(local time) |
I've google, someone said it may the problem of new kernel 2.6.25-r7, have you ever meet that problem.
Pappy, will you tweak my kernel? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Sun Jul 27, 2008 1:34 pm Post subject: |
|
|
jazzi,
You have many USE flags not set because your profile is set to Code: | default/linux/x86/2008.0 |
Its not an error to do that if you want mostly manual control but your profile sets a lot of USE flags by default.
The one you have chosen is intended to be a parent for either desktop or server.
My profile is Code: | default/linux/x86/2008.0/desktop | so I get all the desktop USE flags by default.
Change your profile and do Code: | emerge world -uDNav | a lot of things will be rebuilt with extra options.
Look through the list and the USE settings and fix any you don't like before you allow the rebuild to go ahead.
Changed USE flags are in green. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|