Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 23:42:47 +0100
From:      Joachim =?ISO-8859-1?Q?Str=F6mbergson?= <watchman@ludd.luth.se>
To:        stable <stable@FreeBSD.ORG>
Subject:   Still FPE-problems with pgp5 on Athlon
Message-ID:  <3BF05067.3040902@ludd.luth.se>

next in thread | raw e-mail | index | archive | help
Aloha!

A While ago I wrote about my problems getting pgp to work on Athlnon 
machines running 4.3-STABLE.

Someone suggested then to upgrade to 4.4-STABLE. After trying out varoius 
things (and generally be busy with other things) I know selected one of 
the machines. I Moved it to 4.4-STABLE (without any problems) and the 
proceeded to install the pgp5 port in /usr/ports/security

Unfortunately, I still receive a signal 8 (FPE exception) as soon as I try 
to do anything with pgp. Some command logs:

<snip>

js@marge.springfield.se:/usr/home/js>pgpk -l
Type Bits KeyID      Created    Expires    Algorithm       Use
sec+ 1024 0x1F339A35 2001-11-12 ---------- DSS             Sign & Encrypt
sub  4096 0xC7DB775C 2001-11-12 ---------- Diffie-Hellman
uid  Joachim Strombergson <Joachim.Strombergson@InformAsic.com>

1 matching key found

Received signal 8.
^C
Stopped at user request.
</snip>

It really hangs pretty bad. I need to do CTRL-Z and do a "kill -9" on the 
process.

It doesen't matter if I run this as user or as root.

How do I investigate this further? I will try to do some debugging and/or 
tracing, but any other ideas here?

I have verified that the machine can run floating point code. Also, we 
have a bunch of these machines and all Athlon machines are having this 
problem.

Any suggestions, directions or helt would be greatly appreciated.

Here are the uname, make.conf, kernel configuration and dmesg information:


uname:
------
<snip>
js@marge.springfield.se:/usr/home/js>uname -a
FreeBSD marge.springfield.se 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Nov 12 
13:11:15 CET 2001     root@marge.springfield.se:/usr/obj/usr/src/sys/MARGE 
  i386
</snip>


make.conf:
----------
<snip>
# $FreeBSD: src/etc/defaults/make.conf,v 1.97.2.45 2001/03/22 01:43:39 ps 
Exp $
#
# NOTE:  Please would any committer updating this file also update the
# make.conf(5) manual page, if necessary, which is located in
# src/share/man/man5/make.conf.5.
#
# This file, if present, will be read by make (see /usr/share/mk/sys.mk).
# It allows you to override macro definitions to make without changing
# your source tree, or anything the source tree installs.
#
# This file must be in valid Makefile syntax.
#
# You have to find the things you can put here in the Makefiles and
# documentation of the source tree.
#
#
# The CPUTYPE variable controls which processor should be targetted for
# generated code.  This controls processor-specific optimizations in
# certain code (currently only OpenSSL) as well as modifying the value
# of CFLAGS to contain the appropriate optimization directive to gcc.
# The automatic setting of CFLAGS may be overridden using the
# NO_CPU_CFLAGS variable below.
# Currently the following CPU types are recognised:
#   Intel x86 architecture:
#       (AMD CPUs)	k7 k6-2 k6 k5
#       (Intel CPUs)	p4 p3 p2 i686 i586/mmx i586 i486 i386
#   Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4
#
# If you experience any problems after setting this flag, please unset
# it again before submitting a bug report or attempting to modify code.
# It may be that certain types of software will become unstable after being
# compiled with processor-specific (or higher - see below) optimization flags.
# If in doubt, do not set CPUTYPE or CFLAGS to non-default values.
#
#CPUTYPE=k7
#
#NO_CPU_CFLAGS= 
true 
# Don't add -march=<cpu> to CFLAGS automatically
#NO_CPU_COPTFLAGS=true 
# Don't add -march=<cpu> to COPTFLAGS automatically
#
# CFLAGS controls the compiler settings used when compiling C code.
# Note that optimization settings above -O (-O2, ...) are not recommended
# or supported for compiling the world or the kernel - please revert any
# nonstandard optimization settings to "-O" before submitting bug reports
# to the developers.
# Note also that at this time the -O2 setting is known to produce BROKEN
# CODE on the Alpha platform.
#
CFLAGS= -O -pipe

