NetBSD-Help archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: system locked up

On Tue, 4 Mar 2008, Jeremy C. Reed wrote:

> Subject: system locked up
> A few times my laptop locked up today.
> Locked up where I can't ping it. I was in X and couldn't do anything.
> The last time it locked up, I unplugged the USB-based ral0 and plugged it 
> back in.
> No logs in messages.
> Running NetBSD/amd64 4.0_RC4
> ral0 at uhub5 port 2
> ral0: Cisco-Linksys Wireless-G USB Network Adapter, rev 2.00/0.04, addr 4
> ral0: MAC/BBP RT2570 (rev 0x03), RF RT2526
> ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
> 24Mbps 36Mbps 48Mbps 54Mbps
> The system has been stable. It has only been off once before today (got 
> accidently unplugged and battery died) since I initially installed it in 
> November when I purchased it. It is a Toshiba A215-S7422.

The three things that have changed for me:

- using re0 which I never used before

- using PF. I enabled with:

modload /usr/lkm/pf.o

pfctl -ef /etc/pf.conf

And my config is simply:

tx:reed$ egrep -v '^$|^#' /etc/pf.conf  
nat on ral0 from !(ral0) -> (ral0:0

- And "sysctl -w net.inet.ip.forwarding=1"

(I did those three things to share network for an IP phone.)

I am no longer using re0 -- it is UP by default (as it always was) -- but 
nothing plugged into it. And I don't have pf module loaded and forwarding 
is 0 (default). Hopefully my system will be stable now.

  Jeremy C. Reed

Home | Main Index | Thread Index | Old Index