Solved

Realtek AC'97 audio with debian Sarge - testing version

Posted on 2004-08-30
23
1,090 Views
Last Modified: 2013-11-15
Hello experts,

I install debian sarge 3.1 testing version on my notebook everthing works fine but I do not have idea wich module should I install for my sound card Realtek AC'97 audio and make it work is here somebody who got idea waht schould I do?


thanks

LUXANA
0
Comment
Question by:Luxana
  • 12
  • 9
  • 2
23 Comments
 

Expert Comment

by:Baryonic_Being
ID: 11941865
I have the same sound chipset and the driver I use is 'snd-via82xx' (with ALSA). Is that what you mean?
0
 
LVL 10

Author Comment

by:Luxana
ID: 11950309
Hi Baryonic_Being,

so I installed module snd-via82xx and is look ok to me because it look like module is installed !
# lsmod

Module                  Size  Used by
snd_pcm_oss            47908  0
snd_pcm                87972  1 snd_pcm_oss
snd_page_alloc         11652  1 snd_pcm
snd_timer              23300  1 snd_pcm
snd_mixer_oss          16512  1 snd_pcm_oss
md5                     3968  1
ipv6                  221120  8
ds                     15108  4
snd                    49124  4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               9696  1 snd

But alsa have a problem

/etc/init.d/alsa restart
Storing ALSA mixer settings ... failed
Restoring ALSA mixer settings ... failed:
       You may want to run 'alsactl restore' manually to view any errors.

and also always when I start xserver and KDE I get this message:

-----------------------------------------------------------------------------------
Sound server information message:

Error while initializing the sound driver:

device /dev/dsp can't be opened (No such device)

The sound server will continue, using the null output device.

-------------------------------------------------------------------------------------

0
 

Expert Comment

by:Baryonic_Being
ID: 11950639
I have had the same problem in the past. Try these things, and if you don't understand I will gladly elaborate:

1) Install alsamixergui and alsa-utils.
2) Start the ALSA service.
3) Start "alsamixer" or alsamixergui to unmute and then raise L/R
 volumes of the "Headphone" channel.
4) There is a "Via DXS" control that needs to be adjusted between attempts at
 playing sound (wave or pcm), until you find the optimal position, and then
 don't touch it again.
5) You should be able to test the sound with the command 'aplay /usr/share/sounds/startup3.wav'.

See if that helps.
0
 
LVL 10

Author Comment

by:Luxana
ID: 11950895


apt-get install alsamixergui
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libfltk1.1c102
The following NEW packages will be installed:
  alsamixergui libfltk1.1c102
0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 383kB of archives.
After unpacking 967kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://mirror.aarnet.edu.au testing/main libfltk1.1c102 1.1.4+1.1.5rc2-1 [353kB]
Get:2 http://mirror.aarnet.edu.au testing/main alsamixergui 0.9.0rc2-1-7 [29.4kB]
Fetched 383kB in 22s (17.0kB/s)
Selecting previously deselected package libfltk1.1c102.
(Reading database ... 85746 files and directories currently installed.)
Unpacking libfltk1.1c102 (from .../libfltk1.1c102_1.1.4+1.1.5rc2-1_i386.deb) ...
Selecting previously deselected package alsamixergui.
Unpacking alsamixergui (from .../alsamixergui_0.9.0rc2-1-7_i386.deb) ...
Setting up libfltk1.1c102 (1.1.4+1.1.5rc2-1) ...

Setting up alsamixergui (0.9.0rc2-1-7) ...

debian-lilo:/var/log# apt-get install alsa-utils
Reading Package Lists... Done
Building Dependency Tree... Done
alsa-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
debian-lilo:/var/log# /etc/init.d/alsa restart
Storing ALSA mixer settings ... failed
Restoring ALSA mixer settings ... failed:
       You may want to run 'alsactl restore' manually to view any errors.
debian-lilo:/var/log# alsamixergui &
[1] 15336
debian-lilo:/var/log#

[1]+  Exit 1                  alsamixergui

.........................

It seem s like there is no sond card associated with alsa-mixer. I tryied also # alsaconf but I got message :

-------------------------------------------------------------------------------------------------

No supported PnP or PCI card found.
Would you like to probe legacy ISA sound cards/chips?

Yes                                     No

-----------------------------------------------------------------------------


thanks for helping me :)

luxana
0
 
LVL 20

Expert Comment

by:Gns
ID: 11964300
Hi Luxana,

