Hi.
I hawe problems to set up OpenBSD to fallowing system:
MB: Intel Server Board S3000AH (LX versija)( Intel Server Chipset 3000)
CPU: Intel DualCore PentiumD 3,4GHz/800/2x2MB Socket LGA775(I also
tested with pentium 4 HT,- single core, 3GHz/800/1MB and Intel
Celeron D 3.33Ghz/533/256kb, but the same problem )
HDD 2 x Samsung 80GB SATAII NCQ
RAM: 2 x 1GB PC5300 DDRII/ECC T667EB1GS MALAB
I have updated BIOS, but that not helps.
I tested with openbsd release 4.0 - i386, openbsd snapshot from
22.12.2006 - i386, and openbsd-release 4.0 - amd64
I tested install to SATA and IDE hard drives.
I attachec SCSI controller with SCSI hard drive and i disabled SATA and
IDE controllers, but nothing helps.
I think, that the SATA controller is a ICH7R (82801GB /82801GR), but I
dont now exatly, and i cant find any information in intel.com
After i reset the machine, there is no problem to boot again(afther
checking hard drive).
I tried FreeBSD 6.2 rc1, and all works fine, the default kernel detected
both cpu cores and sata raid too. I also compile some packages from
ports, and all works weel.
When i will compil port or kernel, i get errors and the system crashes.
There is my dmesg
# dmesg
OpenBSD 4.0-current (GENERIC) #1312: Fri Dec 22 02:04:34 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error f<fixed_disk,invalid_time>
cpu0: Intel(R) Pentium(R) D CPU 3.40GHz ("GenuineIntel" 686-class)
3.41 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16
real mem = 2144194560 (2093940K)
avail mem = 1947615232 (1901968K)
using 4256 buffers containing 107425792 bytes (104908K) of memory
RTC BIOS diagnostic error f<fixed_disk,invalid_time>
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/11/06, SMBIOS rev. 2.4
@ 0x7fe0e000 (43 entr
ies)
bios0: Intel Corporation S3000AHLX
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc0000/0x9000 0xc9000/0x200 0xc9800/0x6600
acpi at mainbus0 not configured
cpu0 at mainbus0
cpu0: Enhanced SpeedStep disabled by BIOS
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7230 MCH" rev 0x00
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci2 at ppb1 bus 2
ahc0 at pci2 dev 2 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 9
scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 1 lun 0: <IBM, DDYS-T18350N, S96H> SCSI3
0/direct fixed
sd0: 17501MB, 15110 cyl, 6 head, 395 sec, 512 bytes/sec, 35843670
sec total
ppb2 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01
pci4 at ppb3 bus 4
em0 at pci4 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03:
irq 9, address 00:15:1
7:13:ae:31
"Intel 82573E AMT" rev 0x03 at pci4 dev 0 function 3 not configured
"Intel 82573E KCS (Active Management)" rev 0x03 at pci4 dev 0
function 4 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: 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 82801GB USB" rev 0x01: 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 82801GB USB" rev 0x01: irq 11
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 82801GB USB" rev 0x01: 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 82801GB USB" rev 0x01: irq 11
ehci0: timed out waiting for BIOS
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
ppb4 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xe1
pci5 at ppb4 bus 5
vga1 at pci5 dev 4 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em1 at pci5 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05:
irq 9, address 00:15:
17:13:ae:32
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA,
channel 0 configured
to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <SAMSUNG, DVD-ROM SD-616F, F101> SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GR SATA" rev 0x01:
DMA, channel 0 wired to
native-PCI, channel 1 wired to native-PCI
pciide1: using irq 10 for native-PCI interrupt
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2e: sch5017 rev 0x8a
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ffed netmask ffed ttymask ffef
pctr: user-level cycle counter enabled
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x3f
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
WARNING: / was not properly unmounted
#
When i try compil port i get this:
# cd /usr/ports/mail/pine/
# make
===> Verifying specs: c c crypto ssl termlib c termcap c termcap
===> found c.40.3 crypto.13.0 ssl.11.0 termlib.10.0 termcap.10.0
===> Checking files for pine4.64
>> pine4.64.tar.gz doesn't seem to exist on this system.
>> Fetch ftp://ftp.cac.washington.edu/pine/pine4.64.tar.gz.
Trying 140.142.3.249...
100%
|******************************************************************************************|
4119 KB 02:31
>> Size matches for /usr/ports/distfiles/pine4.64.tar.gz
>> Checksum OK for pine4.64.tar.gz. (sha1)
===> Extracting for pine4.64
===> Patching for pine4.64
===> Configuring for pine4.64
===> Building for pine4.64
*** WARNING: you may see an error such as
*** virtual memory exhausted
*** when building this package. If you do you must increase
*** your limits. See the man page for your shell and look
*** for the 'limit' or 'ulimit' command. You may also want to
*** see the login.conf(5) manual page.
*** Some examples are:
*** csh(1) and tcsh(1): limit datasize <kbytes of memory>
*** ksh(1), zsh(1) and bash(1): ulimit -d <kbytes of memory>
make args are 'CC=cc' 'EXTRACFLAGS=-O2 -pipe '
'LOCALBASE=/usr/local' bso
Directory /etc/ssl/certs is missing
Including SSL functionality
Making c-client library, imapd, and ipopd
eval make CC=cc EXTRACFLAGS=-O2 -pipe LOCALBASE=/usr/local
SSLTYPE=unix SPECIALS=SSLDIR=/usr bso
make sslunix
`sslunix' is up to date.
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
tools/an "ln -s" src/mailutil mailutil
tools/an "ln -s" src/mlock mlock
tools/an "ln -s" src/dmail dmail
tools/an "ln -s" src/tmail tmail
ln -s tools/an .
make build EXTRACFLAGS='-O2 -pipe ' EXTRALDFLAGS=''
EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std
SSLTYPE=unix IP=4 EXTRASPECIALS='' BUILDTYPE=bso
SPECIALS="GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl
SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private
LOCKPGM=/usr/sbin/mlock"
Building c-client for bso...
echo `cat SPECIALS` > c-client/SPECIALS
cd c-client;make bso EXTRACFLAGS='-O2 -pipe ' EXTRALDFLAGS=''
EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std
SSLTYPE=unix IP=4 GSSDIR=/usr SSLDIR=/usr
SSLINCLUDE=/usr/include/openssl SSLCERTS=/etc/ssl/certs
SSLKEYS=/etc/ssl/private LOCKPGM=/usr/sbin/mlock
make build EXTRACFLAGS='-O2 -pipe ' EXTRALDFLAGS=''
EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std
SSLTYPE=unix IP=4 `cat SPECIALS` OS=bsi SIGTYPE=psx CRXTYPE=nfs
SPOOLDIR=/var ACTIVEFILE=/usr/local/news/lib/active
RSHPATH=/usr/bin/rsh BASECFLAGS=" -pipe"
sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c
osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -pipe '-O2 -pipe ' > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto
-DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\"
-DACTIVEFILE=\"/usr/local/news/lib/active\"
-DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\"
-DLOCKPGM=\"/usr/sbin/mlock\" > OSCFLAGS
echo > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o
utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o
rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o
mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE
echo bsi > OSTYPE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news
phile dummy
./mkauths md5 pla log
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
ln -s os_bsi.h osdep.h
ln -s os_bsi.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
ln -s ip4_unix.c ip_unix.c
sh -c '(test -f /usr/include/sys/statvfs.h -a bsi != sc5 -a bsi !=
sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c'
Standard password authentication
ln -s ckp_std.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/include/openssl -I/usr/include/openssl/openssl
-DSSL_CERT_DIRECTORY=\"/etc/ssl/certs\"
-DSSL_KEY_DIRECTORY=\"/etc/ssl/private\" >> OSCFLAGS
echo " ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/lib -lssl -lcrypto >> LDFLAGS
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make bsi SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
`cat CCTYPE` -c `cat CFLAGS` mail.c
`cat CCTYPE` -c `cat CFLAGS` misc.c
`cat CCTYPE` -c `cat CFLAGS` newsrc.c
`cat CCTYPE` -c `cat CFLAGS` smanager.c
`cat CCTYPE` -c `cat CFLAGS` utf8.c
`cat CCTYPE` -c `cat CFLAGS` siglocal.c
`cat CCTYPE` -c `cat CFLAGS` dummy.c
`cat CCTYPE` -c `cat CFLAGS` [EMAIL PROTECTED]
`cat CCTYPE` -c `cat CFLAGS` netmsg.c
`cat CCTYPE` -c `cat CFLAGS` flstring.c
`cat CCTYPE` -c `cat CFLAGS` fdstring.c
`cat CCTYPE` -c `cat CFLAGS` rfc822.c
`cat CCTYPE` -c `cat CFLAGS` nntp.c
`cat CCTYPE` -c `cat CFLAGS` smtp.c
`cat CCTYPE` -c `cat CFLAGS` imap4r1.c
`cat CCTYPE` -c `cat CFLAGS` pop3.c
`cat CCTYPE` -c `cat CFLAGS` unix.c
`cat CCTYPE` -c `cat CFLAGS` mbx.c
`cat CCTYPE` -c `cat CFLAGS` mmdf.c
`cat CCTYPE` -c `cat CFLAGS` tenex.c
`cat CCTYPE` -c `cat CFLAGS` mtx.c
`cat CCTYPE` -c `cat CFLAGS` news.c
uvm_fault(0xd0757440, 0xd2000000, 0, 3) -> e
kernel: page fault trap, code=0
Stopped at uvm_pagealloc_strar+0x155: movl %eax,0x4(%ecx)
ddb>
(The last 4 and following lines i write down from screan.)
ddb> trace
uvm_pagealloc_strat(0,0,0,ec764ae0,2,0,0,8) at uvm_pagealloc_strat+0x155
uvm_fault(da42a89c, 836c3000,0,3,0) at uvm_fault+0x946
trap() at trap+0x279
--- trap (number 6) ---
0xe8e3913:
ddb>
There is no output from ps, becaus i dont know, how to rederict the
output to txt file(or how to rederic output from serial console to txt
file).
Sorry for my bad english !