Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2010 18:36:29 -0800 (PST)
From:      vasile buruiana <skaarjhex@yahoo.com>
To:        freebsd-bugs@freebsd.org
Subject:   named failure on ARMv5tejl (marvell sheevaplug 88F6281) freeBSD 8.0-RELEASE
Message-ID:  <255103.23383.qm@web53407.mail.re2.yahoo.com>

index | next in thread | raw e-mail

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@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


      


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?255103.23383.qm>