On Sat, Mar 24, 2018 at 04:16:08PM -0700, Chris Bennett wrote:
> SENDBUG: -*- sendbug -*-
> SENDBUG: Lines starting with `SENDBUG' will be removed automatically.
> SENDBUG:
> SENDBUG: Choose from the following categories:
> SENDBUG:
> SENDBUG: amd64
> SENDBUG:
> SENDBUG:
> To: [email protected]
> Subject: X slow to start and prints many identical letters deletes all
> From: root
> Cc: root
> Reply-To: root
> 
> >Synopsis: X slow start, keypress many same letter, backspace deletes all
> >Category: X problem
> >Environment:
>       System      : OpenBSD 6.3
>       Details     : OpenBSD 6.3 (GENERIC.MP) #106: Sat Mar 24 09:48:47 MDT 
> 2018
>                        
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
> I have seen this already, but made wrong assumptions and was very sick with 
> flu and dental surgery. Fresh installs of -current are very slow to start X. 
> FVWM looks fine, but one keypress makes letter appear many times. Occasionaly 
> get only one letter. Backspace erases entire line. Sorry, I assumed this was 
> related to my problems with USB3 compatible flash sticks. Then I got too sick 
> to follow up.
> This is a USB 2 stick and I have tried in both USB ports.
> >How-To-Repeat:
> Problem happens after install and manual installation of uvideo-firmware.
> Reboot does not help. 
> >Fix:

Howdy.

This sounds like a clock issue (I had one similar on my ThinkPad E475,
A10-9600P).  In a console window (don't launch X for this), can you
check your clock source:

$ sysctl kern.timecounter.hardware

If this returns back: tsc, try another clock source from
($ sysctl kern.timecounter.choice ); I would recommend acpihpet0

After you changed the clock source, start X and see if the problem is
still there.

Once you found the correct clock source, put it in /etc/sysctl.conf so
it's changed on every boot.

+--+
Carlos

>       
> 
> dmesg:
> OpenBSD 6.3 (GENERIC.MP) #106: Sat Mar 24 09:48:47 MDT 2018
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3774021632 (3599MB)
> avail mem = 3652571136 (3483MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xea8c0 (45 entries)
> bios0: vendor LENOVO version "5PCN18WW" date 09/28/2017
> bios0: LENOVO 80XV
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP UEFI HPET APIC MCFG SBST MSDM BATB SSDT IVRS CRAT 
> TPM2 SSDT SSDT SSDT SSDT FPDT SSDT BGRT UEFI
> acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GFX0(S4) 
> GFX1(S4) GFX2(S4) GFX3(S4) GFX4(S4) XHC0(S3) EHC1(S3) SBAZ(S4)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpihpet0 at acpi0: 14318180 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 16 (boot processor)
> cpu0: AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G, 2994.75 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,DBKP,PERFTSC,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2
> cpu0: 96KB 64b/line 3-way I-cache, 32KB 64b/line 8-way D-cache, 1MB 64b/line 
> 16-way L2 cache
> cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> acpihpet0: recalibrated TSC frequency 2994384233 Hz
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 17 (application processor)
> cpu1: AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G, 2994.38 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,DBKP,PERFTSC,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2
> cpu1: 96KB 64b/line 3-way I-cache, 32KB 64b/line 8-way D-cache, 1MB 64b/line 
> 16-way L2 cache
> cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
> , remapped to apid 4
> ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 21, 32 pins
> , remapped to apid 5
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (GPP0)
> acpiprt2 at acpi0: bus -1 (GPP1)
> acpiprt3 at acpi0: bus 1 (GPP2)
> acpiprt4 at acpi0: bus 2 (GPP3)
> acpiprt5 at acpi0: bus -1 (GPP4)
> acpiprt6 at acpi0: bus -1 (GFX0)
> acpiprt7 at acpi0: bus -1 (GFX1)
> acpiprt8 at acpi0: bus -1 (GFX2)
> acpiprt9 at acpi0: bus -1 (GFX3)
> acpiprt10 at acpi0: bus -1 (GFX4)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2(0@400 io@0x814), C1(@1 halt!), PSS
> acpicpu1 at acpi0: C2(0@400 io@0x814), C1(@1 halt!), PSS
> acpipwrres0 at acpi0: P0U3, resource for XHC0
> acpipwrres1 at acpi0: P3U3, resource for XHC0
> acpipwrres2 at acpi0: P0U2, resource for EHC1
> acpipwrres3 at acpi0: P3U2, resource for EHC1
> acpipwrres4 at acpi0: P0SD
> acpipwrres5 at acpi0: P3SD
> acpipwrres6 at acpi0: P0ST, resource for SATA
> acpipwrres7 at acpi0: P3ST, resource for SATA
> acpibtn0 at acpi0: PWRB
> "PTL0001" at acpi0 not configured
> acpibat0 at acpi0: BAT0 model "L16L2PB2" serial  3458 type LiP oem "LGC"
> "VPC2004" at acpi0 not configured
> acpiac0 at acpi0: AC unit online
> acpibtn1 at acpi0: LID_
> "PNP0C14" at acpi0 not configured
> "AMD0030" at acpi0 not configured
> "AMD0010" at acpi0 not configured
> "ELAN060C" at acpi0 not configured
> "MSFT0101" at acpi0 not configured
> acpivideo0 at acpi0: VGA_
> acpivideo1 at acpi0: VGA_
> acpivideo2 at acpi0: VGA_
> cpu0: 2994 MHz: speeds: 3000 2700 2400 2100 1800 1400 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD AMD64 15h Root Complex" rev 0x00
> "AMD AMD64 15h IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
> vga1 at pci0 dev 1 function 0 vendor "ATI", unknown product 0x98e4 rev 0xda
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x15b3 rev 
> 0x00: msi
> azalia0: no supported codecs
> pchb1 at pci0 dev 2 function 0 "AMD AMD64 15h Host" rev 0x00
> ppb0 at pci0 dev 2 function 3 "AMD AMD64 15h PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> vendor "Atheros", unknown product 0x0042 (class network subclass 
> miscellaneous, rev 0x31) at pci1 dev 0 function 0 not configured
> ppb1 at pci0 dev 2 function 4 "AMD AMD64 15h PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> re0 at pci2 dev 0 function 0 "Realtek 8101E" rev 0x07: RTL8106E (0x4480), 
> msi, address 54:e1:ad:18:86:57
> rlphy0 at re0 phy 7: RTL8201E 10/100 PHY, rev. 2
> pchb2 at pci0 dev 3 function 0 "AMD AMD64 15h Host" rev 0x00
> "AMD AMD64 15h PSP 2.0" rev 0x00 at pci0 dev 8 function 0 not configured
> pchb3 at pci0 dev 9 function 0 "AMD AMD64 15h Host" rev 0x00
> azalia1 at pci0 dev 9 function 2 "AMD AMD64 15h HD Audio" rev 0x00: apic 5 
> int 22
> azalia1: codecs: Realtek/0x0230
> audio0 at azalia1
> xhci0 at pci0 dev 16 function 0 "AMD Carrizo xHCI" rev 0x20: msi
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 
> addr 1
> ahci0 at pci0 dev 17 function 0 "AMD Carrizo AHCI" rev 0x4b: msi, AHCI 1.3
> ahci0: port 0: 6.0Gb/s
> ahci0: port 1: 1.5Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD10SPCX-24H, 02.0> SCSI3 0/direct 
> fixed naa.50014ee607794c63
> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> cd0 at scsibus1 targ 1 lun 0: <PLDS, DVD-RW DA8AESH, XL61> ATAPI 5/cdrom 
> removable
> ehci0 at pci0 dev 18 function 0 "AMD Carrizo USB2" rev 0x49: apic 4 int 18
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 
> addr 1
> "AMD Carrizo SMBus" rev 0x4b at pci0 dev 20 function 0 not configured
> pcib0 at pci0 dev 20 function 3 "AMD Carrizo LPC" rev 0x11
> pchb4 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x15b0 rev 0x00
> pchb5 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x15b1 rev 0x00
> pchb6 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x15b2 rev 0x00
> pchb7 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x15b3 rev 0x00
> pchb8 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x15b4 rev 0x00
> pchb9 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x15b5 rev 0x00
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> uhidev0 at uhub0 port 5 configuration 1 interface 0 "Logitech USB Receiver" 
> rev 2.00/24.01 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub0 port 5 configuration 1 interface 1 "Logitech USB Receiver" 
> rev 2.00/24.01 addr 2
> uhidev1: iclass 3/1, 8 report ids
> ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir
> wsmouse0 at ums0 mux 0
> uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
> uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
> Uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0
> uhidev2 at uhub0 port 5 configuration 1 interface 2 "Logitech USB Receiver" 
> rev 2.00/24.01 addr 2
> uhidev2: iclass 3/0, 33 report ids
> uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0
> uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0
> uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0
> uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0
> uhub2 at uhub1 port 1 configuration 1 interface 0 "Advanced Micro Devices 
> product 0x7900" rev 2.00/0.18 addr 2
> umass0 at uhub2 port 1 configuration 1 interface 0 "SanDisk Cruzer Blade" rev 
> 2.10/1.00 addr 3
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <SanDisk, Cruzer Blade, 1.00> SCSI4 0/direct 
> removable serial.07815567480401114440
> sd1: 30024MB, 512 bytes/sector, 61489152 sectors
> ugen0 at uhub2 port 2 "Atheros Communications product 0xe500" rev 2.01/0.01 
> addr 4
> uvideo0 at uhub2 port 3 configuration 1 interface 0 "Generic EasyCamera" rev 
> 2.00/53.04 addr 5
> video0 at uvideo0
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> root on sd1a (641f95f75a597b4e.a) swap on sd1b dump on sd1b

Reply via email to