#
# CXXFLAGS controls the compiler settings used when compiling C++ code.
# Note that CXXFLAGS is initially set to the value of CFLAGS.  If you wish
# to add to CXXFLAGS value, "+=" must be used rather than "=".  Using "="
# alone will remove the often needed contents of CFLAGS from CXXFLAGS.
#
CXXFLAGS+= -fmemoize-lookups -fsave-memoized

#
# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested
# for use in developing FreeBSD and testing changes.  They can be used by
# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf.
#
BDECFLAGS= 
-W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
		-Wcast-qual -Wchar-subscripts -Wconversion -Winline \
		-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
		-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#
# To compile just the kernel with special optimizations, you should use
# this instead of CFLAGS (which is not applicable to kernel builds anyway).
# There is very little to gain by using higher optimization levels, and doing
# so can cause problems.
#
#COPTFLAGS= -O -pipe
#
# Compare before install
#INSTALL=install -C
#
# To enable installing suidperl with the setuid bit turned on
#ENABLE_SUIDPERL= 
true
#
# To build perl with thread support
#PERL_THREADED= 
true
#
# To build ppp with normal permissions
#PPP_NOSUID= 
true
#
# To enable installing ssh(1) with the setuid bit turned on
#ENABLE_SUID_SSH= 
true
#
# To avoid building various parts of the base system:
#NO_CVS= 
true 
# do not build CVS
#NO_BIND= 
true 
# do not build BIND
#NO_FORTRAN= 
true 
# do not build g77 and related libraries
#NO_LPR= 
true 
# do not build lpr and related programs
#NO_MAILWRAPPER=true 
# do not build the mailwrapper(8) MTA selector
#NO_MODULES= 
true 
# do not build modules with the kernel
#NO_OBJC= 
true 
# do not build Objective C support
#NO_OPENSSH= 
true 
# do not build OpenSSH
#NO_OPENSSL= 
true 
# do not build OpenSSL (implies NO_OPENSSH)
#NO_SENDMAIL= 
true 
# do not build sendmail and related programs
#NO_SHAREDOCS= 
true 
# do not build the 4.4BSD legacy docs
#NO_TCSH= 
true 
# do not build and install /bin/csh (which is tcsh)
#NO_X= 
	true	# do not compile in XWindows support (e.g. doscmd)
