Hi,
I've got another problem with 10-CURRENT and OSS:
After installing audio/oss and removing everything sound-related (see installation notes) from the kernel, starting the sound system results in a kernel panic:
After checking the kernel source tree, the problematic function seems to be
I know that there was another problem with a kernel panic introduced by the integration of sound(4) in r222980 but this one seems to be different. I've got a C-Media CMI8788 which isn't supported by sound(4) so I need OSS support.
Any hints would be greatly appreciated!
Thomas
I've got another problem with 10-CURRENT and OSS:
After installing audio/oss and removing everything sound-related (see installation notes) from the kernel, starting the sound system results in a kernel panic:
/usr/local/etc/rc.d/oss onestart
Code:
panic: Lock (sx) module subsystem sx lock not locked @ /usr/src/sys/kern/kern_module.c:223.
cpuid = 5
KDB: enter: panic
[ thread pid 1127 tid 100489 ]
Stopped at kdb_enter+0x3e: movq $0,kdb_why
After checking the kernel source tree, the problematic function seems to be
Code:
217 module_t
218 module_lookupbyname(const char *name)
219 {
220 module_t mod;
221 int err;
222
[B]223 MOD_LOCK_ASSERT;[/B]
224
225 TAILQ_FOREACH(mod, &modules, link) {
226 err = strcmp(mod->name, name);
227 if (err == 0)
228 return (mod);
229 }
230 return (NULL);
231 }
I know that there was another problem with a kernel panic introduced by the integration of sound(4) in r222980 but this one seems to be different. I've got a C-Media CMI8788 which isn't supported by sound(4) so I need OSS support.
Any hints would be greatly appreciated!
Thomas