archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <>
To: LKML <>, X86 ML <>
Subject: x86_32: CONFIG_PHYSICAL_START problem
Date: Sat, 12 Dec 2020 22:29:13 -0800	[thread overview]
Message-ID: <> (raw)


I was trying to debug a MIPS build error, but it wasn't MIPS-specific,
so I did this, using the MIPS .config file:

make ARCH=i386 O=xx32 olddefconfig

Little to my knowledge, this came up with

Then I built the i386 kernel, and got this message:
ld: kernel image bigger than KERNEL_IMAGE_SIZE

so I promptly changed many =y drivers etc. to =m
and still got the same ld error message.

Well, it must be something else, he said.

I tracked it down to this large value of CONFIG_PHYSICAL_START
and changed it back to its default value, then the kernel
built with no problems.

So far I haven't been able to track the chain of values/changes

Anyway, I would like to see PHYSICAL_START limited to some
acceptable range of values in arch/x86/Kconfig,
or at a minimum, a little bit better error message coming
from arch/x86/kernel/

	   "kernel image bigger than KERNEL_IMAGE_SIZE");

so maybe:

	   "kernel image bigger than KERNEL_IMAGE_SIZE or load address is too large");
(or start address)


Reported-by: Randy Dunlap <>

             reply	other threads:[~2020-12-13  6:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-13  6:29 Randy Dunlap [this message]
2020-12-16 15:57 ` x86_32: CONFIG_PHYSICAL_START problem Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).