Re: alsa broken after mpg123 segfaults

From: Andy Baxter (news2_at_earthsong.null.free-online.co.uk)
Date: 10/09/03


Date: Wed, 08 Oct 2003 23:46:02 +0100

Darren Salt wrote:

> I demand that Andy Baxter may or may not have written...
>
>> I've just compiled a new (2.4.22) kernel, and recompiled alsa against it.
>> When I boot up and then use aplay to play a wav file, everything works
>> OK, but if I use mpg123 to try to play an mp3 file, mpg123 segfaults and
>> then the sound system won't work at all. I can't remove the sound modules
>> using rmmod or modprobe -r, [...]
>
> 0.9.6 works well here, although you might want to upgrade to 0.9.7a if
> you're using 0.9.7 - apparently there were some bugs in the OSS PCM code.

It's version 0.9.4. If I can't get it working, I'll try upgrading.

> (I presume that you've built the modules using the correct kernel
> headers...)

I symlinked /usr/src/linux to the top of the relevant kernel source tree,
and it seemed happy to compile that way.

>> because it says device or resource busy, but fuser on /dev/dsp and
>> /dev/snd/* returns nothing. [...]
>
> You probably have an instance of mpg123 stuck in state D. This kind of
> thing used to happen here with the emu10k1 MIDI support; rebooting is
> required.

What does state 'D' mean? I checked, and there is no mpg123 process running
in 'ps ax'.

andy.

-- 
remove 'n-u-l-l' to email me. html mail or attachments will go in the spam
bin unless notified with [html] or [attachment] in the subject line.


Relevant Pages

  • Re: Rejecting Korporate Linux
    ... >> What the Korporate Linuxes do has not one iota of influence on OUR Linux. ... > and a new branch of an older kernel used instead. ... html mail or attachments will go in the spam bin unless notified with or in the subject line. ...
    (comp.os.linux.misc)
  • Re: A silly one on kernel compilation?
    ... > try than gave up midway) to make gusses at what to select in the config? ... You probably won't go far wrong (as in being able to build a kernel that ... html mail or attachments will go in the spam ...
    (comp.os.linux.misc)
  • Re: Distributions
    ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
    (Debian-User)
  • Re: Distributions
    ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
    (Debian-User)
  • Problems with custom kernel fbsd 6.2
    ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
    (freebsd-questions)