NetBSD Problem Report #60
From gnats Sat Jan 1 19:14:29 1994
Received: from uwm.edu (uwm.edu [129.89.6.2]) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) with SMTP id TAA16576 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sat, 1 Jan 1994 19:13:08 -0800
Message-Id: <199401020312.VAA24839@na1.cs.uwm.edu>
Date: Sat, 1 Jan 1994 21:12:36 -0600
From: jimj@miller.cs.uwm.edu
Reply-To: jimj@miller.cs.uwm.edu
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: lkm don't work anymore
X-Send-Pr-Version: 3.01.6
>Number: 60
>Category: kern
>Synopsis: lkm don't work anymore
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 01 19:20:01 +0000 1994
>Closed-Date: Mon Jan 24 21:17:10 +0000 1994
>Last-Modified:
>Originator: James Jegers
>Release:
>Organization:
>Environment:
System: NetBSD na1.cs.uwm.edu 0.9a JIMJ#3 i386
>Description:
The lkm's compile, but when the modload command is done,
the linker complains.
modload -o newsyscall -enewsyscall combined.o
ld: internal error:wrong number of symbols (2502) written into
output file, should be 2501
Can't prelink combined.o creating newsyscall!
This is really a user-level problem; the `-A' flag in ld was
broken.
>How-To-Repeat:
Compile lkm's into the kernel.
Compile the syscall test routine in /usr/share/lkm,
make load
>Fix:
Get the latest ld source and compile it.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: mycroft
State-Changed-When: Tue Jan 11 16:16:34 PST 1994
State-Changed-Why:
Latest ld source fixes this problem.
State-Changed-From-To: feedback->closed
State-Changed-By: cgd
State-Changed-When: Mon Jan 24 13:17:10 PST 1994
State-Changed-Why:
LKM's (actually ld -A) now work "as advertised", and i've used them
recently to test the syscall lkm as well as a loadable exectuable module.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.