NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/58932: NetBSD-10.99.12-i386-install.img ACPI problems Compal DL-75 laptop
> Date: Thu, 26 Dec 2024 08:25:02 +0100
> From: Ramiro Aceves <ea1abz%gmail.com@localhost>
>
> I compiled the kernel with the patched file using ./build.sh command
> like you explained (changing to i386). This way compilation succeded
> fine, it build toolchain first after a long time in this weird, slow but
> beloved i386 machine.
FYI, the command I gave you runs a cross-build, so you can do it on
whatever is your most-capable machine -- no need to do it on a small,
elderly i386 system!
Also, once you've done `build.sh ... tools' once, no need to do it
again; you can just do the `build.sh ... kernel=GENERIC' stage to
build a new kernel.
> It seems that the "manual way" method of building
> the kernel as The Guide describe does not work in this case. I required
> toolchain to be built even when there is no change in architecture.
If you're building from (say) 10.0 to 10.99.x, you may still have to
build a new toolchian -- e.g., right now, 10.99.x is on gcc-12, while
10.0 is on gcc-10, and there are often also relevant changes in
/usr/share/mk to handle changes in compiler warnings like the
-Werror=address-of-packed-member failure you saw.
So the instructions at
<https://www.netbsd.org/docs/guide/en/chap-kernel.html#chap-kernel-building-manually>
(34.4 Building the kernel manually) are really only for building small
updates to a kernel of the same major version (10.99.x should be
thought of as 11.0 - epsilon rather than as 10.something), unless
you're doing a cross-build.
> I booted with the new kernel and it enters again in ddb, rebooted from
> that and dmesg was saved. I attach dmesg below:
Thanks, looks like the ichlpcib(4) timecounter might be busted in the
same way -- and I suspect it's the same hardware underneath anyway
(not really sure why we have two access paths to it).
Can you try the attached patch on top of the last one I sent?
diff -r 7c40a48ab841 sys/dev/ic/acpipmtimer.c
--- a/sys/dev/ic/acpipmtimer.c Tue Dec 24 12:13:05 2024 +0000
+++ b/sys/dev/ic/acpipmtimer.c Thu Dec 26 14:29:42 2024 +0000
@@ -31,6 +31,8 @@ acpipmtimer_attach(device_t dev,
bus_space_tag_t t, bus_space_handle_t h, bus_size_t off,
int flags)
{
+ return NULL;
+
struct hwtc *tc;
tc = malloc(sizeof(struct hwtc), M_DEVBUF, M_WAITOK|M_ZERO);
Home |
Main Index |
Thread Index |
Old Index