named failure on ARMv5tejl (marvell sheevaplug 88F6281) freeBSD 8.0-RELEASE

vasile buruiana skaarjhex at yahoo.com
Wed Feb 17 03:03:10 UTC 2010


Hi. I am running FreeBSD 8.0Release on a Marvell Sheevaplug. After three months, day and night heavy modification on the kernel, world and ports source codes, my system runs perfect. 
There is a bug I have to report.

named fails to start and dumps a core. 

uname -a report:
FreeBSD gateway.seprom.ro 8.0-RELEASE FreeBSD 8.0-RELEASE #5: Mon Feb 15 05:22:18 UTC 2010     skaarj at gateway.campus.upg-ploiesti.ro:/usr/obj/usr/src/sys/SHEEVAPLUG  arm

running named:
gateway# named -4 -c /etc/namedb/named.conf -f -d 4
Segmentation fault (core dumped)
gateway#

This is how I recompiled named

# cd /usr/src/lib/bind
# make obj && make depend && make && make install
# cd /usr/src/usr.sbin/named
# make obj && make depend && make && make install

I recompiled it three times, with three different parameters (one per compile) in /etc/make.conf:

CFLAGS=-Os -pipe -w

CFLAGS=-Os -w   (without pipe)

CFLAGS=-O -pipe -w

same error for three different compiles. As arm has a small cache memory, I choosed -Os first. 

I am not good at debugging, but this error seems to be a memory failure (Before removing the pipe option in /etc/make.conf, first try)

gateway# gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software...
......
This GDB was configured as "arm-marcel-freebsd".
(gdb) core named.core
Core was generated by `named'.
Program terminated with signal 11, Segmentation fault.
#0  0x001574d0 in ?? ()
(gdb)

the same with the other two retries, but different memory addresses.

I will apreciate any suggestion.

Vasile Buruiana
PhD Research Assistant
Petroleum and Gas University of Ploiesti
Romania


      


More information about the freebsd-bugs mailing list