Subject: Roland UA-30 crashes NetBSD 2.0
To: None <port-i386@netbsd.org>
From: Curt Sampson <cjs@cynic.net>
List: port-i386
Date: 12/07/2004 17:38:03
I have a Roland UA-30 USB audio box, which probes as:

    uaudio0 at uhub0 port 1 configuration 1 interface 0: Roland UA-30 (44100Hz, Analog REC), rev 1.00/1.10, addr 2
    uaudio_identify: skip desc type=0x04
    uaudio0: audio rev 1.00
    audio1 at uaudio0: full duplex, independent

Unfortunately, when I try to cat a file to /dev/sound1, it crashes my
machine with something like this:

    uvm_fault(0xcbf26294, 0, 0, 1) -> 0xe
    kernel: page fault trap, code=0
    Stopped in pid 1066.1 (cat) at netbsd:uaudio_chan_open+0x21:   movzbl 0x2(%eax),%edi

    uaudio_chan_open(c1f42c00,c1f42c40,c1f88d80,1520,cbfc04d0) at netbsd:uaudio_chan_open+0x21
    uaudio_trigger_output(,,,1520,) at nebsd:uaudio_trigger_output+0x4a
    audiostartp(,,16f3,4510,42a) at netbsd:audiostartp+0x4e
    audio_write(,,1,0,) at netbsd:audio_write+0x440
    [etc.]

Anybody have any thoughts? This is actually on a 2.0_BETA kernel from
August, but if someone's got some ideas, I'll upgrade the machine to a
real 2.0 kernel and play.

While we're at it, this one:

    auvia0 at pci0 dev 17 function 5: VIA VT8235 AC'97 (rev 0x60)
    auvia0: interrupting at irq 5
    auvia0: ac97: Analog Devices AD1980 codec; headphone, 20 bit DAC, no 3D stereo
    auvia0: ac97: ext id 3c7<AMAP,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>
    audio0 at auvia0: full duplex, mmap, independent

Plays, but doesn't record; when I try to record I just get lots of
noise. Any ideas?

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
     Make up enjoying your city life...produced by BIC CAMERA