What happened to /dev/dsp in 1.3.63?

What happened to /dev/dsp in 1.3.63?

Post by Michael W. Ho » Mon, 19 Feb 1996 04:00:00



I'd been having extremely good luck with all of the 1.3 kernels until
1.3.63 was released.  Starting with this kernel, whenever I try to
play a sound file through /dev/dsp (using sox or wavplay), I get an
error message similar to the following:

Quote:> play sound.au

Invalid audio buffers size 1024

I've tried recompiling the kernel multiple times, using all possible
buffer sizes, but I always get that same error message.  As I haven't
seen this problem mentioned by anyone else, I figured I'd better post
it.  Anyone else having this problem?  Any solutions?

    ///////////////////////////////////////////////////////////////////////
   //  Michael Holl      "Now next Friday I didn't have the rent...     //

 //              http://www.students.uiuc.edu./~m-holl/               //
///////////////////////////////////////////////////////////////////////

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by David F » Mon, 19 Feb 1996 04:00:00



] > play sound.au
] Invalid audio buffers size 1024
]
] I've tried recompiling the kernel multiple times, using all possible
] buffer sizes, but I always get that same error message.  As I haven't
] seen this problem mentioned by anyone else, I figured I'd better post
] it.  Anyone else having this problem?  Any solutions?

Yes, the play application needs to be fixed:

*** recplay.c~  Thu Feb 15 06:58:50 1996
--- recplay.c   Sun Feb 18 08:01:13 1996
***************
*** 188,190 ****
        ioctl(audio, SNDCTL_DSP_GETBLKSIZE, &abuf_size);