I might be going blind, but in the lsmod you quoted above, there is no actual soundcard driver loaded. Do you have a 2.4 or 2.6 kernel? Look for any relevant lines in /etc/modules.conf (2.4 kernel) or /etc/modprobe.conf (2.6 kernel)... Also try to load the driver manuallywith a "modprobe snd-via82xx" or "insmod snd-via82xx"...

-- Glenn
0
 
LVL 10

Author Comment

by:Luxana
ID: 11969365
Hi glenn , It is strange but that is excactly what I did modprobe snd-via82xx and after that I did lsmod. OK so now it looks better I hope:)))
My kernel is : 2.6.3-1-386


Module                  Size  Used by
snd_via82xx            23456  0
snd_ac97_codec         53764  1 snd_via82xx
gameport                4736  1 snd_via82xx
snd_mpu401_uart         7168  1 snd_via82xx
snd_rawmidi            22816  1 snd_mpu401_uart
snd_seq_device          7816  1 snd_rawmidi
nls_iso8859_1           4224  1
isofs                  32184  1
snd_pcm_oss            47908  0
snd_pcm                87972  2 snd_via82xx,snd_pcm_oss
snd_page_alloc         11652  2 snd_via82xx,snd_pcm
snd_timer              23300  1 snd_pcm
snd_mixer_oss          16512  1 snd_pcm_oss
md5                     3968  1
ipv6                  221120  8
ds                     15108  4
snd                    49124  9 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               9696  1 snd

cat /etc/modules.conf

### update-modules: start processing /etc/modutils/alsa-base
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss

### update-modules: end processing /etc/modutils/alsa-base

cat /etc/modprobe.conf is empty

alsamixer still not working....
0
 
LVL 10

Author Comment

by:Luxana
ID: 11994186
Hello ,

Please does anybody know what should I do next? It seem that sound driver is instaled. I'm still getting message :

-----------------------------------------------------------------------------------
Sound server information message:

Error while initializing the sound driver:

device /dev/dsp can't be opened (No such device)

The sound server will continue, using the null output device.

-------------------------------------------------------------------------------------


thanks
0
 
LVL 20

Expert Comment

by:Gns
ID: 11994975
Hm, might be that some modules, like the OSS "conveniece modules" are loaded prior to there being any sound card module loaded... thus the /dev/dsp "convenience" never get created... Do rmmod on it all like this:
rmmod snd_via82xx snd_ac97_codec gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd soundcore
... You might need to repeat a couple of times... until everything is unloaded. Then "modprobe snd-via82xx" again. Check with lsmod that the *_oss are loaded too.
Then check with "ls -l /dev/dsp" that it's there...:-)

