Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 21:33:34 -0500 (EST)
From:      "Viren R.Shah" <viren@rstcorp.com>
To:        freebsd-emulation@freebsd.org
Subject:   SVR4 emulation problem..
Message-ID:  <14449.23550.377927.676189@jabberwock.rstcorp.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]

I was trying to load the svr4 module in order to try and run a solaris
x86 binary, and it failed to load with an "Exec format error"
message. I looked in /var/log/messages and found:

Jan  3 17:53:35 jabberwock /kernel: link_elf: symbol zfree undefined

I have the following options enabled in my kernel config:

options 	KTRACE			#ktrace(1) syscall trace support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
pseudo-device 	streams

This is from a -current system from about 4am EST Jan 2, '00

I used to have the svr4 emulator running a few months ago (before it
got put into -current). Any idea what I'm missing?

Here's my kernel config :

[-- Attachment #2 --]

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.freebsd.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.213 1999/12/10 10:44:45 phk Exp $

machine		i386
cpu		I586_CPU
cpu		I686_CPU
ident		FIVE
maxusers	64


#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=8000		#Be pessimistic about Joe SCSI device
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	KTRACE			#ktrace(1) syscall trace support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options		NFS

controller	isa0
controller	pci0

# Floppy drives
controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1

# ATA and ATAPI devices
controller	ata0	at isa? port IO_WD1 irq 14
controller	ata1	at isa? port IO_WD2 irq 15
controller	ata2
device		atadisk0	# ATA disk drives
device		atapicd0	# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

controller	ahc0		# AHA2940 and onboard AIC7xxx devices


# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
controller	scbus0		# SCSI bus (required)
device		da0		# Direct Access (disks)
device		pass0		# Passthrough device (direct SCSI access)


# atkbdc0 controls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
#pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?


# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13


# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	pty		# Pseudo-ttys (telnet etc)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

options SOFTUPDATES

#options		PNPBIOS
#device		pcm0

controller	miibus0		# MII bus support
device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

options		DDB

options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#print information about
					# dropped packets
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
options 	IPDIVERT		#divert sockets

pseudo-device 	streams
#options		COMPAT_SVR4
[-- Attachment #3 --]

Thanks
Viren
-- 
Viren R. Shah, {viren @ rstcorp . com}
"SCSI *is* God's bus and it's hardly an old-fashioned (or academic) 
 attitude to think so, it's simply an informed attitude."
 -- Jordan Hubbard
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14449.23550.377927.676189>