!       if (abuf_size < 4096 || abuf_size > 65536) {
                close(audio);
--- 188,190 ----
        ioctl(audio, SNDCTL_DSP_GETBLKSIZE, &abuf_size);
!       if (abuf_size < 1 || abuf_size > 65536) {
                close(audio);
--
David Fox          http://found.cs.nyu.edu/fox          xoF divaD
NYU Media Research Lab                     baL hcraeseR aideM UYN

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by Michael W. Ho » Tue, 20 Feb 1996 04:00:00




>>> play sound.au
>>Invalid audio buffers size 1024

>>I've tried recompiling the kernel multiple times, using all possible
>>buffer sizes, but I always get that same error message.  As I haven't
>>seen this problem mentioned by anyone else, I figured I'd better post
>>it.  Anyone else having this problem?  Any solutions?

>I've just encountered similar using 1.3.66 and wavplay. I haven't tried
>recompiling the kernel yet, but I have tried recompiling wavplay to no
>avail. I have an SB Pro. What have you got?

Forgot to specify that, sorry.  I've got a SB-pro compatible card,
compiled with OPL-3 and MPU-401 support.

    ///////////////////////////////////////////////////////////////////////
   //  Michael Holl      "Now next Friday I didn't have the rent...     //

 //              http://www.students.uiuc.edu./~m-holl/               //
///////////////////////////////////////////////////////////////////////

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by Steve McInty » Tue, 20 Feb 1996 04:00:00




Quote:>I'd been having extremely good luck with all of the 1.3 kernels until
>1.3.63 was released.  Starting with this kernel, whenever I try to
>play a sound file through /dev/dsp (using sox or wavplay), I get an
>error message similar to the following:

>> play sound.au
>Invalid audio buffers size 1024

>I've tried recompiling the kernel multiple times, using all possible
>buffer sizes, but I always get that same error message.  As I haven't
>seen this problem mentioned by anyone else, I figured I'd better post
>it.  Anyone else having this problem?  Any solutions?

I've just encountered similar using 1.3.66 and wavplay. I haven't tried
recompiling the kernel yet, but I have tried recompiling wavplay to no
avail. I have an SB Pro. What have you got?

--
Steve McIntyre, CURS Secretary      "Can't keep my eyes from the circling sky,"

Churchill College    <a href=http://www2.eng.cam.ac.uk/~93sam/>my home page</a>
Cambridge, UK     <a href=http://www2.eng.cam.ac.uk/~93sam/comp/>My PC page</a>

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by Ber » Tue, 20 Feb 1996 04:00:00



>I'd been having extremely good luck with all of the 1.3 kernels until
>1.3.63 was released.  Starting with this kernel, whenever I try to
>play a sound file through /dev/dsp (using sox or wavplay), I get an
>error message similar to the following:

>> play sound.au
>Invalid audio buffers size 1024

>I've tried recompiling the kernel multiple times, using all possible
>buffer sizes, but I always get that same error message.  As I haven't
>seen this problem mentioned by anyone else, I figured I'd better post
>it.  Anyone else having this problem?  Any solutions?

>    ///////////////////////////////////////////////////////////////////////
>   //  Michael Holl      "Now next Friday I didn't have the rent...     //

> //              http://www.students.uiuc.edu./~m-holl/               //
>///////////////////////////////////////////////////////////////////////

in the /usr/src/linux/drivers/sound/Readme file there is a URL which gives
the current status of the sound driver.

(http://personal.eunet.fi/pp/voxware)

if you visit this site, it explains that the new sound driver (3.5-beta3)
breaks sound utils such as sox, etc.  and that there are some new sound
utils available at that same site (vplay, and maybe others, I just checked
back and got this info)

actually, the new sound stuff is at
ftp://ftp.best.com/pub/front/tasd/snd-util-3.5.tar.gz

this should fix the vplay, but sox remains broken, as far as I can tell

hope this helps!  

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/E/S d-(---) s: a-- C++ ULSV+ P+ L+++ E---- W N+ w-- O- M- V-- PS+ PE
Y+ PGP+ t+ 5- X+ tv+ DI+++ D+ G+ e++>++++ h*(---) r+++ y+++**
------END GEEK CODE BLOCK------

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by Peter Suetterl » Tue, 20 Feb 1996 04:00:00




Quote:>I'd been having extremely good luck with all of the 1.3 kernels until
>1.3.63 was released.  Starting with this kernel, whenever I try to
>play a sound file through /dev/dsp (using sox or wavplay), I get an
>error message similar to the following:

>> play sound.au
>Invalid audio buffers size 1024

Same here (Soundblaster Pro). Furthermore many aplications hang:
xanim (2.703) only manages one run of the audio-stream of an
AVI-file.  xanim doesn't really quit after exiting the program but
stays around blocking the audio devices. Same for Maelstrom wich will
just hang. This is up to 1.3.65 at least. (Haven't tried more recent
ones).

  Peter

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Peter "Pit" Suetterlin                  http://www.kis.uni-freiburg.de/~ps
Kiepenheuer Institut fuer Sonnenphysik

 -- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * --
Come and see the stars!             http://www.kis.uni-freiburg.de/~ps/SFB
Sternfreunde Breisgau e.V.
Tel.: +49 761 73571 or 278588
__________________________________________________________________________

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by Peter Suetterl » Wed, 21 Feb 1996 04:00:00




Quote:>in the /usr/src/linux/drivers/sound/Readme file there is a URL which gives
>the current status of the sound driver.

>(http://personal.eunet.fi/pp/voxware)

>if you visit this site, it explains that the new sound driver
>(3.5-beta3) breaks sound utils such as sox, etc.  and that there are
>some new sound utils available at that same site (vplay, and maybe
>others, I just checked back and got this info)

Uuh, and why that kind of strong incompatibility in that phase
(Thought we are in the feature freeze)? This will also break many
(most?) of the aplications using sound devices.  You will have to
recompile (even worse, patch!) all of them.  What about comercial
programs w/o sources ?

 Peter

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Peter "Pit" Suetterlin                  http://www.kis.uni-freiburg.de/~ps
Kiepenheuer Institut fuer Sonnenphysik

 -- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * --
Come and see the stars!             http://www.kis.uni-freiburg.de/~ps/SFB
Sternfreunde Breisgau e.V.
Tel.: +49 761 73571 or 278588
__________________________________________________________________________

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by Shawn McHor » Wed, 21 Feb 1996 04:00:00



Quote:>Same here (Soundblaster Pro). Furthermore many aplications hang:
>xanim (2.703) only manages one run of the audio-stream of an
>AVI-file.  xanim doesn't really quit after exiting the program but
>stays around blocking the audio devices. Same for Maelstrom wich will
>just hang. This is up to 1.3.65 at least. (Haven't tried more recent
>ones).

Running 'luxman' under 1.3.66 hangs as soon as it tries to play a sound.  In
this case, it could possibly be related to kerneld since I did not manually load
up the sound module.  Is there some change in the headers that requires
everything using sound to be recompiled, or is this just a plain ordinary bug?

     Shawn McHorse

     An Austin NorthCross-Dresser

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by David F » Wed, 21 Feb 1996 04:00:00





]
] >in the /usr/src/linux/drivers/sound/Readme file there is a URL which gives
] >the current status of the sound driver.
] >
] >(http://personal.eunet.fi/pp/voxware)
] >
] >if you visit this site, it explains that the new sound driver
] >(3.5-beta3) breaks sound utils such as sox, etc.  and that there are
] >some new sound utils available at that same site (vplay, and maybe
] >others, I just checked back and got this info)
]
] Uuh, and why that kind of strong incompatibility in that phase
] (Thought we are in the feature freeze)? This will also break many
] (most?) of the aplications using sound devices.  You will have to
] recompile (even worse, patch!) all of them.  What about comercial
] programs w/o sources ?