In /etc/modprobe.conf you should have some lines like
alias sound-slot-0 snd-via82xx
install snd-via82xx /sbin/modprobe --first-time --ignore-install snd-via82xx && { /sbin/modprobe snd-pcm-oss; /bin/true; }
remove snd-via82xx { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r --first-time --ignore-remove snd-intel8x0

... And with that your system should bring everything in at bootup. Now, you do have the right module-init-tools version (not the 2.4 kernel version modutils package)? Anyway, with the above in /etc/modprobe.conf you should be able to load everything with "modprobe sound-slot-0".

-- Glenn
0
 
LVL 10

Author Comment

by:Luxana
ID: 12005269
Hi glenn,

hre is lsmod after uninstall:

lsmod
Module                  Size  Used by
snd_page_alloc         11652  0 ->>  what is this? I unistaled it as well !!
md5                     3968  1
ipv6                  221120  8
ds                     15108  4
af_packet              20360  2
8139cp                 18944  0
tsdev                   7168  0
mousedev                9684  1
ehci_hcd               22532  0
hid                    29376  0
ohci_hcd               17412  0
usbcore                94044  5 ehci_hcd,hid,ohci_hcd
ati_agp                 8204  1
agpgart                29608  1 ati_agp
evdev                   9088  0
ide_scsi               13700  0
scsi_mod              109112  1 ide_scsi
8139too                23680  0
mii                     4864  2 8139cp,8139too
crc32                   4608  2 8139cp,8139too
yenta_socket           15488  0
pcmcia_core            63840  2 ds,yenta_socket
nls_cp437               5888  2
vfat                   14208  1
fat                    41792  1 vfat
dm_mod                 35104  0
ide_cd                 38020  0
cdrom                  34720  1 ide_cd
rtc                    11960  0
ext3                  103720  1
jbd                    54168  1 ext3
ide_disk               15872  4
ide_generic             1408  0 [permanent]
ide_detect              1408  0
ide_core              141804  5 ide_scsi,ide_cd,ide_disk,ide_generic,ide_detect
unix                   25520  201
font                    8576  0
cfbcopyarea             3968  0
cfbimgblt               3328  0
cfbfillrect             3840  0

now modprobe snd-via82xx

lsmod:

lsmod
Module                  Size  Used by
snd_via82xx            23456  0
snd_pcm                87972  1 snd_via82xx
snd_timer              23300  1 snd_pcm
snd_ac97_codec         53764  1 snd_via82xx
gameport                4736  1 snd_via82xx
snd_page_alloc         11652  2 snd_via82xx,snd_pcm
snd_mpu401_uart         7168  1 snd_via82xx
snd_rawmidi            22816  1 snd_mpu401_uart
snd_seq_device          7816  1 snd_rawmidi
snd                    49124  7 snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               9696  1 snd
md5                     3968  1
ipv6                  221120  8
ds                     15108  4
af_packet              20360  2
8139cp                 18944  0
tsdev                   7168  0
mousedev                9684  1
ehci_hcd               22532  0
hid                    29376  0
ohci_hcd               17412  0
usbcore                94044  5 ehci_hcd,hid,ohci_hcd
ati_agp                 8204  1
agpgart                29608  1 ati_agp
evdev                   9088  0
ide_scsi               13700  0
scsi_mod              109112  1 ide_scsi
8139too                23680  0
mii                     4864  2 8139cp,8139too
crc32                   4608  2 8139cp,8139too
yenta_socket           15488  0
pcmcia_core            63840  2 ds,yenta_socket
nls_cp437               5888  2
vfat                   14208  1
fat                    41792  1 vfat
dm_mod                 35104  0
ide_cd                 38020  0
cdrom                  34720  1 ide_cd
rtc                    11960  0
ext3                  103720  1
jbd                    54168  1 ext3
ide_disk               15872  4
ide_generic             1408  0 [permanent]
ide_detect              1408  0
ide_core              141804  5 ide_scsi,ide_cd,ide_disk,ide_generic,ide_detect
unix                   25520  223
font                    8576  0
cfbcopyarea             3968  0
cfbimgblt               3328  0
cfbfillrect             3840  0

there is no sign of *_oss

ls -l /dev/dsp
lrwxrwxrwx  1 root root 9 2004-08-30 00:53 /dev/dsp -> /dev/dsp0



/etc/modprobe.conf is empty !!

so I try to put your lines into /etc/modules.conf but it does not help.

can it be some problem with this testing debian version?


thanks glenn
0
 
LVL 20

Expert Comment

by:Gns
ID: 12005296
Do
modprobe snd-pcm-oss
to get the oss compatibility.
Now you should have /dev/dsp ...
If no sound emanates, check mute/volume status with a mixer.

-- Glenn
0
 
LVL 10

Author Comment

by:Luxana
ID: 12015548
Glenn,

it look hopeless :-(


lsmod
Module                  Size  Used by
snd_via82xx            23456  0
snd_ac97_codec         53764  1 snd_via82xx
gameport                4736  1 snd_via82xx
snd_mpu401_uart         7168  1 snd_via82xx
snd_rawmidi            22816  1 snd_mpu401_uart
snd_seq_device          7816  1 snd_rawmidi
snd_pcm_oss            47908  0
snd_pcm                87972  2 snd_via82xx,snd_pcm_oss
snd_page_alloc         11652  2 snd_via82xx,snd_pcm
snd_timer              23300  1 snd_pcm
snd_mixer_oss          16512  1 snd_pcm_oss
md5                     3968  1
ipv6                  221120  8
ds                     15108  4
snd                    49124  9 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               9696  1 snd
af_packet              20360  2
8139cp                 18944  0
tsdev                   7168  0
ehci_hcd               22532  0
mousedev                9684  1
hid                    29376  0
ohci_hcd               17412  0
usbcore                94044  5 ehci_hcd,hid,ohci_hcd
ati_agp                 8204  1
agpgart                29608  1 ati_agp
evdev                   9088  0
ide_scsi               13700  0
scsi_mod              109112  1 ide_scsi
8139too                23680  0
mii                     4864  2 8139cp,8139too
crc32                   4608  2 8139cp,8139too
yenta_socket           15488  0
pcmcia_core            63840  2 ds,yenta_socket
nls_cp437               5888  2
vfat                   14208  1
fat                    41792  1 vfat
dm_mod                 35104  0
ide_cd                 38020  0
cdrom                  34720  1 ide_cd
rtc                    11960  0
ext3                  103720  1
jbd                    54168  1 ext3
ide_disk               15872  4
ide_generic             1408  0 [permanent]
ide_detect              1408  0
ide_core              141804  5 ide_scsi,ide_cd,ide_disk,ide_generic,ide_detect
unix                   25520  212
font                    8576  0
cfbcopyarea             3968  0
cfbimgblt               3328  0
cfbfillrect             3840  0


alsamixer

alsamixer: function snd_ctl_open failed for default: No such device


0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 20

Accepted Solution

by:
Gns earned 500 total points
ID: 12017375
Wait a moment!
Exactly what chipset does your notebook have? I just went over to realteks support site and looked at the "linux driver" they've got there (actually a rather dated alsa)... Turns out this realtek chip is used "behind the scenes" in several chipsets, where these lines are copied from the example modules.conf they provided:
#--- Intel 8x0  , SiS 7012 and NVidia----------
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0 id="ICH"
#--- Via8233 Via686a  -------------------------------
#alias snd-card-0 snd-via82xx
#options snd-via82xx index=0 id="VIA"
#--- ATI  -------------------------------
#alias snd-card-0 snd-atiixp
#options snd-atiixp index=0 id="ATI"
//=================================

Sooo... you can use lspci -v to try determine what HW you really have there, and perhaps try gather a few hints from dmesg (just after a reboot)... Then use the likely one... Looking at the above, I'd guess at snd-atiixp or snd-intel8x0 ...

HtH

-- Glenn
0
 
LVL 10

Author Comment

by:Luxana
ID: 12032210
Glenn

I have a ATI chipset.

0000:00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio Controller
        Subsystem: Acer Incorporated [ALI]: Unknown device 0052


but I do not have module snd-atiixp :

# modprobe snd-atiixp
FATAL: Module snd_atiixp not found.

so I went to realtek side and found this:

http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True

is it what we are looking for?

thanks glenn
0
 
LVL 10

Author Comment

by:Luxana
ID: 12036701
Glen I'm trying to compile that driver but I have some problems so I do not know if this is appropriate driver for my kernel version:

alsa-driver-1.0.4# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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... /home/lilo/realtek-ac97-driver/alsa-driver-1.0.4
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

-----------------------
# locate version.h
/usr/include/gnu/libc-version.h
/usr/include/linux/dvb/version.h
/usr/include/linux/version.h
----------------------------------------------------
alsa-driver-1.0.4# ./configure --with-kernel=/usr/include/linux
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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... /home/lilo/realtek-ac97-driver/alsa-driver-1.0.4
checking cross compile...
checking for directory with kernel source... /usr/include/linux
checking for kernel version... The file /usr/include/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

then I also tryed:

alsa-driver-1.0.4# ./configure --with-kernel=
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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... /home/lilo/realtek-ac97-driver/alsa-driver-1.0.4
checking cross compile...
checking for directory with kernel source...
checking for kernel version... The file /include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

what I'm doing wrong?

thanks
0
 
LVL 20

Expert Comment

by:Gns
ID: 12042192
It is exactly as said, you need install the kernel source for the kernel you are running, so you need apt-get the appropriate kernel-source-<version>... Then you'll not stumble on that particular block at least:-).
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=ATI&card=&chip=IXP&module=atiixp can perhaps be a help in the process of setting it up.

Good Luck

-- Glenn
0
 
LVL 10

Author Comment

by:Luxana
ID: 12074350
Hello Glenn,

First of all I increased points for this question from 30 to 500 just to make you more patient with me because I have huge gaps in compilig and hardware things :))

