segfault with outb() in RTAI/fusion

Vincent Levesque vleves at cim.mcgill.ca
Thu Jul 14 02:59:23 CEST 2005


I applied the patch to fusion 0.8.2. It makes no difference.

I also tried to take out the two IO cards. Still crashes.

Vincent Levesque
vleves at cim.mcgill.ca

>
> Just for the purpose of chasing this issue, could you apply and check 
> your program with this patch applied (i.e. it's _not_ how this should 
> work since the following patch will also reintroduce some latency):
>
> --- include/nucleus/asm-i386/system.h~    2005-07-10 
> 12:51:38.000000000 +0200
> +++ include/nucleus/asm-i386/system.h    2005-07-13 23:30:48.000000000 
> +0200
> @@ -254,6 +254,7 @@
>
>      __switch_threads(out_tcb,in_tcb,outproc,inproc);
>
> +#if 0
>      if (xnarch_shadow_p(out_tcb,outproc)) {
>
>          /* Eagerly reinstate the I/O bitmap of any incoming shadow
> @@ -284,6 +285,7 @@
>              }
>          }
>      }
> +#endif
>
>      stts();
>  }
>





More information about the Rtai mailing list