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
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 =