#NOCRYPT= 
true 
# do not build any crypto code
#NODESCRYPTLINKS=true 
# do not replace libcrypt -> libscrypt links
#NOGAMES= 
true 
# do not build games (games/ subdir)
#NOINFO= 
true 
# do not make or install info files
#NOLIBC_R= 
true 
# do not build libc_r (re-entrant version of libc)
#NOPERL= 
true 
# do not build perl. Disables OpenSSL optimizations
#NOPROFILE= 
true 
# Avoid compiling profiled libraries
#NOSECURE= 
true 
# do not build crypto code in secure/ subdir
#NOSHARE= 
true 
# do not go into the share subdir
#NOUUCP= 
true 
# do not build uucp related programs
#
# To build the OpenSSL manpages, uncomment the following.  These are not
# built by default because they clobber a number of system manpages with
# manpages describing parts of the OpenSSL toolkit, including passwd(1),
# err(3), md5(3), and others.
#
#WANT_OPENSSL_MANPAGES= 
true
#
# To build sys/modules when building the world (our old way of doing things)
#MODULES_WITH_WORLD=true 
# do not build modules when building kernel
#
#
# The following controls building optional IDEA code in libcrypto and
# certain ports.  Patents are involved - you must not use this unless
# you either have a license or fall within patent 'fair use'
# provisions.
#
# *** It is YOUR RESPONSIBILITY to determine if you can use this! ***
#
# IDEA is patented in the USA and many european countries - thought to
# be OK to use for any non-commercial use.  This is optional.
#MAKE_IDEA= 
YES 
# IDEA (128 bit symmetric encryption)
#
# To avoid running MAKEDEV all on /dev during install:
#NO_MAKEDEV= 
true
#
# If you do not want unformatted manual pages to be compressed
# when they are installed:
#
#NOMANCOMPRESS= 
true
#
#
# If you want the "compat" shared libraries installed as part of your normal
# builds, uncomment these:
#
#COMPAT1X= 
yes
#COMPAT20= 
yes
#COMPAT21= 
yes
#COMPAT22= 
yes
#COMPAT3X= 
yes
#COMPAT4X= 
yes
#
#
# If you do not want additional documentation (some of which are
# a few hundred KB's) for ports to be installed:
#
#NOPORTDOCS= 
true
#
#
# Default format for system documentation, depends on your printer.
# Set this to "ascii" for simple printers or screen
#
#PRINTERDEVICE= 
ps
#
#
# How long to wait for a console keypress before booting the default kernel.
# This value is approximately in milliseconds. Keypresses are accepted by the
# BIOS before booting from disk, making it possible to give custom boot
# parameters even when this is set to 0.
#
#BOOTWAIT=0
#BOOTWAIT=30000
#
# By default, the system will always use the keyboard/video card as system
# console.  However, the boot blocks may be dynamically configured to use a
# serial port in addition to or instead of the keyboard/video console.
#
# By default we use COM1 as our serial console port *if* we're going to use
# a serial port as our console at all.  Alter as necessary.
#
#   COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8
#
#BOOT_COMCONSOLE_PORT= 
0x3F8
#
# The default serial console speed is 9600.  Set the speed to a larger value
# for better interactive response.
#
#BOOT_COMCONSOLE_SPEED= 
115200
#
# By default the 'pxeboot' loader retrieves the kernel via NFS.  Defining
# this and recompiling /usr/src/sys/boot will cause it to retrieve the kernel
# via TFTP.  This allows pxeboot to load a custom BOOTP diskless kernel yet
# still mount the server's '/' (i.e. rather then load the server's kernel).
#
#LOADER_TFTP_SUPPORT= YES
#
# By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier.
# If you have a XFree86 from before 3.0 that has the X distribution in
# /usr/X386, you want to uncomment this.
#
#X11BASE= 
/usr/X386
#
#
# If you have Motif on your system, uncomment this.
#
#HAVE_MOTIF= 
yes
#MOTIF_STATIC=  yes
#
# If the default location of the Motif library (specified below) is NOT
# appropriate for you, uncomment this and change it to the correct value.
# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
#
#MOTIFLIB= 
-L${X11BASE}/lib -lXm
#
#
# If you're resident in the USA, this will help various ports to determine
# whether or not they should attempt to comply with the various U.S.
# export regulations on certain types of software which do not apply to
# anyone else in the world.
#
#USA_RESIDENT= 
	YES
