[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] net-snmp signal handling
Hi Everybody:
I've been using Microblaze+uClinux for some time now and recently changed
from the standard uClinux-dist to the one from Petalogix. I'm very happy that
I can use gdb now, but very sad ( and worried ) that net-snmp is misbehaving.
It simply hangs when receives ANY signal.
Using my recently acquired powers, I tried to debug snmpd. The only thing I
found out is that it dies ( kernel hangs, board freezes ) after it exits the
signal handling function. If I put a break point inside the function, GDB
stops there and I can step, etc, until the end, once it exits, GDB does
nothing and the board has hanged up.
I'm using the same signal on one of my applications and it works fine, the
handling function gets executed and exits fine. So my guess is that I might
have a configure parameter wrong for net-snmp.
If anyone can help, I appreciate. Thanks!
My configure command is this:
./configure
--host=mb-linux-gnu \
--prefix= \
--with-endianness=big \
--enable-shared=no \
--disable-applications \
--disable-manuals \
--disable-scripts \
--disable-mibs \
--disable-mib-loading \
--with-default-snmp-version="1" \
--with-sys-contact="unknown" \
--with-sys-location="unknown" \
--with-logfile="/var/log/snmp.log" \
--with-persistent-directory="/var/net-snmp" \
--with-enterprise-oid="666" \
--with-out-mib-modules="snmpv3mibs ucd_snmp agent_mibs agentx"
CFLAGS:
-O0 -g -fno-common -fno-builtin -Wall -msoft-float -mno-xl-soft-mul -mxl-barrel-shift -mno-xl-soft-div -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__
LDFLAGS:
-Wl,-elf2flt
--
This is Linux country.
On a quiet night, you can hear Windows reboot.
Leonardo Pereira Santos |_|0|_|
Engenheiro de Projetos |_|_|0|
PD3 Tecnologia |0|0|0|
av. Para 330/202
(51) 3337 1237
Today Fortune tells us:
Convention organizer to Linus Torvalds: "You might like to come with us
to some licensed[1] place, and have some pizza."
Linus: "Oh, I did not know that you needed a license to eat pizza".
[1] Licenced - refers in Australia to a restaurant which has government
licence to sell liquor.
-- Linus at a talk at the Melbourne University
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/