So I downloaded kernel linux-2.6.3.tar.bz2 and i decompresed it to /usr/src/linux-2.6.3 directory so when I do :

./configure --with-kernel=/usr/src/linux-2.6.3
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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... /home/lilo/realtek-ac97-driver/alsa-driver-1.0.4
checking cross compile...
checking for directory with kernel source... /usr/src/linux-2.6.3
checking for kernel version... The file /usr/src/linux-2.6.3/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

it still cant find the source of my kernel. And I really do not understat why I have  :

checking for kernel version... The file /usr/src/linux-2.6.3/include/linux/version.h does not exist.

this path there?

it is looking for file version.h

/usr/include/gnu/libc-version.h
/usr/include/linux/dvb/version.h
/usr/include/linux/version.h
/usr/lib/perl5/Gnome2/Canvas/Install/gnomecanvasperl-version.h
/usr/lib/perl5/Gnome2/VFS/Install/vfs2perl-version.h
/usr/share/doc/imagemagick/www/api/version.html
/usr/src/linux-2.6.3/arch/i386/math-emu/version.h
/usr/src/linux-2.6.3/drivers/net/sk98lin/h/skversion.h
/usr/src/linux-2.6.3/drivers/scsi/qla2xxx/qla_version.h
/usr/src/linux-2.6.3/fs/xfs/linux/xfs_version.h
/usr/src/linux-2.6.3/include/linux/dvb/version.h
/usr/src/linux-2.6.3/include/pcmcia/version.h
/usr/src/linux-2.6.3/include/sound/version.h

