NetBSD Problem Report #57745

From www@netbsd.org  Sat Dec  2 17:11:56 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 225541A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  2 Dec 2023 17:11:56 +0000 (UTC)
Message-Id: <20231202171155.16F2E1A923A@mollari.NetBSD.org>
Date: Sat,  2 Dec 2023 17:11:55 +0000 (UTC)
From: scole@sdf.org
Reply-To: scole@sdf.org
To: gnats-bugs@NetBSD.org
Subject: compat_16 module kobj_checksyms errors
X-Send-Pr-Version: www-1.0

>Number:         57745
>Category:       port-macppc
>Synopsis:       compat_16 module kobj_checksyms errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 02 17:15:00 +0000 2023
>Last-Modified:  Sat Dec 02 19:24:41 +0000 2023
>Originator:     scole
>Release:        10.0_RC1
>Organization:
>Environment:
NetBSD pm7200.dstar.net 10.0_RC1 NetBSD 10.0_RC1 (GENERIC-$Revision: 1.30 $) #0: Thu Nov 23 09:02:50 PST 2023  scole@dstar.dstar.net:/home/scole/nbsd/cvs/10_0/obj/sys/arch/macppc/compile/GENERIC_601 macppc
>Description:
When I ssh into my powermac 7200 or run a few other commands I'm getting these kernel messages:

[   187.935352] kobj_checksyms, 1004: [compat_16]: linker error: symbol `sendsig_sigcontext' not found
[   187.935352] kobj_checksyms, 1004: [compat_16]: linker error: symbol `esigcode' not found
[   187.935352] kobj_checksyms, 1004: [compat_16]: linker error: symbol `compat_16_sys___sigreturn14' not found
[   187.935352] kobj_checksyms, 1004: [compat_16]: linker error: symbol `sigcode' not found
[   187.935352] WARNING: module error: unable to affix module `compat_16', error 8

The ssh command seems to function normally despite the messages.

I tried rebuilding GENERIC_601 with
 include 	"conf/compat_netbsd90.config"
instead of
 include 	"conf/compat_netbsd50.config"

but it didn't seem to matter.  Sorry I don't understand much about the
compatibility infrastructure.  I think the GENERIC_601 kernel is basically a very stripped down GENERIC kernel with different compile flags so maybe some other required options are missing.

>How-To-Repeat:
ssh into a GENERIC_601 kernel
>Fix:

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.