All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Module unloading and reloading does not work
@ 2011-09-30 17:29 Fernando Herrero Carrón
  2011-10-03 21:09 ` Alexis Berlemont
  0 siblings, 1 reply; 3+ messages in thread
From: Fernando Herrero Carrón @ 2011-09-30 17:29 UTC (permalink / raw)
  To: Xenomai-help

[-- Attachment #1: Type: text/plain, Size: 2231 bytes --]

Dear list,

I am testing Xenomai 2.6.0-rc4 on a 2.6.38.8 linux kernel. I have two cards,
one NI 6713 for AO and one NI 6143 for AI. I use the analogy_ni_pcimio for
both, and it loads well. I can run the config program succesfully too.

If I remove the devices using 'analogy_config -r ...', then unload the
modules with:

rmmod analogy_ni_pcimio analogy_ni_mio analogy_ni_tio analogy_8255
analogy_ni_mite xeno_analogy

then load them again and try to reconfigure, I get the following error on
dmesg (I include the boot messages and the execution of a "cmd_read"):

[   55.735198] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6713
board
[   55.735246] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 21
[   60.143227] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6143
board
[   60.143274] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 20
[   79.772511] Analogy: a4l_ioctl_cancel: no acquisition to cancel on this
context
[   79.772517] Analogy: analogy_ni_pcimio: ni_ai_cmd: start
[   79.772525] Analogy: analogy_ni_pcimio: ni_ai_cmd:
Interrupt_A_Enable_Register = 0x0021
[   79.772531] Analogy: analogy_ni_pcimio: ni_ai_cmd: exit
[   80.572613] Analogy: analogy_ni_pcimio: ni_mio_common: interrupt:
a_status=90f0 ai_mite_status=00200000
[   80.572616] Analogy: analogy_ni_pcimio: ni_mio_common: SC_TC interrupt
[  236.290044] Analogy: MITE: Available NI device IDs: 0x1870 0x70c0
[  246.113821] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6143
board
[  246.113872] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 20
[  246.113876] Analogy: analogy_ni_pcimio: pcimio_attach: irq not available
[  246.113879] Analogy: a4l_request_irq: IRQ registration failed
[  251.563782] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6713
board
[  251.563824] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 21
[  251.563828] Analogy: analogy_ni_pcimio: pcimio_attach: irq not available
[  251.563830] Analogy: a4l_request_irq: IRQ registration failed

BTW, the analogy_config program does not report those errors.

This is bothering because I'm fiddling with the drivers and everytime I
change something I have to reboot. Anyone experiencing the same problem?

Thanks for your help,
Fernando

[-- Attachment #2: Type: text/html, Size: 2488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] Module unloading and reloading does not work
  2011-09-30 17:29 [Xenomai-help] Module unloading and reloading does not work Fernando Herrero Carrón
@ 2011-10-03 21:09 ` Alexis Berlemont
  2011-10-03 21:31   ` Fernando Herrero Carrón
  0 siblings, 1 reply; 3+ messages in thread
From: Alexis Berlemont @ 2011-10-03 21:09 UTC (permalink / raw)
  To: Fernando Herrero Carrón; +Cc: Xenomai-help

Hi,

2011/9/30 Fernando Herrero Carrón <elferdo@domain.hid>:
> Dear list,
>
> I am testing Xenomai 2.6.0-rc4 on a 2.6.38.8 linux kernel. I have two cards,
> one NI 6713 for AO and one NI 6143 for AI. I use the analogy_ni_pcimio for
> both, and it loads well. I can run the config program succesfully too.
>
> If I remove the devices using 'analogy_config -r ...', then unload the
> modules with:
>
> rmmod analogy_ni_pcimio analogy_ni_mio analogy_ni_tio analogy_8255
> analogy_ni_mite xeno_analogy
>
> then load them again and try to reconfigure, I get the following error on
> dmesg (I include the boot messages and the execution of a "cmd_read"):
>
> [   55.735198] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6713
> board
> [   55.735246] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 21
> [   60.143227] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6143
> board
> [   60.143274] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 20
> [   79.772511] Analogy: a4l_ioctl_cancel: no acquisition to cancel on this
> context
> [   79.772517] Analogy: analogy_ni_pcimio: ni_ai_cmd: start
> [   79.772525] Analogy: analogy_ni_pcimio: ni_ai_cmd:
> Interrupt_A_Enable_Register = 0x0021
> [   79.772531] Analogy: analogy_ni_pcimio: ni_ai_cmd: exit
> [   80.572613] Analogy: analogy_ni_pcimio: ni_mio_common: interrupt:
> a_status=90f0 ai_mite_status=00200000
> [   80.572616] Analogy: analogy_ni_pcimio: ni_mio_common: SC_TC interrupt
> [  236.290044] Analogy: MITE: Available NI device IDs: 0x1870 0x70c0
> [  246.113821] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6143
> board
> [  246.113872] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 20
> [  246.113876] Analogy: analogy_ni_pcimio: pcimio_attach: irq not available
> [  246.113879] Analogy: a4l_request_irq: IRQ registration failed
> [  251.563782] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6713
> board
> [  251.563824] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 21
> [  251.563828] Analogy: analogy_ni_pcimio: pcimio_attach: irq not available
> [  251.563830] Analogy: a4l_request_irq: IRQ registration failed
>
> BTW, the analogy_config program does not report those errors.
>
> This is bothering because I'm fiddling with the drivers and everytime I
> change something I have to reboot. Anyone experiencing the same problem?

Sorry. I will try to fix that as soon as possible.

>
> Thanks for your help,
> Fernando
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>
>

Alexis.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] Module unloading and reloading does not work
  2011-10-03 21:09 ` Alexis Berlemont
