Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 09:43:47 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        Ronald Klop <ronald-freebsd8@thuis.klop.ws>
Cc:        stable@freebsd.org
Subject:   Re: stable-8 regression: time stands still
Message-ID:  <20100302084347.GA4719@ei.bzerk.org>
In-Reply-To: <op.u8wrcqh18527sy@212-123-145-58.ip.telfort.nl>
References:  <20100301203450.GA99170@ei.bzerk.org> <20100301211441.GB99170@ei.bzerk.org> <op.u8wrcqh18527sy@212-123-145-58.ip.telfort.nl>

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

Hi Ronald,

On Mon, Mar 01, 2010 at 10:30:16PM +0100, Ronald Klop typed:
> Hi Ruben,
> 
> Some shots in the dark.
> - Do you run powerd? Try to disable it.

Not running powerd, it's a server

> - What is your output of 'sysctl kern.timecounter'? Maybe try setting  
> another timecounter.

malenfant# sysctl kern.timecounter
kern.timecounter.tick: 1
kern.timecounter.choice: TSC(-100) HPET(900) ACPI-safe(850) i8254(0) dummy(-1000000)
kern.timecounter.hardware: HPET
kern.timecounter.stepwarnings: 0
kern.timecounter.tc.i8254.mask: 65535
kern.timecounter.tc.i8254.counter: 16475
kern.timecounter.tc.i8254.frequency: 1193182
kern.timecounter.tc.i8254.quality: 0
kern.timecounter.tc.ACPI-safe.mask: 4294967295
kern.timecounter.tc.ACPI-safe.counter: 2418769071
kern.timecounter.tc.ACPI-safe.frequency: 3579545
kern.timecounter.tc.ACPI-safe.quality: 850
kern.timecounter.tc.HPET.mask: 4294967295
kern.timecounter.tc.HPET.counter: 4294967295
kern.timecounter.tc.HPET.frequency: 14318180
kern.timecounter.tc.HPET.quality: 900
kern.timecounter.tc.TSC.mask: 4294967295
kern.timecounter.tc.TSC.counter: 36728411
kern.timecounter.tc.TSC.frequency: 2700107136
kern.timecounter.tc.TSC.quality: -100
kern.timecounter.smp_tsc: 0
kern.timecounter.invariant_tsc: 1

Not sure what knobs to turn to set another timecounter or which one. Doesn't look like
this is a documented course of action. What do you suggest?

> - Maybe you shouldn't name your computer 'ill child' in french. :-)

Heheh! Didn't know the karma of a computer was influenced by its name ;)
Malenfant btw is the main character in the manifold SF trilogy by Stephen Baxter.

cheers,
Ruben

