Date: Sat, 10 Jun 2000 17:43:58 +0100 From: jpk28@cam.ac.uk To: FreeBSD-gnats-submit@freebsd.org Subject: kern/19177: problem in bioscall.s Message-ID: <E130oMY-000Elz-00@cookie.csi.cam.ac.uk>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E130oMY-000Elz-00>
