initialize the semaphore to avoid a kernel panic