Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 19:01:08 +0100 (BST)
From:      George Reid <greid@ukug.uk.freebsd.org>
To:        Blaz Zupan <blaz@amis.net>
Cc:        freebsd-current@FreeBSD.ORG, cg@FreeBSD.ORG
Subject:   Re: Kernel hangs with latest sources
Message-ID:  <Pine.BSF.4.21.0103251859590.372-100000@sobek.openirc.co.uk>
In-Reply-To: <Pine.BSF.4.33.0103251639230.88641-100000@titanic.medinet.si>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Mar 2001, Blaz Zupan wrote:

> My kernel compiled from -current sources as of today morning hangs after
> recognizing the sound hardware, the last line display is:
> 
> pcm0: <Yamaha OPL-SAx> at port
> 0x240-0x24f,0xe80-0xe87,0x388-0x38f,0x300-0x301,0x100-0x101 irq 7 drq
> 0,1 on isa0

Included patch should fix this problem.

greid

Index: mss.c
===================================================================
RCS file: /usr/home/ncvs/src/sys/dev/sound/isa/mss.c,v
retrieving revision 1.65
diff -u -r1.65 mss.c
--- mss.c	2001/03/24 23:10:25	1.65
+++ mss.c	2001/03/25 17:55:10
@@ -174,13 +174,13 @@
 static void
 mss_lock(struct mss_info *mss)
 {
-	snd_mtxlock(mss);
+	snd_mtxlock(mss->lock);
 }
 
 static void
 mss_unlock(struct mss_info *mss)
 {
-	snd_mtxunlock(mss);
+	snd_mtxunlock(mss->lock);
 }
 
 static int


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?Pine.BSF.4.21.0103251859590.372-100000>