* dmasound - kernel panic
@ 2000-08-09 22:02 Jiri Masik
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Masik @ 2000-08-09 22:02 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I'm testing the new dmasound_awacs patches snd-2.2.17p15-b1-s2.p.bz2
with the rsync pmac-benh kernel as of today.
Linux version 2.2.17pre15-ben1 (root@pbuk) (gcc version 2.95.2
20000220 (Debian GNU/Linux)) #10 Wed Aug 9 11:36:18 CEST 2000
I have a Pismo powerbook and the chip is reported as follows
DMA sound driver core [Ed 18] [4 buffers of 32k for output]
............................. [4 buffers of 32k for input]
DMA sound driver core called by PowerMac (AWACS rev 3 [screamer])
PowerMac (AWACS rev 3 [screamer]) DMA sound driver:
sound.format = 0x20 (signed 16 bit big)(Phys: signed 16 bit big)
sound.speed = 44100Hz (phys. 44100Hz)
sound.stereo = 0x1 (stereo)
write_sq.block_size = 256 write_sq.max_count = 4 write_sq.max_active = 4
write_sq.count = 4 write_sq.rear_size = 256
write_sq.active = 2 write_sq.syncing = 0
read_sq.block_size = 0 read_sq.max_count = 0 read_sq.max_active = 0
read_sq.count = 0 read_sq.rear_size = 0
read_sq.active = 0 read_sq.syncing = 0
The audio playback is working fine for mpg123, both headphones and
internal speakers. I'd like to record sounds from the built-in mic and
I've found that I can crash the kernel by cat /dev/audio. This is the
message I'm getting immediately
kernel access of bad area pc 0 lr c8822220c address 0 tsk 398
I've put the ksyms to http://darbujan.fzu.cz/~masik/ksymoops/
I'm not familiar with the kernel debugging please let me know if the
information is incomplete.
thanks,
Jiri
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dmasound - kernel panic
@ 2000-08-11 10:29 Iain Sandoe
0 siblings, 0 replies; 2+ messages in thread
From: Iain Sandoe @ 2000-08-11 10:29 UTC (permalink / raw)
To: Jiri Masik, linuxppc-dev
> I've found that I can crash the kernel by cat /dev/audio. This is the
> message I'm getting immediately
The current version(s) [dmasound monolithic, back-port & 2.4.0] do not have
a read translation for:
MU law
A law.
So I'm afraid, for the moment, this will not work.
The reason for the oops is that the code does not check (having found a
translation table) that individual routines are *all* present.
This will be fixed at the next patch release.
I may do a read translation (but... feel free ;-)
Note that these days kernel-based sample-rate & size conversion is
deprecated. It really requires FP to do the job properly.
Much better to record from /dev/dsp in some appropriate 16 bit format and
then convert off-line using sox or something like that.
Iai.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-11 10:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-11 10:29 dmasound - kernel panic Iain Sandoe
-- strict thread matches above, loose matches on Subject: below --
2000-08-09 22:02 Jiri Masik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).