Port-amd64 archive

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

Re: DELL Latitude 5501: slow clock solve, lowres video, no wifi



Hi, all.

Patrick Welche wrote:
> 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.

On 2020/04/19 3:19, is%beverly.kleinbus.org@localhost wrote:
> On Fri, Apr 17, 2020 at 12:05:25AM +0900, SAITOH Masanobu wrote:
> 
>> Please test the following (work-in-progrss) diff:
>>
>> 	http://www.netbsd.org/~msaitoh/tsc-20200416-2.dif
> 
> with this, at least the clock while booted is ok.
> 
> timecounter: Timecounters tick every 10.000 msec
> timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
> cpu0 at mainbus0 apid 0
> cpu0: CPU base freq = 2500000000
> cpu0: CPU max freq = 4300000000
> cpu0: lapic_per_second set to 24000000
> cpu0: TSC freq = 2496000000
> cpu0: Intel(R) Core(TM) i5-9400H CPU @ 2.50GHz, id 0x906ed
> acpi0: SCI interrupting at int 9
> timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
> hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
> timecounter: Timecounter "hpet0" frequency 24000000 Hz quality 2000
> 
> Other problems remain:
> 
>>> * 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)
> 
> and: low resolution video
> 
> genfb0 at pci0 dev 2 function 0: Intel UHD Graphics 630 (rev. 0x02)
> genfb0: framebuffer at 0x80000000, size 800x600, depth 32, stride 3200
> genfb0: shadow framebuffer enabled, size 1875 KB
> wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
> wsmux1: connecting to wsdisplay0
> drm at genfb0 not configured
> 
> and: wireless lan not detected. seems to be this (iwlwifi @ Linux?)

We should add 9560 support to iwm(4).

> Intel product a370 (miscellaneous network, revision 0x10) at pci0 dev 20 function 3 not configured
> 
> 
> Regards,
> 	-is
> 

Previous patch had a problem that ci->ci_data.cpu_cc_freq still
kept wrong value.

Updated patch:
	http://www.netbsd.org/~msaitoh/tsc-20200419-0.dif

-cpu0: Intel 7th or 8th gen Core (Kaby Lake, Coffee Lake) or Xeon E (Coffee Lake) (686-class), 10835.93 MHz
+cpu0: Intel 7th or 8th gen Core (Kaby Lake, Coffee Lake) or Xeon E (Coffee Lake) (686-class), 2592.00 MHz

-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index