Date: Sat, 1 Jul 2000 15:31:04 +0200 From: "B.O.F.H. at kessen.yi.org" <admin@kessen.yi.org> To: <freebsd-current@freebsd.org> Subject: current kernel build probs Message-ID: <082501bfe360$9b00cdf0$0b00a8c0@PICARD>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>on june 30th I ftped the current kernel = tree from=20 <A href=3D"ftp://ftp.uk.freebsd.org">ftp.uk.freebsd.org</A> to test it = on my=20 4.0-20000608-stable machine.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>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.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>**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</FONT></DIV> <DIV><FONT face=3DArial size=3D2>directory to my current tree and god = rid of that=20 problem.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>**After that I ran into the problem = that I got an=20 assembly error:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>cc -c -x<BR>assembler-with-cpp -DLOCORE = -O -Wall=20 -Wredundant-decls -Wnested-externs -Wst<BR>rict-prototypes =20 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =20 <BR>-fformat-extensions -ansi -nostdinc -I- -I. -I../..=20 -I/usr/include -D_KERN<BR>EL -include opt_global.h -elf =20 -mpreferred-stack-boundary=3D2<BR>../../i386/i386/bioscall.s<BR>/tmp/cca1= 3049.s:=20 Assembler messages:<BR>/tmp/cca13049.s:773: Error: operands given don't = match=20 any known 386<BR>instruction<BR>/tmp/cca13049.s:838: Error: operands = given don't=20 match any known 386<BR>instruction<BR>*** Error code 1<BR><BR>Stop in=20 /usr/src/sys/compile/GATEWAY.<BR><BR>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.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>root@kessen / > diff bioscall.old=20 bioscall.new<BR>26c26<BR>< * $FreeBSD: = src/sys/i386/i386/bioscall.s,v=20 1.6 1999/08/28 00:43:41 peter<BR>Exp $<BR>---<BR>> * $FreeBSD:=20 src/sys/i386/i386/bioscall.s,v 1.7 2000/05/22 17:02:53 obrien<BR>Exp=20 $<BR>68c68<BR>< lcall = _bioscall_vector<BR>---<BR>> =20 lcall =20 *_bioscall_vector<BR>133c133<BR>< = lcall = _bioscall_vector /*=20 16-bit call */<BR>---<BR>> =20 lcall *_bioscall_vector = /*=20 16-bit call */<BR><BR>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.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>**Now I have another small problem;) = which is that=20 the kernelcompile quits on an miibus problem:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>cc -O -pipe -D_KERNEL -Wall = -Wredundant-decls=20 -Wnested-externs -Wstrict-pro<BR>totypes -Wmissing-prototypes=20 -Wpointer-arith -Winline -Wcast-qual -fformat<BR>-extensions -ansi = -DKLD_MODULE -nostdinc -I- -I. -I@ -I/usr/include =20 -mpref<BR>erred-stack-boundary=3D2=20 -c<BR>/usr/src/sys/modules/mii/../../dev/mii/ukphy_subr.c<BR>cc -O = -pipe =20 -D_KERNEL -Wall -Wredundant-decls -Wnested-externs = -Wstrict-pro<BR>totypes =20 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =20 -fformat<BR>-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@=20 -I/usr/include -mpref<BR>erred-stack-boundary=3D2 -c=20 miibus_if.c<BR>miibus_if.c: In function = `MIIBUS_READREG':<BR>miibus_if.c:27:=20 warning: implicit declaration of function `DEVOPMETH'<BR>miibus_if.c:27: = `miibus_readreg' undeclared (first use in this = function)<BR>miibus_if.c:27:=20 (Each undeclared identifier is reported only once<BR>miibus_if.c:27: for = each=20 function it appears in.)<BR>miibus_if.c: In function=20 `MIIBUS_WRITEREG':<BR>miibus_if.c:38: `miibus_writereg' undeclared = (first use in=20 this function)<BR>miibus_if.c: In function = `MIIBUS_STATCHG':<BR>miibus_if.c:49:=20 `miibus_statchg' undeclared (first use in this function)<BR>miibus_if.c: = In=20 function `MIIBUS_MEDIAINIT':<BR>miibus_if.c:60: `miibus_mediainit' = undeclared=20 (first use in this function)<BR>*** Error code 1<BR><BR>Stop in=20 /usr/src/sys/modules/mii.<BR>*** Error code 1<BR><BR>Stop in=20 /usr/src/sys/modules.<BR>*** Error code 1<BR><BR>Stop in=20 /usr/src/sys/compile/GATEWAY.<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>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)</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>My kernel config files look like = this:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>/usr/src/sys/i386/conf/GATEWAY = :</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial=20 size=3D2>machine i386<BR>ident GATEWAY<BR>maxusers&= nbsp;10<BR>hints "GATEWAY.hints"<BR>options=20 MAXDSIZ=3D"(32*1024*1024)"<BR>options=20 DFLDSIZ=3D"(32*1024*1024)"<BR>cpu I586_CPU # = aka=20 Pentium(tm)<BR>cpu I686_CPU # aka Pentium=20 Pro(tm)<BR>options NO_F00F_HACK<BR>options = COMPAT_43<BR>options=20 SYSVSHM<BR>options SYSVSEM<BR>options = SYSVMSG<BR>options=20 USERCONFIG #boot -c editor<BR>options=20 VISUAL_USERCONFIG #visual boot -c editor<BR>options=20 INET #Internet communications=20 protocols<BR>device ether #Generic=20 Ethernet<BR>device loop 1 #Network loopback=20 device<BR>device bpf 4 #Berkeley packet=20 filter<BR>options TCP_COMPAT_42 #emulate 4.2BSD TCP=20 bugs<BR>options IPFIREWALL #firewall<BR>options=20 IPFIREWALL_VERBOSE #print information about dropped=20 packets<BR>options IPFIREWALL_FORWARD #enable transparent = proxy=20 support<BR>options IPFIREWALL_VERBOSE_LIMIT=3D100 #limit=20 verbosity<BR>options IPFIREWALL_DEFAULT_TO_ACCEPT #allow = everything=20 by default<BR>options IPDIVERT #divert = sockets<BR>options=20 IPFILTER #ipfilter support<BR>options=20 IPFILTER_LOG #ipfilter logging<BR>options=20 IPSTEALTH #support for stealth forwarding<BR>options=20 TCP_DROP_SYNFIN #drop TCP packets with = SYN+FIN<BR>options=20 TCP_RESTRICT_RST #restrict emission of TCP RST<BR>options=20 FFS #Fast=20 filesystem<BR>#options FFS_EXTATTR #Extended = attribute=20 support<BR>options NFS_NOSERVER #Disable the NFS-server = code.<BR>options CD9660 #ISO 9660 = filesystem<BR>options=20 PROCFS #Process filesystem<BR>options=20 FFS_ROOT #FFS usable as root device<BR>options=20 SOFTUPDATES<BR>options QUOTA #enable disk=20 quotas<BR>options =20 RANDOMDEV<BR>options P1003_1B<BR>options=20 _KPOSIX_PRIORITY_SCHEDULING<BR>options=20 _KPOSIX_VERSION=3D199309L<BR>options HZ=3D100<BR>options=20 CLK_CALIBRATION_LOOP<BR>options = CLK_USE_I8254_CALIBRATION<BR>options=20 CLK_USE_TSC_CALIBRATION<BR>device scbus  = ;#base=20 SCSI code<BR>device ch #SCSI media=20 changers<BR>device da #SCSI direct access = devices=20 (aka disks)<BR>device sa #SCSI=20 tapes<BR>device cd #SCSI=20 CD-ROMs<BR>device pass #CAM passthrough=20 driver<BR>device pt #SCSI processor=20 type<BR>device ses #SCSI SES/SAF-TE=20 driver<BR>device targ #SCSI target = driver<BR>options=20 SCSI_NO_SENSE_STRINGS<BR>options = SCSI_NO_OP_STRINGS<BR>options=20 SCSI_DELAY=3D3000 # Be pessimistic about Joe SCSI=20 device<BR>device pty #Pseudo=20 ttys<BR>device speaker #Play IBM BASIC-style = noises out=20 your speaker<BR>device gzip #Exec gzipped=20 a.out's<BR>device vn #Vnode driver (turns a file = into a=20 device)<BR>device snp #Snoop device - to look at=20 pty/vty/etc..<BR>device isa<BR>options = AUTO_EOI_1<BR>options=20 AUTO_EOI_2<BR>options=20 MAXMEM=3D"(96*1024)"<BR>device atkbdc 1<BR>device&n= bsp; atkbd<BR>device vga<BR>device splash<BR>d= evice sc 1<BR>options=20 MAXCONS=3D16 # number of virtual consoles<BR>options=20 SC_DISABLE_DDBKEY # disable `debug' key<BR>options=20 SC_DISABLE_REBOOT # disable reboot key sequence<BR>options=20 SC_HISTORY_SIZE=3D200 # number of history buffer=20 lines<BR>device npx<BR>device fdc<BR>device &n= bsp;pca<BR>device eisa<BR>device pci<BR>options=20 PCI_QUIET #quiets PCI code on chipset=20 settings<BR>device ncr # NCR/Symbios=20 Logic<BR>device sym # NCR/Symbios Logic (newer=20 chipsets)<BR>options SYM_SETUP_LP_PROBE_MAP #-Low Priority = Probe Map=20 (bits)<BR> # Allows the ncr to take=20 precedence<BR> # 1 (1<<0) -> 810a, = 860<BR> # 2 (1<<1) -> 825a, 875, = 885,=20 895<BR> # 4 (1<<2) -> 895a, 896, = 1510d=20 <BR>options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875,=20 885<BR> # disabled:0 (default),=20 enabled:1<BR>options SYM_SETUP_PCI_PARITY #-PCI parity=20 checking<BR> # disabled:0, enabled:1=20 (default)<BR>options SYM_SETUP_MAX_LUN #-Number of LUNs=20 supported<BR> # default:8,=20 range:[1..64]<BR>device miibus<BR>device xl &n= bsp;#=20 3Com 3c90x (``Boomerang'', ``Cyclone'')<BR>options=20 PANIC_REBOOT_WAIT_TIME=3D16<BR>options=20 SCSI_NCR_MAX_SYNC=3D10000<BR>options = SCSI_NCR_MAX_WIDE=3D1<BR>options=20 SCSI_NCR_MYADDR=3D7<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2> </DIV></FONT> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>/usr/src/sys/i386/conf/GATEWAY.hints=20 :</FONT></DIV></DIV></FONT> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial=20 size=3D2>hint.fdc.0.at=3D"isa"<BR>hint.fdc.0.port=3D"0x3F0"<BR>hint.fdc.0= .irq=3D"6"<BR>hint.fdc.0.drq=3D"2"<BR>hint.fd.0.at=3D"fdc0"<BR>hint.fd.0.= drive=3D"0"<BR>hint.atkbdc.0.at=3D"isa"<BR>hint.atkbdc.0.port=3D"0x060"<B= R>hint.atkbd.0.at=3D"atkbdc"<BR>hint.atkbd.0.irq=3D"1"<BR>hint.vga.0.at=3D= "isa"<BR>hint.sc.0.at=3D"isa"<BR>hint.npx.0.at=3D"nexus"<BR>hint.npx.0.po= rt=3D"0x0F0"<BR>hint.npx.0.irq=3D"13"<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> </DIV></FONT></BODY></HTML> ------=_NextPart_000_0822_01BFE371.5E6CA010-- 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?082501bfe360$9b00cdf0$0b00a8c0>