Ooh, addr2line!

/me makes a note


On Aug 29, 2012, at 13:35 , William Ratcliffe wrote:

> Its no trouble at all! Thanks for the help.
> 
> Heres the result of the debugging
> 
> ---
> 
> [82214.134382] RTAPI: Task 1[f19c1800]: Fault with vec=14, signo=11 
> ip=fddf4017.
> [82214.134386] RTAPI: This fault may not be recoverable without rebooting.
> 
> user@emc-test:~/linuxcnc/configs/hm2-servo$ cat /proc/modules | grep -i fdd
> threads 2096 0 - Live 0xfddfb000
> mesa_7i65 4613 0 - Live 0xfddf4000
> hm2_pci 9812 0 - Live 0xfddec000
> hostmot2 116496 2 mesa_7i65,hm2_pci, Live 0xfdd98000
> 
> user@emc-test:~/linuxcnc/configs/hm2-servo$ printf "0x%x\n" 
> $((0xfddf4017-0xfddf4000))
> 0x17
> 
> user@emc-test:~/linuxcnc/configs/hm2-servo$ addr2line -e 
> /home/user/linuxcnc-dev/src/mesa_7i65.o 0x17
> /usr/src/linux-headers-2.6.32-122-rtai/hal/drivers/mesa_7i65.comp:59
> 
>       *CPLD_write = 0xA00 // "write" command
> 59:               | (enable_out(7) != 0) << 7 | (enable_out(6) != 0) << 6
>                   | (enable_out(5) != 0) << 5 | (enable_out(4) != 0) << 4
>                   | (enable_out(3) != 0) << 3 | (enable_out(2) != 0) << 2
>                   | (enable_out(1) != 0) << 1 | (enable_out(0) != 0);
> 
> On 29/08/2012 19:54, andy pugh wrote:
>> On 29 August 2012 19:00, William Ratcliffe <[email protected]> wrote:
>> 
>>> loadrt hm2_pci config="firmware=hm2/5i20/2X7I65_72.BIT num_encoders=0
>>> num_pwmgens=0 num_stepgens=0 num_bspis=1"
>> If this bit works it seems fair to assume that the firmware is OK.
>> 
>>> [39776.467704] RTAPI: Task 1[eadbc800]: Fault with vec=14, signo=11
>>> ip=fc939017.
>>> [39776.467708] RTAPI: This fault may not be recoverable without rebooting.
>>> "
>> Did you compile LinuxCNC? I assume so, as you mention the git repo. If
>> it isn't too much trouble, could you follow the instructions in
>> docs/rtfaults? That will at least narrow it down to a file and a
>> program line.
>> 
>> I wrote the driver, but don't have hardware to test with.
>> 
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Sebastian Kuzminsky


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to