From owner-freebsd-questions Tue Apr 9 14:46:43 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA17653 for questions-outgoing; Tue, 9 Apr 1996 14:46:43 -0700 (PDT) Received: from netcomsv.netcom.com (uucp13.netcom.com [163.179.3.13]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA17636 for ; Tue, 9 Apr 1996 14:46:39 -0700 (PDT) Received: from ase.ase.com by netcomsv.netcom.com with UUCP (8.6.12/SMI-4.1) id NAA05383; Tue, 9 Apr 1996 13:52:33 -0700 Received: from garyp.ase.com (Ugaryp@localhost) by ase.ase.com (8.6.12/8.6.12) with UUCP id LAA08016 for questions@FreeBSD.ORG; Tue, 9 Apr 1996 11:06:01 -0400 Received: (from gary@localhost) by garyp.ase.com (8.6.9/8.6.9) id OAA01041 for questions@FreeBSD.ORG; Tue, 9 Apr 1996 14:43:47 GMT Date: Tue, 9 Apr 1996 14:43:47 GMT From: Gary DeMarco Message-Id: <199604091443.OAA01041@garyp.ase.com> To: questions@FreeBSD.ORG Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I wish to thank Annelise, Chris, Kevin and Irvine for their help. Annelise gave me some good stuff to think on, and consequently, I made the changes to the new kernel as advised (at least, I hope I did). Chris, Kevin and Irvine all suggested the same thing: step 3 should be the make depend. So, I went back and tried it again, with the make depend inserted before the make, and with some new changes Annelise suggested. Well, everything proceeded exactly as I expected: it bombed again. Same place. Same error. No difference. It's all recorded below, folks. I'm open for more suggestions. Info I forgot to include before: I'm using a 486DX, 33mhz. Two hard drives: one IDE, the main drive for BSD; and one SCSI drive. One SCSI CD Rom. The original kernel upon boot up picks these items up just fine. Thank you in advance. ****************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 10 #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 DeMarco gary@garyp.ase.com