Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 23:40:04 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Re: kern/146031: [snd_hda] race condition when kldunload snd_hda  sound called
Message-ID:  <201004252340.o3PNe4QA070567@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/146031; it has been noted by GNATS.

From: Garrett Cooper <gcooper@FreeBSD.org>
To: Alexander Best <alexbestms@wwu.de>
Cc: bug-followup@freebsd.org
Subject: Re: kern/146031: [snd_hda] race condition when kldunload snd_hda 
	sound called
Date: Sun, 25 Apr 2010 16:31:24 -0700

 On Sun, Apr 25, 2010 at 4:26 AM, Alexander Best <alexbestms@wwu.de> wrote:
 > running
 >
 > sh -c 'i=1; while [ 1 ] ; do echo "Try $i"; kldload snd_hda; kldunload snd_hda
 > sound; : $(( i += 1 )); done'
 >
 > complains about sound.ko not being loaded, since unloading snd_hda.ko also
 > unloads sound.ko. is this what you got too?
 >
 > i'm not sure this logic is correct. loading snd_hda.ko also loads sound.ko,
 > since it depends on it. however i don't see why unloading snd_hda.ko also
 > unloads sound.ko, since sound.ko has no dependencies and can exist without any
 > snd_*.ko module.
 >
 > i wasn't able to trigger the panic however (command cancelled with i=350 or
 > so).
 >
 > i'm running 9-CURRENT (r207154).
 
 Hi Alexander,
     1. How many cores and processors does your machine have?
     2. Do you have SMP enabled?
 Thanks,
 -Garrett



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