#
#
# Override "don't install a port that's already installed" behavior.
# One might wish to do this for ports debugging or to unconditionally
# reinstall a set of suspect/broken ports.
#
#FORCE_PKG_REGISTER=    YES
#
#
# If you're behind a firewall and need FTP or HTTP proxy services for
# ports collection fetching to work, the following examples give the
# necessary syntax.  See the fetch(3) man page for details.
#
#FTP_PROXY=      10.0.0.1:21
#HTTP_PROXY=     10.0.0.1:80
#
#
# Port master sites.
#
# If you want your port fetches to go somewhere else than the default
# (specified below) in case the distfile/patchfile was not found,
# uncomment this and change it to a location nearest you.  (Don't
# remove the "/${DIST_SUBDIR}/" part.)
#
#MASTER_SITE_BACKUP?= 
\
# 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
#
# If you want your port fetches to check the above site first (before
# the MASTER_SITES specified in the port Makefiles), uncomment the
# line below.  You can also change the right side to point to wherever
# you want.
#
#MASTER_SITE_OVERRIDE?= 
${MASTER_SITE_BACKUP}
#
# Some ports use a special variable to point to a collection of
# mirrors of well-known software archives.  If you have a mirror close
# to you, uncomment any of the following lines and change it to that
# address.  (Don't remove the "/%SUBDIR%/" part.)
#
# Note: the right hand sides of the following lines are only for your
# information.  For a full list of default sites, take a look at
# bsd.sites.mk.
#
#MASTER_SITE_XCONTRIB= 
ftp://ftp.x.org/contrib/%SUBDIR%/
#MASTER_SITE_XFREE= 
ftp://ftp.freesoftware.com/pub/XFree86/%SUBDIR%/source/
#MASTER_SITE_GNU= 
ftp://ftp.gnu.org/gnu/%SUBDIR%/
#MASTER_SITE_PERL_CPAN= 
ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
#MASTER_SITE_TEX_CTAN= 
ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
#MASTER_SITE_SUNSITE= 
ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/
#MASTER_SITE_RINGSERVER= 
ftp://ring.ocn.ad.jp/pub/%SUBDIR%/
#MASTER_SITE_KDE= 
ftp://ftp.kde.org/pub/kde/%SUBDIR%/
#MASTER_SITE_COMP_SOURCES= 
ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/
#MASTER_SITE_GNOME= 
ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/
#MASTER_SITE_AFTERSTEP= 
ftp://ftp.afterstep.org/%SUBDIR%/
#MASTER_SITE_WINDOWMAKER= 
ftp://ftp.windowmaker.org/pub/%SUBDIR%/
#MASTER_SITE_MOZILLA= 
ftp://ftp.yggdrasil.com/mirrors/site/ftp.mozilla.org/pub/%SUBDIR%/
#MASTER_SITE_XEMACS= 
ftp://ftp.sunsite.utk.edu/pub/xemacs/%SUBDIR%/
#MASTER_SITE_TCLTK= 
ftp://ftp.uu.net/languages/tcl/%SUBDIR%/
#MASTER_SITE_RUBY= 
ftp://ftp.fu-berlin.de/unix/languages/ruby/%SUBDIR%/
#
# Also it is highly recommended that you configure MASTER_SORT_REGEX
# to choose better mirror sites for you.  List awk(1)-style regular
# expressions separated by space so MASTER_SITES will be sorted in
# that order.  The following example is for Japanese users; change
# "jp" part to your ccTLD ("de", "ru", "uk", etc.) or the domain names
# of your nearest/upstream networks to meet your needs.
#
#MASTER_SORT_REGEX?= 
^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ 
://[^/]*\.jp/ ://[^/]*\.jp\.
#
# Kerberos IV
# If you want KerberosIV (KTH eBones), define this:
#
#MAKE_KERBEROS4= 
yes
#
#
# Kerberos 5
# If you want KerberosIV (KTH Heimdal), define this:
#
#MAKE_KERBEROS5= 
yes
#
#
# Kerberos5
# If you want to install MIT Kerberos5 port somewhere other than /usr/local,
# define this (this is also used to tell ssh1 that kerberos is needed):
#
#KRB5_HOME= 
	/usr/local
