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

panic with 2Gb of RAM (Tyan Thunder K7 (S2462) mobo) OpenBSD 3.1



Hi all,

I have panics with new server.

My first question is DOES ANYONE RUN OBSD 3.1 with 2Gb of ECC RAM (or more than that) ???

Best if I can find anyone running Thunder K7 (S2462) mobo with one processor and 2 Gb RAM.

Ok, here is full list of hardware:

mobo: Tyan Thunder K7 (S2462)
http://www.tyan.com/products/html/thunderk7.html

processor: AMD Athlon 1,73 GHz (uniprocessor setup)

SCSI: Tekram DC-390U3W (LSI 53C1010)
http://www.tekram.com.tw/ProductSpec.ASP?Product=DC-390U3D_U3W

2 HDD: QUANTUM ATLAS 10K 36 Gb each

RAM: 2 Gb of unknown origin. Seems microchips are produced by samsung. and DDR SDRAM by http://www.venturatech.com/ codes i have:
D54WPK28SV K4H560438D-TCBO
I have 2 chips of 1 Gb each inserted into slots 1 and 2. ECC Scrub mode enabled in BIOS.


Network: Two 3Com 3C920 built-in.

BIOS: Parallel, Serial, USB, IDE disabled in the BIOS.
--------------------------------------------
OpenBSD 3.1
both Generic and custom kernels.
--------------------------------------------
PROBLEM DESCRIPTION

When I run make check for courier-imap-1.5.3 I got panic at ./testwait command. It spawns about 100 processes. and server dies immidiately.

I have tried lmbench (available in ports) and it dies at the stage:
Calculating context switch overhead (this can take 5-25 minutes)
Calculating ctx switch for 0KB sized processes

I got 2 types of panic randomly:
panic: pipespace: out of kvm
panic: pmap_pinit: kernel_map out of virtual space!

I can reproduce this with 100% cases both with GENERIC and custom kernels.

After many tests with BIOS, ECC modes etc I come to idea to have only one memory chip. I.e. 1Gb RAM.

With 1Gb of RAM system runs surprisingly stable and i can run about 10 passes of lmbench, make check and custom Perl scripts to fork and eat memory in parallel without crashes. When I compiled kernel
with
option NMBCLUSTERS=8192
option MAX_KMAP=120
option MAX_KMAPENT=6000
option BUFCACHEPERCENT=10
maxusers 256


I get panic: pmap_pinit: kernel_map out of virtual space! again with 1 Gb of RAM. So I back to default kernel config. if maxusers = 64 (the only change) system is still stable.

It does not matter what particular chip is inserted. Both runs smoothly if I have only one chip 1Gb of RAM in the mobo.

So I guess it is either some special case with this mobo, which can not run 2Gb with 2 chips. If so, people who have the same mobo and the same RAM may tell me.

Other option is that OBSD does not deal with 2 Gb of RAM perfectly by default. I guess there are some tricks in kernel config to make it run. I see that they are not trivial. Gurus, please help with that.
----------------------------------------------------------------------
Links of interest:
http://archives.neohapsis.com/archi...02-04/0163.html
http://monkey.org/openbsd/archive/t...4/msg00123.html


I tried to run 2048 apaches. set kern.maxproc = 5000 before that though.
It crashes my box with 1Gb. with
panic: pmap_pinit: kernel_map out of virtual space!

I can easily run 900 apaches with 1Gb RAM though
----------------------------------------------------
Traditional dmesg (custom)
OpenBSD 3.1-stable (STALIN) #2: Thu Aug 8 23:04:16 BST 2002
root_(_at_)_vimes:/usr/src/sys/arch/i386/compile/STALIN
cpu0: AMD Athlon Model 6 (Palomino) ("AuthenticAMD" 686-class) 1.73 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,P
GE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 1073258496 (1048104K)
avail mem = 993636352 (970348K)
using 5689 buffers containing 53764096 bytes (52504K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(6d) BIOS, date 11/02/01, BIOS32 rev. 0 @ 0xfd6a0
pcibios0 at bios0: rev. 2.1 @ 0xfd6a0/0x960
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdef0/0 (-2 entries)
pcibios0: bad IRQ table size
pcibios0: PCI BIOS has 13 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:07:0 ("AMD 766 PCI-ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xc8800/0x800 0xc9000/0x4000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "AMD 762 Host-PCI" rev 0x11
ppb0 at pci0 dev 1 function 0 "AMD 762 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "AMD 766 PCI-ISA" rev 0x02
"AMD 766 IDE" rev 0x01 at pci0 dev 7 function 1 not configured
"AMD 766 Power Mgmt" rev 0x01 at pci0 dev 7 function 3 not configured
siop0 at pci0 dev 10 function 0 "Symbios Logic 53c1010" rev 0x01: irq 10, has RAM
scsibus0 at siop0: 16 targets
siop0: target 0 now using tagged DT 16 bit 80 MHz 62 REQ/ACK offset xfers
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, ATLAS10K3_36_WLS, 020W> SCSI3 0/direct fixed
sd0: 35074MB, 31022 cyl, 4 head, 578 sec, 512 bytes/sec, 71833096 sec total
siop0: target 1 now using tagged DT 16 bit 80 MHz 62 REQ/ACK offset xfers
sd1 at scsibus0 targ 1 lun 0: <QUANTUM, ATLAS10K3_36_WLS, 020W> SCSI3 0/direct fixed
sd1: 35074MB, 31022 cyl, 4 head, 578 sec, 512 bytes/sec, 71833096 sec total
siop1 at pci0 dev 10 function 1 "Symbios Logic 53c1010" rev 0x01: irq 10, has RAM
scsibus1 at siop1: 16 targets
vga1 at pci0 dev 14 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
xl0 at pci0 dev 15 function 0 "3Com 3c980C 100Base-TX" rev 0x78: irq 10xl0: command never completed!
xl0: command never completed!
xl0: command never completed!
address 00:e0:81:05:7f:31
exphy0 at xl0 phy 24: 3Com internal media interface
xl0: command never completed!
xl0: command never completed!
xl0: command never completed!
xl1 at pci0 dev 16 function 0 "3Com 3c980C 100Base-TX" rev 0x78: irq 11xl1: command never completed!
xl1: command never completed!
xl1: command never completed!
address 00:e0:81:05:7f:32
exphy1 at xl1 phy 24: 3Com internal media interface
xl1: command never completed!
xl1: command never completed!
xl1: command never completed!
isa0 at pcib0
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
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 440 netmask c40 ttymask c42
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 81
dkcsum: sd1 matched BIOS disk 80
root on sd1a
rootdev=0x410 rrootdev=0xd10 rawdev=0xd12


----------------------

-Deem0N.



Visit your host, monkey.org