[Soekris] NET4501 Instability
chris at nmedia.net
Thu Jul 14 08:51:02 UTC 2005
Well, you're saying that it reboots, asking for advice, and providing absolutely
zero debugging information. You even skipped the part of dmesg that
shows why the watchdog timer was reset (which is probably why it restarted).
Full console output with the kernel in ddb mode and trace and ps would
be a start. That being said, you did mention some common issues.
When you plug into the ethernet, anything you type, even a space will
interrupt the process at the boot> prompt
Several people have trouble with atheros based cards in access point mode
where the driver locks the whole box up, no ddb, the watchdog timer eventually
just times out, so if that's your problem, you have to migrate away from either
this driver or this card (i haven't tried atheros AP mode again in current
but the driver has not undergone any changes since i did try.... i'd be curious
to know what other people's experiences are with openbsd if_ath and AP mode)
Another possible issue is that the watchdog timer eventually times out
because you are keeping the box at or near livelock for 30 seconds (E.g.
the kernel spends all its time servicing interrupts and not doing anything
You could either store the dhcpd.leases file on permanent r/w flash, or
fix dhcpd to ping addresses before assigning them, to solve your dhcp issue..
Justin Thomas [justindthomas at gmail.com] wrote:
> Hi List,
> I have a NET4501 running OpenBSD 3.7 that I am using as a firewall and
> wireless access point (Atheros minipci 5354 based card). It works
> well except for one nagging issue - it spontaneously reboots every now
> and then.
> At first, the problem manifested itself as conflicting IP addresses on
> my network. The Soekris box is running ISC DHCPd and the lease file
> is stored in a memory filesystem. With each reboot, it would lose its
> record of leases and would dole out duplicate addresses.
> I began suspecting that the box might be having problems when my
> internet connection would suddenly fail and I'd connect to the box to
> see it at the "boot>" prompt. I'm actually not clear on why it
> stopped there, because it should have automatically come all the way
> up - it usually does.
> Regardless, this rebooting is becoming a bit of a hassle and I'm not
> sure where to look. The logs are obviously temporary (CF is the
> primary boot drive) and do not survive a reboot. I could log to a
> syslog server, but I suspect the failure happens so quickly that it
> wouldn't have time to get off a message. Furthermore, upon leaving a
> console connection open, I see effectively nothing - other than the
> fact that it rebooted:
> Starting Network Daemons... sshd syslogd ftp-proxy dhcpd
> OpenBSD/i386 (fw) (tty00)
> POST: 0123456789bcefghipajklnoq,,,tvwxy
> <white space deleted>
> comBIOS ver. 1.24 20040312 Copyright (C) 2000-2004 Soekris Engineering.
> 0064 Mbyte Memory CPU 80486 133 Mhz
> Pri Mas Hitachi XX.V.18.104.22.168 LBA 978-8-32 125 Mbyte
> PXE-M00: BootManage UNDI, PXE-2.0 (build 082)
> Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int
> 0:00:0 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000 00
> 0:16:0 168C 0013 02000001 0116 0290 10 3C 00 A0000000 00000000 10
> 0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E001 A0010000 11
> 0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0011000 05
> 0:20:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0012000 09
> 1 Seconds to automatic boot. Press Ctrl-P for entering Monitor.
> Using drive 0, partition 3.
> probing: pc0 com0 com1 pci mem[639K 63M a20=on]
> disk: hd0+
> >> OpenBSD/i386 BOOT 2.08
> switching console to com0
> >> OpenBSD/i386 BOOT 2.08
> com0: changing speed to 19200 baud in 5 seconds, change your terminal to match!
> com0: 19200 baud
> booting hd0a:/bsd: 1717508+337424 [52+94032+84715]=0x2216f8
> entry point at 0x100120
> [ using 179172 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
> Copyright (c) 1995-2005 OpenBSD. All rights reserved. http://www.OpenBSD.org
> OpenBSD 3.7 (kernel) #1: Fri May 13 08:56:56 FJT 2005
> root at fw-src.removed.net:/root/soekris-4501F/kernel
> cpu0: AMD Am5x86 W/B 133/160 ("AuthenticAMD" 486-class)
> cpu0: FPU
> real mem = 66691072 (65128K)
> avail mem = 57266176 (55924K)
> It's done this twice today. Any ideas?
> Justin Thomas
> Skype (http://www.skype.com/): justindthomas
> Soekris-tech mailing list
> Soekris-tech at lists.soekris.com
"Attacks always get better; they never get worse."
-- "Old NSA saying"
More information about the Soekris-tech