[Xenomai-core] rtdm_dev_register oops

2010-05-18 Thread Stefan Kisdaroczi
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. xenomai 2.5.3, linux 2.6.32.11, x86 32bit, ubuntu 10.04. Attached is the dmesg-trace and a small rtdm-module foo.c for reproduction: insmod

Re: [Xenomai-core] rtdm_dev_register oops

2010-05-18 Thread Jan Kiszka
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:

Re: [Xenomai-core] rtdm_dev_register oops

2010-05-18 Thread Stefan Kisdaroczi
Am 18.05.2010 13:03, schrieb Jan Kiszka: 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? :) A bit. If you leave the previous device

Re: [Xenomai-core] rtdm_dev_register oops

2010-05-18 Thread Jan Kiszka
Stefan Kisdaroczi wrote: Am 18.05.2010 13:03, schrieb Jan Kiszka: 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? :) A bit. If you