On Mon, May 21, 2018 at 11:37:31PM +0100, Nigel Taylor wrote: > On 05/21/18 22:59, Nigel Taylor wrote: > > Upgraded machine, rather than default entered shell to do final task. > > When finished typed in reboot > > > > Machine came up, and reached the normal login prompt. > > > > Tried to login typing on keyboard nothing happened, initial thought had > > hung. Checked from another machine and could ssh and complete the > > packages upgrades, in case some package was causing issue. > > > > Once complete used shutdown -r now, the same happened. Did shutdown -r > > now, this time typed bsd.rd at boot prompt, bsd.rd I could still type, > > entered shell and tried bsd.sp same issue with not being able to type. > > > > As part of the upgrade I saved previous bsd / bsd.sp / bsd.rd, so booted > > and entered bsd.1 the previous bsd before the upgrade, The usb keyboard > > is working again. The previous bsd was created on 20th Apr, the upgrade > > bsd created on the 20th May. > > > > The /bsd from 20th May had been running on another machine, but I normal > > only ever ssh to that machine, or use old serial console, rather than > > the usb keyboard. Check the usb keyboard does appear that it's not > > working either. num lock/caps keys don't turn lights on/off. > > > > Both machines are nearly identical running GENERIC.MP amd64 kernel, the > > one still running the newer /bsd is use to build packages, releases and > > has been up running without other issues running dpb builds. The only > > problem seems to be the usb keyboard. > > > > Going to build machine that has an old /bsd from 6th May tried that and > > looked like keyboard wasn't working, but noted keyboard lights flashed > > when reached radeondrm driver. > > > > Did a boot -c and disabled radeondrm continued and cap/num lock lights > > working. Back to upgraded machine, and did the same boot -c and disabled > > radeondrm and usb keyboard back working. > > > > However the screen doesn't look very nice, lower resolution. > > > > > > $ dmesg | grep -i radeon > > UKC> disable radeon > > 228 radeondrm* at pci* dev -1 function -1 flags 0x0 > > UKC> disable radeondrm > > 228 radeondrm* disabled > > vga1 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00 > > azalia0 at pci1 dev 5 function 1 "ATI Radeon HD 4200 HD Audio" rev 0x00: msi > > > > > > $ dmesg | egrep -i "radeon|modesetting" > > radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00 > > drm0 at radeondrm0 > > radeondrm0: apic 2 int 18 > > azalia0 at pci1 dev 5 function 1 "ATI Radeon HD 4200 HD Audio" rev 0x00: msi > > initializing kernel modesetting (RS880 0x1002:0x9715 0x1458:0xD000). > > radeondrm0: 1024x768, 32bpp > > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 > > > > > >>>From cvs log between 20th April to 6th May ... > > > > revision 1.7 > > date: 2018/04/25 01:27:46; author: jsg; state: Exp; lines: +906 -21; > > commitid: sATjL4ONH9UfGvNV; > > update ttm and radeondrm(4) to Linux 4.4.129 > > > > > > > > Update: > > I found a usb to PS2 adapter, this allowed the keyboard to work. But the > usb mouse stopped working. > > Wondered about some sort of clash so moved mouse to difference usb port, > that worked, then tried keyboard in another usb port, and now have both > keyboard and mouse working in usb ports, but some usb ports don't work > any more. > > attached dmesg >
> OpenBSD 6.3-current (GENERIC.MP) #301: Sun May 20 18:46:32 BST 2018 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8034123776 (7661MB) > avail mem = 7782567936 (7422MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (61 entries) > bios0: vendor Award Software International, Inc. version "F1" date 04/16/2010 > bios0: Gigabyte Technology Co., Ltd. GA-880GA-UD3H > acpi0 at bios0: rev 0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SSDT HPET MCFG MATS TAMG APIC > acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) > USB6(S3) SBAZ(S4) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) P2P_(S5) PCE2(S4) > PCE3(S4) PCE4(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpihpet0 at acpi0: 14318180 Hz > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Phenom(tm) II X4 965 Processor, 3415.49 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache > cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative > cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative > cpu0: AMD erratum 721 detected and fixed > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 200MHz > cpu0: mwait min=64, max=64, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD Phenom(tm) II X4 965 Processor, 3415.14 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC > cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache > cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative > cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative > cpu1: AMD erratum 721 detected and fixed > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 2 (application processor) > cpu2: AMD Phenom(tm) II X4 965 Processor, 3415.14 MHz > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC > cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache > cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative > cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative > cpu2: AMD erratum 721 detected and fixed > cpu2: smt 0, core 3, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: AMD Phenom(tm) II X4 965 Processor, 3415.14 MHz > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC > cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache > cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative > cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative > cpu3: AMD erratum 721 detected and fixed > cpu3: smt 0, core 2, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins > , remapped to apid 2 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 5 (PEX0) > acpiprt2 at acpi0: bus 6 (PEX1) > acpiprt3 at acpi0: bus -1 (PEX2) > acpiprt4 at acpi0: bus -1 (PEX3) > acpiprt5 at acpi0: bus 4 (P2P_) > acpiprt6 at acpi0: bus -1 (PCE2) > acpiprt7 at acpi0: bus -1 (PCE3) > acpiprt8 at acpi0: bus -1 (PCE4) > acpiprt9 at acpi0: bus -1 (PCE5) > acpiprt10 at acpi0: bus -1 (PCE6) > acpiprt11 at acpi0: bus -1 (PCE7) > acpiprt12 at acpi0: bus 2 (PCE9) > acpiprt13 at acpi0: bus 3 (PCEA) > acpiprt14 at acpi0: bus -1 (PCEB) > acpiprt15 at acpi0: bus -1 (PCEC) > acpiprt16 at acpi0: bus 1 (AGP_) > acpicpu0 at acpi0: C1(@1 halt!), PSS > acpicpu1 at acpi0: C1(@1 halt!), PSS > acpicpu2 at acpi0: C1(@1 halt!), PSS > acpicpu3 at acpi0: C1(@1 halt!), PSS > acpibtn0 at acpi0: PWRB > acpicmos0 at acpi0 > "PNP0C14" at acpi0 not configured > cpu0: 3415 MHz: speeds: 3400 2700 2200 800 MHz > pci0 at mainbus0 bus 0 > 0:0:0: mem address conflict 0xe0000000/0x20000000 > pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00 > ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00 > pci1 at ppb0 bus 1 > radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00 > drm0 at radeondrm0 > radeondrm0: apic 2 int 18 > azalia0 at pci1 dev 5 function 1 "ATI Radeon HD 4200 HD Audio" rev 0x00: msi > azalia0: no supported codecs > ppb1 at pci0 dev 9 function 0 "AMD RS780 PCIE" rev 0x00: msi > pci2 at ppb1 bus 2 > xhci0 at pci2 dev 0 function 0 "NEC xHCI" rev 0x03: msi, xHCI 0.150 > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "NEC xHCI root hub" rev 3.00/1.00 > addr 1 > ppb2 at pci0 dev 10 function 0 "AMD RS780 PCIE" rev 0x00: msi > pci3 at ppb2 bus 3 > re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D > (0x2800), msi, address 6c:f0:49:b8:4b:e6 > rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 2 > ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 2 int 19, > AHCI 1.2 > ahci0: port 0: 3.0Gb/s > ahci0: port 1: 3.0Gb/s > ahci0: port 2: 3.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, SAMSUNG HD103SJ, 1AJ1> SCSI3 0/direct > fixed naa.50024e90032de939 > sd0: 953869MB, 512 bytes/sector, 1953525168 sectors > sd1 at scsibus1 targ 1 lun 0: <ATA, SAMSUNG HD103SJ, 1AJ1> SCSI3 0/direct > fixed naa.50024e90032deb92 > sd1: 953869MB, 512 bytes/sector, 1953525168 sectors > sd2 at scsibus1 targ 2 lun 0: <ATA, SAMSUNG HD103SJ, 1AJ1> SCSI3 0/direct > fixed naa.50024e90032dfef4 > sd2: 953869MB, 512 bytes/sector, 1953525168 sectors > ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 > usb1 at ehci0: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 > addr 1 > ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 > usb2 at ehci1: USB revision 2.0 > uhub2 at usb2 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 > addr 1 > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x41: polling > iic0 at piixpm0 > spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 > spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600 > spdmem2 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 > spdmem3 at iic0 addr 0x53: 2GB DDR3 SDRAM PC3-10600 > pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x40: DMA, channel 0 > configured to compatibility, channel 1 configured to compatibility > azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 2 int 16 > azalia1: codecs: Realtek/0x0892 > audio0 at azalia1 > pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 > ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 > pci4 at ppb3 bus 4 > re1 at pci4 dev 7 function 0 "D-Link DGE-528T" rev 0x10: RTL8110S (0x0400), > apic 2 int 21, address 00:13:46:28:72:61 > rgephy1 at re1 phy 7: RTL8169S/8110S/8211 PHY, rev. 0 > "TI TSB43AB23 FireWire" rev 0x00 at pci4 dev 14 function 0 not configured > ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > ppb4 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00: msi > pci5 at ppb4 bus 5 > jmb0 at pci5 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x02 > ahci1 at jmb0: apic 2 int 17, AHCI 1.0 > scsibus2 at ahci1: 32 targets > pciide1 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to > native-PCI > pciide1: using apic 2 int 17 for native-PCI interrupt > pciide1: channel 0 disabled (no drives) > pciide1: channel 1 disabled (no drives) > ppb5 at pci0 dev 21 function 1 "ATI SB800 PCIE" rev 0x00: msi > pci6 at ppb5 bus 6 > ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 > usb3 at ehci2: USB revision 2.0 > uhub3 at usb3 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 > addr 1 > pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 > pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 > pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 > km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 > pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 > usb4 at ohci0: USB revision 1.0 > uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 > addr 1 > usb5 at ohci1: USB revision 1.0 > uhub5 at usb5 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > it0 at isa0 port 0x2e/2: IT8720F rev 8, EC port 0x228 > usb6 at ohci2: USB revision 1.0 > uhub6 at usb6 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 > addr 1 > usb7 at ohci3: USB revision 1.0 > uhub7 at usb7 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 > addr 1 > vmm0 at mainbus0: SVM/RVI > uhidev0 at uhub0 port 3 configuration 1 interface 0 "NOVATEK Kensington U+P > Keyboard" rev 1.10/1.04 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd0 at ukbd0: console keyboard > uhidev1 at uhub0 port 3 configuration 1 interface 1 "NOVATEK Kensington U+P > Keyboard" rev 1.10/1.04 addr 2 > uhidev1: iclass 3/0, 2 report ids > uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0 > uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (f0e9045c5f7685ae.a) swap on sd0b dump on sd0b > initializing kernel modesetting (RS880 0x1002:0x9715 0x1458:0xD000). > radeondrm0: 1920x1080, 32bpp > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) Noticed this same issue, a few USB ports stopped working. I assumed hw issue given the age of the system. Happened around the same time as the radeondrm update also.. dmesg here: https://marc.info/?l=openbsd-bugs&m=152605229409530&w=2