#
#
# CVSup update flags.  Edit SUPFILE settings to reflect whichever distribution
# file(s) you use on your site (see /usr/share/examples/cvsup/README for more
# information on CVSup and these files).  To use, do "make update" in 
/usr/src.
#
#SUP_UPDATE=     yes
#
#SUP=            /usr/local/bin/cvsup
#SUPFLAGS=       -g -L 2
#SUPHOST=        cvsup.uk.FreeBSD.org
#SUPFILE=        /usr/share/examples/cvsup/stable-supfile
#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
#
# top(1) uses a hash table for the user names.  The size of this hash
# can be tuned to match the number of local users.  The table size should
# be a prime number approximately twice as large as the number of lines in
# /etc/passwd.  The default number is 20011.
#
#TOP_TABLE_SIZE= 101
#
# Documentation
#
# The list of languages and encodings to build and install
#
#DOC_LANG= 
en_US.ISO_8859-1 ru_RU.KOI8-R
#
#
# sendmail
#
# The following sets the default m4 configuration file to use at
# install time.  Use with caution as a make install will overwrite
# any existing /etc/mail/sendmail.cf.  Note that SENDMAIL_CF is now
# deprecated.  The value should be a fully qualified path name.
#
#SENDMAIL_MC=/etc/mail/myconfig.mc
#
# If you need to build additional .cf files during a make buildworld,
# include the full paths to the .mc files in SENDMAIL_ADDITIONAL_MC.
#
#SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc
#
# Setting the following variables modifes the build environment for
# sendmail and its related utilities. For example, SASL support can be
# added with settings such as:
#
# 
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
# 
SENDMAIL_LDFLAGS=-L/usr/local/lib
# 
SENDMAIL_LDADD=-lsasl
#
# Note: If you are using Cyrus SASL with other applications which require
# 
access to the sasldb file, you should add '-D_FFR_UNSAFE_SASL' to
# 
SENDMAIL_CFLAGS.  Also, add the following to your sendmail.mc file:
#
# 
define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLFile')
#
#SENDMAIL_CFLAGS=
#SENDMAIL_LDFLAGS=
#SENDMAIL_LDADD=
#SENDMAIL_DPADD=
</snip>


kernel configuration:
---------------------
<snip>
#=======================================================================
#
# MARGE
# -----
#
# Kernel configuration file for the Kwikemart server.
#
#
# (c) 2001 InformAsic AB
#
# Revision history:
# 2001-06-26:	Initial revision. Removal of APM to fix the
# 		microuptime creeps backwards problem. Also,
# 		removal of unneeded devices (SCSI for example)
#
#
#=======================================================================

machine 
	i386
cpu 
	I686_CPU

ident 
	MARGE

maxusers 
32

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

options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, NFS required
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=15000	#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 extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options 
	ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O

device 
	isa
device 
	eisa
device 
	pci

# Floppy drives
device 
	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
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

# SCSI Controllers
device 
	ahb		# EISA AHA1742 family
device 
	ahc		# AHA2940 and onboard AIC7xxx devices
device 
	amd		# AMD 53C974 (Tekram DC-390(T))
device 
	isp		# Qlogic family
device 
	ncr		# NCR/Symbios Logic
device 
	sym		# NCR/Symbios Logic (newer chipsets)
options 
	SYM_SETUP_LP_PROBE_MAP=0x40
				# Allow ncr to attach legacy NCR devices when
				# both sym and ncr are configured

device 
	adv0	at isa?
device 
	adw
device 
	bt0	at isa?
device 
	aha0	at isa?
device 
	aic0	at isa?

device 
	ncv		# NCR 53C500
device 
	nsp		# Workbit Ninja SCSI-3
device 
	stg		# TMC 18C30/18C50

# SCSI peripherals
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)

# RAID controllers interfaced to the SCSI subsystem
device 
	asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
device 
	dpt		# DPT Smartcache - See LINT for options!
device 
	mly		# Mylex AcceleRAID/eXtremeRAID

# RAID controllers
device 
	aac		# Adaptec FSA RAID, Dell PERC2/PERC3
device 
	ida		# Compaq Smart RAID
device 
	amr		# AMI MegaRAID
device 
	mlx		# Mylex DAC960 family
device 
	twe		# 3ware Escalade

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

device 
	vga0	at isa?

# splash screen/screen saver
pseudo-device 
splash

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

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device 
	vt0	at isa?
#options 	XSERVER			# support for X server on a vt console
#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 0x20 # Advanced Power Management

# PCCARD (PCMCIA) support
device 
	card
device 
	pcic0	at isa? irq 0 port 0x3e0 iomem 0xd0000
device 
	pcic1	at isa? irq 0 port 0x3e2 iomem 0xd4000 disable

# 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? irq 7
device 
	ppbus		# Parallel port bus (required)
device 
	lpt		# Printer
device 
	plip		# TCP/IP over parallel
device 
	ppi		# Parallel port interface device
#device 
	vpo		# Requires scbus and da


