Bug 19177

Summary: /usr/src/sys/i386/i386/bioscall.s: operands given don't match any known 386 instruction
Product: Base System Reporter: jpk28 <jpk28>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description jpk28 2000-06-10 17:50:00 UTC

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 */

Fix: 

Removing the '*' allows it to compile, but I have no idea if that is the
correct solution.  I don't speak assembler
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
Comment 1 jpk28 2000-06-12 14:55:45 UTC
Probably you want to ignore this.  It was an infelicitude with my cvsup 
configuration  :-(  I was getting the wrong version.  Once I convinced
it to get the right version it compiled cleanly.

Sorry.  :-(

Julian
-- 
Julian King             | There once was a limerick .sig  | My opinions, all
Computer Officer        | that really was not very big    | mine.  You can't
University of Cambridge | It was going quite fine         | have them!
Unix Support            | Till it reached the fourth line | P.S. It's a joke
Comment 2 alex freebsd_committer freebsd_triage 2000-06-12 15:07:35 UTC
State Changed
From-To: open->closed

According to the originator, this was a problem of his cvsup setup.