At Wed, 4 Oct 2006 21:13:41 +0100, Luke Ross wrote: > > Hi, > > On Mon, Sep 25, 2006 at 06:29:01PM +0200, Takashi Iwai wrote: > > > On Thu, Sep 21, 2006 at 08:42:24PM +0200, Takashi Iwai wrote: > > > > At Wed, 20 Sep 2006 23:51:28 +0100, > > > > Luke Ross wrote: > > > > > > > > > > Last month I submitted a patch adding support for non-standard sample > > > > > rates to the snd-usb-audio driver [1], which was added to the ALSA GIT > > > > > tree. > > > > > > > > > > This works fine with 2.6.16 on i386 on one of my machines, but causes a > > > > > kernel panic on opening the sound device on my other machine (dual AMD > > > > > Opterton with x86_64 kernel). > > > > > > > > Try to build with debug option. Maybe it comes from OSS emulation? > > > > > > > > Or are you using dmix? > > > > > > At the moment I'm using neither. I'm using an alsa-enabled mpg123: > > > > > > mpg123 -a hw:1,0 sound.mp3 > > Here's the panic log, in the hope it makes things clearer. According to the stack trace, the problem looks rather like a problem of usb-audio driver than the PCM core stuff I've suspected. Could you try the patch below? It's to the latest HG but should be applicable to other recent versions, too. Takashi diff -r 04575c70b975 usb/usbaudio.c --- a/usb/usbaudio.c Thu Oct 05 16:21:19 2006 +0200 +++ b/usb/usbaudio.c Fri Oct 06 15:31:19 2006 +0200 @@ -2457,6 +2457,7 @@ static int parse_audio_format_rates(stru return -1; } + fp->needs_knot = 0; if (nr_rates) { /* * build the rate table and bitmap flags @@ -2473,7 +2474,6 @@ static int parse_audio_format_rates(stru return -1; } - fp->needs_knot = 0; fp->nr_rates = nr_rates; fp->rate_min = fp->rate_max = combine_triple(&fmt[8]); for (r = 0, idx = offset + 1; r < nr_rates; r++, idx += 3) { ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel