From owner-freebsd-bugs Sat Jun 10 9:50: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4BBAA37BCAF for ; Sat, 10 Jun 2000 09:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA16097; Sat, 10 Jun 2000 09:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from navy.csi.cam.ac.uk (navy.csi.cam.ac.uk [131.111.8.49]) by hub.freebsd.org (Postfix) with ESMTP id 9566A37BBF9 for ; Sat, 10 Jun 2000 09:44:00 -0700 (PDT) (envelope-from jpk28@cam.ac.uk) Received: from cookie.csi.cam.ac.uk ([131.111.11.77]) by navy.csi.cam.ac.uk with esmtp (Exim 3.13 #1) id 130oMZ-0000j8-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 10 Jun 2000 17:43:59 +0100 Received: from jpk28 by cookie.csi.cam.ac.uk with local (Exim 3.13 #1) id 130oMY-000Elz-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 10 Jun 2000 17:43:58 +0100 Message-Id: Date: Sat, 10 Jun 2000 17:43:58 +0100 From: jpk28@cam.ac.uk Reply-To: jpk28@cam.ac.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/19177: problem in bioscall.s Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19177 >Category: kern >Synopsis: /usr/src/sys/i386/i386/bioscall.s: operands given don't match any known 386 instruction >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 10 09:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: J.P. King >Release: FreeBSD 4.0-RELEASE i386 >Organization: Cambridge Uni >Environment: Latest cvsup version of the source tree for 4.0 >Description: bash-2.03# make cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/bioscall.s /tmp/ccQ56719.s: Assembler messages: /tmp/ccQ56719.s:772: Error: operands given don't match any known 386 instruction /tmp/ccQ56719.s:837: Error: operands given don't match any known 386 instruction *** Error code 1 Stop in /usr/src/sys/compile/4.0GENPLUS2. The relevant lines are: bash-2.03# grep lcall ../../i386/i386/bioscall.s lcall *_bioscall_vector lcall *_bioscall_vector /* 16-bit call */ >How-To-Repeat: Compile up with my config file, probably others. My config file: machine i386 cpu I686_CPU ident "4.0GENPLUS2" maxusers 511 options GPL_MATH_EMULATE # Better/Faster GPL one options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extentions options _KPOSIX_PRIORITY_SCHEDULING device isa device eisa device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices device ahc # AHA2940 and onboard AIC7xxx devices device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? pseudo-device splash device sc0 at isa? device npx0 at nexus? port IO_NPX irq 13 device apm0 at nexus? disable flags 0x20 # Advanced Power Management device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 flags 0x1 irq 5 device sio3 at isa? disable port IO_COM4 flags 0x1 irq 9 device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty 255 # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif 4 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) pseudo-device bpf #Berkeley packet filter device pcm options EXT2FS options COMPAT_LINUX options DEBUG_LINUX >Fix: Removing the '*' allows it to compile, but I have no idea if that is the correct solution. I don't speak assembler >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message