Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: slow clock on DELL Latitude 5501



On Fri, Apr 17, 2020 at 12:05:25AM +0900, SAITOH Masanobu wrote:
> Hi, all.
> 
> On 2020/02/13 20:10, is%netbsd.org@localhost wrote:
> > On Tue, Feb 11, 2020 at 05:34:58PM +0100, Frank Kardel wrote:
> >> clockinterrupt be 4 times too slow explains the high TSC frequency(*4) and
> >> ACPI-Fast and hpet0 seem the have the same frequency scaling as
> >> clockinterrupt.
> >>
> >> So it loock like the clockinterrupt setup is botched.
> > 
> > Possibly related:
> > 
> > * after a reboot, our (efi)boot doesn't count down.
> > * after a single powerdown in this condition, boot counts down,
> >   netbsd kernel boots, but hangs after the internal ubt (last
> >   device) has attached.
> > * needs a 2nd powerdown in this condition to boot again.
> > 
> > (after shutdown -p and powerup , boots ok)
> > 
> > 	-is
> > 
> 
> Please test the following (work-in-progrss) diff:
> 
> 	http://www.netbsd.org/~msaitoh/tsc-20200416-2.dif
> 
> I bought a new Intel NUC(BXNUC10I3FNK (Comet Lake U)) and it had the same problem.

It makes my

cpu0: "Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz"
cpu0: Intel 7th or 8th gen Core (Kaby Lake, Coffee Lake) or Xeon E (Coffee Lake) (686-class), 2112.00 MHz
cpu0: family 0x6 model 0x8e stepping 0xc (id 0x806ec)

much happier:

before.dmesg:timecounter: Timecounter "TSC" frequency 8831386500 Hz quality 3000
after.dmesg: timecounter: Timecounter "TSC" frequency 2112000000 Hz quality 3000


Thanks,

Patrick


Home | Main Index | Thread Index | Old Index