Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 07:15:15 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        smp@freebsd.org
Subject:   staroffice doesn't work with a 3.4-SMP kernel
Message-ID:  <19991220071515.A1654@titan.klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
I only get staroffice installed and working, when using a single
processor kernel. Otherwise both programs hang:
	- the staroffice installation program which does the
	  user setup
		install-user:
        		${PREFIX}/Office51/bin/setup  
	- staroffice itself

When using the SMP kernel, I get messages in the console window,
like that:
	shared address space fork attempted: pid: 817
	shared address space fork attempted: pid: 817
	shared address space fork attempted: pid: 817
	shared address space fork attempted: pid: 817
	shared address space fork attempted: pid: 817
	shared address space fork attempted: pid: 817

When using the single processor kernel these messages doesn't show
up and everything works.

I use the Linux Emulator as module, it's not compiled in into the
kernel. This is my kernel config file:

#
# TITAN
#
machine		"i386"
cpu		"I686_CPU"
ident		TITAN
maxusers	100

options		INCLUDE_CONFIG_FILE	# Include this file in kernel

#options	USERCONFIG		#boot -c editor
#options	VISUAL_USERCONFIG	#visual boot -c editor

options		LKM			# LKM support
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O
#options	"I4B_SMP_WORKAROUND"

# Options for the VM subsystem
#options	PQ_NOOPT		# No coloring
#options	PQ_LARGECACHE		# color for 512k/16k cache
options		PQ_HUGECACHE		# color for 1024k/16k cache

#
# Certain applications can grow to be larger than the 128M limit
# that FreeBSD initially imposes.  Below are some options to
# allow that limit to grow to 256MB, and can be increased further
# with changing the parameters.  MAXDSIZ is the maximum that the
# limit can be set to, and the DFLDSIZ is the default value for
# the limit.  You might want to set the default lower than the
# max, and explicitly set the maximum with a shell command for processes
# that regularly exceed the limit like INND.
#
options         "MAXDSIZ=(256*1024*1024)"
options         "DFLDSIZ=(256*1024*1024)"

options         NMBCLUSTERS=4096

#
# Allow user-mode programs to manipulate their local descriptor tables.
# This option is required for the WINE Windows(tm) emulator, and is
# not used by anything else (that we know of).
#
#options         USER_LDT                #allow user-level control of i386 ldt

#
# Allow processes to switch to vm86 mode, as well as enabling direct
# user-mode access to the I/O port space.  This option is necessary for
# the doscmd emulator to run and the VESA modes in syscons to be available.
#
#options	"VM86"
#options	VESA			# needs VM86 defined too!!

# Debugging
#options	DDB
options		KTRACE			#kernel tracing

# Network
options		MROUTING		# Multicast routing
options		IPX			#IPX/SPX communications protocols
options		NETATALK		#Appletalk communications protocols

options		IPFIREWALL		#firewall
options		IPFIREWALL_VERBOSE	#print information about
					# dropped packets
options		IPFIREWALL_FORWARD	#enable xparent proxy support
options		"IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options		IPDIVERT		#divert sockets
options		"ICMP_BANDLIM"
options		DUMMYNET

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		SOFTUPDATES		#Softupdates
options		MFS			#Memory Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		KERNFS			#Kernel filesystem
options		NFS			#Network File System
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		SYSVSHM, SYSVSEM, SYSVMSG
options		"MD5"
options		NSWAPDEV=4
#options	PCI_QUIET
#options	COMPAT_LINUX
options		SHOW_BUSYBUFS
#options        FDESC                   #File descriptor filesystem
#options        NTFS			#File descriptor filesystem
#options        UNION                   #Union filesystem

#options         CODA                    #CODA filesystem.
#pseudo-device   vcoda   4               #coda minicache <-> venus comm.

options		"P1003_1B"
options		"_KPOSIX_PRIORITY_SCHEDULING"
options		"_KPOSIX_VERSION=199309L"