@ 2011-10-03 21:31   ` Fernando Herrero Carrón
  0 siblings, 0 replies; 3+ messages in thread
From: Fernando Herrero Carrón @ 2011-10-03 21:31 UTC (permalink / raw)
  To: Xenomai-help

[-- Attachment #1: Type: text/plain, Size: 2683 bytes --]

El 3 de octubre de 2011 23:09, Alexis Berlemont
<alexis.berlemont@domain.hid>escribió:

> Hi,
>
> 2011/9/30 Fernando Herrero Carrón <elferdo@domain.hid>:
> > Dear list,
> >
> > I am testing Xenomai 2.6.0-rc4 on a 2.6.38.8 linux kernel. I have two
> cards,
> > one NI 6713 for AO and one NI 6143 for AI. I use the analogy_ni_pcimio
> for
> > both, and it loads well. I can run the config program succesfully too.
> >
> > If I remove the devices using 'analogy_config -r ...', then unload the
> > modules with:
> >
> > rmmod analogy_ni_pcimio analogy_ni_mio analogy_ni_tio analogy_8255
> > analogy_ni_mite xeno_analogy
> >
> > then load them again and try to reconfigure, I get the following error on
> > dmesg (I include the boot messages and the execution of a "cmd_read"):
> >
> > [   55.735198] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6713
> > board
> > [   55.735246] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 21
> > [   60.143227] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6143
> > board
> > [   60.143274] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 20
> > [   79.772511] Analogy: a4l_ioctl_cancel: no acquisition to cancel on
> this
> > context
> > [   79.772517] Analogy: analogy_ni_pcimio: ni_ai_cmd: start
> > [   79.772525] Analogy: analogy_ni_pcimio: ni_ai_cmd:
> > Interrupt_A_Enable_Register = 0x0021
> > [   79.772531] Analogy: analogy_ni_pcimio: ni_ai_cmd: exit
> > [   80.572613] Analogy: analogy_ni_pcimio: ni_mio_common: interrupt:
> > a_status=90f0 ai_mite_status=00200000
> > [   80.572616] Analogy: analogy_ni_pcimio: ni_mio_common: SC_TC interrupt
> > [  236.290044] Analogy: MITE: Available NI device IDs: 0x1870 0x70c0
> > [  246.113821] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6143
> > board
> > [  246.113872] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 20
> > [  246.113876] Analogy: analogy_ni_pcimio: pcimio_attach: irq not
> available
> > [  246.113879] Analogy: a4l_request_irq: IRQ registration failed
> > [  251.563782] Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6713
> > board
> > [  251.563824] Analogy: analogy_ni_pcimio: pcimio_attach: found irq 21
> > [  251.563828] Analogy: analogy_ni_pcimio: pcimio_attach: irq not
> available
> > [  251.563830] Analogy: a4l_request_irq: IRQ registration failed
> >
> > BTW, the analogy_config program does not report those errors.
> >
> > This is bothering because I'm fiddling with the drivers and everytime I
> > change something I have to reboot. Anyone experiencing the same problem?
>
> Sorry. I will try to fix that as soon as possible.


Ok, thanks!
Fernando

[-- Attachment #2: Type: text/html, Size: 3321 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-03 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-30 17:29 [Xenomai-help] Module unloading and reloading does not work Fernando Herrero Carrón
2011-10-03 21:09 ` Alexis Berlemont
2011-10-03 21:31   ` Fernando Herrero Carrón

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.