Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 07:56:07 -0600 (CST)
From:      "Eric.J.Haug" <ejh@eas.slu.edu>
To:        current@FreeBSD.org
Subject:   Re: Volunteer with genuine i386 cpu & lots of time wanted.
Message-ID:  <200303051356.h25Du7YV019410@crawdad.eas.slu.edu>

next in thread | raw e-mail | index | archive | help
Summary: sort of works
		 someone may be able to answer the long compile questions with a box
		 with more than 8 megs of memory.
		 you probably do not want to use a PIO mode IDE disk controller.

Hardware
386DX with 387  8 megs system board memory
			  2.5 megs AT bus expansion memory
			  AHA1542B SCSI controller
			  SMC ethernet
			  CGA/VGA combo video card
the AT bus memory is not found by FreeBSD 5.0 (why?)

dmesg follows
Note: the floppy cable was not hooked up,
ifloppy disable by jumper on the aha card 
the serial and parallel cards were not inserted

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT-20030228-JPSNAP #0: Tue Mar  4 08:37:54 CST 2003
	ejh@triode.eas.slu.edu:/usr/src/sys/i386/compile/I386N
Preloaded elf kernel "/boot/kernel/kernel" at 0xc038b000.
Timecounter "i8254"  frequency 1193182 Hz
CPU: i386DX (386-class CPU)
real memory  = 8388608 (8 MB)
avail memory = 4571136 (4 MB)
npx0: <math processor> on motherboard
npx0: using IRQ 13 interface
isa0: <ISA bus> on motherboard
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xc0000-0xc7fff on isa0
aha0 at port 0x330-0x333 irq 12 drq 5 on isa0
aha0: AHA-1540/1542 64 head BIOS FW Rev. 0.5 (ID=41) SCSI Host Adapter, SCSI ID 7, 16 CCBs
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
ed0 at port 0x280-0x29f iomem 0xd0000-0xd3fff irq 10 on isa0
ed0: address 00:00:c0:d6:82:73, type SMC8216T (16 bit) 
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
Waiting 15 seconds for SCSI devices to settle
sa0 at aha0 bus 0 target 4 lun 0
sa0: <EXABYTE EXB-8200 2618> Removable Sequential Access SCSI-CCS device 
sa0: 3.300MB/s transfers
da0 at aha0 bus 0 target 0 lun 0
da0: <SEAGATE ST42100 7544> Fixed Direct Access SCSI-2 device 
da0: 3.300MB/s transfers
da0: 1812MB (3711990 512 byte sectors: 64H 32S/T 1812C)
Mounting root from ufs:/dev/da0s1a

>  
>  1.  Does -current even boot on that vintage of hardware any more ?

GENERIC Freebsd 5.0-CURRENT-20030228-JPSNAP compiled for I386 uses up
7 Megs, kernel runs out of memory building internal tables.

Stripped down I386N does boot (kernel uses 4M ) and comes up multiuser.
more memory or some way to further shrink kernel usage is needed.
rlogin from network works.
time gcc c.c takes
      908.02 real         6.12 user        81.61 sys
without WITNESS and INVARIANTS defined
time gcc c.c takes
       68.08 real         6.00 user         8.14 sys
where c.c is
#include <stdio.h>
main()
{
	int oi;

	oi = 10;
	printf("%d %f\n", oi, (float)oi);
	exit(0);
}
time a.out produces
10 10.000000
in
       53.56 real         0.07 user         2.58 sys
without WITNESS and INVARIANTS defined
        0.89 real         0.09 user         0.25 sys
