Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jan 2000 01:58:40 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        daeron@Wit401305.student.utwente.nl
Cc:        dfr@nlsystems.com, freebsd-current@FreeBSD.ORG, sanpei@jp.freebsd.org
Subject:   Re: NewPCM causes kernel panics !
Message-ID:  <ybsbt71vkn3.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: In your message of "Tue, 4 Jan 2000 11:43:36 %2B0100" <20000104114336.B89670@shadowmere.student.utwente.nl>
References:  <20000104014046.A769@shadowmere.student.utwente.nl> <Pine.BSF.4.10.10001040927180.943-100000@salmon.nlsystems.com> <20000104114336.B89670@shadowmere.student.utwente.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 4 Jan 2000 11:43:36 +0100,
Pascal Hofstee <daeron@Wit401305.student.utwente.nl> 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: <Gravis UltraSound MAX> at port
> > > 0x220,0x320-0x327,0x32c-0x333 irq 5 drq 1,3 flags 0x13 on isa0
> > > Jan  4 01:30:26 shadowmere /kernel: pcm0: <GUS CS4231> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsbt71vkn3.wl>