From owner-freebsd-current Sat Jul 1 6:32: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from kessen.yi.org (node188f5.a2000.nl [24.132.136.245]) by hub.freebsd.org (Postfix) with SMTP id E6F4337B7C5 for ; Sat, 1 Jul 2000 06:31:37 -0700 (PDT) (envelope-from admin@kessen.yi.org) Received: (qmail 57357 invoked by uid 7770); 1 Jul 2000 13:31:17 -0000 Received: from picard.kessen.home (HELO PICARD) (192.168.0.11) by gateway.kessen.home with SMTP; 1 Jul 2000 13:31:17 -0000 Message-ID: <082501bfe360$9b00cdf0$0b00a8c0@PICARD> Reply-To: "B.O.F.H. at kessen.yi.org" From: "B.O.F.H. at kessen.yi.org" To: Subject: current kernel build probs Date: Sat, 1 Jul 2000 15:31:04 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0822_01BFE371.5E6CA010" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0822_01BFE371.5E6CA010 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =20 -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include = -D_KERN EL -include opt_global.h -elf -mpreferred-stack-boundary=3D2 ../../i386/i386/bioscall.s /tmp/cca13049.s: Assembler messages: /tmp/cca13049.s:773: Error: operands given don't match any known 386 instruction /tmp/cca13049.s:838: Error: operands given don't match any known 386 instruction *** 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 26c26 < * $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 $ 68c68 < lcall _bioscall_vector --- > lcall *_bioscall_vector 133c133 < 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=3D2 -c /usr/src/sys/modules/mii/../../dev/mii/ukphy_subr.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=3D2 -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=3D"(32*1024*1024)" options DFLDSIZ=3D"(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=3D100 #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 SOFTUPDATES options QUOTA #enable disk quotas options RANDOMDEV options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=3D199309L options HZ=3D100 options CLK_CALIBRATION_LOOP options CLK_USE_I8254_CALIBRATION options CLK_USE_TSC_CALIBRATION 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_NO_SENSE_STRINGS options SCSI_NO_OP_STRINGS options SCSI_DELAY=3D3000 # 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=3D"(96*1024)" device atkbdc 1 device atkbd device vga device splash device sc 1 options MAXCONS=3D16 # number of virtual consoles options SC_DISABLE_DDBKEY # disable `debug' key options SC_DISABLE_REBOOT # disable reboot key sequence options SC_HISTORY_SIZE=3D200 # 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=20 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 PANIC_REBOOT_WAIT_TIME=3D16 options SCSI_NCR_MAX_SYNC=3D10000 options SCSI_NCR_MAX_WIDE=3D1 options SCSI_NCR_MYADDR=3D7 /usr/src/sys/i386/conf/GATEWAY.hints : hint.fdc.0.at=3D"isa" hint.fdc.0.port=3D"0x3F0" hint.fdc.0.irq=3D"6" hint.fdc.0.drq=3D"2" hint.fd.0.at=3D"fdc0" hint.fd.0.drive=3D"0" hint.atkbdc.0.at=3D"isa" hint.atkbdc.0.port=3D"0x060" hint.atkbd.0.at=3D"atkbdc" hint.atkbd.0.irq=3D"1" hint.vga.0.at=3D"isa" hint.sc.0.at=3D"isa" hint.npx.0.at=3D"nexus" hint.npx.0.port=3D"0x0F0" hint.npx.0.irq=3D"13" ------=_NextPart_000_0822_01BFE371.5E6CA010 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
on june 30th I ftped the current kernel = tree from=20 ftp.uk.freebsd.org to test it = on my=20 4.0-20000608-stable machine.
 
After I setup a config file with the = .hints file I=20 did make depend (duh) and found out that config needed to be updated = (RTFM) I=20 got usr.sbin from the current tree and did just that. After that make = depend=20 rocked and I started make to build the kernel.
 
**First I got the error that = crypto/blowfish didn't=20 exhist. I looked in my 2000608 tree and found it. I copied the=20 ./sys/crypto
directory to my current tree and god = rid of that=20 problem.
 
**After that I ran into the problem = that I got an=20 assembly error:
 
cc -c -x
assembler-with-cpp -DLOCORE = -O -Wall=20 -Wredundant-decls -Wnested-externs -Wst
rict-prototypes =20 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =20
-fformat-extensions -ansi  -nostdinc -I- -I. -I../..=20 -I/usr/include  -D_KERN
EL -include opt_global.h -elf =20 -mpreferred-stack-boundary=3D2
../../i386/i386/bioscall.s
/tmp/cca1= 3049.s:=20 Assembler messages:
/tmp/cca13049.s:773: Error: operands given don't = match=20 any known 386
instruction
/tmp/cca13049.s:838: Error: operands = given don't=20 match any known 386
instruction
*** Error code 1

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

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

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

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

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

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