Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Oct 1999 06:41:57 -0700
From:      Randy Bush <randy@psg.com>
To:        Andrzej Bialecki <abial@webgiro.com>, Luke <lh@aus.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: staroffice
Message-ID:  <E11Zwl3-0000R4-00@rip.psg.com>
References:  <E11Znwn-000FD7-00@rip.psg.com> <Pine.BSF.4.05.9910091412170.845-100000@freja.webgiro.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> anyone successful installing staroffice 5.1?
>> is <http://lt.tar.com/so50.out>; still the best hint?

Andrzej Bialecki <abial@webgiro.com>:
> The new Sun's version works for me out of the box. The only glitch during
> setup was that I had to unzip the setup.zip and ldconfig the libraries
> therein.

Luke <lh@aus.org>:
> I have the latest star office on a machine that was running a -current from
> @july and then mid sept, now its got 3.3 on it and it still runs , 
> I have alot of linux stuff installed for oracle, I dont know if staroffice is
> using stuff from it though.
> this page was a little helpful but it is still was a pita to get to run.
> http://www.serv.net/~mcglk/staroffice-install.html

hmmmm.  so i 
  o add the posix options to my kernel
  o install linux_base port
  o but can not find linux_lib port
  o unzip setup.zip to someplace comfortable
  o echo `pwd` >> /compat/linux/etc/ld.so.conf
  o /compat/linux/sbin/ldconfig

