From alsa-user-owner@alsa.jcu.cz  Wed Dec  2 21:13:13 1998
Received: from Mail.ZEDAT.FU-Berlin.DE (mail.zedat.fu-berlin.de [160.45.2.8])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id VAA31050
	for <alsa-user@alsa.jcu.cz>; Wed, 2 Dec 1998 21:01:50 +0100
Received: by Mail.ZEDAT.FU-Berlin.DE (Smail3.2.0.98)
	  from c64 (160.45.228.41) with smtp
	  id <m0zlIT7-00Mib6C>; Wed, 2 Dec 1998 21:01:49 +0100 (MET)
Message-Id: <m0zlIT7-00Mib6C@Mail.ZEDAT.FU-Berlin.DE>
From: "A.J." <s600603@mail.tfh-berlin.de>
To: alsa-user@alsa.jcu.cz
Date: Wed, 2 Dec 1998 21:02:51 +0000
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: AudioPCI and SMP and why no debug 
References: <m0zkbi0-00MiaxC@Mail.ZEDAT.FU-Berlin.DE>
In-reply-to: <Pine.LNX.3.96.981201113920.23975E-100000@entry.jcu.cz>
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

> On Mon, 30 Nov 1998, A.J. wrote:
> 
> > Hello,
> > 
> > does anyone has the audiopci running under an SMP system ?
> 
> Yes, I'm. Dual P-Pro... I don't have any trouble with AudioPCI ES1370
> soundcard.
> 
> > I haev an Asus P65UP5 with P55T2D CPU-Card equiped with two
> > 233 Mhz Pentium CPUs, the system run 100% satble but if I insert
> > the audiopci driver and I play a song the system crashed. The driver
> > is inserted O.K and the problem is that I think that the the Soundcard
> > do no invoke any interrupt (seen under /proc/interrupts).
> 
> Which kernel? I'm running still 2.0.36, but I can do some tests in 2.1.X
> kernels, of course.. Did alsa configure script detect SMP kernel?
 
> > Then I've tested the card on an Asus XT2P4 with an AMD K6-233 and
> > the audiopci worked very fine, thanks to the developer.
> > And why does the configure parameter --with-debug=full didn't worked
> > please DO use it into your code so that I do not have to uncommand by
> > hand the necessary parts, as I have done it.
> > --with-DEBUG=full DO NOT WORK in pre10p1 !
> 
> It is working, but probably in another way as you expect. This setup only
> enables serious warnings, not verbose debugging of all lowlevel and
> midlevel parts of ALSA driver. I'm using this switch in all cases and
> I don't want see hundred messages for all I/O operations.
> 
> If you have trouble with crashes - try use alsa-driver/utils/insert script
> (./insert audiopci). This script creates alsa-driver/snd.map file which
> contains detail map of symbols for loaded ALSA driver. You can easy trace
> in which code oops occurred.
> 
> 							Jaroslav
First, thanks for all you do realy fine the job and I found its 
good that someone make the oss shit unnecessary. THANKS !
O.K. I've used the insert script proc/modules looks like every time
and its all the same if I use aplay (from the 0.0.8 utils) I begin to play
never finish and I could see its working but no int is called seen under
/proc/interrupts. What could I or you do to fix the problem 

cat /proc/asound/0/pcm0
ES1370 DAC2/ADC

Playback
  Mode           : native
  Format         : Unsigned 8-bit
  Rate           : 11111Hz [requested 11111Hz]
  Channels       : 1
  Buffer size    : 131072
  Buffer used    : 131072
  Fragments      : 64
  Fragment size  : 2048
  Fragments room : 1
  Fragments max  : 63
  Underruns      : 0
  Total underruns: 0
Record isn't active.

./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes checking whether
gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E checking for
ANSI C header files... (cached) yes checking for linux/fs.h...
(cached) yes checking for working const... (cached) yes checking for
inline... (cached) inline checking whether time.h and sys/time.h may
both be included... (cached) yes checking whether gcc needs
-traditional... (cached) no checking for default major number for the
alsa driver... 14 checking for directory with kernel source...
/usr/src/linux checking for kernel version... 2.0.36 checking for
kernel module symbol versions... no checking for PCI support in
kernel... yes checking for directory to store kernel modules...
/lib/modules/2.0.36/misc checking for debug level... none checking for
processor type... i586 checking for SMP... yes checking for Tom Lees
PnP driver... no checking for driver version... 0.2.0-pre10p1 creating
./config.status creating Makefile.conf creating snddevices creating
utils/alsa-driver.spec creating include/config.h include/config.h is
unchanged



