Help: Playing (large) .au file results in system crache

Help: Playing (large) .au file results in system crache

Post by Marc Weusti » Thu, 17 Aug 1995 04:00:00



Hi,

Since a few months I am a co sys admin, at our campus radio www server.
Everything worked fine till.... sombody decided that sound was 'nice'.
A new kernel was installed and everything seemed to be ok...

Untill somebody played a (5 min) .au file to /dev/audio.
For the first moment everythings ok, but somewhere halfway the song, the
machine stops responding and a few sec's later de sound also stops. Fot that
monent only console zapping is possible an dnotheng else.

Ok we're running a 1.2.8 kernel, so maybe a newer solves the problem.

NOP...

our system:
kernel 1.2.13
386 sx ?? 5 mb  8mb swap
Pro audio spectrum 16
ne2000 (no clone)

The first try with this kernel resulted in the following
cp bla.au /dev/audio

after a register, stack, and code dump the next message.

kfree of non-kmalloced memory: 00195f5c, next=0 order 0
task[0] (swapper) killed: unable to recover
kernel panic: Trying to freeup swapper memory space
In swapper task - not syncing

Thats it. Since the swapper message, I thought all swap might be gone.
So, after rebooting, I repeated the same, now with, on a second terminal,
top -d0 -n1.
I was looking (and listening) and nothing happened. It just played the whole
song. Every time the free memory became below 80k, you heard the disk, some
used swap increased and the free memory increased (Like you'd expected).

Huh, whats this, I don't like it. Something works or doesn't. Not once in a
while.

So I tried the same with another song. Everything the same, till I increaded
the number of shown processes to 5. A few sec's later the sytem crashed.

after the usual dump the next message.

4 times the lines:
swap_free: swap-space map bad (entry 00080000)
trying to free non existent swap space

then:
EXT2-fs error (device 3/3): ext2_free_block:
freeing blocks not in datazone - block = 536281, count = 4

From top I just could see : swap 504k used, 7776k free

So far my story, now my question (s)

-Has anybody seen this before
-Has anybody a clue
-What am I doing wrong.

In other words please help me to get this thing to work.
Thanx.
BTW if you have the possebility to mail, please do. Since I'm graduating in a
few weeks, I run allmost out of time, so I might mis some news.

Greetings Marc

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
      \ /                                
   __  O  __      To fly or not to fly                  /
  /  \ ! /  \     thats the question       /\  /\  /\  /
  \   |!|   /                             /  \/  \/  \/
  /   |!|   \                            /
 | () |!| () |    Marc Weustink
  \__/ ^ \__/     Department of electronic engineering

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

 
 
 

1. "au-play" (plays *.au's thru speaker, no sound card needed)

I've uploaded "au-play.tar.z" to tsx-11.mit.edu where it should eventually
end up in the /pub/linux/ALPHA directory.

It plays Sun-style audio files ("*.au") through the internal speaker.
No sound-card is needed, and it won't use it even if you've got one.  <shrug>

One thing I forgot to mention in the README:

        YOU MAY HAVE TO CHANGE THE "DELAY" CONSTANT IN "au-play.c".

This code is *very* hardware-dependant, since it uses <gag> delay loops.
I have it set for my whimpy 386s/20, but it's easily changed.  Don't try to
optimize ("cc -O...") the compilation, since that would remove the delays.


Send a postcard, get one back! | Enposxtigu bildkarton kaj vi ricevos alion!
          RICK MILLER // 16203 WOODS // MUSKEGO, WIS. 53150 // USA

...and yes, the latest Linux Device List is *almost* ready to post.

--

2. What is libfl.a/libl.a ?

3. Changing system beep to play a .au file?

4. growing syslog files

5. "Standard Journaled File System" vs "Large File Enabled Journaled File System"

6. Configuring support for second domain through MMDF /DNS

7. Help: SCO ODT3.0: lp results: copy file too large

8. Ooops, need help (serial port)

9. How to play .au files (reliably)

10. Soundcard play *.au and *.wav files, but not from CD rom

11. any program that can play XXX.au files ?

12. How can i play .au files?

13. How to play .au files