Kernel Newbies archive on lore.kernel.org
 help / Atom feed
* 32-bit relocation outside of kernel
@ 2019-01-21 13:13 Wallace
  0 siblings, 0 replies; 1+ messages in thread
From: Wallace @ 2019-01-21 13:13 UTC (permalink / raw)
  To: kernelnewbies

[-- Attachment #1.1.1.1: Type: text/plain, Size: 1610 bytes --]

Hello all,

First message here, I hope it's the good place to write for this problem.

I compile kernel.org vanilla for Debian since 2.4 without big problem,
but this time I'm facing a problem that I don't understund the mistake.

My goal is to make a kernel without many drivers I don't need and
configuration for servers with restriction for many thinks. This kernel
need to run en vm guest host (esxi, virtualbox, xen, kvm) and bare metal
host on many different brands.

Until kernel 4.16.15 everythings works well for all hosts.

Since 4.17 to 4.19 all attempts to compile and boot give me an error
when boot with the message : 32-bit relocation outside of kernel

This error is not well documented, some have error on ram on bare metal
host, in my case I have tested wrong kernel in many virualized guest on
two plateform with same error, I don't think it's a hardware problem.

I join configurations, the first 4.16.15 works very well find here
https://dl.digdeo.fr/IoLqo/config-4.16.15-work.txt and for all other
version after I have tested upgrade of config file with make oldconfig
and localmodconfig but with this all failed, there is config-4.19.16 for
exemple that don't work
https://dl.digdeo.fr/PzuK7/config-4.19.16-32bit-relocation.txt

There is my method to compile kernels :

make clean
git checkout v4.19.16
cp ../config-4.16.15-work.txt .config
export CONCURRENCY_LEVEL=`grep -c '^processor' /proc/cpuinfo`
make deb-pkg -j$CONCURRENCY LOCALVERSION=-mykernel KDEB_PKGVERSION=1

dpkg -i ../linux-image....deb

reboot

Thanks for your help

Wallace


[-- Attachment #1.1.1.2: Type: text/html, Size: 3197 bytes --]

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Helvetica, Arial, sans-serif">Hello all,</font></p>
    <p><font face="Helvetica, Arial, sans-serif">First message here, I
        hope it's the good place to write for this problem.</font></p>
    <p><font face="Helvetica, Arial, sans-serif">I compile kernel.org
        vanilla for Debian since 2.4 without big problem, but this time
        I'm facing a problem that I don't understund the mistake.</font></p>
    <p><font face="Helvetica, Arial, sans-serif">My goal is to make a
        kernel without many drivers I don't need and configuration for
        servers with restriction for many thinks. This kernel need to
        run en vm guest host (esxi, virtualbox, xen, kvm) and bare metal
        host on many different brands.<br>
      </font></p>
    <p><font face="Helvetica, Arial, sans-serif">Until kernel 4.16.15
        everythings works well for all hosts.</font></p>
    <p><font face="Helvetica, Arial, sans-serif">Since 4.17 to 4.19 all
        attempts to compile and boot give me an error when boot with the
        message : 32-bit relocation outside of kernel</font></p>
    <p><font face="Helvetica, Arial, sans-serif">This error is not well
        documented, some have error on ram on bare metal host, in my
        case I have tested wrong kernel in many virualized guest on two
        plateform with same error, I don't think it's a hardware
        problem.</font></p>
    <p><font face="Helvetica, Arial, sans-serif">I join configurations,
        the first 4.16.15 works very well find here <a
          class="moz-txt-link-freetext"
          href="https://dl.digdeo.fr/IoLqo/config-4.16.15-work.txt"
          moz-do-not-send="true">https://dl.digdeo.fr/IoLqo/config-4.16.15-work.txt</a>
        and for all other version after I have tested upgrade of config
        file with make oldconfig and </font><font face="Helvetica,
        Arial, sans-serif">localmodconfig but with this all failed,
        there is config-4.19.16 for exemple that don't work
        <a class="moz-txt-link-freetext" href="https://dl.digdeo.fr/PzuK7/config-4.19.16-32bit-relocation.txt">https://dl.digdeo.fr/PzuK7/config-4.19.16-32bit-relocation.txt</a></font></p>
    <p><font face="Helvetica, Arial, sans-serif">There is my method to
        compile kernels :</font></p>
    <p><font face="Helvetica, Arial, sans-serif">make clean<br>
        git checkout v4.19.16<br>
        cp ../config-4.16.15-work.txt .config<br>
        export CONCURRENCY_LEVEL=`grep -c '^processor' /proc/cpuinfo`<br>
        make deb-pkg -j$CONCURRENCY LOCALVERSION=-mykernel
        KDEB_PKGVERSION=1<br>
      </font></p>
    <p><font face="Helvetica, Arial, sans-serif">dpkg -i
        ../linux-image....deb</font></p>
    <p><font face="Helvetica, Arial, sans-serif">reboot<br>
      </font></p>
    <p><font face="Helvetica, Arial, sans-serif">Thanks for your help<br>
      </font></p>
    <p><font face="Helvetica, Arial, sans-serif">Wallace<br>
      </font></p>
  </body>
</html>

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 315 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-21 13:13 32-bit relocation outside of kernel Wallace

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox