LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2013, 01:17 AM   #1
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Rep: Reputation: Disabled
Segmaentation fault while executing led program on lpc3250 board


Hi,
I am working on LPC3250 evaluation board with linux kernel version 2.6.34. I have tried to execute the LED program in my board after kernel booted using NFS.Then it is giving the segmentation fault.

I have followed the below procedure to execute the program

~ # cd nfs
/nfs # ./ledtest
Segmentation fault

If any one know please give reply..

Thnaks & Regards,
Md.Biyabani.
 
Old 05-03-2013, 03:55 AM   #2
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Can you provide an strace of when you execute it?

Code:
strace -o output.txt ledtest
Other examples of using strace provided here: http://www.thegeekstuff.com/2011/11/strace-examples/
 
Old 05-03-2013, 06:01 AM   #3
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks for reply,
I have performed strace command operation in application after kernel booting but it is showing

~ # cd nfs
/nfs # strace -o output.txt ledtest
-sh: strace: not found
Have i performed operation in correct directory or not? If not please correct me.

Thanks & Regards,
Md.biyabani.

Last edited by biyabani; 05-03-2013 at 06:02 AM.
 
Old 05-03-2013, 05:33 PM   #4
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Hi, yes you have performed it correct.

The command is not installed, and It's probably a customised Linux OS just for that circuit board.

Sorry I know nothing of these boards, can you boot the Kernel without NFS, and run the command locally? Is this an option?
 
Old 05-06-2013, 01:23 AM   #5
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks for your reply.

I have tested without NFS but got the same result. If you get any idea about this please post me.

Thanks & Regards,
Md.biyabani.

Last edited by biyabani; 05-06-2013 at 01:38 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable all(7) uarts on lpc3250 board biyabani Linux - Embedded & Single-board computer 15 07-24-2013 02:08 AM
How to on and off the leds which are connected on lpc3250 board biyabani Linux - Newbie 9 05-03-2013 09:19 AM
Mounting usb in lpc3250 board (ported with linux version 2.6.34) biyabani Linux - Newbie 8 04-09-2013 07:39 AM
Segmentation Fault when executing Program that prints out a number input didier2309 Programming 1 02-23-2006 05:55 PM


All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration