From owner-freebsd-questions Mon Apr 8 20:59:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA02796 for questions-outgoing; Mon, 8 Apr 1996 20:59:28 -0700 (PDT) Received: from netcomsv.netcom.com (uucp11.netcom.com [163.179.3.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA02791 for ; Mon, 8 Apr 1996 20:59:26 -0700 (PDT) Received: from ase.ase.com by netcomsv.netcom.com with UUCP (8.6.12/SMI-4.1) id UAA03353; Mon, 8 Apr 1996 20:51:56 -0700 Received: from garyp.ase.com (Ugaryp@localhost) by ase.ase.com (8.6.12/8.6.12) with UUCP id SAA00744 for questions@FreeBSD.ORG; Mon, 8 Apr 1996 18:05:45 -0400 Received: (from gary@localhost) by garyp.ase.com (8.6.9/8.6.9) id XAA22062 for questions@FreeBSD.ORG; Mon, 8 Apr 1996 23:00:55 GMT Date: Mon, 8 Apr 1996 23:00:55 GMT From: Gary DeMarco Message-Id: <199604082300.XAA22062@garyp.ase.com> To: questions@FreeBSD.ORG Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Gary DeMarco in Alexandria, Virginia. Tried following your suggestion for recompiling my own (customized) kernel for BSD. However, you state that if I have problems which are not covered in your manuals (and, of course, they never are) to write you. I got to the third part of your instructions: 1) /usr/sbin/config GARYP (which is the name of MYKERNEL); 2) cd ../../compile/GARYP 3) make 4) make install I never have gotten past step 3. I always run into something called ***Stop. Error code 1. Usually, I just type make again, and it picks up where it left off (Probably because of the *.o files which exist). It then continues, but ultimately bombs again. This time, what I have included here, has stalled it dead in its tracks. (Could you tell me what error code 1 means, and where I am to look to find out where the error codes are kept?) Anyway, you said to give you a copy of my kernel, as I edited it, and the error message I received. I hope this helps. Now, the big question is: can you help me? ****************MY EDITED KERNEL FILE BELOW****************************** # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # GENERIC,v 1.20 1994/11/18 19:10:25 jkh Exp # machine "i386" #cpu "I386_CPU" cpu "I486_CPU" #cpu "I586_CPU" ident GARYP maxusers 5 #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem #options NFS #Network Filesystem #options MSDOSFS #MSDOS Filesystem #options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options UCONSOLE #X Console support options "FAT_CURSOR" #block cursor in syscons or pccons options "SCSI_DELAY=5" #Be pessimistic about Joe SCSI device options "NCONS=4" #4 virtual consoles #options BOUNCE_BUFFERS #include support for DMA bounce buffers config kernel root on wd0 swap on wd0 and wd1 dumps on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 #tape ft0 at fdc0 drive 2 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 controller ncr0 #controller bt0 at isa? port "IO_BT0" bio irq ? vector btintr #controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr #controller ahc0 at isa? bio irq ? vector ahcintr #controller ahb0 at isa? bio irq ? vector ahbintr controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr #controller aic0 at isa? port 0x340 bio irq 11 vector aicintr #controller pas0 at isa? port 0x1f88 bio #controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr controller scbus0 device sd0 #device sd1 #device sd2 #device sd3 #device st0 #device st1 device cd0 #Only need one of these, the code dynamically grows #device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr #device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr #device mcd1 at isa? port 0x340 bio irq 11 vector mcdintr device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr #device lpt1 at isa? port? tty #device lpt2 at isa? port? tty #device de0 #device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr #device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr #device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr #device ep0 at isa? port 0x300 net irq 10 vector epintr #device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr #device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr #device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr pseudo-device loop #pseudo-device ether pseudo-device log pseudo-device sl 2 pseudo-device pty 16 pseudo-device speaker #pseudo-device gzip # Exec gzipped a.out's *******************END OF MY KERNEL**************************************** Following message received while trying to compile the new kernel: cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -I. -I../.. -I../../sys -DGARYP -DI486_CPU -DNCONS=4 -DSCSI_DELAY=5 -DFAT_CURSOR -DUCONSOLE -DCOMPAT_43 -DPROCFS -DFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../miscfs/fifofs/fifo_vnops.c ../../miscfs/fifofs/fifo_vnops.c: In function `fifo_advlock': ../../miscfs/fifofs/fifo_vnops.c:506: argument `ap' doesn't match prototype ../../miscfs/fifofs/fifo.h:76: prototype declaration *** Error code 1 Stop. ****************MAKE STOPPED AT THIS POINT********************************* Thanks in advance for your help. gary@garyp.ase.com.