Hi misc
I have had a a cheap Dell SC400 server running for years on OpenBSD 3.8. It
was just replaced with a new Dell PowerEdge 830 running OpenBSD 4.2 as soon
as the CD arrived (works perfectly). This old SC 400 server should now be a
rsync/rsnapshot backup server connecting with SSH keys to my new PE 830 Dell
server.
However... The old Dell SC 400 backup server cannot use OpenBSD 4.2!
A default install of OpenBSD 4.2 with only "bash" and "rsnapshot" packages
(plus dependencies of course) causes the SC 400 sever to randomly freeze
totally during a rsnapshot backup of the main server. There is no way of
getting any info at all of the freeze. I have also tried to set my std
settings I have on most servers in sysctl.conf:
net.inet.tcp.recvspace=65535
net.inet.tcp.sendspace=65535
net.inet.ip.ifq.maxlen=150
kern.maxclusters=65535
kern.maxproc=4096
kern.maxfiles=8192
And added a backup class to login.conf:
backup:\
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin:\
:umask=022:\
:datasize-max=512M:\
:datasize-cur=512M:\
:maxproc-max=2048:\
:maxproc-cur=1024:\
:openfiles-cur=4096:\
:stacksize-cur=8M:\
:localcipher=blowfish,6:\
:ypcipher=old:\
:tc=auth-defaults:\
:tc=auth-ftp-defaults:
The cron jobs are run as follows:
20 0 * * * su -c backup
root -c '/usr/local/bin/rsnapshot daily' 2>&1
20 5 * * 0 su -c backup
root -c '/usr/local/bin/rsnapshot weekly' 2>&1
20 2 3 * * su -c backup
root -c '/usr/local/bin/rsnapshot monthly' 2>&1
The *ONLY* way of get rid of the server random freeze was to install OpenBSD
4.1 (not yet upgraded to latest STABLE). I have tested with the default built
in SATA controller and an external Promise 150TX4 controller. I have also
tested with and without the above sysctl and login.conf settings. The backup
disk is a 1TB Segate ES disk. I have run a lot of server tests (memory among
other things like Dell diags) with no problems found. So the conclusion is
that 4.2 seems to be unstable on this old server that have run older OpenBSD
versions without a problem. I use the Dell built in Intel em interface at
gigabit speed. Also... I have softdep on all mounts..... Everything else is
default.
QUESTION:
What is new in OpenBSD 4.2 that could possibly cause this?
(Note that I will continue on the older OpenBSD 4.1 for this SC 400 backup
server but are of course curious of the issue)
I have added a dmesg of the Dell SC 400 with 4.1 below my autosignature
Thanks in advance
Regards
Per-Olov
GPG keyID: 4DB283CE
GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem = 535871488 (523312K)
avail mem = 481243136 (469964K)
using 4278 buffers containing 26918912 bytes (26288K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 02/27/06, BIOS32 rev. 0 @ 0xffe90,
SMBIOS rev. 2.3 @ 0xf0450 (92 entries)
bios0: Dell Computer Corporation PowerEdge 400SC
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeae0/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x8000! 0xd0000/0x1800! 0xd1800/0x2800
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82875P Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82875P AGP" rev 0x02
pci1 at ppb0 bus 1
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci2 dev 2 function 0 "Promise PDC20319" rev 0x02: DMA
wd0 at pciide0 channel 0 drive 0: <ST31000340NS>
wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
pciide0: using irq 10 for native-PCI interrupt
fxp0 at pci2 dev 3 function 0 "Intel 8255x" rev 0x02, i82557: irq 10, address
00:a0:c9:44:2a:2e
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
em0 at pci2 dev 12 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq 9,
address 00:11:11:4c:24:b6
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide1 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
pciide1: channel 0 ignored (disabled)
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8163B, 0D20> SCSI0 5/cdrom
removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2
pciide2 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, channel
0 configured to native-PCI, channel 1 configured to native-PCI
pciide2: using irq 9 for native-PCI interrupt
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2e: adm1027 rev 0x60
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302