and whammie!

  Segmentation fault (core dumped)

  Core was generated by `ldconfig'.
  Program terminated with signal 11, Segmentation fault.
  #0  0x805c553 in ?? ()
  (gdb) where
  #0  0x805c553 in ?? ()
  #1  0x8057c0f in ?? ()
  #2  0x805514c in ?? ()
  #3  0x8052839 in ?? ()

so i delete the line resulting from "echo `pwd` ..." from the file
/compat/linux/etc/ld.so.conf

same result.  so it probably is something stoopid in the linux install.

content of /compat/linux/etc/ld.so.conf
  /usr/local/lib
  /usr/X11R6/lib
  /usr/i486-linuxaout/lib
  /usr/openwin/lib
  /usr/i486-linux-libc5/lib
  /usr/home/randy/sosetup

some of the files are not there
  # ls -ld `cat /compat/linux/etc/ld.so.conf`
  ls: /usr/i486-linux-libc5/lib: No such file or directory
  ls: /usr/i486-linuxaout/lib: No such file or directory
  ls: /usr/openwin/lib: No such file or directory
  drwxr-xr-x   5 root  wheel  1536 Sep  3 18:08 /usr/X11R6/lib/
  drwxr-xr-x   2 root  staff  1024 Oct  9 06:15 /usr/home/randy/sosetup/
  drwxr-xr-x  17 root  wheel  2048 Oct  8 21:07 /usr/local/lib/

so i delete them from /compat/linux/etc/ld.so.conf.  and get the same core.

i'm doing something pretty clueless, but coffee is not helping.

randy



Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Sat Oct  9 05:53:03 PDT 1999
    root@rip.psg.com:/usr/src/sys/compile/RIP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (300.68-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134205440 (131060K bytes)
avail memory = 126926848 (123952K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc02fd000.
Pentium Pro MTRR support enabled
ccd0-5: Concatenated disk drivers
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
WARNING: "bktr" is usurping "bktr"'s cdevsw[]
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vga-pci0: <Matrox model 051f graphics accelerator> irq 16 at device 0.0 on pci1
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
chip1: <Intel PIIX4 IDE controller> at device 4.1 on pci0
chip2: <UHCI USB controller> irq 19 at device 4.2 on pci0
Timecounter "PIIX"  frequency 3579545 Hz
intpm0: <Intel 82371AB Power management controller> at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> irq 19 at device 6.0 on pci0
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> irq 19 at device 9.0 on pci0
fxp0: Ethernet address 00:a0:c9:df:c8:4e
bktr0: <BrookTree 878> irq 18 at device 10.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus1: <System Management Bus> on iicsmb0
smb1: <SMBus general purpose I/O> on smbus1
WARNING: "iic" is usurping "iic"'s cdevsw[]
iic0: <I2C general purpose I/O> on iicbus0
smbus2: <System Management Bus> on bti2c0
smb2: <SMBus general purpose I/O> on smbus2
bktr0: Hauppauge Model 61111 A M 
bktr0: Detected a MSP3430G-A1 at 0x80
Hauppauge WinCast/TV, Philips NTSC tuner, msp3400c stereo.
pci0: unknown card DD^0878 (vendor=0x109e, dev=0x0878) at 10.1 irq 18
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <4 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
wl0 at port 0x300-0x30f irq 7 on isa0
wl0: address 08:00:6a:2b:dd:a7, NWID 0xaaaa
pcm0: <SB16 PnP> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
unknown0: <Game> at port 0x200-0x207 on isa0
unknown1: <WaveTable> at port 0x620-0x623 on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
wl0 XXX: driver didn't set ifq_maxlen
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
sa0 at ahc0 bus 0 target 6 lun 0
sa0: <DEC DLT2000 8B37> Removable Sequential Access SCSI-2 device 
sa0: 5.000MB/s transfers (5.000MHz, offset 15)
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST34573LW 5702> Fixed Direct Access SCSI-2 device 
da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da0: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST34573LW 5702> Fixed Direct Access SCSI-2 device 
da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da1: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C)
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <TEAC CD-ROM CD-532S 1.0A> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ahc0 bus 0 target 5 lun 0
cd1: <YAMAHA CRW4416S 1.0f> Removable CD-ROM SCSI-2 device 
cd1: 8.333MB/s transfers (8.333MHz, offset 31)
cd1: cd present [140956 x 2048 byte records]



#
# 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.
#
#	$Id: GENERIC,v 1.180 1999/08/08 19:28:57 phk Exp $

# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
#    strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
#
options         INCLUDE_CONFIG_FILE     # Include this file in kernel

machine		i386
#cpu		I386_CPU
#cpu		I486_CPU
#cpu		I586_CPU
cpu		I686_CPU
ident		RIP
maxusers	96

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

#options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
#options 	MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options 	NFS			#Network Filesystem
#options 	NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
#options 	CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual 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

# Soft updates is technique for improving file system speed and
# making abrupt shutdown less risky.  It is not enabled by default due
# to copyright restraints on the code that implement it.
#
# Read ../../ufs/ffs/README.softupdates to learn what you need to
# do to enable this.  ../../contrib/softupdates/README gives
# more details on how they actually work.
#
options		SOFTUPDATES

# To make an SMP kernel, the next two are needed
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
options		NCPU=2			# number of CPUs
options		NBUS=4			# number of busses
options		NAPIC=2			# number of IO APICs
options		NINTR=24		# number of INTs

controller	isa0
controller	pnp0			# PnP support for ISA
#controller	eisa0
controller	pci0

# Real time extensions added in the 1993 Posix
# P1003_1B: Infrastructure
# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
# _KPOSIX_VERSION:             Version kernel is built for
options 	P1003_1B
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	_KPOSIX_VERSION=199309L

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

# IDE controller and disks
#controller	wdc0	at isa? port IO_WD1 irq 14
#disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

#controller	wdc1	at isa? port IO_WD2 irq 15
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

# ATAPI devices on wdc?
#device		wcd0		#IDE CD-ROM
#device		wfd0		#IDE Floppy (e.g. LS-120)
#device		wst0		#IDE Tape (e.g. Travan)

# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
#controller	ncr0		# NCR/Symbios Logic
#controller	ahb0		# EISA AHA1742 family
controller	ahc0		# AHA2940 and onboard AIC7xxx devices
#controller	isp0		# Qlogic family
#controller	dpt0		# DPT Smartcache - See LINT for options!

#controller	adv0	at isa? port ? irq ?
#controller	adw0
#controller	bt0	at isa? port ? irq ?
#controller	aha0	at isa? port ? irq ?

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
controller	scbus0	at ahc0 # SCSI bus (required)
#device		da0		# Direct Access (disks)
disk		da0 at scbus0 target 0 unit 0
disk		da1 at scbus0 target 1 unit 0
device		sa0		# Sequential Access (tape etc)
device		cd0
device		pass0		# Passthrough device (direct SCSI access)

# Proprietary or custom CD-ROM Interfaces
#device		wt0	at isa? port 0x300 irq 5 drq 1
#device		mcd0	at isa? port 0x300 irq 10
#device		matcd0	at isa? port 0x230
#device		scd0	at isa? port 0x230

# 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?
options		MAXCONS=4			# number of virtual consoles
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa?
#options 	XSERVER			# support for X server
#options 	FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options 	PCVT_SCANSET=2		# IBM keyboards are non-std

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

# Power management support (see LINT for more options)
#device		apm0	at nexus? disable flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
#controller	card0
#device		pcic0	at card?
#device		pcic1	at card?

# Serial (COM) ports
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 irq 5
#device		sio3	at isa? disable port IO_COM4 irq 9

# Parallel port
#device		ppc0	at isa? port? flags 0x40 irq 7
#controller	ppbus0		# Parallel port bus (required)
#device		lpt0		# Printer
#device		plip0		# TCP/IP over parallel
#device		ppi0		# Parallel port interface device
#controller	vpo0		# Requires scbus and da0

# PCI Ethernet NICs.
#device		al0		# ADMtek AL981 (``Comet'')
#device		ax0		# ASIX AX88140A
#device		de0		# DEC/Intel DC21x4x (``Tulip'')
device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
#device		mx0		# Macronix 98713/98715/98725 (``PMAC'')
#device		pn0		# Lite-On 82c168/82c169 (``PNIC'')
#device		rl0		# RealTek 8129/8139
#device		sf0		# Adaptec AIC-6915 (``Starfire'')
#device		tl0		# Texas Instruments ThunderLAN
#device		tx0		# SMC 9432TX (83c170 ``EPIC'')
#device		vr0		# VIA Rhine, Rhine II
#device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
#device		wb0		# Winbond W89C840F
#device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
#device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
#device		ep0	at isa? port 0x300 irq 10
#device		ex0	at isa? port? irq?
#device		fe0	at isa? port 0x300 irq ?
#device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
#device		lnc0	at isa? port 0x280 irq 10 drq 0
#device		cs0	at isa? port 0x300 irq ?
# requires PCCARD (PCMCIA) support to be activated
#device		xe0	at isa? port? irq ?

# PCCARD NIC drivers.
# ze and zp take over the pcic and cannot coexist with generic pccard
# support, nor the ed and ep drivers they replace.
#device		ze0	at isa? port 0x300 irq 10 iomem 0xd8000	
#device		zp0	at isa? port 0x300 irq 10 iomem 0xd8000

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
#pseudo-device	sl	1	# Kernel SLIP
#pseudo-device	ppp	1	# Kernel PPP
#pseudo-device	tun	1	# Packet tunnel, for ppp(1)
pseudo-device	pty	32	# Pseudo-ttys (telnet etc)
#pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	ccd	6	#Concatenated disk driver

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

# USB support
#controller	uhci0		# UHCI PCI->USB interface
#controller	ohci0		# OHCI PCI->USB interface
#controller	usb0		# USB Bus (required)
#device		ugen0		# Generic
#device		uhid0		# "Human Interface Devices"
#device		ukbd0		# Keyboard
#device		ulpt0		# Printer
#controller	umass0		# Disks/Mass storage - Requires scbus and da0
#device		ums0		# Mouse

device wl0 at isa? port 0x300 irq ?
options		WLCACHE		# enables the signal-strength cache
#options	WLDEBUG		# enables verbose debugging output

#
# SMB bus
#
# System Management Bus support provided by the 'smbus' device.
#
# Supported devices:
# smb	standard io
#
# Supported interfaces:
# iicsmb I2C to SMB bridge with any iicbus interface
# bktr	brooktree848 I2C hardware interface
#
controller smbus0
controller intpm0
controller alpm0

device smb0	at smbus?

#
# I2C Bus
#
# Philips i2c bus support is provided by the `iicbus' device.
#
# Supported devices:
# ic	i2c network interface
# iic	i2c standard io
# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
#
# Supported interfaces:
# pcf	Philips PCF8584 ISA-bus controller
# bktr	brooktree848 I2C software interface
#
# Other:
# iicbb generic I2C bit-banging code (needed by lpbb, bktr)
#
controller iicbus0
controller iicbb0

device ic0	at iicbus?
device iic0	at iicbus?
device iicsmb0	at iicbus?

# Brooktree driver has been ported to the new I2C framework. Thus,
# you'll need at least iicbus, iicbb and smbus. iic/smb are only needed if you
# want to control other I2C slaves connected to the external connector of
# some cards.
#
device	bktr0

# pcm: Luigi's sound driver
#device		pcm0 at isa? port ? irq 5 drq 1 flags 0x0

device		pcm0


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




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