Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2000 11:17:53 -0500
From:      Patrick Hartling <patrick@137.org>
To:        freebsd-stable@freebsd.org
Subject:   System clock out of control
Message-ID:  <20001022161753.65DAD5D5A@tomservo.vrac.iastate.edu>

next in thread | raw e-mail | index | archive | help
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <620.972231438.1@tomservo.vrac.iastate.edu>

Last weekend, I installed FreeBSD 4.1.1 on a machine loaned to me by a
friend.  It's got a Cyrix MediaGX in it which is something I've not dealt
with before.  After getting 4.1.1 installed, I promptly cvsup'd the
4-STABLE sources for October 14, rebuilt and installed a custom kernel.
Since doing that, the system clock has been ticking off about 10 seconds
for each real second which is certainly undesirable.  The GENERIC kernel
for 4.1.1 and October 14 work just fine, however.  I've been making
custom kernels since 2.1.5, and I have never seen anything like this before.
This machine was replacing one that was already running 4-STABLE from late
August, and I based the custom kernel for this replacement machine on the
older one.

Has anyone seen this kind of behavior before?  It's quite perplexing to me,
and while I can run a GENERIC kernel, I prefer to use custom kernels as
much as possible.  Attached are my custom kernel config, my
/boot/loader.conf.local and the output of dmesg when the machine is booted
using the GENERIC kernel.

 -Patrick


Patrick L. Hartling			| Research Assistant, VRAC
patrick@137.org				| 2624 Howe Hall -- (515)294-4916
http://www.137.org/patrick/		| http://www.vrac.iastate.edu/


------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <620.972231438.2@tomservo.vrac.iastate.edu>
Content-Description: Kernel config

#
# CATBERT -- Single-processor FreeBSD-stable kernel
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is 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$

machine		i386
cpu		I586_CPU
ident		CATBERT
maxusers	32

options		INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	IPSEC			#IP security
options 	IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
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=1000		#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) support
options		SYSVSHM
options		SYSVSEM
options 	SYSVMSG			# System V messaging
options 	P1003_1B
options		_KPOSIX_PRIORITY_SCHEDULING
options		_KPOSIX_VERSION=199309L
options		SOFTUPDATES
#options 	QUOTA
#options 	MSGBUF_SIZE=32768

options 	DDB			# Enable kernel debugger
options 	INCLUDE_CONFIG_FILE	# Include this file in kernel

device		isa
device		pci

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

# 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
#options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# SCSI Controllers
device 		aic0	at isa? port 0x340 irq 11

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		pass		# Passthrough device (direct SCSI)

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

device		vga0	at isa?

pseudo-device	splash			# splash screen/screen saver

#options		FAT_CURSOR		# start with block cursor

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?
options 	SC_DISABLE_DDBKEY	# disable 'debug' key
options 	SC_HISTORY_SIZE=480	# number of history buffer lines
options 	SC_PIXEL_MODE		# add support for the raster text mode

# The following options will let you change the default colors of syscons.
options		SC_KERNEL_CONS_ATTR="(FG_LIGHTRED|BG_BLACK)"
options		SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"

# Mandatory, don't remove
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

# 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

pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	pty	32	# Pseudo-ttys (telnet etc)
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

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <620.972231438.3@tomservo.vrac.iastate.edu>
Content-Description: Local boot loader config

# This is loader.conf.local - a file full of useful variables that you can
# set to change the default load behavior of your system.
#
# All arguments must be in double quotes.

##############################################################
###  Basic configuration options  ############################
##############################################################

userconfig_script_load="YES"

##############################################################
###  Splash screen configuration  ############################
##############################################################

splash_bmp_load="YES"		# Set this to YES if you want splash screen!
vesa_load="YES"			# Set this to YES to load the vesa module
bitmap_load="YES"		# Set this to YES if you want splash screen!


##############################################################
###  Loader settings  ########################################
##############################################################

autoboot_delay="5"	# Delay in seconds before autobooting
prompt="boot>"	# Set the command prompt


##############################################################
###  Filesystem and related modules  #########################
##############################################################

# Filesystems

cd9660_load="YES"		# ISO 9660 filesystem
kernfs_load="NO"		# Kernel filesystem
msdos_load="YES"		# FAT-12/16/32
nfs_load="YES"			# NFS
procfs_load="YES"		# Process filesystem

# Related stuff

vn_load="NO"			# Vnode driver


##############################################################
###  Networking drivers  #####################################
##############################################################

if_dc_load="YES"		# DEC/Intel 21143 and various workalikes


##############################################################
###  Emulation modules  ######################################
##############################################################

linux_load="NO"			# Linux emulation
streams_load="NO"		# Streams module (required for SVR4 emulation)
svr4_load="NO"			# SVR4 emulation

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <620.972231438.4@tomservo.vrac.iastate.edu>
Content-Description: Kernel config

Copyright (c) 1992-2000 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.1.1-STABLE #0: Sun Oct 22 03:19:44 CDT 2000
    root@gypsy.vrac.iastate.edu:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Cyrix GXm (19.73-MHz 586-class CPU)
  Origin = "CyrixInstead"  Id = 0x540  DIR=0x6246  Stepping=6  Revision=2
real memory  = 83886080 (81920K bytes)
config> di sn0
config> di lnc0
config> di le0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> di bt0
config> di aic0
config> di adv0
config> q
avail memory = 77389824 (75576K bytes)
Preloaded elf kernel "kernel" at 0xc041d000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc041d09c.
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
dc0: <82c169 PNIC 10/100BaseTX> port 0x6000-0x60ff mem 0xe1000000-0xe10000ff irq 10 at device 7.0 on pci0
dc0: Ethernet address: 00:a0:cc:5d:16:8f
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <ATI Mach64-GP graphics accelerator> at 8.0 irq 12
isab0: <PCI to ISA bridge (vendor=1078 device=0002)> port 0x5000-0x500f,0x4000-0x401f,0x3000-0x307f mem 0x40010000-0x40010fff at device 18.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> mem 0xe1002000-0xe1002fff irq 10 at device 19.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0: too many dependant configs (8)
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
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm: keyboard controller failed.
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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 1222MB <QUANTUM FIREBALL1280A> [2484/16/63] at ata0-master using BIOSPIO
ad2: 3079MB <QUANTUM FIREBALL EX3.2A> [6256/16/63] at ata1-master using BIOSPIO
acd0: CDROM <iPnoee rDCR-MOA ATIPoMed lRDU-1P42 X1000> at ata0-slave using BIOSPIO
Mounting root from ufs:/dev/ad0s1a

------- =_aaaaaaaaaa0--


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?20001022161753.65DAD5D5A>