# PCI Ethernet NICs.
device 
	de		# DEC/Intel DC21x4x (``Tulip'')
device 
	fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device 
	tx		# SMC 9432TX (83c170 ``EPIC'')
device 
	vx		# 3Com 3c590, 3c595 (``Vortex'')
device 
	wx		# Intel Gigabit Ethernet Card (``Wiseman'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device 
	miibus		# MII bus support
device 
	dc		# DEC/Intel 21143 and various workalikes
device 
	pcn		# AMD Am79C79x PCI 10/100 NICs
device 
	rl		# RealTek 8129/8139
device 
	sf		# Adaptec AIC-6915 (``Starfire'')
device 
	sis		# Silicon Integrated Systems SiS 900/SiS 7016
device 
	ste		# Sundance ST201 (D-Link DFE-550TX)
device 
	tl		# Texas Instruments ThunderLAN
device 
	vr		# VIA Rhine, Rhine II
device 
	wb		# Winbond W89C840F
device 
	xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
device 
	ed0	at isa? port 0x280 irq 10 iomem 0xd8000
device 
	ex
device 
	ep
device 
	fe0	at isa? port 0x300
# Xircom Ethernet
device 
	xe
# PRISM I IEEE 802.11b wireless NIC.
device 
	awi
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.
device 
	wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those parameters here.
device 
	an
# The probe order of these is presently determined by i386/isa/isa_compat.c.
device 
	ie0	at isa? port 0x300 irq 10 iomem 0xd0000
#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
device 
	sn0	at isa? port 0x300 irq 10

# Pseudo devices - the number indicates how many units to allocate.
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 
	# Packet tunnel.
pseudo-device 
pty 
	# 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)

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

# USB support
device 
	uhci		# UHCI PCI->USB interface
device 
	ohci		# OHCI PCI->USB interface
device 
	usb		# USB Bus (required)
device 
	ugen		# Generic
device 
	uhid		# "Human Interface Devices"
device 
	ukbd		# Keyboard
device 
	ulpt		# Printer
device 
	umass		# Disks/Mass storage - Requires scbus and da
device 
	ums		# Mouse
device 
	uscanner	# Scanners
# USB Ethernet, requires mii
device 
	aue		# ADMtek USB ethernet
device 
	cue		# CATC USB ethernet
device 
	kue		# Kawasaki LSI USB ethernet

# Sound For PnP/PCI sound cards
device 
	pcm


#=======================================================================
# EOF MARGE
#=======================================================================
</snip>


dmesg output:
--------------
<snip>
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.4-STABLE #0: Mon Nov 12 13:11:15 CET 2001
     root@marge.springfield.se:/usr/obj/usr/src/sys/MARGE
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1200051335 Hz
CPU: AMD Athlon(tm) Processor (1200.05-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
real memory  = 536805376 (524224K bytes)
config> di pcic0
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 517853184 (505716K bytes)
Preloaded elf kernel "kernel" at 0xc04bd000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc04bd09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fde50
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1106 device=8305)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 10
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xd000-0xd00f at device 7.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 7.2 
on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 11 at device 7.3 
on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xdc00-0xdc3f mem 
0xda000000-0xda01ffff,0xda020000-0xda020fff irq 11 at device 8.0 on pci0
fxp0: Ethernet address 00:02:b3:33:c8:00
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative CT5880-C> port 0xe000-0xe03f irq 12 at device 13.0 on pci0
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc87ff,0xcc000-0xcd7ff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,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,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 19623MB <IC35L020AVER07-0> [39870/16/63] at ata0-master UDMA100
acd0: CDROM <SAMSUNG CD-ROM SC-152C> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a
</snip>

-- 
Med vänlig hälsning, Cheers!

Joachim Strömbergson
============================================================================
Joachim Strömbergson - ASIC designer, nice to *cute* animals.
     snail:                  phone:                     mail & web:
Sävenäsgatan 5A        +46 31 - 27 98 47          watchman@ludd.luth.se
416 72 Göteborg        +46 733 75 97 02           www.ludd.luth.se/~watchman
============================================================================


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




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