From nobody Sun Jan 02 20:32:18 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2AF90193320A for ; Sun, 2 Jan 2022 20:32:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JRrCP6Kjxz4qw5 for ; Sun, 2 Jan 2022 20:32:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B94BE18A84 for ; Sun, 2 Jan 2022 20:32:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 202KWH6M022340 for ; Sun, 2 Jan 2022 20:32:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 202KWHaO022339 for bugs@FreeBSD.org; Sun, 2 Jan 2022 20:32:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260868] possible i386 regression after ce35a3bc852d25cb989bc1f3dc4ddb723d7d5117 Date: Sun, 02 Jan 2022 20:32:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mike@sentex.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641155537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9gedU6cjL9OIuF3s/vtR0vDMrDQ27QaT5QiqSRDieyM=; b=rZ/9rr7anDbqEPl+wnVdKJxHTQDNjyDpUsH7IeKREd6o0U96GwK69dwpAS8S0pnMewwDtx KpOGicK/nZ7pVUGyHl4ypkbaEgjeasuOMmvYVOKDkfmLdZOfLpWe5XtFXhEgd6Bht2i+gi TF7w5UbVnNXfdwlxKPD9N8M5FrLK8YUdMNkJSvGZKhutUj7yiy/lMngcjj4OyKpAQi1tgX uoAX0iTeEGqX9pGvf6xLhzLnpkF7FhJYzoSERRQL14FLLXqyijH2Cud5b05J9zi8C30p1p VAWFCEQJiDu7lq0QkBX5hHEVZqD+5+r5uD8nkWpKXU3/n22zDcCL8eZp7WvarA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641155537; a=rsa-sha256; cv=none; b=JpwarTtaCcjhSl5VeZ9vmnhThbwDfYjo/7tAphzbI9t7jbLJKHko/6eGwUw835usSvZPfB 1hksgUXKwT6XNUmj7C4kFTzPYue31xO9mlyF10rrYR07+7vfvZhJHRdcsvCKpTIRtxJ35m 6sRd3qj0W8YxvFa6sS5yaHCISnwg0WxWFX7N22BcTbOF9Xi0vy0msYiidakcAoTPJ8DtxW 3BzQpdr7eOCX5FSTxTdDC7RjSNWh6q3bFreSl3GOQrTNIilhc4/7yVKGG60GUOjib8jlZ/ N5CVaLnw6PPyOSwUGdb0ZJbBUFDGK2LQGlmHT0QCs6OmaxsgXElZZVf3ZxfGOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260868 --- Comment #9 from mike@sentex.net --- (In reply to Mark Johnston from comment #8) Pretty sure I did it right. Just rebuilding now once more 0{nano13-i386}# git pull --ff-only Already up to date. 0{nano13-i386}# git restore sys/x86/x86/tsc.c 0{nano13-i386}#=20 0{nano13-i386}# git pull --ff-only Already up to date. 0{nano13-i386}# patch -p1 < p Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- a/sys/x86/x86/tsc.c |+++ b/sys/x86/x86/tsc.c -------------------------- Patching file sys/x86/x86/tsc.c using Plan A... Hunk #1 succeeded at 709 (offset -2 lines). Hunk #2 succeeded at 739 (offset -2 lines). done 0{nano13-i386}# cd /usr/src/tools/tools/nanobsd/ 0{nano13-i386}# sh ./nanobsd.sh -c alix2-lite.conf 00:00:00 ### Exporting NanoBSD variables 00:00:00 ### Setting variable: MAKEOBJDIRPREFIX=3D"/usr/obj/nanobsd.alix2b-= lite" 00:00:00 ### Setting variable: NANO_ARCH=3D"i386" .... On the broken kernel from the previous compile sysctl.name: Format:N Length:1 Dump:0x00... sysctl.next: Format:N Length:8 Dump:0x0000000001000000... sysctl.oidfmt: Format:N Length:6 Dump:0x018004804e00... sysctl.oiddescr: Format:N Length:1 Dump:0x00... sysctl.nextnoskip: Format:N Length:4 Dump:0x00000000... kern.timecounter.tsc_shift: 1 kern.timecounter.invariant_tsc: 0 kern.timecounter.fast_gettime: 1 kern.timecounter.tick: 1 kern.timecounter.choice: TSC(800) i8254(0) dummy(-1000000) kern.timecounter.hardware: TSC kern.timecounter.alloweddeviation: 5 kern.timecounter.timehands_count: 2 kern.timecounter.stepwarnings: 0 kern.timecounter.tc.TSC.quality: 800 kern.timecounter.tc.TSC.frequency: 43797106710 kern.timecounter.tc.TSC.counter: 1501354553 kern.timecounter.tc.TSC.mask: 4294967295 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.counter: 45976 kern.timecounter.tc.i8254.mask: 65535 From a couple of boxes in the field (kernel from mid october) sysctl -a kern.timecounter kern.timecounter.tsc_shift: 1 kern.timecounter.invariant_tsc: 0 kern.timecounter.fast_gettime: 1 kern.timecounter.tick: 1 kern.timecounter.choice: i8254(0) TSC(800) dummy(-1000000) kern.timecounter.hardware: TSC kern.timecounter.alloweddeviation: 5 kern.timecounter.timehands_count: 2 kern.timecounter.stepwarnings: 0 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.counter: 60550 kern.timecounter.tc.i8254.mask: 65535 kern.timecounter.tc.TSC.quality: 800 kern.timecounter.tc.TSC.frequency: 498060517 kern.timecounter.tc.TSC.counter: 2030169375 kern.timecounter.tc.TSC.mask: 4294967295 sysctl -A kern.timecounter kern.timecounter.tsc_shift: 1 kern.timecounter.invariant_tsc: 0 kern.timecounter.fast_gettime: 1 kern.timecounter.tick: 1 kern.timecounter.choice: i8254(0) TSC(800) dummy(-1000000) kern.timecounter.hardware: TSC kern.timecounter.alloweddeviation: 5 kern.timecounter.timehands_count: 2 kern.timecounter.stepwarnings: 0 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.counter: 872 kern.timecounter.tc.i8254.mask: 65535 kern.timecounter.tc.TSC.quality: 800 kern.timecounter.tc.TSC.frequency: 498060589 kern.timecounter.tc.TSC.counter: 2959254008 kern.timecounter.tc.TSC.mask: 4294967295 sysctl -a kern.timecounter kern.timecounter.tsc_shift: 1 kern.timecounter.invariant_tsc: 0 kern.timecounter.fast_gettime: 1 kern.timecounter.tick: 1 kern.timecounter.choice: i8254(0) TSC(800) dummy(-1000000) kern.timecounter.hardware: TSC kern.timecounter.alloweddeviation: 5 kern.timecounter.timehands_count: 2 kern.timecounter.stepwarnings: 0 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.counter: 49583 kern.timecounter.tc.i8254.mask: 65535 kern.timecounter.tc.TSC.quality: 800 kern.timecounter.tc.TSC.frequency: 498060817 kern.timecounter.tc.TSC.counter: 666829629 kern.timecounter.tc.TSC.mask: 4294967295 Could it also have something to do with having to add device apic in order = for the kernel to compile now ? I didnt have that before. I am booting the 2nd image I made just now with the above steps and its slo= w as well. Will post the verbose dmesg and sysctl output once its fully booted i= n a sec --=20 You are receiving this mail because: You are the assignee for the bug.=