# netgraph(4). Enable the base netgraph code with the NETGRAPH option.
options 	NETGRAPH		#netgraph(4) system
options 	NETGRAPH_ASYNC
options 	NETGRAPH_BPF
options 	NETGRAPH_CISCO
options 	NETGRAPH_ECHO
#options 	NETGRAPH_FRAME_RELAY
options 	NETGRAPH_HOLE
options 	NETGRAPH_IFACE
options 	NETGRAPH_KSOCKET
options 	NETGRAPH_LMI
options 	NETGRAPH_PPP
options 	NETGRAPH_PPPOE
options 	NETGRAPH_PPTPGRE
options 	"NETGRAPH_RFC1490"
options 	NETGRAPH_SOCKET
options 	NETGRAPH_TEE
options 	NETGRAPH_TTY
options 	NETGRAPH_UI
options 	NETGRAPH_VJC

# Size of the kernel message buffer.  Should be N * pagesize.
options		"MSGBUF_SIZE=40960"

config		kernel	root on da0s2a

controller	isa0
controller	pci0
controller	pnp0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0

controller	ahc0

controller	scbus0		# SCSI bus (required)
device		da0		# Direct Access (disks)
device		sa0		# Sequential Access (tape etc)
device		cd0		# CD
device		pass0		# Passthrough device (direct SCSI)
device		pt0 at scbus?	# SCSI processor type
device		sctarg0 at scbus?	# SCSI target

#controller	scbus0  at ahc0
#disk		da0     at scbus0 target 0 unit 0
#disk		da4     at scbus0 target 1 unit 0
#tape		sa0     at scbus0 target 4
#device		cd0     at scbus0 target 5
#device		cd1     at scbus0 target 6
#device		pass0                           # CAM passthrough driver

# AHA 2940
#controller	ahc1
#controller	scbus1 at ahc1
#disk		da1 at scbus1 target 1 unit 0
#disk		da2 at scbus1 target 2 unit 0
#disk		da3 at scbus1 target 3 unit 0
#
options		SCSI_DELAY=8000		#Be pessimistic about Joe SCSI device
options		AHC_ALLOW_MEMIO
options		SCSI_REPORT_GEOMETRY

# Options for the CAM sequential access driver:
# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
options         "SA_SPACE_TIMEOUT=(60)"
options         "SA_REWIND_TIMEOUT=(2*60)"
options         "SA_ERASE_TIMEOUT=(4*60)"

# atkbdc0 controlls both the keyboard and the PS/2 mouse
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

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty
options		MAXCONS=4		# number of virtual consoles
options		SC_HISTORY_SIZE=200	# number of history buffer lines

device		npx0	at isa? port IO_NPX irq 13

device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3

# device		lpt0	at isa? port? tty irq 7

# Parallel port and friends. This replaces lpt0 (see lint or man pages)
device           ppc0	at isa? port? flags 0x40 tty irq 7
controller       ppbus0                
device           lpt0	at ppbus?       

device xl0
device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000

# Luigis new sound driver
#device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x0

pseudo-device	loop
pseudo-device	ether
pseudo-device	pty	256
pseudo-device	gzip		#Exec gzipped a.out's
pseudo-device	vn              #Vnode driver (turns a file into a device)
pseudo-device	snp	 3      #Snoop device - to look at pty/vty/etc..
pseudo-device	bpfilter 4	#Berkeley packet filter
#pseudo-device   sppp		#Generic Synchronous PPP
pseudo-device	tun	1
#pseudo-device	ppp	1
pseudo-device	ccd	4	#Concatenated disk driver
options		PPP_BSDCOMP	#PPP BSD-compress support
options		PPP_DEFLATE	#PPP zlib/deflate/gzip support
options		PPP_FILTER	#enable bpf filtering (needs bpfilter)

-- 
Andreas Klemm                                  http://www.FreeBSD.ORG/~andreas
                                     http://www.freebsd.org/~fsmp/SMP/SMP.html
                                   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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