Author |
Post |
|
#1 Mon Feb 13, 2012 20:42, 155 months ago.
|
Member
Registered: Feb 2012
Location: Italy
|
Operation System: FreeBSD7 Version of smsd: 3.1.14 Smsd installed from: package repository Name and model of a modem / phone: Ericsson F3507g Mobile Broadband Minicard Interface: mini-pcie
Dear All,
I'm trying to manually start smsd tool to play around on its use, but after configuring smsd.conf when I run from console : smsd -s it dies after a while getting the following log messages
Log results: smsd: Smsd v3.1.14 started. smsd: Running as root:wheel. smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.tIEkxS /tmp/smsd_data.k5LsAS smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0) smsd: File mode creation mask: 022 (0644, rw-r--r--). smsd: Running in terminal mode. smsd: Cannot reserve memory for statistics.
I tried to search something on this error but I have not found any topic regarding this kind of problem. Can you help me ? I don't know what can I check to understand from where comes this error.
Thank you
|
|
#2 Wed Feb 15, 2012 20:49, 155 months ago.
|
Member
Registered: Feb 2012
Location: Italy
Topic owner
|
Hello All,
Any body can help me? What I can ckeck to understand the reason of this problem? Could be it due to the hardware? May be I'm using an unsupported GSM modem or is it only a software depending?
Thank you
|
|
#3 Thu Feb 16, 2012 15:43, 155 months ago.
|
Member
Registered: Apr 2011
Location: Kupchino, Russian Federation
|
Hi sasso, sasso wrote Could be it due to the hardware? May be I'm using an unsupported GSM modem or is it only a software depending?
At this point it is not a hardware problem for sure. This message is a result of failed memory allocation. As far as I can see the FreeBSD port builds smsd with statistics support enabled by default. It this case smsd uses libmm memory allocation function that I don't know too much about and have no idea why it can fail. So as a first step I would suggest to build smsd without statistics support. In this case smsd will use plain old malloc().
|