Subject: Re: boot failed! help!!
To: Lim Seng Chor <limsc@sit.edu.my>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 01/27/2002 22:57:28
On Mon, Jan 28, 2002 at 05:51:47AM +0800, Lim Seng Chor wrote:
> hi,
> 
> I am running on i386 platform. 
> the following are the output of "trace" (there were 2 times hanged with different 
> "trace" output)
> (1)
> vget(d0808dec, 10012) at vget+0x8d
> ffs_sync(0,0,0,0,8) at ffs_sync +0x92
> 
> (2)
> db_disasm(0,0,c041a7ec,0,2) at ab_disasm+0x1b
> db_print_loc_and_inst(0,0,0,d08aacf8,c02fd5a2) at db_print_loc_and_inst+0x26
> db_trap(6,0,1,d08aad50,0) at db_trap+0xe9
> kdb_trap(6,0,d08aad50) at kdb_trap+0xc6
> trap() at trap+0x170
> --- trap (number 6) ---
> param.c (d006ae364,20002,d08aaf80,d08a6008,d08aaf78) at 0
> sys_execve(d08a6008,d08aaf80,d08aaf78,80b6070,80b0fe8) at sys_execve+0xed2
> syscall() at syscall+0x224
> --- syscall (number 59) ---
> 0x806f3a3
> 
> 
> initially i thought my hdd was having problem. so, i changed my hdd. but it still hang 
> during boot time and sometimes it also hanged during some execution of program. 
> the good news is that it does not hang that frequent after i changed my hdd. 

Hum, this may be a hardware problem anyway, probably RAM or cache, maybe
CPU.

> 
> my netbsd box is running with dhcp, ipf, ipnat and squid. 
>  
> my dhcpd is also having problem. it stopped itself with core dumped. and it always is 
> showing non-null pointer error while doing dynamic dns update. 

This may be a bug in dhcp, try disabling dynamic dns update.

> 
> I have 4 network interface cards, 2 public, 2 private. i have configured my netbsd box 
> to do ip forwarding. but the ip masquerading does not work. : (
> ex0:  1.2.3.4/255.255.255.0
> ex1:  2.3.4.5/255.255.255.0
> ex2:  10.1.1.1/255.255.255.0
> ex3:  10.2.2.1/255.255.255.0
> 
> ipnat.conf: 
> map ex0 10.1.1.0/24 -> 1.2.3.4/32
> map ex1 10.2.2.0/24 -> 2.3.4.5/32

Did you enable ipf ? 'ipf -E '

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--