The feature freeze you are referring to is an informal one.  IMHO.
The real feature freeze comes when Linus declares version 2.0.  At
that point sellers of commericial programs without sources will have
to work out their own solutions.
--
David Fox          http://found.cs.nyu.edu/fox          xoF divaD
NYU Media Research Lab                     baL hcraeseR aideM UYN

 
 
 

What happened to /dev/dsp in 1.3.63?

Post by Markus Gutsch » Thu, 22 Feb 1996 04:00:00


-----BEGIN PGP SIGNED MESSAGE-----



> >Same here (Soundblaster Pro). Furthermore many aplications hang:
> >xanim (2.703) only manages one run of the audio-stream of an
> >AVI-file.  xanim doesn't really quit after exiting the program but
> >stays around blocking the audio devices. Same for Maelstrom wich will
> >just hang. This is up to 1.3.65 at least. (Haven't tried more recent
> >ones).
> Running 'luxman' under 1.3.66 hangs as soon as it tries to play a sound.  In
> this case, it could possibly be related to kerneld since I did not manually
> load up the sound module.  Is there some change in the headers that requires
> everything using sound to be recompiled, or is this just a plain ordinary
> bug?

I noticed that there was a bug in the 3.5-beta2 release of
VoxWare/TASD. A call to "ioctl(audio_fd,SNDCTL_DSP_SYNC,NULL)" would
often cause the process to hang. I reported this bug to Hannu and it
is now fixed in 3.5-beta4. Have a look at Hannu's homepage for
information on the most recent release:
http://personal.eunet.fi/pp/voxware
You should also consider getting an updated version of the soundkit,
as recent changes in the sounddriver broke a few applications. The
soundkit is available from the same URL.

Markus

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface

iQCVAgUBMSr3OxqJqDLErwMxAQEkiwQArZMhzy9rRp9w4CIPi8Nry5meS/Q7Ql0d
Otrc8nkTyT6LCsE+y5ur6CrKl334QypgY7mB0ySUz9RY4BqQoRNIMmHO8bJ0Tnsb
pomAw3HzlEu6TjMzTz8wdrmLs940tvgxcjJ0bzwy3GiCMLbReC042QcFzwTIu5Um
Zndx5M4N6QU=
=5Usq
-----END PGP SIGNATURE-----

 
 
 

1. Help please with error-message during booting 1.3.63...

I've compiled kernel 1.3.63,
but when i try to run it, from floppy or hard drive,
it goes berserk and in abnormal speed gives these two messages across
the screen, again and again, and again.
And again:

Warning: dev (04:c0) tty->count (2) ! =#fd's (4) in tty-open
Warning: dev (04:c0) tty->count (2) ! =#fd's (4) release_dev

What does it mean, what can i do about it?

Thanks,

Roef Ragas

_____________________________________________________________________________
                           .           .                     .                .      
     !!!!!!                          visit           .                  .

      "                 htttp://www.xs4all.nl/~rragas     .
  /   (Q )    \     .       * for beautiful u-turns *       .          
_____________________________________________________________________________

2. Boot FreeBSD from IOMEGA 100MB ZIP DR

3. Kernel Change Summary 1.3.63

4. directories

5. 1.3.63 (Aaargh): Exec file format error

6. solaris 8 and video adapters

7. 1.3.63 compile error

8. Notebook\dock\SCSI config problem HELP!

9. dummy interfaces in 1.3.63

10. Missing interrupts on 1.3.62 & 1.3.63

11. 1.3.63 causes panics on 486 with 20 MB

12. Kernel 1.3.63 gives this error-message... help please!!!

13. PCI LAN card can't run 1.3.63 !