top looks like
last pid:   645;  load averages:  0.53,  0.40,  0.24    up 0+01:48:30  14:51:40
12 processes:  1 running, 11 sleeping
CPU states:  3.3% user,  0.0% nice,  9.1% system, 14.9% interrupt, 72.7% idle
Mem: 904K Active, 52K Inact, 3412K Wired, 8K Cache, 704K Buf, 300K Free
Swap: 128M Total, 2424K Used, 126M Free, 1% Inuse, 64K In

  PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  645 ejh       97    0  2112K   848K RUN      0:02 13.57%  6.84% top
  338 root      96    0  1536K   104K select   0:13  0.00%  0.00% ntpd
  214 root      96    0  1176K   132K select   0:05  0.00%  0.00% syslogd
  405 root       8    0  1240K     8K nanslp   0:05  0.00%  0.00% <cron>
  622 root       8    0  1588K     8K wait     0:04  0.00%  0.00% <login>
  623 ejh        8    0   912K     8K wait     0:03  0.00%  0.00% <sh>
  232 root      96    0  1428K     8K select   0:03  0.00%  0.00% <rpcbind>
  621 root      96    0  1224K    48K select   0:03  0.00%  0.00% rlogind
  393 root      96    0  1328K     8K select   0:01  0.00%  0.00% <inetd>
  415 root       5    0  1188K     8K ttyin    0:01  0.00%  0.00% <getty>
  433 root       5    0  1188K     8K ttyin    0:01  0.00%  0.00% <getty>
  416 root       5    0  1188K     8K ttyin    0:01  0.00%  0.00% <getty>

kernel config file
note INET6, eisa, pci, ata, bpf, all disk controllers except one scsi
all ethernet save ed were removed


>  
>  2.  Does it survive a kernel (GENERIC) build ?
not sure, working on it slowly
time config I386N
Kernel build directory is ../compile/I386N
Don't forget to do a ``make depend''
26.660u 8.020s 1:05.34 53.0%    48+585k 31+392io 46pf+0w
Tue Mar  4 16:29:43 CST 2003

>  2a. Does the clock track wall-clock time correctly while doing so ?
>  
>  3.  Does it survive a buildworld ?

>  3a. Does the clock track wall-clock time correctly while doing so ?
>  

>  4.  Can ntpd run against some random (but decent) NTP server steer
>      the clock ?
>  	1) If the machine is idle
Yes
from ntpq
status=0674 leap_none, sync_ntp, 7 events, event_peer/strat_chg
version="ntpd 4.1.1b-a Thu Feb 27 21:29:20 GMT 2003 (1)",
processor="i386", system="FreeBSD5.0-CURRENT-20030228-JPSNAP", leap=00,
stratum=2, precision=-20, rootdelay=4.18, rootdispersion=60.45,
peer=41196, refid=tock.eas.slu.edu,
reftime=c20f8e7c.ee9ad37c  Tue, Mar  4 2003 14:43:40.932, poll=8,
clock=c20f8e9e.53a63544  Tue, Mar  4 2003 14:44:14.326, state=4,
offset=-47.302, frequency=-162.979, jitter=72.048, stability=0.264


>  	2) During buildworld.
>      Please notice if
>  	a) ntpd resorts to clock steps
>  	b) ntpd exits
>  	c) ntpd core dumps
>  
>  Thanks in advance!

diode# date
Tue Mar  4 15:02:37 CST 2003
time make
Warning: Object directory not changed from original /usr/src/sys/modules/pps
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/dev/ppbus/ppbus_if.m -h
touch opt_pps.h
cc -O -pipe -mcpu=pentiumpro  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include -I/usr/include -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -c /usr/src/sys/modules/pps/../../dev/ppbus/pps.c
ld  -d -warn-common -r -d -o pps.kld pps.o
touch /usr/src/sys/modules/pps/export_syms
awk -f /usr/src/sys/modules/pps/../../conf/kmod_syms.awk pps.kld  /usr/src/sys/modules/pps/export_syms |  xargs -J% objcopy % pps.kld
ld -Bshareable  -d -warn-common -o pps.ko pps.kld
74.254u 188.698s 36:45.07 11.9% 3256+1790k 447+35io 42859pf+16w
diode# date
Tue Mar  4 15:39:31 CST 2003

from syslog /var/log/messages
Mar  4 13:09:47 diode ntpd[338]: time set -0.017269 s
Mar  4 15:02:12 diode su: ejh to root on /dev/ttyp0
Mar  4 15:35:20 diode ntpd[338]: time reset -0.303634 s
There was a time step during that compile

I find it hung every morning, i will shut off the crontab
stuff today and try to answer other questions

eric

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303051356.h25Du7YV019410>