Hi all,
on june 30th I ftped the current kernel tree from ftp.uk.freebsd.org to test it on my 4.0-20000608-stable machine.
After I setup a config file with the .hints file I did make depend (duh) and found out that config needed to be updated (RTFM) I got usr.sbin from the current tree and did just that. After that make depend rocked and I started make to build the kernel.
**First I got the error that crypto/blowfish didn't exhist. I looked in my 2000608 tree and found it. I copied the ./sys/crypto
directory to my current tree and god rid of that problem.
**After that I ran into the problem that I got an assembly error:
cc -c -x
assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs -Wst
rict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include  -D_KERN
EL -include opt_global.h -elf  -mpreferred-stack-boundary=2
/tmp/cca13049.s: Assembler messages:
/tmp/cca13049.s:773: Error: operands given don't match any known 386
/tmp/cca13049.s:838: Error: operands given don't match any known 386
*** Error code 1

Stop in /usr/src/sys/compile/GATEWAY.

I did a diff between this bioscall.s from current and 2000608-stable and found there to be small differences but I don't see a problem.
root@kessen / > diff bioscall.old bioscall.new
<  * $FreeBSD: src/sys/i386/i386/bioscall.s,v 1.6 1999/08/28 00:43:41 peter
Exp $
>  * $FreeBSD: src/sys/i386/i386/bioscall.s,v 1.7 2000/05/22 17:02:53 obrien
Exp $
<       lcall   _bioscall_vector
>       lcall   *_bioscall_vector
<       lcall   _bioscall_vector        /* 16-bit call */
>       lcall   *_bioscall_vector       /* 16-bit call */

hmm. I don't see a problem, maybe I used diff wrongly but copying the bioscall.s from 2000608-stable over the current one  solves the problem anyway.
**Now I have another small problem;) which is that the kernelcompile quits on an miibus problem:
cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-pro
totypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat
-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I/usr/include  -mpref
erred-stack-boundary=2 -c
cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-pro
totypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat
-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I/usr/include  -mpref
erred-stack-boundary=2 -c miibus_if.c
miibus_if.c: In function `MIIBUS_READREG':
miibus_if.c:27: warning: implicit declaration of function `DEVOPMETH'
miibus_if.c:27: `miibus_readreg' undeclared (first use in this function)
miibus_if.c:27: (Each undeclared identifier is reported only once
miibus_if.c:27: for each function it appears in.)
miibus_if.c: In function `MIIBUS_WRITEREG':
miibus_if.c:38: `miibus_writereg' undeclared (first use in this function)
miibus_if.c: In function `MIIBUS_STATCHG':
miibus_if.c:49: `miibus_statchg' undeclared (first use in this function)
miibus_if.c: In function `MIIBUS_MEDIAINIT':
miibus_if.c:60: `miibus_mediainit' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/sys/modules/mii.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/compile/GATEWAY.
Does anyone here experience this problem too? I tried using the 2000608-stable mii sources in the current tree but this doesn't make me a happy camper either;)(aka doesn't work)
My kernel config files look like this:
/usr/src/sys/i386/conf/GATEWAY :
machine  i386
ident  GATEWAY
maxusers 10
hints  "GATEWAY.hints"
options  MAXDSIZ="(32*1024*1024)"
options  DFLDSIZ="(32*1024*1024)"
cpu  I586_CPU  # aka Pentium(tm)
cpu  I686_CPU  # aka Pentium Pro(tm)
options  NO_F00F_HACK
options  COMPAT_43
options  SYSVSHM
options  SYSVSEM
options  SYSVMSG
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG #visual boot -c editor
options  INET   #Internet communications protocols
device  ether   #Generic Ethernet
device  loop 1  #Network loopback device
device  bpf 4  #Berkeley packet filter
options  TCP_COMPAT_42  #emulate 4.2BSD TCP bugs
options  IPFIREWALL  #firewall
options  IPFIREWALL_VERBOSE #print information about dropped packets
options  IPFIREWALL_FORWARD #enable transparent proxy support
options  IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options  IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options  IPDIVERT  #divert sockets
options  IPFILTER  #ipfilter support
options  IPFILTER_LOG  #ipfilter logging
options  IPSTEALTH  #support for stealth forwarding
options  TCP_DROP_SYNFIN  #drop TCP packets with SYN+FIN
options  TCP_RESTRICT_RST #restrict emission of TCP RST
options  FFS   #Fast filesystem
#options  FFS_EXTATTR  #Extended attribute support
options  NFS_NOSERVER  #Disable the NFS-server code.
options  CD9660   #ISO 9660 filesystem
options  PROCFS   #Process filesystem
options  FFS_ROOT  #FFS usable as root device
options  QUOTA   #enable disk quotas
options         RANDOMDEV
options  P1003_1B
options  _KPOSIX_VERSION=199309L
options  HZ=100
device  scbus   #base SCSI code
device  ch   #SCSI media changers
device  da   #SCSI direct access devices (aka disks)
device  sa   #SCSI tapes
device  cd   #SCSI CD-ROMs
device  pass   #CAM passthrough driver
device  pt   #SCSI processor type
device  ses   #SCSI SES/SAF-TE driver
device  targ   #SCSI target driver
options  SCSI_DELAY=3000 # Be pessimistic about Joe SCSI device
device  pty  #Pseudo ttys
device  speaker  #Play IBM BASIC-style noises out your speaker
device  gzip  #Exec gzipped a.out's
device  vn  #Vnode driver (turns a file into a device)
device  snp  #Snoop device - to look at pty/vty/etc..
device  isa
options  AUTO_EOI_1
options  AUTO_EOI_2
options  MAXMEM="(96*1024)"
device  atkbdc 1
device  atkbd
device  vga
device  splash
device  sc 1
options  MAXCONS=16  # number of virtual consoles
options  SC_DISABLE_DDBKEY # disable `debug' key
options  SC_DISABLE_REBOOT # disable reboot key sequence
options  SC_HISTORY_SIZE=200 # number of history buffer lines
device  npx
device  fdc
device  pca
device  eisa
device  pci
options  PCI_QUIET #quiets PCI code on chipset settings
device  ncr  # NCR/Symbios Logic
device  sym  # NCR/Symbios Logic (newer chipsets)
options  SYM_SETUP_LP_PROBE_MAP #-Low Priority Probe Map (bits)
     # Allows the ncr to take precedence
     # 1 (1<<0) -> 810a, 860
     # 2 (1<<1) -> 825a, 875, 885, 895
     # 4 (1<<2) -> 895a, 896, 1510d
options  SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885
     # disabled:0 (default), enabled:1
options  SYM_SETUP_PCI_PARITY #-PCI parity checking
     # disabled:0, enabled:1 (default)
options  SYM_SETUP_MAX_LUN #-Number of LUNs supported
     # default:8, range:[1..64]
device  miibus
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')
options  SCSI_NCR_MAX_SYNC=10000
options  SCSI_NCR_MAX_WIDE=1
options  SCSI_NCR_MYADDR=7
/usr/src/sys/i386/conf/GATEWAY.hints :

Reply via email to