Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 09:59:29 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Kyle Butt <kylebutt@myrealbox.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Superfast clock on current. 
Message-ID:  <92373.1017133169@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 26 Mar 2002 01:58:07 MST." <87pu1rvh7k.wl@kylebutt.dorms.usu.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help

This is an interesting machine: A K6 wiht ACPI, havn't seen that
before.

Could you please try to boot -v and give me the ACPI timecounter
probe lines ?  (about ten lines which talk about it being GOOD or
BAD).

Poul-Henning

In message <87pu1rvh7k.wl@kylebutt.dorms.usu.edu>, Kyle Butt writes:
>My system clock is running twice as fast as it should be,
>but it doesn't affect timing functions. Ex:
>
>bash-2.04$ date ; sleep 5 ; date
>Tue Mar 26 01:48:45 MST 2002
>Tue Mar 26 01:48:55 MST 2002
>bash-2.04$ 
>
>Has anyone else experienced this problem? I'm running X4.2.0 but
>not from the ports. (I upgraded and X didn't work with opieaccess,
>but this was before the port for 420 was moved over) It's been
>going on for approximately a month now.
>
>Here's my dmesg, and kernel config file, if they help.
>
>dmesg:
>
>Copyright (c) 1992-2002 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 5.0-CURRENT #4: Tue Mar 26 09:03:23 MST 2002
>    kyle@kylebutt.dorms.usu.edu:/usr/obj/usr/src/sys/HOMEBAKED
>Preloaded elf kernel "/boot/kernel/kernel" at 0xc04b2000.
>Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04b20a8.
>Timecounter "i8254"  frequency 1193182 Hz
>Timecounter "TSC"  frequency 350796711 Hz
>CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
>  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
>  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>  AMD Features=0x80000800<SYSCALL,3DNow!>
>real memory  = 134201344 (131056K bytes)
>avail memory = 125476864 (122536K bytes)
>K6-family MTRR support enabled (2 registers)
>Using $PIR table, 5 entries at 0xc00f0b40
>npx0: <math processor> on motherboard
>npx0: INT 16 interface
>acpi0: <ASUS   P5A-B   > on motherboard
>acpi0: power button is handled as a fixed feature programming model.
>Timecounter "ACPI-safe"  frequency 3579545 Hz
>acpi_timer0: <24-bit timer at 3.579545MHz> port 0xec08-0xec0b on acpi0
>acpi_cpu0: <CPU> on acpi0
>acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
>pci0: <PCI bus> on acpi_pcib0
>pcib1: <PCI-PCI bridge> at device 1.0 on pci0
>pci1: <PCI bus> on pcib1
>pci1: <display, VGA> at device 0.0 (no driver attached)
>pci0: <bridge, PCI-unknown> at device 3.0 (no driver attached)
>isab0: <PCI-ISA bridge> at device 7.0 on pci0
>isa0: <ISA bus> on isab0
>pcm0: <AudioPCI ES1370> port 0xb800-0xb83f irq 9 at device 9.0 on pci0
>pci0: <simple comms> at device 10.0 (no driver attached)
>rl0: <RealTek 8139 10/100BaseTX> port 0xa800-0xa8ff mem 0xde000000-0xde0000ff irq 10 at device 11.0 on pci0
>rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
>rl0: Ethernet address: 00:4f:4e:03:38:9c
>miibus0: <MII bus> on rl0
>rlphy0: <RealTek internal media interface> on miibus0
>rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>atapci0: <AcerLabs Aladdin ATA33 controller> port 0xa400-0xa40f irq 0 at device 15.0 on pci0
>ata0: at 0x1f0 irq 14 on atapci0
>ata1: at 0x170 irq 15 on atapci0
>fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0
>fdc0: FIFO enabled, 8 bytes threshold
>fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
>ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
>ppc0: FIFO with 16/16/7 bytes threshold
>plip0: <PLIP network interface> on ppbus0
>lpt0: <Printer> on ppbus0
>lpt0: Interrupt-driven port
>ppi0: <Parallel I/O> on ppbus0
>sio0 port 0x3f8-0x3ff irq 4 on acpi0
>sio0: type 16550A
>sio1 port 0x2f8-0x2ff irq 3 on acpi0
>sio1: type 16550A
>atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
>atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
>kbd0 at atkbd0
>psm0: <PS/2 Mouse> irq 12 on atkbdc0
>psm0: model IntelliMouse, device ID 3
>orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
>pmtimer0 on isa0
>sc0: <System console> at flags 0x100 on isa0
>sc0: VGA <16 virtual consoles, flags=0x300>
>vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
>IPv6 packet filtering initialized, default to accept, logging limited to 100 packets/entry
>IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
>IPsec: Initialized Security Association Processing.
>IP Filter: v3.4.25 initialized.  Default = block all, Logging = enabled
>ad0: 5495MB <Maxtor 90576D4> [11166/16/63] at ata0-master UDMA33
>ad2: 9765MB <Maxtor 91024D4> [19841/16/63] at ata1-master UDMA33
>ad3: 1916MB <Maxtor 72004 A> [3893/16/63] at ata1-slave WDMA2
>acd0: CDROM <ATAPI CDROM> at ata0-slave PIO4
>Mounting root from ufs:/dev/ad2s1a
>pid 297 (emacs), uid 1000: exited on signal 11 (core dumped)
>
>kernel config file (mostly just a hackup of GENERIC)
>
>#
># GENERIC -- Generic kernel configuration file for FreeBSD/i386
>#
># 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 NOTES configuration file. If you are
># in doubt as to the purpose or necessity of a line, check first in NOTES.
>#
># $FreeBSD: src/sys/i386/conf/GENERIC,v 1.335 2002/02/13 18:47:50 alfred Exp $
>
>machine		i386
>#cpu		I486_CPU
>cpu		I586_CPU
>cpu		I686_CPU
>ident		HOMEBAKED
>maxusers	0
>
>options 	CPU_FASTER_5X86_FPU
>options 	CPU_SUSP_HLT
>options 	CPU_UPGRADE_HW_CACHE
>options 	CPU_WT_ALLOC
>options 	GPL_MATH_EMULATE		#Support for x87 emulation
>options 	NO_F00F_HACK
>
>#To statically compile in device wiring instead of /boot/device.hints
>#hints		"GENERIC.hints"		#Default places to look for devices.
>
>makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
>
>options 	INET			#InterNETworking
>options 	INET6			#IPv6 communications protocols
>options 	IPSEC			#IP security
>options 	IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
>options 	IPSEC_DEBUG		#debug for IP security
>options 	IPX			#IPX/SPX communications protocols
>options 	IPXIP			#IPX in IP encapsulation (not available)
>options 	IPTUNNEL		#IP in IPX encapsulation (not available)
>options 	FFS			#Berkeley Fast Filesystem
>options 	SOFTUPDATES		#Enable FFS soft updates support
>options 	UFS_DIRHASH		#Improve performance on big directories
>options 	MD_ROOT			#MD is a potential root device
>options 	NFSCLIENT		#Network Filesystem Client
>options 	NFSSERVER		#Network Filesystem Server
>options 	NFS_ROOT		#NFS usable as root device, requires NFSCLIENT
>options 	MSDOSFS			#MSDOS Filesystem
>options 	CD9660			#ISO 9660 Filesystem
>options 	PROCFS			#Process filesystem (requires PSEUDOFS)
>options 	PSEUDOFS		#Pseudo-filesystem framework
>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 	_KPOSIX_VERSION=199309L
>options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
>
># Debugging for use in -current
>options 	DDB			#Enable the kernel debugger
>#options 	INVARIANTS		#Enable calls of extra sanity checking
>#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
>#options 	WITNESS			#Enable mutex checks to detects deadlocks and cycles
>#options		WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
>
># 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
>#options 	PCI_ENABLE_IO_MODES	# Enable pci resources left off by a "lazy BIOS"
>
># Floppy drives
>device		fdc
>
># ATA and ATAPI devices
>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 + those of `ncr')
>
>#device		adv		# Advansys SCSI adapters
>#device		adw		# Advansys wide SCSI adapters
>#device		aha		# Adaptec 154x SCSI adapters
>#device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
>#device		bt		# Buslogic/Mylex MultiMaster SCSI adapters
>
>#device		ncv		# NCR 53C500
>#device		nsp		# Workbit Ninja SCSI-3
>#device		stg		# TMC 18C30/18C50
>
># RAID controllers interfaced to the SCSI subsystem
>#device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
>#device		ciss		# Compaq Smart RAID 5*
>#device		dpt		# DPT Smartcache III, IV - See NOTES for options!
>#device		iir		# Intel Integrated RAID
>#device		mly		# Mylex AcceleRAID/eXtremeRAID
>
># SCSI peripherals
>#device		scbus		# SCSI bus (required)
>#device		ch		# SCSI media changers
>#device		da		# Direct Access (disks)
>#device		sa		# Sequential Access (tape etc)
>#device		cd		# CD
>#device		pass		# Passthrough device (direct SCSI access)
>#device		ses		# SCSI Environmental Services (and SAF-TE)
>
># RAID controllers
>#device		aac		# Adaptec FSA RAID
>#device		amr		# AMI MegaRAID
>#device		ida		# Compaq Smart RAID
>#device		mlx		# Mylex DAC960 family
>#device		twe		# 3ware ATA RAID
>
># atkbdc0 controls both the keyboard and the PS/2 mouse
>device		atkbdc	1	# At keyboard controller
>device		atkbd		# at keyboard
>device		psm		# psm mouse
>
>device		vga		# VGA screen
>
># splash screen/screen saver
>device		splash
>
># syscons is the default console driver, resembling an SCO console
>device		sc	1
>
># Enable this for the pcvt (VT220 compatible) console driver
>#device		vt
>#options 	XSERVER			# support for X server on a vt console
>#options 	FAT_CURSOR		# start with block cursor
>
># Floating point support - do not disable.
>device		npx
>
># Power management support (see NOTES for more options)
>device		apm
># Add suspend/resume support for the i8254.
>device		pmtimer
>
># PCCARD (PCMCIA) support
>#device		card		# pccard bus
>#device		pcic		# PCMCIA bridge
>
># Serial (COM) ports
>device		sio		# 8250, 16[45]50 based serial ports
>
># Parallel port
>device		ppc
>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		txp		# 3Com 3cR990 (``Typhoon'')
>#device		vx		# 3Com 3c590, 3c595 (``Vortex'')
>
># 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		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
>#device		pcn		# AMD Am79C97x 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		tx		# SMC EtherPower II (83c170 ``EPIC'')
>#device		vr		# VIA Rhine, Rhine II
>#device		wb		# Winbond W89C840F
>#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
>
>device		ef			# Multiple ethernet frames support
>options 	ETHER_II		# enable Ethernet_II frame
>options 	ETHER_8023		# enable Ethernet_802.3 (Novell) frame
>options 	ETHER_8022		# enable Ethernet_802.2 frame
>options 	ETHER_SNAP		# enable Ethernet_802.2/SNAP frame
>
># ISA Ethernet NICs.  pccard nics included.
>#device		cs		# Crystal Semiconductor CS89x0 NIC
># 'device ed' requires 'device miibus'
>#device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
>#device		ex		# Intel EtherExpress Pro/10 and Pro/10+
>#device		ep		# Etherlink III based cards
>#device		fe		# Fujitsu MB8696x based cards
>#device		lnc		# NE2100, NE32-VL Lance Ethernet cards
>#device		sn		# SMC's 9000 series of ethernet chips
>#device		xe		# Xircom pccard ethernet
>
># ISA devices that use the old ISA shims
>#device		le
>
># Wireless NIC cards
>#device		an		# Aironet 4500/4800 802.11 wireless NICs. 
>#device		awi		# BayStack 660 and others
>#device		wi		# WaveLAN/IEEE 802.11 wireless NICs. 
>#device		wl		# Older non 802.11 Wavelan wireless NIC.
>
># Pseudo devices - the number indicates how many units to allocate.
>device		random		# Entropy device
>device		loop		# Network loopback
>device		ether		# Ethernet support
>device		sl		# Kernel SLIP
>device		ppp	1	# Kernel PPP
>device		tun		# Packet tunnel.
>device		pty		# Pseudo-ttys (telnet etc)
>device		md		# Memory "disks"
>device		gif		# IPv6 and IPv4 tunneling
>device		faith		# IPv6-to-IPv4 relaying (translation)
>options 	XBONEHACK
>device		stf			#6to4 IPv6 over IPv4 encapsulation
>
># The `bpf' device enables the Berkeley Packet Filter.
># Be aware of the administrative consequences of enabling this!
>device		bpf		# Berkeley packet filter
>
>options 	MROUTING		# Multicast routing
>options 	IPFIREWALL		#firewall
>options 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
>options 	IPFIREWALL_FORWARD	#enable transparent proxy support
>options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
>options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
>options 	IPV6FIREWALL		#firewall for IPv6
>options 	IPV6FIREWALL_VERBOSE
>options 	IPV6FIREWALL_VERBOSE_LIMIT=100
>options 	IPV6FIREWALL_DEFAULT_TO_ACCEPT
>options 	IPDIVERT		#divert sockets
>options 	IPFILTER		#ipfilter support
>options 	IPFILTER_LOG		#ipfilter logging
>options 	IPFILTER_DEFAULT_BLOCK	#block all packets by default
>options 	IPSTEALTH		#support for stealth forwarding
>options 	TCPDEBUG
>
># RANDOM_IP_ID causes the ID field in IP packets to be randomized
># instead of incremented by 1 with each packet generated.  This
># option closes a minor information leak which allows remote
># observers to determine the rate of packet generation on the
># machine by watching the counter.
>options 	RANDOM_IP_ID
>
># USB support
>#device		uhci		# UHCI PCI->USB interface
>#device		ohci		# OHCI PCI->USB interface
>#device		usb		# USB Bus (required)
>#device		udbp		# USB Double Bulk Pipe devices
>#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		urio		# Diamond Rio 500 MP3 player
>#device		uscanner	# Scanners
># USB Ethernet, requires mii
>#device		aue		# ADMtek USB ethernet
>#device		cue		# CATC USB ethernet
>#device		kue		# Kawasaki LSI USB ethernet
>
>device		pcm
>device		midi
>device		seq
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-current" in the body of the message
>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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?92373.1017133169>