[etherlab-users] Machine freeze/reset on module load

Andreas Stewering-Bone ab at igh-essen.com
Fri Oct 22 08:43:43 CEST 2010


Hello Mr Haabendal,

sounds like a bug, which version do you use. Did you download the 
tar.bz2 file from Sourceforge?

Greatings

Andreas

Esben Haabendal schrieb:
> Hi
>
> With ethercat debug, I see something like this:
>
> # ethercat reg_read -p 0 0x1000 --type uint8
> [   29.104116] EtherCAT 0: Master debug level set to 1.
> [   29.147356] EtherCAT DEBUG 0-0: Processing register request, offset 0x1000, length 1...
> [   29.159696] EtherCAT DEBUG 0-0: Register request successful.
> 0x00 0
>
> Sometimes the hang is before the register read out is printed, sometime
> just after, and some times I get the prompt, and the hang is shortly
> after.  But not enough so that I have managed to get further information
> (yet).
>
> A (perhaps) interesting observation, when doing this as root, the
> register read out is (almost) always 0x00 0, whereas when running as
> non-priveleged user, the readout is random garbage before the hang.  As
> non-priveleged user, it is sometimes possible to read the register a
> couple of times before the hang occurs.
>
> I therefore strongly suspect that the hang occurs in the EtherCAT-IDLE
> thread, or some other kernel thread.
>
> /Esben
>
> Andreas Stewering-Bone <ab at igh-essen.com> writes:
>
>   
>> Hello,
>>
>> ethercat debug 1
>>
>> Greatings
>>
>> Andreas
>>
>>
>> Esben Haabendal schrieb:
>>     
>>> Hi
>>>
>>> Andreas Stewering-Bone <ab at igh-essen.com> writes:
>>>
>>>   
>>>       
>>>> Under preempt kernel the kernel itself has realtime capabilities, so
>>>> you can use the generic driver.
>>>>     
>>>>         
>>> I know, I am "using" it.  But after starting to use it beyound basic
>>> testing, I now look on a bug report with the mentioned bug report.
>>>
>>>   
>>>       
>>>> Please show the debugging output of the ethercat command if you read
>>>> the register.
>>>>     
>>>>         
>>> How do I enable debug output of the ethercat command?
>>>
>>> /Esben
>>>   
>>>       


-- 

------------------------------------------------------------------------

Dipl.-Ing. Andreas Stewering-Bone            Amtsgericht Essen HRB 11500 
Ingenieurgemeinschaft IgH                    USt-Id.-Nr.: DE 174 626 722 
Gesellschaft für Ingenieurleistungen mbH     Geschäftsführung:           
Heinz-Bäcker-Str. 34                         Dr.-Ing. S. Rotthäuser      
D-45356 Essen                                Dr.-Ing. T. Finke           
Tel.: +49 201 / 360-14-15                    Dr.-Ing. W. Hagemeister     
Fax.: +49 201 / 360-14-14                    Tel.: +49 201 / 360-14-0    
Andreas.Stewering-Bone at igh-essen.com         http://www.igh-essen.com    

------------------------------------------------------------------------




More information about the Etherlab-users mailing list