Stefan Kisdaroczi wrote:
> hi,
> i got a exception in rtdm_dev_register(). I didnt call rtdm_dev_unregister in 
> my driver
> and after insmodding the module again I got a oops.

And that is surprising to you? :)

If you leave the previous device registered on rmmod, oopses are
programmed to occur: You leave references to unallocated memory behind.


> xenomai 2.5.3, linux, x86 32bit, ubuntu 10.04.
> Attached is the dmesg-trace and a small rtdm-module foo.c for reproduction:
> insmod ./xeno_foo.ko
> rmmod xeno_foo
> insmod ./xeno_foo.ko -> oops
> thanks
> stefan

Attachment: signature.asc
Description: OpenPGP digital signature

Xenomai-core mailing list

Reply via email to