Page 1 of 1

sx lock panic using the audio/oss port on FreeBSD -current

PostPosted: Sun Jun 01, 2008 8:55 pm
by josb
(I'm posting this mostly as a heads-up since it's not clear to what extent OSS even suppports FreeBSD-current, and since I'm using the audio/oss port.)

See http://www.freebsd.org/cgi/query-pr.cgi?pr=124174 for details about the panic. Commenting out the following define avoids the panic, so maybe there's something wrong with the way OSS uses sx locks.

Code: Select all
#if __FreeBSD_version >= 700031
#define USE_SX_LOCK  1
#endif


Thanks,
Jos