The workaround is to make OSS non-loadable.
Thanks to Kevin Burton and Mike Galbraith for helping
me with this.
John Ellson
> From: John Ellson <ellson@lucent.com>
> Date: Tue, 12 Oct 1999 13:31:29 -0400
> Subject: 2.3.21 "/dev/dsp: Cannot allocate memory"
>
> Sound, using esd, was working for me in 2.3.18ac10, but now
> in 2.3.21 I get: "/dev/dsp: Cannot allocate memory"
>
> #############################
> amber:~> strace esd
> ...
> open("/dev/dsp", O_WRONLY) = -1 ENOMEM (Cannot allocate
> memory)
> write(2, "/dev/dsp: Cannot allocate memory"..., 33/dev/dsp: Cannot
> allocate memory) = 33
> _exit(2) = ?
>
> #############################
> amber:~> cat /proc/modules
> opl3 11208 1
> cs4232 2664 1
> uart401 6288 1 [cs4232]
> ad1848 16336 1 [cs4232]
> sound 62988 0 [opl3 cs4232 uart401 ad1848]
> soundcore 3204 5 [sound]
>
> #############################
> amber:~> cat /proc/sound
> OSS/Free:3.8s2++-971130
> Load type: Driver loaded as a module
> Kernel: Linux amber 2.3.21 #2 SMP Tue Oct 12 12:06:48 EDT 1999 i686
> Config options: 0
>
> Installed drivers:
>
> Card config:
>
> Audio devices:
> 0: Crystal audio controller (CS4235) (DUPLEX)
>
> Synth devices:
> 0: Yamaha OPL3
>
> Midi devices:
>
> Timers:
> 0: System clock
>
> Mixers:
> 0: Crystal audio controller (CS4235)
>
> #############################
>
> John Ellson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/