Re: panic in destroy_devl: null si_devsw

2009-01-24 Thread Bruce M. Simpson
Andriy Gapon wrote: ... About the code that called destroy_dev(): it created cdev probably too early, failed to allocate some system resource, so it went to destroy the newly created cdev. Non-null cdevsw was definitely provided to make_dev. I saw a very, very similar panic with 7.1 sources

panic in destroy_devl: null si_devsw

2009-01-24 Thread Andriy Gapon
System: FreeBSD 7.1-PRERELEASE amd64 somewhere from the beginning of Decemeber I am not sure how I managed to get to this panic - I believe my code is correct - but I got a panic in destroy_devl on NULL si_devsw. Backtrace: --- trap 0xc, rip = 0x80271c3f, rsp = 0xdb3e8510, rbp =