./configure --with-kernel=/usr/src/linux-2.6.3/include/sound/
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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... /home/lilo/realtek-ac97-driver/alsa-driver-1.0.4
checking cross compile...
checking for directory with kernel source... /usr/src/linux-2.6.3/include/sound/
checking for kernel version... The file /usr/src/linux-2.6.3/include/sound//include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).


uname -a
Linux 2.6.3-1-386 #2 Tue Feb 24 20:20:23 EST 2004 i686 GNU/Linux

what I'm doing wrong?

thanks

LUXANA
0
 
LVL 20

Expert Comment

by:Gns
ID: 12074864
Ok, you got a "plain vanilla" kernel from www.kernel.org then? That would explain the lack of .../include/linux/version.h, since that would eb created when you've configured the kernel.

I'm not sure about the latest "debian" kernels, but for other distros (like Mandrake, RedHat and Fedora etc) the kernel-source package matches the kernel install package... So you have a souce package already configured for the distributed kernel (and thus have a version.h already generated). I thought you'd get the same for debian apt-geting (or dselecting or whatever) the relevant kernel-source deb. If you do, be sure to remove the vanilla kernel first:-).

-- Glenn
0
 
LVL 20

Expert Comment

by:Gns
ID: 12074891
Oh, and running "make config" should give you the icky old textmode config interface ... if you decide to go that way:-).

-- Glenn
0
 
LVL 10

Author Comment

by:Luxana
ID: 12074999
Yes I get this kernel from www.kernel.org because I could not apt-get it ! this is available:

apt-cache search kernel-source
cpad-kernel-source - Source for the Synaptics cPad driver
freeswan - IPSEC utilities for FreeSWan
kernel-patch-2.4-lids - LIDS Kernel Patch
kernel-patch-debian-2.4.24 - Debian patches to Linux 2.4.24
kernel-patch-debian-2.4.25 - Debian patches to Linux 2.4.25
kernel-patch-debian-2.4.26 - Debian patches to Linux 2.4.26
kernel-patch-debian-2.4.27 - Debian patches to Linux 2.4.27
kernel-patch-debian-2.6.6 - Debian patches to Linux 2.6.6
kernel-patch-debian-2.6.7 - Debian patches to Linux 2.6.7
kernel-patch-debian-2.6.8 - Debian patches to Linux 2.6.8
kernel-patch-usagi - Another IPv6 implementation for Linux
kernel-source-2.2.25 - Linux kernel source for version 2.2.25
kernel-source-2.4.24 - Linux kernel source for version 2.4.24 with Debian patches
kernel-source-2.4.25 - Linux kernel source for version 2.4.25 with Debian patches
kernel-source-2.4.26 - Linux kernel source for version 2.4.26 with Debian patches
kernel-source-2.4.27 - Linux kernel source for version 2.4.27 with Debian patches
kernel-source-2.6.6 - Linux kernel source for version 2.6.6 with Debian patches
kernel-source-2.6.7 - Linux kernel source for version 2.6.7 with Debian patches
kernel-source-2.6.8 - Linux kernel source for version 2.6.8 with Debian patches
lidstools-2.4 - LIDS Admintool
oprofile - system-wide profiler for Linux systems
kernel-source-2.2.10 - Linux kernel source.
kernel-source-2.2.19 - Linux kernel source for version 2.2.19
kernel-source-2.2.20 - Linux kernel source for version 2.2.20
kernel-source-2.2.22 - Linux kernel source for version 2.2.22
kernel-source-2.4.16 - Linux kernel source for version 2.4.16
kernel-source-2.4.17 - Linux kernel source for version 2.4.17
kernel-source-2.4.17-hppa - Linux kernel source for version 2.4.17 on HPPA
kernel-source-2.4.17-ia64 - Linux kernel source for version 2.4.17 on IA-64
kernel-source-2.4.18 - Linux kernel source for version 2.4.18
kernel-source-2.4.18-hppa - Linux kernel source for version 2.4.18 on HPPA
kernel-source-2.4.19 - Linux kernel source for version 2.4.19

