Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.ports.alpha > #1249

[BUG] alpha: module xxx: Unknown relocation: 1

From Bob Tracy <rct@gherkin.frus.com>
Newsgroups linux.debian.ports.alpha, linux.kernel
Subject [BUG] alpha: module xxx: Unknown relocation: 1
Date 2017-04-12 05:10 +0200
Message-ID <tvgPn-7AL-11@gated-at.bofh.it> (permalink)
References <tuwjv-2lx-5@gated-at.bofh.it> <tuE7n-7nn-11@gated-at.bofh.it> <tuUYy-1CP-9@gated-at.bofh.it> <tuXjI-3jn-7@gated-at.bofh.it> <tvbZn-4ay-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


(Adding linux-kernel to the distribution.  The issue seems to be
architecture-specific, but I'm trying to understand what broke.)

The 4.10-rc1 patch set made fairly extensive modifications to
"a/kernel/module.c" (I'm leaving the "a" there so there's no doubt I
mean the top-level "kernel/module.c" file and not any of the
architecture-specific ones).

One of the changes was to replace an include of <asm/uaccess.h> with
<linux/uaccess.h>.  This is potentially significant because of the
mod we made to alpha's <asm/uaccess.h> to fix the BRSGP relocation
error on __copy_user() issue.

Bottom line is, no kernel I've built since 4.9 can load a module.  All
attempts to load a module result in the error message emitted by
"arch/alpha/kernel/module.c" as follows:

module XXX: Unknown relocation: 1

I'll start attempting to revert the recent module patches to see if that
helps.  If anyone reading this knows what's happening, feel free to
weigh-in before I spend too much time rebuilding kernels on a slow
machine.

--Bob

Back to linux.debian.ports.alpha | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

current toolchain on Alpha is crap? Bob Tracy <rct@gherkin.frus.com> - 2017-04-10 03:30 +0200
  Re: current toolchain on Alpha is crap? Bob Tracy <rct@gherkin.frus.com> - 2017-04-10 04:00 +0200
  Re: current toolchain on Alpha is crap? Michael Cree <mcree@orcon.net.nz> - 2017-04-10 10:40 +0200
  Re: current toolchain on Alpha is crap? Michael Cree <mcree@orcon.net.nz> - 2017-04-10 11:50 +0200
    Re: current toolchain on Alpha is crap? Bob Tracy <rct@gherkin.frus.com> - 2017-04-11 05:50 +0200
      Re: current toolchain on Alpha is crap? Michael Cree <mcree@orcon.net.nz> - 2017-04-11 08:20 +0200
        Re: current toolchain on Alpha is crap? Bob Tracy <rct@gherkin.frus.com> - 2017-04-12 00:00 +0200
          [BUG] alpha: module xxx: Unknown relocation: 1 Bob Tracy <rct@gherkin.frus.com> - 2017-04-12 05:10 +0200
            Re: [BUG] alpha: module xxx: Unknown relocation: 1 Helge Deller <deller@gmx.de> - 2017-04-12 08:00 +0200
              Re: [BUG] alpha: module xxx: Unknown relocation: 1 Bob Tracy <rct@gherkin.frus.com> - 2017-04-13 05:50 +0200

csiph-web