From owner-freebsd-stable Wed May 19 17: 2:44 1999 Delivered-To: freebsd-stable@freebsd.org Received: from beatrice.rutgers.edu (beatrice.rutgers.edu [165.230.209.226]) by hub.freebsd.org (Postfix) with ESMTP id 64A5F152ED; Wed, 19 May 1999 17:02:37 -0700 (PDT) (envelope-from easmith@beatrice.rutgers.edu) Received: (from easmith@localhost) by beatrice.rutgers.edu (980427.SGI.8.8.8/970903.SGI.AUTOCF) id UAA02124; Wed, 19 May 1999 20:03:40 -0400 (EDT) From: "Allen Smith" Message-Id: <9905192003.ZM2122@beatrice.rutgers.edu> Date: Wed, 19 May 1999 20:03:40 -0400 X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: yokota@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Errors compiling 3-STABLE kernel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I've copied all the video and keyboard stuff out of GENERIC, but I'm still getting the following errors on a kernel compile of a recently (this morning) cvsup'd & make world'd system: loading kernel syscons.o: In function `scvidprobe': syscons.o(.text+0x231): undefined reference to `vid_configure' syscons.o(.text+0x24e): undefined reference to `vid_allocate' syscons.o(.text+0x26b): undefined reference to `vid_get_adapter' syscons.o: In function `exchange_scr': syscons.o(.text+0x2efb): undefined reference to `vidsw' syscons.o: In function `scinit': syscons.o(.text+0x4593): undefined reference to `vid_get_adapter' syscons.o(.text+0x45a0): undefined reference to `vidsw' syscons.o(.text+0x45bc): undefined reference to `vidsw' syscons.o(.text+0x477d): undefined reference to `vidsw' syscons.o(.text+0x479c): undefined reference to `vidsw' syscons.o: In function `init_scp': syscons.o(.text+0x4a74): undefined reference to `vid_get_adapter' syscons.o(.text+0x4a80): undefined reference to `vidsw' syscons.o: In function `scmmap': syscons.o(.text+0x5623): undefined reference to `vidsw' syscons.o: In function `set_mode': syscons.o(.text+0x5805): undefined reference to `vidsw' syscons.o(.text+0x583f): undefined reference to `vidsw' syscons.o(.text+0x58ca): undefined reference to `vidsw' syscons.o(.text+0x5927): more undefined references to `vidsw' follow *** Error code 1 Stop. My kernel config file is as follows: # # FIREWALL # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. machine "i386" cpu "I586_CPU" ident FIREWALL # for squid, etcetera maxusers 32 ## Filesystems # options FFS #Berkeley Fast Filesystem options FFS_ROOT options "CD9660" #ISO 9660 Filesystem # avoid needing to load in - Allen options PROCFS #Process filesystem options MFS # for tmp - Allen options FDESC # use with symbolic links options KERNFS # Kernel filesystem - Allen options PROCFS #Process filesystem ## Standard options # options INET #InterNETworking options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options "SCSI_DELAY=15000" options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor ## Extra misc options # options "NO_F00F_HACK" # no need - not Pentium - Allen options "MD5" # may remove - Allen #options OPEN_MAX=1024 # for squid - Allen options INCLUDE_CONFIG_FILE # so that can make sure what kernel version is running - Allen options "MAXMEM=(64*1024)" # spot the last bit of memory - Allen options DIAGNOSTIC # as long as I'm hacking - Allen options INVARIANT_SUPPORT # enable INVARIANT for hacked files - Allen options KTRACE # ditto options "ICMP_BANDLIM" # prevent ICMP error message floods - Allen options NFS_NOSERVER # no NFS server - Allen options "P1003_1B" # POSIX realtime - Allen options "_KPOSIX_PRIORITY_SCHEDULING" # ditto options "_KPOSIX_VERSION=199309L" # ditto # remember to up data size limit in login.conf for squid, daemon login classes - namely # to 256 MB at least for squid and 1152 MB (128 MB + 1024 MB) for daemon (for MFS); # enable once have increased swap file size to 1280 MB (128 MB + 1152 MB) #options "MAXDSIZ=(1152*1024*1024)" ## Basic configuration # config kernel root on da0 ## Hardware # controller isa0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 # may transfer in one - Allen options "AUTO_EOI_1" # A single entry for any of these controllers (ncr, ahb, ahc, amd) is # sufficient for any number of installed devices. controller ahc0 # adaptec - Allen #options AHC_TAGENABLE # see if can use it without problems - Allen controller scbus0 at ahc0 # do we need a scbus1 for the exterior interface? - Allen device da0 disk da0 at scbus0 target 0 #disk da1 at scbus0 target 1 # will set to 1 unless have reason otherwise device sa0 device cd0 #Only need one of these, the code dynamically grows device pass0 # CAM passthrough controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 #device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts device sc0 at isa? tty # splash screen/screen saver #pseudo-device splash # Enable PnP support in the kernel. This allows you to automaticly # attach to PnP cards for drivers that support it and allows you to # configure cards from USERCONFIG. See pnp(4) for more info. #controller pnp0 # not currently needed - Allen # Mandatory, don't remove device npx0 at isa? port IO_NPX irq 13 ## Serial ports # device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr ## Parallel port # device ppc0 at isa? port? flags 0x40 net irq 7 controller ppbus0 device lpt0 at ppbus? # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 # Novell NE2000 pseudo-device loop pseudo-device ether ## Misc pseudo-devices # pseudo-device vn 1 # in case of needing a temporary swap file - Allen pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's It doesn't make any difference whether or not I comment out the splash screensaver. Incidentally, using GENERIC, users other than root have the screen not refreshing with scrolling - it overlays the rest of the screen. -Allen -- Allen Smith easmith@beatrice.rutgers.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message