Crazy clock

Atte Peltomaki koston at iki.fi
Mon Dec 6 08:10:44 PST 2004


> > DragonFlyBSD doesn't seem to be able to keep the date, and it has been
> > so for quite a while now. Is there a fix in horizon, or should I set up
> > a cronjob for ntpdate that runs every minute? >:)
> 
> Can you be a bit more verbose.
> 
> a) Are you using VESA or APM or other stuff which results in BIOS calls?
> b) Are you using SMP / HTT?
> c) Your machine is ... with verbose dmesg ...

I'm not using APM, probably not VESA, but I am using ACPI. You ask
difficult, I don't really know which drivers need BIOS calls :)

My box is dual p3, see below for dmesg.

> Please, keep in mind that we developers can't / don't want to hack into
> either your machine or your mind. You have to provide us with some hints
> to find and hopefully fix your problems.

I was under the impression that this problem was known and waiting for
someone to have time to find and fix it.


-Atte

*clip*

Copyright (c) 2003, 2004 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.1-UNKNOWN #0: Fri Dec  3 22:43:05 EET 2004
    root at xxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/NORSU
TSC clock: 797947250 Hz, i8254 clock: 1193158 Hz
CPU: Intel Pentium III (797.97-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM                          OV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536469504 (523896K bytes)
avail memory = 512884736 (500864K bytes)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
DragonFly/MP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170020, at 0xfec00000
Preloaded elf kernel "/kernel" at 0xc0507000.
Preloaded elf module "/modules/acpi.ko" at 0xc05071e8.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00fbb00
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using MMX optimized bcopy/copyin/copyout
acpi0: <DELL WS 420 > on motherboard
installed MI handler for int 9
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 17 -> irq 13
agp0: <Intel 82840 host to AGP bridge> mem 0xf0000000-0xf3ffffff at device 0.0 o                          n pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=1a23)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 16
pcib2: <Intel 82801AA (ICH) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xf8fffc00-0xf8ff                          fc7f irq 16 at device 4.0 on pci2
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: MAC address: 00:b0:d0:22:26:34
installed MI handler for int 16
pcm0: <ESS Solo-1 (unknown vendor)> port 0xdc18-0xdc1b,0xdc38-0xdc3b,0xdc00-0xdc                          0f,0xdc20-0xdc2f,0xdc40-0xdc7f irq 13 at device 9.0 on pci2
installed MI handler for int 13
pcib3: <DEC 21152 PCI-PCI bridge> at device 14.0 on pci2
pci3: <PCI bus> on pcib3
IOAPIC #0 intpin 18 -> irq 17
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xec00-0xecff mem 0xfafff000-                          0xfaffffff irq 17 at device 10.0 on pci3
installed MI handler for int 17
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xe800-0xe8ff mem 0xfaffe000-                          0xfaffefff irq 2 at device 10.1 on pci3
installed MI handler for int 2
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
isab0: <Intel 82801AA (ICH) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH ATA66 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
installed MI handler for int 14
ata1: at 0x170 irq 15 on atapci0
installed MI handler for int 15
uhci0: <Intel 82801AA (ICH) USB controller> port 0xff80-0xff9f irq 2 at device 3                          1.2 on pci0
usb0: <Intel 82801AA (ICH) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Contour Design Contour RollerMouse, rev 1.10/2.00, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
pci0: <unknown card> (vendor=0x8086, dev=0x2413) at 31.3 irq 13
orm0: <Option ROMs> at iomem 0xc0000-0xc87ff,0xc8800-0xce7ff,0xce800-0xcffff on                           isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
installed MI handler for int 6
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
installed MI handler for int 1
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
installed MI handler for int 4
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
installed MI handler for int 3
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
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
installed MI handler for int 7
installed MI handler for int 0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: timeout waiting for interrupt
ad0: 19470MB <IBM-DJNA-352030> [39560/16/63] at ata0-master UDMA66
ad1: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata0-slave UDMA66
acd0: CD-RW <HL-DT-ST CD-RW GCE-8240B> at ata1-master PIO4
Waiting 3 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 1 lun 0
da0: <IBM DDYS-T18350N S93E> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit)
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da1 at ahc0 bus 0 target 8 lun 0
da1: <QUANTUM ATLAS 10K 18WLS UCHQ> Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 31, 16bit)
da1: 17366MB (35566499 512 byte sectors: 255H 63S/T 2213C)
da2 at ahc1 bus 0 target 3 lun 0
da2: <iomega jaz 1GB J.83> Removable Direct Access SCSI-2 device 
da2: 10.000MB/s transfers (10.000MHz, offset 15)
da2: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata1 bus 0 target 0 lun 0
cd1: <HL-DT-ST CD-RW GCE-8240B 1.08> Removable CD-ROM SCSI-0 device 
cd1: 16.000MB/s transfers
cd1: cd present [1911 x 2048 byte records]
WARNING: #da/0x20000 si_iosize_max=0, using DFLTPHYS.
WARNING: #da/0x20003 si_iosize_max=0, using DFLTPHYS.
WARNING: #da/0x2000a si_iosize_max=0, using DFLTPHYS.
WARNING: #da/0x20004 si_iosize_max=0, using DFLTPHYS.
WARNING: #da/0x20005 si_iosize_max=0, using DFLTPHYS.
WARNING: #da/0x20006 si_iosize_max=0, using DFLTPHYS.
cd0 at ahc1 bus 0 target 5 lun 0
cd0: <NEC CD-ROM DRIVE:466 1.06> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: cd present [240262 x 2048 byte records]
WARNING: #da/0x20001 si_iosize_max=0, using DFLTPHYS.
pflog0: promiscuous mode enabled
cd9660: RockRidge Extension

*clip*

Kernel configuration:

machine         i386
cpu             I686_CPU
ident           NORSU
maxusers        0
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         UFS_DIRHASH             #Improve performance on big directories
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         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=3000         #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

device          pf      
device          pfsync
device          pflog

options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

device          isa
device          eisa
device          pci

device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
device          fd1     at fdc0 drive 1

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          atapicam                # Emulate ATAPI devices as SCSI via CAM
options         ATA_STATIC_ID           #Static device numbering

device          ahc             # AHA2940 and onboard AIC7xxx devices

device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

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?

pseudo-device   splash

device          sc0     at isa? flags 0x100

device          agp             # support several AGP chipsets

device          npx0    at nexus? port IO_NPX irq 13

device          apm0    at nexus? disable flags 0x20 # Advanced Power Management

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

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


device          miibus          # MII bus support
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   gif             # IPv6 and IPv4 tunneling
pseudo-device   faith   1       # IPv6-to-IPv4 relaying (translation)

pseudo-device   bpf             #Berkeley packet filter

pseudo-device   crypto          # core crypto support, used by wlan

device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          umass           # Disks/Mass storage - Requires scbus and da
device          ums             # Mouse

options         TCP_DROP_SYNFIN

device          pcm






More information about the Users mailing list