Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 1998 10:57:21 -0700 (PDT)
From:      Donald Burr <dburr@POBoxes.com>
To:        FreeBSD Hardware <freebsd-hardware@FreeBSD.ORG>
Subject:   odd problems with AMD K6
Message-ID:  <XFMail.980626105721.dburr@POBoxes.com>

next in thread | raw e-mail | index | archive | help
This message is in MIME format
--_=XFMail.1.2.p0.FreeBSD:980626105721:17102=_
Content-Type: text/plain; charset=us-ascii

I have just updated my system to an AMD K6/233.  Chip serial number is
"C 9818 FPJW".  And, of course, my OS is FreeBSD 2.2.6-RELEASE.

Some other details on my setup:
Mobo: EFA E5TX-AT-5 "Pegasus I"
Chipset: Intel 430TX (Triton); MTXC (82439TX)*1, PIIX4 (82371AB)* 1; I/O
chipset is ALI M5135 (Yes, I am using the IWill sio patches...)
OS: FreeBSD 2.2.6-RELEASE, with the IWill sio patches.

I heard a while back about serious problems with the K6, so I searched the
mailing list archives.  There were indeed problems, but AMD reportedly
fixed them as of chip revision "B 9729 xxxx".  Since I have heard no new
problem reports since then, I am assuming my chip is one of the "good"
revisions.

Anyway, the system appears to be working fine and all, that is, for normal
usage.  However, the other day I tried a "make world" on the 2.2.6-RELEASE
sources, and got an error.  Which leads into...

1.  Make world fails at *exactly* the same file, with *exactly* the same
    error.

I've run three consecutive 'make world's, and all of them fail, but they
fail at *exactly* the same file, with *exactly* the same error.  Here is
the log from one such session:

===> share/doc/papers/memfs
indxbib -c
/usr/src/share/doc/papers/memfs/../../../../contrib/groff/indxbib/eign -o
ref.bib /usr/src/share/doc/papers/memfs/ref.bib
indxbib in free(): warning: page is already free.
indxbib in free(): warning: page is already free.
vgrind -f < /usr/src/share/doc/papers/memfs/A.t > A.gt
refer -n -e -l -s -p /usr/src/share/doc/papers/memfs/ref.bib
/usr/src/share/doc/papers/memfs/0.t /usr/src/share/doc/papers/memfs/1.t
A.gt > paper.t
Failed assertion at line 161, file
`/usr/src/gnu/usr.bin/groff/refer/../../../../contrib/groff/refer/token.cc'
.
Abort trap - core dumped
*** Error code 134

In all cases, the "refer" process dies with signal 6, according to the
system logs (dmesg).

Since the problem occurs at exactly the same spot, with exactly the same
error, I am leaning towards suspecting a problem on my installed system,
rather than a hardware problem (since hardware trouble generally produces
random, unpredictable errors).

And, speaking of system crashes...

2.  Odd system crash -- once.

When I said before that "the system appears to be working fine and all,"
that was sort of a lie.  The system did crash, *ONCE*.  I have *NOT* been
able to reproeduce this crash, however.

What happened is this: I was in X, doing a *LOT* of things simultaneously
(i.e. the system was heavily loaded) -- a bunch of usenet articles were
being spooled in, I was running a make world, encoding some mp3's, the
usual Netscape and email client, etc.  Then I started up XV to view some
graphics that just came in.  The system froze, and rebooted.  The system
did dump core, however, and this is the result (using kgdb):

IdlePTD 279000
current pcb at 25325c
panic: vref used where vget required
#0  0xf0116c5e in boot ()
(kgdb) bt
#0  0xf0116c5e in boot ()
#1  0xf0116f4a in panic ()
#2  0xf013cc07 in vref ()
#3  0xf01043d0 in iso_iget ()
#4  0xf010686a in cd9660_root ()
#5  0xf013b6c0 in lookup ()
#6  0xf013b04d in namei ()
#7  0xf013fa04 in stat ()
#8  0xf01f59a6 in syscall ()
#9  0x2fc5 in ?? ()
#10 0x107e in ?? ()

Again, I have not been able to reproduce this.  I've run the system
ragged since then, and it hasn't crashed a single time.

Now, last, but not least, I have a not-so-serious (but cosmetically
ugly) problem:

3.  Dmesg output is slightly screwy.

If I boot tje GENERIC kernel, the CPU type is properly detected and prints
out properly:

CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>

however, if I boot my own custom kernel, it shows something really odd.

CPU: \^E (233.86-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>

Note the odd-looking CPU name...

Perhaps I'm doing something slightly wrong in my config?  A copy of it is
attached for your viewing pleasure.

Anyway, your input is greatly appreciated.  Thanks in advance!
---
Donald Burr <dburr@POBoxes.com> - Ask me for my PGP key | PGP: Your
WWW HomePage: http://DonaldBurr.base.org/  ICQ #1347455 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 957-9666    FAX: (800) 492-5954            | USE IT.
-----------------------------------------------------------------------
  FreeBSD - Turning PCs into Workstations - http://www.freebsd.org/
   (NOTE: POBoxes.com appears to be working again -- fire away!)

--_=XFMail.1.2.p0.FreeBSD:980626105721:17102=_
Content-Disposition: attachment; filename="CONTROL"
Content-Transfer-Encoding: 7bit
Content-Description: CONTROL
Content-Type: text/plain; charset=us-ascii; name=CONTROL; SizeOnDisk=8813

#
# $Id: CONTROL,v 3.9 1998/06/25 09:33:56 dburr Exp $
#
# $Log: CONTROL,v $
# Revision 3.9  1998/06/25 09:33:56  dburr
# Cleaned up a few things.
# Re-enabled AUTO_EOI_1 - it wasn't hurting things after all.
#
# Revision 3.8  1998/06/25 08:58:02  root
# Fixed to work with AMD K6 CPU.
# - removed AUTO_EOI_2 - new motherboard doesn't like it.
# - removed PERFMON.
# - probably some other things I've forgotten.
#
# Revision 3.7  1998/06/21 08:08:20  root
# Changed ed0 to irq 9.
# Added USERCONFIG and VISUAL_USERCONFIG, for the "-c" configurer.
#
# Revision 3.6  1998/06/04 07:41:11  dburr
# Reverted to 2.2.6-RELEASE.
# Removed some commented out and/or unused stuff.
#
# Revision 3.5  1998/05/11 11:38:22  dburr
# Added firewall stuff.
# Made it work.
#
# Revision 3.4  1998/05/11 08:13:03  dburr
# Added IP firewalling.
#
# Revision 3.3  1998/05/11 08:10:32  dburr
# Removed a few oudated stuff.
# Took out the new POSIX realtime stuff.
# Cleaned up other minor things.
#
# Revision 3.2  1998/05/11 05:31:11  dburr
# Eliminated entry for 'log' pseudo-device.
# (apparently no longer required in CURRENT)
#
# Revision 3.1  1998/05/11 05:29:58  dburr
# Updated for 3.0-CURRENT.
#
# Revision 2.5  1998/04/21 08:33:38  dburr
# Added OVERRIDE_TUNER to fix that weird Temic PAL thing.
#
# Revision 2.4  1998/04/10 11:16:03  dburr
# Moved ed0 to irq 10.
#
# Revision 2.3  1998/04/10 10:42:51  dburr
# Fixed defs of ed0, sb0, sbxvi0, and xsbmidi0 because I switched
# back to the non-PnP ethernet card.
#
# Revision 2.2  1998/04/10 08:12:45  dburr
# Commented out Coda stuff, until I actually download the thing!
#
# Revision 2.1  1998/04/10 08:08:48  dburr
# Migrated configuration file to fit with FreeBSD 2.2.6-RELEASE.
#
# Revision 1.19  1998/04/10 07:53:32  dburr
# Changed ed0, sb0, sbxvi0, sbmidi0 to reflect crazy configuration
# that PnP BIOS assigned when changing Ethernet cards.
#
# Revision 1.18  1998/04/06 00:57:56  dburr
# Changed defines to use ISA ethernet card instead of PCI.
#
# Revision 1.17  1998/04/05 23:29:52  dburr
# Added driver for BrookTree 848 PCI TV capture card.
#
# Revision 1.16  1998/03/21 10:35:03  dburr
# SCBPAGING wasn't the cause of the troubles, so I put it back in.
#
# Revision 1.15  1998/03/20 18:30:52  dburr
# Removed AHC_SCBPAGING_ENABLE to try and fix problems with tosha.
#
# Revision 1.14  1998/03/14 12:39:59  dburr
# Upped maxusers to try and help the file table problem.
#
# Revision 1.13  1998/03/13 09:06:23  dburr
# Upped CHILD_MAX and OPEN_MAX to 512.
#
# Revision 1.12  1998/03/02 11:14:47  dburr
# Upped max child procs and files to 256 per user.
#
# Revision 1.11  1998/02/23 11:03:59  dburr
# Re-enabled SCB paging.
#
# Revision 1.10  1998/02/16 17:30:35  dburr
# Fixed typo in joy0 declaration.
#
# Revision 1.9  1998/02/16 17:30:00  dburr
# Removed PnP support.
#
# Revision 1.8  1998/02/04 10:07:44  dburr
# Removed flags for the nonexistent 2nd IDE disk.
# Switched to FreeBSD native sound driver.
# Removed NCR/SymBIOS driver since I have
# decided to keep the Adaptec card.
#
# Revision 1.7  1998/01/24 07:43:29  dburr
# Trying out original sound driver.
#
# Revision 1.6  1998/01/24 03:37:58  dburr
# Added driver for joystick port.
#
# Revision 1.5  1998/01/24 03:36:33  dburr
# Fixed declaration of sound driver.
#
# Revision 1.4  1998/01/13 14:21:59  root
# fixed for new sound driver.
#
# Revision 1.3  1998/01/13 07:50:44  root
# Added lines for PnP support.
# Deleted old sound driver lines.
# Added support for PnP sound card.
#
# Revision 1.2  1998/01/13 07:43:01  root
# removed all unused entries.
# trimmed down all comments.
#
# Revision 1.1  1998/01/13 07:25:03  root
# Initial revision
#
#
# Kernel configuration file for:
# HOST:    control.colossus.dyn.ml.org
# ARCH:    i386
# CPU:     i586
# OS:      FreeBSD
# OSREL:   2.2.6-RELEASE
#

machine		"i386"			# we are on an Intel x86 architecture
ident		CONTROL			# identification of this kernel
maxusers	100			# sizes certain tables for 10 users
options		CHILD_MAX=512		# up the limit for max. procs per user
options		OPEN_MAX=512		# up the limit for max. open files
options		"MAXDSIZ=(256*1024*1024)"
					# max. proc size = 256MB
options		"DFLDSIZ=(256*1024*1024)"
					# dflt. proc. size = 256MB
options         INCLUDE_CONFIG_FILE	# Include this file in kernel
config		kernel	root on wd0 dumps on wd0
					# where root fs and crashdumps are
cpu		"I586_CPU"		# our cpu is a Pentium-class CPU
options		"CPU_SUSP_HLT"		# suspend the CPU on system halt
options		"COMPAT_43"		# syscalls compatible with 4.3BSD
options		USER_LDT		# allow user-level control of i386 ldt
options		SYSVSHM			# SysV IPC (shared memory)
options		SYSVSEM			# SysV IPC (semaphores)
options		SYSVMSG			# SysV IPC (message queues)
options		"MD5"			# MD5 checking in kernel
options		KTRACE			# kernel tracing via ktrace(2)
options		UCONSOLE		# let users grab the console
options		USERCONFIG		# user configuration editor
options		VISUAL_USERCONFIG	# visual user config editor
options		INET			# Internet communications protocols
options		IPX			# IPX/SPX communications protocols
options		NETATALK		# Appletalk communications protocols
pseudo-device	ether			# Generic Ethernet
pseudo-device	loop			# Network loopback device
pseudo-device	sl	2		# Serial Line IP
pseudo-device	ppp	2		# Point-to-point protocol
pseudo-device	bpfilter	6	# Berkeley packet filter
pseudo-device	tun	2		# Tunnel driver(user process ppp)
options		"TCP_COMPAT_42"		# emulate 4.2BSD TCP bugs
options		FFS			# Fast filesystem
options		NFS			# Network File System
options		"CD9660"		# ISO 9660 filesystem
options		MSDOSFS			# MS DOS File System
options		PROCFS			# Process filesystem
options		NSWAPDEV=5		# max. number of swap devices
options		QUOTA			# enable disk quotas
controller	scbus0			# base SCSI code
device		ch0			# SCSI media changers
device		sd0			# SCSI disks
device		st0			# SCSI tapes
device		cd0			# SCSI CD-ROMs
device		od0			# SCSI optical disk
device worm0 at scbus?			# SCSI worm
device pt0 at scbus?			# SCSI processor type
device sctarg0 at scbus?		# SCSI target
options		SCSIDEBUG		# enable SCSI debug macros
options		SCSI_REPORT_GEOMETRY	# always report geometry
options		OD_AUTO_TURNOFF		# auto-spindown od's
pseudo-device	pty	16		# Pseudo ttys - can go as high as 256
pseudo-device	speaker			# Play music out your speaker
pseudo-device	log			# Kernel syslog interface (/dev/klog)
pseudo-device	gzip			# Exec gzipped a.out's
pseudo-device	vn	4		# Vnode driver (turns file into device)
pseudo-device	snp	4		# Snoop - to look at pty/vty/etc..
pseudo-device	ccd	4		# Concatenated disk driver
pseudo-device	su			# scsi user
pseudo-device	ssc			# super scsi
controller	isa0			# ISA bus
options		"AUTO_EOI_1"		# Enable AUTO_EOI for master 8259
options		BOUNCE_BUFFERS		# needed if >16MB RAM for busmaster
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
					# syscons console driver
options		MAXCONS=12		# number of virtual consoles
device		npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr				
	# math coprocessor support
controller	wdc0	at isa? port "IO_WD1" bio irq 14 flags 0x80ff vector wdintr					
# primary IDE controller
disk		wd0	at wdc0 drive 0	# primary master drive
controller	wdc1	at isa? port "IO_WD2" bio irq 15 flags 0x80ff vector wdintr					
# secondary IDE controller
disk		wd2	at wdc1 drive 0	# secondary master drive
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
					# floppy drive controller
disk		fd0	at fdc0 drive 0	# floppy drive 1
device		lpt0	at isa? port? tty irq 7 vector lptintr
					# printer port
device		psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
					# PS/2 mouse port
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
					# serial port 1
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
					# serial port 2
device		ed0 at isa? port 0x300 net irq 9 iomem 0xd8000 vector edintr
					# Ethernet card
controller	snd0			# sound card controller
device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
					# SoundBlaster 16
device sbxvi0   at isa? drq 5		# SoundBlaster 16
device sbmidi0  at isa? port 0x330	# SoundBlaster 16
device opl0     at isa? port 0x388	# OPL-3 FM synthesizer
device joy0	at isa? port "IO_GAME"	# Joystick port
device pca0 at isa? port IO_TIMER1 tty	# PC audio driver (sound out speaker)
controller	pci0			# PCI bus
device		bktr0			# BrookTree 848 PCI TV capture card
options		OVERRIDE_TUNER=1	# force it to be Temic NTSC tuner
controller	ahc0			# Adaptec PCI SCSI card
options		AHC_TAGENABLE		# Enable tagged command queueing
options		AHC_SCBPAGING_ENABLE	# Enable SCB paging
options		AHC_ALLOW_MEMIO		# Allow memory-mapped I/O
options		SCSI_DELAY=8		# let SCSI devices spinup before probe
options		"SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
					# increase max. shared memory size

--_=XFMail.1.2.p0.FreeBSD:980626105721:17102=_--
End of MIME message

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



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