> 
> Ronald.
> 
> On Mon, 01 Mar 2010 22:14:41 +0100, Ruben de Groot <mail25@bzerk.org>  
> wrote:
> 
> >
> >Forgot to mention. The kernel is GENERIC + IPFIREWALL* and IPDIVERT
> >options; nothing else.
> >I also build a RELEASE_8_0 kernel and it shows the same problems, so
> >it's not just a recent -stable issue.
> >
> >On Mon, Mar 01, 2010 at 09:34:50PM +0100, Ruben de Groot typed:
> >>
> >>Hi,
> >>
> >>After upgrading my 7.2-PRERELEASE system to 8-stable I encountered
> >>some very strange problems, most obvious:
> >>
> >>- startup would hang on starting devd, only continuing after a ^C
> >>
> >>- reboot would hang, but reboot -q would work.
> >>
> >>- nfs clients would report strange locking problems.
> >>
> >>Now I've found that probably the real problem here is that NO TIME
> >>IS PASSING (!!). Successively calling 'date' will allways give me
> >>the exact same time to the second.
> >>A 'sleep 1' will hang indefinetely.
> >>
> >>
> >>The BIOS is OK. After (and only after) a reboot, time will be updated to
> >>the time of reboot, but stay there forever after.
> >>
> >>Before I go back to 7.2 (tested there are still no problems
> >>there with a livecd) maybe someone want to shed some light on this.
> >>I've attached dmesg.boot.
> >>
> >>cheers,
> >>Ruben
> >>
> >
> >>Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
> >>FreeBSD 8.0-RELEASE-p2 #6: Sun Feb 21 15:45:07 CET 2010
> >>    root@malenfant.lan:/usr/obj/usr/src/sys/MALENFANT
> >>module_register: module g_label already exists!
> >>Module g_label failed to register: 17
> >>Timecounter "i8254" frequency 1193182 Hz quality 0
> >>CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2700.11-MHz  
> >>686-class CPU)
> >>  Origin = "AuthenticAMD"  Id = 0x60fb2  Stepping = 2
> >>  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
> >>  Features2=0x2001<SSE3,CX16>
> >>  AMD  
> >>Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
> >>  AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
> >>  TSC: P-state invariant
> >>real memory  = 2147483648 (2048 MB)
> >>avail memory = 1958805504 (1868 MB)
> >>ACPI APIC Table: <090908 APIC1020>
> >>FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> >>FreeBSD/SMP: 1 package(s) x 2 core(s)
> >> cpu0 (BSP): APIC ID:  0
> >> cpu1 (AP): APIC ID:  1
> >>ioapic0 <Version 2.1> irqs 0-23 on motherboard
> >>kbd1 at kbdmux0
> >>acpi0: <090908 RSDT1020> on motherboard
> >>acpi0: [ITHREAD]
> >>acpi0: Power Button (fixed)
> >>acpi0: reservation of ffb80000, 80000 (3) failed
> >>acpi0: reservation of fff00000, 100000 (3) failed
> >>acpi0: reservation of 0, a0000 (3) failed
> >>acpi0: reservation of 100000, 77f00000 (3) failed
> >>ACPI HPET table warning: Sequence is non-zero (2)
> >>Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> >>acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> >>acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on  
> >>acpi0
> >>Timecounter "HPET" frequency 14318180 Hz quality 900
> >>pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> >>pci0: <ACPI PCI bus> on pcib0
> >>pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> >>pci1: <ACPI PCI bus> on pcib1
> >>vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem  
> >>0xf0000000-0xf7ffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq  
> >>18 at device 5.0 on pci1
> >>pcib2: <ACPI PCI-PCI bridge> at device 5.0 on pci0
> >>pci2: <ACPI PCI bus> on pcib2
> >>re0: <RealTek 8101E/8102E/8102EL PCIe 10/100baseTX> port 0xd800-0xd8ff  
> >>mem 0xfeaff000-0xfeafffff irq 17 at device 0.0 on pci2
> >>re0: Using 1 MSI messages
> >>re0: Chip rev. 0x34000000
> >>re0: MAC rev. 0x00000000
> >>miibus0: <MII bus> on re0
> >>rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0
> >>rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> >>re0: Ethernet address: 00:1f:e2:6a:ac:35
> >>re0: [FILTER]
> >>atapci0: <ATI IXP600 SATA300 controller> port  
> >>0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f  
> >>mem 0xfe7ff800-0xfe7ffbff irq 22 at device 18.0 on pci0
> >>atapci0: [ITHREAD]
> >>atapci0: AHCI v1.10 controller with 4 3Gbps ports, PM supported
> >>ata2: <ATA channel 0> on atapci0
> >>ata2: port is not ready (timeout 0ms) tfd = 000001d0
> >>ata2: software reset clear timeout
> >>ata2: [ITHREAD]
> >>ata3: <ATA channel 1> on atapci0
> >>ata3: port is not ready (timeout 0ms) tfd = 000001d0
> >>ata3: software reset clear timeout
> >>ata3: [ITHREAD]
> >>ata4: <ATA channel 2> on atapci0
> >>ata4: [ITHREAD]
> >>ata5: <ATA channel 3> on atapci0
> >>ata5: [ITHREAD]
> >>ohci0: <OHCI (generic) USB controller> mem 0xfe7fe000-0xfe7fefff irq 16  
> >>at device 19.0 on pci0
> >>ohci0: [ITHREAD]
> >>usbus0: <OHCI (generic) USB controller> on ohci0
> >>ohci1: <OHCI (generic) USB controller> mem 0xfe7fd000-0xfe7fdfff irq 17  
> >>at device 19.1 on pci0
> >>ohci1: [ITHREAD]
> >>usbus1: <OHCI (generic) USB controller> on ohci1
> >>ohci2: <OHCI (generic) USB controller> mem 0xfe7fc000-0xfe7fcfff irq 18  
> >>at device 19.2 on pci0
> >>ohci2: [ITHREAD]
> >>usbus2: <OHCI (generic) USB controller> on ohci2
> >>ohci3: <OHCI (generic) USB controller> mem 0xfe7fb000-0xfe7fbfff irq 17  
> >>at device 19.3 on pci0
> >>ohci3: [ITHREAD]
> >>usbus3: <OHCI (generic) USB controller> on ohci3
> >>ohci4: <OHCI (generic) USB controller> mem 0xfe7fa000-0xfe7fafff irq 18  
> >>at device 19.4 on pci0
> >>ohci4: [ITHREAD]
> >>usbus4: <OHCI (generic) USB controller> on ohci4
> >>ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe7ff000-0xfe7ff0ff  
> >>irq 19 at device 19.5 on pci0
> >>ehci0: [ITHREAD]
> >>usbus5: EHCI version 1.0
> >>usbus5: <EHCI (generic) USB 2.0 controller> on ehci0
> >>pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
> >>atapci1: <ATI IXP600 UDMA133 controller> port  
> >>0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
> >>ata0: <ATA channel 0> on atapci1
> >>ata0: [ITHREAD]
> >>hdac0: <ATI SB600 High Definition Audio Controller> mem  
> >>0xfe7f4000-0xfe7f7fff irq 16 at device 20.2 on pci0
> >>hdac0: HDA Driver Revision: 20090624_0136
> >>hdac0: [ITHREAD]
> >>isab0: <PCI-ISA bridge> at device 20.3 on pci0
> >>isa0: <ISA bus> on isab0
> >>pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0
> >>pci3: <ACPI PCI bus> on pcib3
> >>ath0: <Atheros 5212> mem 0xfebf0000-0xfebfffff irq 20 at device 0.0 on  
> >>pci3
> >>ath0: [ITHREAD]
> >>ath0: AR2413 mac 7.9 RF2413 phy 4.5
> >>rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem  
> >>0xfebefc00-0xfebefcff irq 21 at device 1.0 on pci3
> >>miibus1: <MII bus> on rl0
> >>rlphy1: <RealTek internal media interface> PHY 0 on miibus1
> >>rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> >>rl0: Ethernet address: 00:0e:2e:55:b1:9b
> >>rl0: [ITHREAD]
> >>acpi_button0: <Power Button> on acpi0
> >>atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> >>uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> >>uart0: [FILTER]
> >>uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
> >>uart1: [FILTER]
> >>ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
> >>ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> >>ppc0: [ITHREAD]
> >>ppbus0: <Parallel port bus> on ppc0
> >>plip0: <PLIP network interface> on ppbus0
> >>plip0: [ITHREAD]
> >>lpt0: <Printer> on ppbus0
> >>lpt0: [ITHREAD]
> >>lpt0: Interrupt-driven port
> >>ppi0: <Parallel I/O> on ppbus0
> >>atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> >>atkbd0: <AT Keyboard> irq 1 on atkbdc0
> >>kbd0 at atkbd0
> >>atkbd0: [GIANT-LOCKED]
> >>atkbd0: [ITHREAD]
> >>cpu0: <ACPI CPU> on acpi0
> >>acpi_throttle0: <ACPI CPU Throttling> on cpu0
> >>acpi_throttle0: CLK_VAL field overlaps THT_EN bit
> >>device_attach: acpi_throttle0 attach returned 6
> >>powernow0: <PowerNow! K8> on cpu0
> >>cpu1: <ACPI CPU> on acpi0
> >>powernow1: <PowerNow! K8> on cpu1
> >>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
> >>Timecounters tick every 1.000 msec
> >>ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based  
> >>forwarding disabled, default to accept, logging disabled
> >>The GEOM class LABEL is already loaded.
> >>usbus0: 12Mbps Full Speed USB v1.0
> >>usbus1: 12Mbps Full Speed USB v1.0
> >>usbus2: 12Mbps Full Speed USB v1.0
> >>usbus3: 12Mbps Full Speed USB v1.0
> >>usbus4: 12Mbps Full Speed USB v1.0
> >>usbus5: 480Mbps High Speed USB v2.0
> >>acd0: DVDR <TSSTcorp CDDVDW SH-S222A/SA00> at ata0-master UDMA66
> >>ad4: 152627MB <SAMSUNG HD161HJ GF100-07> at ata2-master SATA300
> >>ugen0.1: <ATI> at usbus0
> >>uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
> >>ugen1.1: <ATI> at usbus1
> >>uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> >>ugen2.1: <ATI> at usbus2
> >>uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
> >>ugen3.1: <ATI> at usbus3
> >>uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
> >>ugen4.1: <ATI> at usbus4
> >>uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
> >>ugen5.1: <ATI> at usbus5
> >>uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
> >>GEOM: ad4: geometry does not match label (255h,63s != 16h,63s).
> >>ad6: 152627MB <Maxtor 6V160E0 VA111900> at ata3-master SATA300
> >>hdac0: HDA Codec #3: Realtek ALC662
> >>pcm0: <HDA Realtek ALC662 PCM #0 Analog> at cad 3 nid 1 on hdac0
> >>pcm1: <HDA Realtek ALC662 PCM #1 Digital> at cad 3 nid 1 on hdac0
> >>SMP: AP CPU #1 Launched!
> >>GEOM: ad6s1: geometry does not match label (255h,63s != 16h,63s).
> >>Root mount waiting for: usbus5 usbus4 usbus3 usbus2 usbus1 usbus0
> >>uhub0: 2 ports with 2 removable, self powered
> >>uhub1: 2 ports with 2 removable, self powered
> >>uhub2: 2 ports with 2 removable, self powered
> >>uhub3: 2 ports with 2 removable, self powered
> >>uhub4: 2 ports with 2 removable, self powered
> >>Root mount waiting for: usbus5
> >>Root mount waiting for: usbus5
> >>Root mount waiting for: usbus5
> >>Root mount waiting for: usbus5
> >>uhub5: 10 ports with 10 removable, self powered
> >>Root mount waiting for: usbus5
> >>Trying to mount root from ufs:/dev/ufs/ROOT
> >>ugen0.2: <FTDI> at usbus0
> >>ugen0.3: <vendor 0x1267> at usbus0
> >>ums0: <vendor 0x1267 PS/2+USB Mouse, class 0/0, rev 1.10/22.70, addr 3>  
> >>on usbus0
> >>ums0: 3 buttons and [XYZ] coordinates ID=0
> >
> >>_______________________________________________
> >>freebsd-stable@freebsd.org mailing list
> >>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> >>To unsubscribe, send any mail to  
> >>"freebsd-stable-unsubscribe@freebsd.org"
> >_______________________________________________
> >freebsd-stable@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> 



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