uCdot
search uCdot:
 
Embedded Linux and uClinux Developer Forum
 
uCdot
- FAQ
- Dev Boards
- Submit Story
- Submit FAQ
- Submit Dev Board
- Topics
- Authors
- About

- Preferences
- Older Stuff
- Past Polls
- Discussions
- Journals
- Messages

Embedded Linux
Mailing Lists
uClinux-dev (search)
Coldfire (search)
MTD
Microblaze (search)
ELUG
BDM-devel
Blackfin

Embedded Linux
Sites
uClinux.org
uClinux-Dist
uClibc
uClinux Directory
LinuxDevices
ARMulator
uClinux-elf-tools
Colilo
Kernel Archives
H8-uClinux
TLDP
Microblaze uClinux
BDM Tools
SkyEye (emulator)
LOM
SETR live CD
Blackfin uClinux

Embedded Linux
Companies
SecureComputing
SDCS
CodePoet
Arcturus
Cadenux
ARMtwister
uClinux.net
Xiptech
senTec
embedded^cl
Cwlinux
emlix
TimeSys
eSpark Infotech
SSV Embedded Systems
Embedded Minds
PeerSec Networks
Vortech Consulting
swissEmbedded
Synertronixx
Mbedthis Software
.vantronix
Aday
GraceLabs
Pengutronix
metux ITS
Codito Technologies
Firmix Software
PetaLogix
NuDesign
Merritt Technologies
WindRiver
OpenGear
Rubico
Analog Devices
Artila Electronics
Vyatta
Embest Info&Tech
Katalix Systems
WorkWare Systems
Kdev
Intellimetrix
Virtual Cogs
SYSGO
coresystems
ExactCODE
KOAN

 
Issue porting app to uclinux on ARM9
Question psk writes "Hi, I have a multi threaded application which is at present running on FC5 as well as Montavista 5.0. I have a problem in porting it to uclinux on ARM9 - Intel Rosedale 1 board. Socket calls are used in this application, and this path is used to initialize and spawn all other threads. The issue I have is with accept call(). Socket creation, bind, listen are successful. But accept() never returns. It is blocking infinitely. Just to know whether Socket stack is up and running I had created one small application with sockets. That works fine. Some where in the forum I found that stack size may not be sufficient. I tried increasing it up to 128k but no use. Is this some thing to do with the size of program? My application takes around 1.6MB.

I have also tried to put tftpd and telnetd. Telnetd is up and running, only thing is the authentication is failing (user/password). I think i can fix this by tweeking the code. But tftpd doesn't work. It doesn't respond to client requests. May be this could be same as what I'm experiencing with my application. Solving one might fix the other.

Can some body please help me in resolving this? Regards Kumar"

Port uClinux to NXP LH79525 | Scatter-gather with uClinux ?  >

 

 
uCdot Login
Nickname:

Password:

[ Create a new account ]

Related Links
  • Intel
  • uClinux
  • psk
  • More on Question
  • Also by davidm
  • This discussion has been archived. No new comments can be posted.
    Issue porting app to uclinux on ARM9 | Login/Create an Account | Top | 1 comments | Search Discussion
    Threshold:
    The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
    Any fork issues (Score:2)
    by davidm (david_mccullough@securecomputing.com) on Thursday January 17, @03:23AM (#552)
    User #2 Info | http://www.securecomputing.com/ | Last Journal: Friday May 11, @09:05AM
    If you had to replace any fork calls with vfork and you are not doing a fork/exec then the parent will block until the child exits. Other than that everything should be ok, thogh thread support can be a bit dodgy depending on your source/toolchain/target combinations.

    The Embedded Linux and uClinux Developer Forum is hosted by: SnapGear "You don't go out and kick a mad dog. If you have a mad dog with rabies, you take a gun and shoot him." -- Pat Robertson, TV Evangelist, about Muammar Kadhafy

    [ home | contribute story | older articles | past polls | faq | authors | preferences ]