Re: USB ports not working on Thinkpad T420 after latest update.
Hi Mark, On Fri, Oct 11, 2024 at 02:03:09PM +0200, Walter Alejandro Iglesias wrote: > Same issue in my HP Compaq dc7700 CMT. I just ran sysupgrade and all > usb ports stopped working. Reverting ehci(4) bits patch also fixed the USB issue in this machine. > > dmesg: > OpenBSD 7.6-current (GENERIC.MP) #363: Thu Oct 10 10:44:33 MDT 2024 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 4135260160 (3943MB) > avail mem = 3986739200 (3802MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb920 (70 entries) > bios0: vendor Hewlett-Packard version "786E1 v01.16" date 08/17/2011 > bios0: Hewlett-Packard HP Compaq dc7700 Convertible Minitower > acpi0 at bios0: ACPI 1.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET > acpi0: wakeup devices PCI0(S4) COM1(S4) PEG1(S4) IGBE(S4) PCX1(S4) PCX2(S4) > HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) EUS1(S3) EUS2(S3) > PBTN(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.56 MHz, 06-0f-02, patch > 005d > cpu0: cpuid 1 > edx=bfebfbff > ecx=e39d > cpu0: cpuid 6 eax=1 ecx=1 > cpu0: cpuid a vers=2, gp=2, gpwidth=40, ff=0, ffwidth=0 > cpu0: cpuid 8001 edx=20100800 ecx=1 > cpu0: MELTDOWN > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line > 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 199MHz > cpu0: mwait min=64, max=64, C-substates=0.2, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.66 MHz, 06-0f-02, patch > 005d > cpu1: smt 0, core 1, package 0 > ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins, remapped > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf400, bus 0-63 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG1) > acpiprt2 at acpi0: bus 32 (PCX1) > acpiprt3 at acpi0: bus -1 (PCX2) > acpiprt4 at acpi0: bus 7 (HUB_) > acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 > acpicmos0 at acpi0 > com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo > "PNP0003" at acpi0 not configured > acpibtn0 at acpi0: PBTN(wakeup) > "PNP0C14" at acpi0 not configured > acpicpu0 at acpi0: C1(@1 halt!), PSS > acpicpu1 at acpi0: C1(@1 halt!), PSS > cpu0: Enhanced SpeedStep 1795 MHz: speeds: 1800, 1200 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02 > inteldrm0 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02 > drm0 at inteldrm0 > intagp0 at inteldrm0 > agp0 at intagp0: aperture at 0xe000, size 0x1000 > inteldrm0: apic 1 int 16, I965G, gen 4 > "Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured > em0 at pci0 dev 25 function 0 "Intel ICH8 IGP AMT" rev 0x02: apic 1 int 19, > address 00:0f:fe:77:4f:df > uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20 > uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21 > ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 22 > ehci0: run timeout > ehci0: init failed, error=13 > azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: apic 1 > int 21 > azalia0: codecs: Realtek ALC262 > audio0 at azalia0 > ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02 > pci1 at ppb0 bus 32 > uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20 > uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21 > ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 20 > ehci1: run timeout > ehci1: init failed, error=13 > ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2 > pci2 at ppb1 bus 7 > pcib0 at pci0 dev 31 function 0 "Intel 82801HO LPC" rev 0x02 > pciide0 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel > 0 configured to native-PCI, channel 1 configured to native-PCI > pciide0: using apic 1 int 18 for native-PCI interrupt > wd0 at pciide0 channel 0 drive 0: > wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 > usb0 at uhci0: USB revision 1.0 > uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb1 at uhci1: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb2 at uhci2: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at uhci3: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at pcib0 > isadma0 at isa0 > fdc0 at isa0 port 0x3f0/6 ir
Re: USB ports not working on Thinkpad T420 after latest update.
> > Date: Fri, 11 Oct 2024 10:40:12 + > > From: wizardo wizar...@proton.me > > > > On Friday, October 11th, 2024 at 11:59, Mark Kettenis > > mark.kette...@xs4all.nl wrote: > > > > > > Date: Thu, 10 Oct 2024 20:20:21 + > > > > From: wizardo wizar...@proton.me > > > > > > On Thursday, October 10th, 2024 at 19:49, Mark Kettenis > > > > mark.kette...@xs4all.nl wrote: > > > > > > > > From: Dave Voutila d...@sisu.io > > > > > > Date: Thu, 10 Oct 2024 13:31:58 -0400 > > > > > > > > wizardo wizar...@proton.me writes: > > > > > > > > > > Synopsis: USB ports do not work on a Thinkpad T420 after > > > > > > > > upgrading to OpenBSD 7.6-current (amd64) > > > > > > > > Category: amd64 > > > > > > > > Environment: > > > > > > > > System : OpenBSD 7.6 > > > > > > > > Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 > > > > > > > > 23:36:46 MDT 2024 > > > > > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > > > > Architecture: OpenBSD.amd64 > > > > > > > Machine : amd64 > > > > > > > > > > Description: > > > > > > > > USB ports stopped working after upgrading the system with > > > > > > > > sysupgrade -s > > > > > > > > on -current. The system was already on OpenBSD 7.6-current. > > > > > > > > Everything > > > > > > > > else, like touchpad, keyboard, lights, audio, screen, suspend > > > > > > > > and > > > > > > > > hibernate work as intended. The laptop was on a docking station > > > > > > > > at the > > > > > > > > time of the upgrade with usb ports connected to said station. I > > > > > > > > noticed > > > > > > > > the ehci errors in dmesg but i cannot find what the code 13 > > > > > > > > means. > > > > > > > > > I tried rebooting with the laptop disconnected from the station > > > > > > > but the issue remains. > > > > > > > The T420 model is the one with USB 2.0 ports only. > > > > > > > > kettenis: is this related to your recent 64-bit DMA changes > > > > > > committed in > > > > > > sys/dev/usb? > > > > > > > Likely. Hope to have some time to investigate this in the coming days. > > > > > > Can I do anything else to help? > > > > > I've just committed something that hopefully fixes things. > > > > I just did a sysupgade -s but unfortunately the issue remains (same > > ehci errors on dmesg): > > > > ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 > > int 16 > > ehci0: run timeout > > ehci0: init failed, error=13 > > ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2 > > int 23 > > ehci1: run timeout > > ehci1: init failed, error=13 > > > > To be sure that I'm not messing up, since I never posted on bugs@, > > was the change to ehci.c already included in the "OpenBSD 7.6-current > > (GENERIC.MP) #363: Thu Oct 10 10:44:33 MDT 2024" snapshot? I'm very > > sorry to ask. > > > No. Please try again with the next snapshot (i.e. tomorrow or so). Fixed! As of OpenBSD 7.6-current (GENERIC.MP) #364: Fri Oct 11 09:46:45 MDT 2024. Thank you very much for keeping me updated! If something else is needed like logs etc. please let me know. signature.asc Description: OpenPGP digital signature
Re: USB ports not working on Thinkpad T420 after latest update.
> Date: Fri, 11 Oct 2024 10:40:12 + > From: wizardo > > On Friday, October 11th, 2024 at 11:59, Mark Kettenis > wrote: > > > > Date: Thu, 10 Oct 2024 20:20:21 + > > > From: wizardo wizar...@proton.me > > > > > > > On Thursday, October 10th, 2024 at 19:49, Mark Kettenis > > > mark.kette...@xs4all.nl wrote: > > > > > > > > > From: Dave Voutila d...@sisu.io > > > > > Date: Thu, 10 Oct 2024 13:31:58 -0400 > > > > > > > > > wizardo wizar...@proton.me writes: > > > > > > > > > > > Synopsis: USB ports do not work on a Thinkpad T420 after > > > > > > > upgrading to OpenBSD 7.6-current (amd64) > > > > > > > Category: amd64 > > > > > > > Environment: > > > > > > > System : OpenBSD 7.6 > > > > > > > Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 > > > > > > > 23:36:46 MDT 2024 > > > > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > > > > > Architecture: OpenBSD.amd64 > > > > > > Machine : amd64 > > > > > > > > > > > Description: > > > > > > > USB ports stopped working after upgrading the system with > > > > > > > sysupgrade -s > > > > > > > on -current. The system was already on OpenBSD 7.6-current. > > > > > > > Everything > > > > > > > else, like touchpad, keyboard, lights, audio, screen, suspend and > > > > > > > hibernate work as intended. The laptop was on a docking station > > > > > > > at the > > > > > > > time of the upgrade with usb ports connected to said station. I > > > > > > > noticed > > > > > > > the ehci errors in dmesg but i cannot find what the code 13 means. > > > > > > > > > > I tried rebooting with the laptop disconnected from the station > > > > > > but the issue remains. > > > > > > The T420 model is the one with USB 2.0 ports only. > > > > > > > > > kettenis: is this related to your recent 64-bit DMA changes committed > > > > > in > > > > > sys/dev/usb? > > > > > > > > Likely. Hope to have some time to investigate this in the coming days. > > > > > > > Can I do anything else to help? > > > > > > > > I've just committed something that hopefully fixes things. > > I just did a sysupgade -s but unfortunately the issue remains (same > ehci errors on dmesg): > > ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 > int 16 > ehci0: run timeout > ehci0: init failed, error=13 > ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2 > int 23 > ehci1: run timeout > ehci1: init failed, error=13 > > To be sure that I'm not messing up, since I never posted on bugs@, > was the change to ehci.c already included in the "OpenBSD 7.6-current > (GENERIC.MP) #363: Thu Oct 10 10:44:33 MDT 2024" snapshot? I'm very > sorry to ask. No. Please try again with the next snapshot (i.e. tomorrow or so).
Re: USB ports not working on Thinkpad T420 after latest update.
On Fri, Oct 11, 2024 at 11:59:45AM +0200, Mark Kettenis wrote: > > Date: Thu, 10 Oct 2024 20:20:21 + > > From: wizardo > > > > On Thursday, October 10th, 2024 at 19:49, Mark Kettenis > > wrote: > > > > > > From: Dave Voutila d...@sisu.io > > > > Date: Thu, 10 Oct 2024 13:31:58 -0400 > > > > > > > > > > wizardo wizar...@proton.me writes: > > > > > > > > > > > > Synopsis: USB ports do not work on a Thinkpad T420 after upgrading > > > > > > to OpenBSD 7.6-current (amd64) > > > > > > Category: amd64 > > > > > > Environment: > > > > > > System : OpenBSD 7.6 > > > > > > Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 23:36:46 > > > > > > MDT 2024 > > > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > > > > > > > Architecture: OpenBSD.amd64 > > > > > Machine : amd64 > > > > > > > > > > > > > Description: > > > > > > USB ports stopped working after upgrading the system with > > > > > > sysupgrade -s > > > > > > on -current. The system was already on OpenBSD 7.6-current. > > > > > > Everything > > > > > > else, like touchpad, keyboard, lights, audio, screen, suspend and > > > > > > hibernate work as intended. The laptop was on a docking station at > > > > > > the > > > > > > time of the upgrade with usb ports connected to said station. I > > > > > > noticed > > > > > > the ehci errors in dmesg but i cannot find what the code 13 means. > > > > > > > > > > > > I tried rebooting with the laptop disconnected from the station > > > > > but the issue remains. > > > > > The T420 model is the one with USB 2.0 ports only. > > > > > > > > > > kettenis: is this related to your recent 64-bit DMA changes committed in > > > > sys/dev/usb? > > > > > > > > > > > > > Likely. Hope to have some time to investigate this in the coming days. > > > > Can I do anything else to help? > > I've just committed something that hopefully fixes things. > > Same issue in my HP Compaq dc7700 CMT. I just ran sysupgrade and all usb ports stopped working. dmesg: OpenBSD 7.6-current (GENERIC.MP) #363: Thu Oct 10 10:44:33 MDT 2024 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4135260160 (3943MB) avail mem = 3986739200 (3802MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb920 (70 entries) bios0: vendor Hewlett-Packard version "786E1 v01.16" date 08/17/2011 bios0: Hewlett-Packard HP Compaq dc7700 Convertible Minitower acpi0 at bios0: ACPI 1.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET acpi0: wakeup devices PCI0(S4) COM1(S4) PEG1(S4) IGBE(S4) PCX1(S4) PCX2(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) EUS1(S3) EUS2(S3) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.56 MHz, 06-0f-02, patch 005d cpu0: cpuid 1 edx=bfebfbff ecx=e39d cpu0: cpuid 6 eax=1 ecx=1 cpu0: cpuid a vers=2, gp=2, gpwidth=40, ff=0, ffwidth=0 cpu0: cpuid 8001 edx=20100800 ecx=1 cpu0: MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, C-substates=0.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.66 MHz, 06-0f-02, patch 005d cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins, remapped acpimcfg0 at acpi0 acpimcfg0: addr 0xf400, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG1) acpiprt2 at acpi0: bus 32 (PCX1) acpiprt3 at acpi0: bus -1 (PCX2) acpiprt4 at acpi0: bus 7 (HUB_) acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 acpicmos0 at acpi0 com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo "PNP0003" at acpi0 not configured acpibtn0 at acpi0: PBTN(wakeup) "PNP0C14" at acpi0 not configured acpicpu0 at acpi0: C1(@1 halt!), PSS acpicpu1 at acpi0: C1(@1 halt!), PSS cpu0: Enhanced SpeedStep 1795 MHz: speeds: 1800, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02 inteldrm0 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02 drm0 at inteldrm0 intagp0 at inteldrm0 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0: apic 1 int 16, I965G, gen 4 "Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured em0 at pci0 dev 25 function 0 "Intel ICH8 IGP AMT" rev 0x02: apic 1 int 19, address 00:0f:fe:77:4f:df uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20 uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21 ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 22
Re: USB ports not working on Thinkpad T420 after latest update.
On Friday, October 11th, 2024 at 11:59, Mark Kettenis wrote: > > Date: Thu, 10 Oct 2024 20:20:21 + > > From: wizardo wizar...@proton.me > > > > On Thursday, October 10th, 2024 at 19:49, Mark Kettenis > > mark.kette...@xs4all.nl wrote: > > > > > > From: Dave Voutila d...@sisu.io > > > > Date: Thu, 10 Oct 2024 13:31:58 -0400 > > > > > > wizardo wizar...@proton.me writes: > > > > > > > > Synopsis: USB ports do not work on a Thinkpad T420 after upgrading > > > > > > to OpenBSD 7.6-current (amd64) > > > > > > Category: amd64 > > > > > > Environment: > > > > > > System : OpenBSD 7.6 > > > > > > Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 23:36:46 > > > > > > MDT 2024 > > > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > > Architecture: OpenBSD.amd64 > > > > > Machine : amd64 > > > > > > > > Description: > > > > > > USB ports stopped working after upgrading the system with > > > > > > sysupgrade -s > > > > > > on -current. The system was already on OpenBSD 7.6-current. > > > > > > Everything > > > > > > else, like touchpad, keyboard, lights, audio, screen, suspend and > > > > > > hibernate work as intended. The laptop was on a docking station at > > > > > > the > > > > > > time of the upgrade with usb ports connected to said station. I > > > > > > noticed > > > > > > the ehci errors in dmesg but i cannot find what the code 13 means. > > > > > > > I tried rebooting with the laptop disconnected from the station > > > > > but the issue remains. > > > > > The T420 model is the one with USB 2.0 ports only. > > > > > > kettenis: is this related to your recent 64-bit DMA changes committed in > > > > sys/dev/usb? > > > > > Likely. Hope to have some time to investigate this in the coming days. > > > > Can I do anything else to help? > > > I've just committed something that hopefully fixes things. I just did a sysupgade -s but unfortunately the issue remains (same ehci errors on dmesg): ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16 ehci0: run timeout ehci0: init failed, error=13 ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 23 ehci1: run timeout ehci1: init failed, error=13 To be sure that I'm not messing up, since I never posted on bugs@, was the change to ehci.c already included in the "OpenBSD 7.6-current (GENERIC.MP) #363: Thu Oct 10 10:44:33 MDT 2024" snapshot? I'm very sorry to ask. publickey - wizardo3@proton.me - 0xB4CA4D42.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: USB ports not working on Thinkpad T420 after latest update.
> Date: Thu, 10 Oct 2024 20:20:21 + > From: wizardo > > On Thursday, October 10th, 2024 at 19:49, Mark Kettenis > wrote: > > > > From: Dave Voutila d...@sisu.io > > > Date: Thu, 10 Oct 2024 13:31:58 -0400 > > > > > > > wizardo wizar...@proton.me writes: > > > > > > > > > Synopsis: USB ports do not work on a Thinkpad T420 after upgrading to > > > > > OpenBSD 7.6-current (amd64) > > > > > Category: amd64 > > > > > Environment: > > > > > System : OpenBSD 7.6 > > > > > Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 23:36:46 > > > > > MDT 2024 > > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > > > > Architecture: OpenBSD.amd64 > > > > Machine : amd64 > > > > > > > > > > Description: > > > > > USB ports stopped working after upgrading the system with sysupgrade > > > > > -s > > > > > on -current. The system was already on OpenBSD 7.6-current. Everything > > > > > else, like touchpad, keyboard, lights, audio, screen, suspend and > > > > > hibernate work as intended. The laptop was on a docking station at the > > > > > time of the upgrade with usb ports connected to said station. I > > > > > noticed > > > > > the ehci errors in dmesg but i cannot find what the code 13 means. > > > > > > > > > I tried rebooting with the laptop disconnected from the station > > > > but the issue remains. > > > > The T420 model is the one with USB 2.0 ports only. > > > > > > > kettenis: is this related to your recent 64-bit DMA changes committed in > > > sys/dev/usb? > > > > > > > > Likely. Hope to have some time to investigate this in the coming days. > > Can I do anything else to help? I've just committed something that hopefully fixes things.
Re: USB ports not working on Thinkpad T420 after latest update.
On Thursday, October 10th, 2024 at 19:49, Mark Kettenis wrote: > > From: Dave Voutila d...@sisu.io > > Date: Thu, 10 Oct 2024 13:31:58 -0400 > > > > wizardo wizar...@proton.me writes: > > > > > > Synopsis: USB ports do not work on a Thinkpad T420 after upgrading to > > > > OpenBSD 7.6-current (amd64) > > > > Category: amd64 > > > > Environment: > > > > System : OpenBSD 7.6 > > > > Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 23:36:46 MDT > > > > 2024 > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > Architecture: OpenBSD.amd64 > > > Machine : amd64 > > > > > > > Description: > > > > USB ports stopped working after upgrading the system with sysupgrade -s > > > > on -current. The system was already on OpenBSD 7.6-current. Everything > > > > else, like touchpad, keyboard, lights, audio, screen, suspend and > > > > hibernate work as intended. The laptop was on a docking station at the > > > > time of the upgrade with usb ports connected to said station. I noticed > > > > the ehci errors in dmesg but i cannot find what the code 13 means. > > > > > > I tried rebooting with the laptop disconnected from the station > > > but the issue remains. > > > The T420 model is the one with USB 2.0 ports only. > > > > kettenis: is this related to your recent 64-bit DMA changes committed in > > sys/dev/usb? > > > Likely. Hope to have some time to investigate this in the coming days. Can I do anything else to help? By the way, i don't know if it's relevant but i forgot to mention that the system is installed on a softraid encrypted disk and the keydisk on a usb drive unlocks it succesfully on boot. USB also works in the BIOS. signature.asc Description: OpenPGP digital signature
Re: USB ports not working on Thinkpad T420 after latest update.
> From: Dave Voutila > Date: Thu, 10 Oct 2024 13:31:58 -0400 > > wizardo writes: > > >>Synopsis: USB ports do not work on a Thinkpad T420 after upgrading to > >>OpenBSD 7.6-current (amd64) > >>Category: amd64 > >>Environment: > > System : OpenBSD 7.6 > > Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 > > 23:36:46 MDT 2024 > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > Architecture: OpenBSD.amd64 > > Machine : amd64 > >>Description: > > USB ports stopped working after upgrading the system with sysupgrade -s > > on -current. The system was already on OpenBSD 7.6-current. Everything > > else, like touchpad, keyboard, lights, audio, screen, suspend and > > hibernate work as intended. The laptop was on a docking station at the > > time of the upgrade with usb ports connected to said station. I noticed > > the ehci errors in dmesg but i cannot find what the code 13 means. > > > > I tried rebooting with the laptop disconnected from the station > > but the issue remains. > > The T420 model is the one with USB 2.0 ports only. > > kettenis: is this related to your recent 64-bit DMA changes committed in > sys/dev/usb? Likely. Hope to have some time to investigate this in the coming days.
Re: USB ports not working on Thinkpad T420 after latest update.
wizardo writes: >>Synopsis: USB ports do not work on a Thinkpad T420 after upgrading to >>OpenBSD 7.6-current (amd64) >>Category: amd64 >>Environment: > System : OpenBSD 7.6 > Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 > 23:36:46 MDT 2024 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 >>Description: > USB ports stopped working after upgrading the system with sysupgrade -s > on -current. The system was already on OpenBSD 7.6-current. Everything > else, like touchpad, keyboard, lights, audio, screen, suspend and > hibernate work as intended. The laptop was on a docking station at the > time of the upgrade with usb ports connected to said station. I noticed > the ehci errors in dmesg but i cannot find what the code 13 means. > > I tried rebooting with the laptop disconnected from the station > but the issue remains. > The T420 model is the one with USB 2.0 ports only. kettenis: is this related to your recent 64-bit DMA changes committed in sys/dev/usb? >>How-To-Repeat: > sysupgrade -s on a thinkpad T420 on the latest release available at > October 9 21:00 MDT ca. >>Fix: > Not known. > > dmesg: > OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 23:36:46 MDT 2024 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8337883136 (7951MB) > avail mem = 8061923328 (7688MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (65 entries) > bios0: vendor LENOVO version "83ET82WW (1.52 )" date 06/04/2018 > bios0: LENOVO 4236SB1 > acpi0 at bios0: ACPI 4.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA > SSDT SSDT UEFI UEFI UEFI > acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) > HDEF(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 14318179 Hz > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.43 MHz, 06-2a-07, patch > 002f > cpu0: cpuid 1 > edx=bfebfbff > > ecx=17bae3bf > cpu0: cpuid 6 eax=77 ecx=9 > cpu0: cpuid 7.0 edx=9c000400 > cpu0: cpuid a vers=3, gp=4, gpwidth=48, ff=3, ffwidth=48 > cpu0: cpuid d.1 eax=1 > cpu0: cpuid 8001 edx=28100800 ecx=1 > cpu0: cpuid 8007 edx=100 > cpu0: MELTDOWN > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.42 MHz, 06-2a-07, patch > 002f > cpu1: smt 1, core 0, package 0 > cpu2 at mainbus0: apid 2 (application processor) > cpu2: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.43 MHz, 06-2a-07, patch > 002f > cpu2: smt 0, core 1, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.42 MHz, 06-2a-07, patch > 002f > cpu3: smt 1, core 1, package 0 > cpu4 at mainbus0: apid 4 (application processor) > cpu4: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.45 MHz, 06-2a-07, patch > 002f > cpu4: smt 0, core 2, package 0 > cpu5 at mainbus0: apid 5 (application processor) > cpu5: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.44 MHz, 06-2a-07, patch > 002f > cpu5: smt 1, core 2, package 0 > cpu6 at mainbus0: apid 6 (application processor) > cpu6: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.44 MHz, 06-2a-07, patch > 002f > cpu6: smt 0, core 3, package 0 > cpu7 at mainbus0: apid 7 (application processor) > cpu7: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.43 MHz, 06-2a-07, patch > 002f > cpu7: smt 1, core 3, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf800, bus 0-63 > acpiec0 at acpi0 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG_) > acpiprt2 at acpi0: bus 2 (EXP1) > acpiprt3 at acpi0: bus 3 (EXP2) > acpiprt4 at acpi0: bus 5 (EXP4) > acpiprt5 at acpi0: bus 13 (EXP5) > acpibtn0 at acpi0: LID_(wakeup) > acpibtn1 at acpi0: SLPB(wakeup) > acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 > acpicmos0 at acpi0 > acpibat0 at acpi0: BAT0 model "45N1005" serial 41366 type LION oem "LGC" > acpiac0 at acpi0: AC unit offline > acpithinkpad0 at acpi0: version 1.0 > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 > halt), PSS > acpicpu1 at acpi0
USB ports not working on Thinkpad T420 after latest update.
>Synopsis: USB ports do not work on a Thinkpad T420 after upgrading to >OpenBSD 7.6-current (amd64) >Category: amd64 >Environment: System : OpenBSD 7.6 Details : OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 23:36:46 MDT 2024 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Architecture: OpenBSD.amd64 Machine : amd64 >Description: USB ports stopped working after upgrading the system with sysupgrade -s on -current. The system was already on OpenBSD 7.6-current. Everything else, like touchpad, keyboard, lights, audio, screen, suspend and hibernate work as intended. The laptop was on a docking station at the time of the upgrade with usb ports connected to said station. I noticed the ehci errors in dmesg but i cannot find what the code 13 means. I tried rebooting with the laptop disconnected from the station but the issue remains. The T420 model is the one with USB 2.0 ports only. >How-To-Repeat: sysupgrade -s on a thinkpad T420 on the latest release available at October 9 21:00 MDT ca. >Fix: Not known. dmesg: OpenBSD 7.6-current (GENERIC.MP) #362: Wed Oct 9 23:36:46 MDT 2024 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8337883136 (7951MB) avail mem = 8061923328 (7688MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (65 entries) bios0: vendor LENOVO version "83ET82WW (1.52 )" date 06/04/2018 bios0: LENOVO 4236SB1 acpi0 at bios0: ACPI 4.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT UEFI UEFI UEFI acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.43 MHz, 06-2a-07, patch 002f cpu0: cpuid 1 edx=bfebfbff ecx=17bae3bf cpu0: cpuid 6 eax=77 ecx=9 cpu0: cpuid 7.0 edx=9c000400 cpu0: cpuid a vers=3, gp=4, gpwidth=48, ff=3, ffwidth=48 cpu0: cpuid d.1 eax=1 cpu0: cpuid 8001 edx=28100800 ecx=1 cpu0: cpuid 8007 edx=100 cpu0: MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 6MB 64b/line 12-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.42 MHz, 06-2a-07, patch 002f cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.43 MHz, 06-2a-07, patch 002f cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.42 MHz, 06-2a-07, patch 002f cpu3: smt 1, core 1, package 0 cpu4 at mainbus0: apid 4 (application processor) cpu4: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.45 MHz, 06-2a-07, patch 002f cpu4: smt 0, core 2, package 0 cpu5 at mainbus0: apid 5 (application processor) cpu5: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.44 MHz, 06-2a-07, patch 002f cpu5: smt 1, core 2, package 0 cpu6 at mainbus0: apid 6 (application processor) cpu6: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.44 MHz, 06-2a-07, patch 002f cpu6: smt 0, core 3, package 0 cpu7 at mainbus0: apid 7 (application processor) cpu7: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 797.43 MHz, 06-2a-07, patch 002f cpu7: smt 1, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 5 (EXP4) acpiprt5 at acpi0: bus 13 (EXP5) acpibtn0 at acpi0: LID_(wakeup) acpibtn1 at acpi0: SLPB(wakeup) acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 acpicmos0 at acpi0 acpibat0 at acpi0: BAT0 model "45N1005" serial 41366 type LION oem "LGC" acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0: version 1.0 "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu1 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu2 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu3 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu4 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1