So I thought that once I downloaded from www.kernel.org the problem will by fixed.

What distro are you using if I can ask?

Can this problem be just because this is only testing version of new sarge 3.1 ?

Do you suggest to compile new kernel or something?


thanks
0
 
LVL 20

Expert Comment

by:Gns
ID: 12075332
Mostly Mandrake... (Switched from RH when they went "fedora" on us, and haven't looked back:-). Me joining MdkClub kind of keeps me there too... Don't want to have spent my money in vain:-).

But Debian isn't a bad choice of distro. I've got some hanging around (collecting mold mostly... Woody, you know:-)

With that listing... Hm, was the 2.6.3 what you got when you installed sarge? As I see it you can do two things: Either update the kernel to the latest 2.6.8, and install the kernel-source-2.6.8 package, or you could configure and build the vanilla kernel.
I think I'll recommend doing the first, for three reasons:
 1. The ALSA version bundled in 2.6.8 seems to be at least 1.0.4 ... so chances are great that it might include atiixp support without compiling that module form source,
 2) It is neve a bad idea to keep uptodate in regards to errata and bugfixes, and
 3) You'll get source for the 2.6.8 kernel where the debian patchset has already been applied, and perhaps already the config step has been made... If you need build the module.

-- Glenn
0
 
LVL 20

Expert Comment

by:Gns
ID: 12075368
Oh, and if you can't apt-get an update for the kernel, you'd be able to build/install 2.6.8 from the source package. But I'm sure it's just as easy as ever to just do the update:-).

-- Glenn
0
 
LVL 10

Author Comment

by:Luxana
ID: 12186732
Hi glenn

I compiled new kernel 2.6.8 and I got atiixp module installed:
Module                  Size  Used by
snd_pcm_oss            48296  0
snd_mixer_oss          17152  1 snd_pcm_oss
ds                     19336  4
md5                     4096  1
ipv6                  229892  10
af_packet              20744  2
yenta_socket           19328  0
pcmcia_core            60944  2 ds,yenta_socket
snd_atiixp             19880  0
snd_ac97_codec         59652  1 snd_atiixp
snd_pcm                86052  2 snd_pcm_oss,snd_atiixp
snd_timer              23300  1 snd_pcm
snd                    50404  6 snd_pcm_oss,snd_mixer_oss,snd_atiixp,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9824  1 snd
snd_page_alloc         11144  2 snd_atiixp,snd_pcm
mousedev               10124  1
joydev                  9408  0
ehci_hcd               26116  0
usbhid                 28992  0
ohci_hcd               19460  0
usbcore               104676  5 ehci_hcd,usbhid,ohci_hcd
shpchp                 87404  0
pciehp                 84076  0
pci_hotplug            30640  2 shpchp,pciehp
ati_agp                 8332  1
agpgart                31784  1 ati_agp
evdev                   9088  0
nls_iso8859_1           4352  1
nls_cp437               6016  1
vfat                   13312  1
fat                    41920  1 vfat
ide_cd                 38276  0
cdrom                  35872  1 ide_cd
genrtc                  9352  0
ide_generic             1664  0
ide_disk               16768  4
ide_core              125272  3 ide_cd,ide_generic,ide_disk
unix                   25904  244

but I still could not run alsamixer because no device find.

so what I did was I installed driver http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True and after thet when I boot no error message that /dev/dsp no found and also I can run alsamixer and I can hear sounds from GUI such as maximize and minimize windows and so on. BTW this is so anoying !!!. what is inportant for me and reason why I need to install my sound card is MP3. when I try run :
# mplayer 03.Walk.MP3
I get error :
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 20000->176400 (160.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/dsp: Device or resource busy
ao_nas: init(): Can't open nas audio server -> nosound
AO: [null] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...

whay device is busy?

thanks
0
 
LVL 10

Author Comment

by:Luxana
ID: 12188350
Glenn

I fixed that problem it is quite wierd but it is another question...

thanks for help

LUXANA
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now