March 19, 2024, 08:12:03 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Challenge to all linux geeks  (Read 10399 times)

Offline esumitkumar

  • Linux Noob !
  • *
  • Posts: 14
Challenge to all linux geeks
« on: June 15, 2004, 04:03:21 AM »
Hi

A challenge to all those who call them linux geeks !!!!
Solve my CM 8738 audio problem with PCQ Linux 2004 (Based on Fedora Core 1 )
Onboard sound on Intel 810 mobo. I recently upgraded to 2.6.2 kernel but no sound !!! I m completely frustrated but i will not leave linux

(just have been trying linux from long long time but no sound boohoooooo..........(weeping....)

See what commands say ----->


# lspci
00:00.0 Host bridge: Intel Corp. 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corp. 82810 CGC [Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
01:04.0 Modem: PCTel Inc HSP MicroModem 56 (rev 02)
01:0a.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)


***************CONTENTS OF /ETC/MODULES.CONF***************************

alias usb-controller usb-uhci
alias eth0 8139too

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
alias char-major-14 soundcore
# card #0
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 sound-slot-0 cmpci

post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

**************IF RUNNING COMMAND REDHAT-CONFIG-SOUNCARD FROM RUN MENU********:
It says

The cmpci driver could not be loaded.  
This soundcard may not be compatible with Red Hat Linux.



**************IF running "sndconfig" from terminal****************************

 ERROR: No Sound Modules found ???????????????????
      ?                                                                  ?
      ? You don't seem to be running a kernel with modular sound         ?
      ? enabled. (soundcore.o was not found in the module search path).  ?
      ? To use sndconfig, you must be running a kernel with modular      ?
      ? sound, such as the kernel shipped with Red Hat Linux or a 2.2    ?
      ? or greater kernel.  

# modprobe cmpci
FATAL: Module cmpci not found.

I downloaded alsa-0.9.8 drivers but..it says

[root@localhost alsa-driver-0.9.8]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-0.9.8
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.2-1.160/build
checking for kernel version... 2.6.2-1.160
checking for GCC version... Kernel compiler: gcc 3.3.2 20040119 (Red Hat Linux 3.3.2-8) Used compiler: gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
checking to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/jiffies.h... "yes"
checking for kernel linux/compat.h... "yes"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.6.2-1.160/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for i386 machine type... default
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... "no"
checking for Kernel ISA-PnP module support... "no"
checking for strlcpy... "yes"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "no"
checking for PDE... "yes"
checking for driver version... 0.9.8
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "yes"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged



[root@localhost alsa-driver-0.9.8]# make
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/support'
make[1]: Nothing to be done for `first_rule'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/support'
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-0.9.8/include  -I/lib/modules/2.6.2-1.160/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -I/lib/modules/2.6.2-1.160/build/include/asm-i386/mach-default -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c hwdep.c
In file included from /usr/src/alsa/alsa-driver-0.9.8/include/adriver.h:42,
                 from /usr/src/alsa/alsa-driver-0.9.8/include/sound/driver.h:42,
                 from hwdep.c:22:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make[1]: *** [hwdep.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/acore'
make: *** [compile] Error 1




[root@localhost alsa-driver-0.9.8]# make install
rm -rf /lib/modules/2.6.2-1.160/kernel/sound
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/support'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/support'
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/acore'
mkdir -p /lib/modules/2.6.2-1.160/kernel/sound/acore
cp snd-hwdep.o snd-page-alloc.o snd-pcm.o snd-rawmidi.o snd-rtctimer.o snd-timer.o snd.o /lib/modules/2.6.2-1.160/kernel/sound/acore
cp: cannot stat `snd-hwdep.o': No such file or directory
cp: cannot stat `snd-page-alloc.o': No such file or directory
cp: cannot stat `snd-pcm.o': No such file or directory
cp: cannot stat `snd-rawmidi.o': No such file or directory
cp: cannot stat `snd-rtctimer.o': No such file or directory
cp: cannot stat `snd-timer.o': No such file or directory
cp: cannot stat `snd.o': No such file or directory
make[1]: *** [_modinst__] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/acore'
make: *** [install-modules] Error 1
[root@localhost alsa-driver-0.9.8]#



[root@localhost root]# modinfo soundcore
modinfo: soundcore: no module by that name found


NOW WHAT TO DO ????????????????????????????????????????????????

Thank you!
Sumit.Alg

Offline dalek

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 243
Challenge to all linux geeks
« Reply #1 on: June 15, 2004, 04:20:35 AM »
I think you can put the I810 sound driver in the kernel.  I say that because that is what I use for my nforce audio.  The kernel config screen should look like this:

Code: [Select]
<*> Intel i8x0/MX440, SiS 7012; Ali 5455; NForce Audio; AMD768/8111
Does that help?

 :D  :D  :D

Offline esumitkumar

  • Linux Noob !
  • *
  • Posts: 14
Challenge to all linux geeks
« Reply #2 on: June 15, 2004, 04:25:34 AM »
i cant understand how to put I810 sound driver in the kernel?????

what is ur yahoo id so that i can chat with u
thanks

Offline dalek

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 243
Challenge to all linux geeks
« Reply #3 on: June 15, 2004, 05:10:51 AM »
You go to a terminal or console and as root type this:

Code: [Select]
cd /usr/src/linux

make menuconfig

That is where you configure the kernel.  You need to go through each screen to put in what you need, including the driver for sound.  When you get done, copy the kernel over to /boot and then boot it.

That configure is not a gui  with mouse controls.  You have to use the arrow keys and such.

If you have never done this before, I suggest you look for a how to.  It is right and it works or it is not and it don't or is unstable.  Since you posted so much info, I thought you were a guru.  :D

Later

:D :D :D :D

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Challenge to all linux geeks
« Reply #4 on: June 15, 2004, 05:56:40 AM »
I dont remember clearly but for that I think there is Linux driver avaialble also.. I had seen that in one PCQ mag CD. .. will look for u. and will tell or will mail u .. but that is when if I found it.

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Challenge to all linux geeks
« Reply #5 on: June 15, 2004, 03:45:16 PM »
Goto ur motherboard supplier site and get a linux driver from there. That should do the trick. make sure u read their documentation on how to install the driver. Simple as that.

Offline esumitkumar

  • Linux Noob !
  • *
  • Posts: 14
Challenge to all linux geeks
« Reply #6 on: June 16, 2004, 02:18:25 AM »
hi i tried dalek s method bit it still says no soundcore.o found
even it compiled normally and even after downloading drivers
no sound plz help