From owner-freebsd-current Tue Jan 4 8:58:51 2000 Delivered-To: freebsd-current@freebsd.org Received: from gate.keisu.t.u-tokyo.ac.jp (ns06.t.u-tokyo.ac.jp [133.11.68.1]) by hub.freebsd.org (Postfix) with ESMTP id A1A5814E5C for ; Tue, 4 Jan 2000 08:58:44 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from sylph.sat.t.u-tokyo.ac.jp (sylph.sat.t.u-tokyo.ac.jp [10.6.1.20]) by gate.keisu.t.u-tokyo.ac.jp (Postfix) with ESMTP id 020213D2A; Wed, 5 Jan 2000 01:58:43 +0900 (JST) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [10.6.1.30]) by sylph.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id 840F52DAA9; Wed, 5 Jan 2000 01:58:42 +0900 (JST) Received: from ett.sat.t.u-tokyo.ac.jp by ett.sat.t.u-tokyo.ac.jp (8.9.3/sat-V0.6) id BAA43317; Wed, 5 Jan 2000 01:58:41 +0900 (JST) Date: Wed, 05 Jan 2000 01:58:40 +0900 Message-ID: From: Hidetoshi Shimokawa To: daeron@Wit401305.student.utwente.nl Cc: dfr@nlsystems.com, freebsd-current@FreeBSD.ORG, sanpei@jp.freebsd.org Subject: Re: NewPCM causes kernel panics ! In-Reply-To: In your message of "Tue, 4 Jan 2000 11:43:36 +0100" <20000104114336.B89670@shadowmere.student.utwente.nl> References: <20000104014046.A769@shadowmere.student.utwente.nl> <20000104114336.B89670@shadowmere.student.utwente.nl> User-Agent: Wanderlust/2.2.9 (Gonna Make You Sweat) SEMI/1.13.6 (Komatsu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.2 (beta19) (Shinjuku) (i386-unknown-freebsd3.2) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7:#j7i14gu$ jgR\S*&C3R/pJX wrote: > > On Tue, Jan 04, 2000 at 09:27:54AM +0000, Doug Rabson wrote: > > On Tue, 4 Jan 2000, Pascal Hofstee wrote: > > > > > Hi, With CURRENT sources updated earlier today ... my system now > > > crash-and-burns when trying to play audio. > > > > > > i have foudn these messages in /var/log/messages: > > > > > > Jan 4 01:30:26 shadowmere /kernel: gusc0: at port > > > 0x220,0x320-0x327,0x32c-0x333 irq 5 drq 1,3 flags 0x13 on isa0 > > > Jan 4 01:30:26 shadowmere /kernel: pcm0: on gusc0 > > > Jan 4 01:30:26 shadowmere /kernel: bus_dmamap_load: Too many segs! buf_len > > > = 0xdf00 > > > Jan 4 01:30:26 shadowmere /kernel: bus_dmamap_load: Too many segs! buf_len > > > = 0xdf00 > > > > > > If any more info is needed let me know. > > > > This looks like a buffer which spans >1 non-contiguous physical ranges. > > Was the buffer allocated with contigmalloc? > > I don't know this is what came directly from the NewPCM-probe/attach code. > > -- > -------------------- > Pascal Hofstee - daeron@shadowmere.student.utwente.nl > > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS d- s+: a-- C++ UB++++ P+ L- E--- W- N+ o? K- w--- O? M V? PS+ PE Y-- PGP-- > t+ 5 X-- R tv+ b+ DI D- G e* h+ r- y+ > ------END GEEK CODE BLOCK------ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > I think backing out rev 1.42 of /sys/dev/sound/isa/mss.c or reducing MSS_BUFSIZE will fix the problem. DMA buffer size seems too large. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message