Re: [PATCH v2 0/4] Introduce and use absolute_pointer macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Mon, Sep 20, 2021 at 11:26 AM Ulrich Teichert
<krypton@xxxxxxxxxxxxxxxxxxx> wrote:
> The main trouble is that my system has only 64MB of memory and the smallest
> kernel image with all drivers I need was about 105MB big.

Are you sure you aren't looking at some debug image?

I just tried building something based on your Jensen config (lots of
new questions, you sent your old config from 4.18.0-rc5 time), and I

  [torvalds@ryzen linux]$ ll -h arch/alpha/boot/vmlinux*
  -rwxr-xr-x. 1 torvalds torvalds 5.4M Sep 20 11:32 arch/alpha/boot/vmlinux
  -rw-r--r--. 1 torvalds torvalds 2.3M Sep 20 11:32 arch/alpha/boot/vmlinux.gz

so yeah, it's not exactly tiny, but at 5.4MB it's certainly not 105MB.

The "vmlinux" file itself is huge, but that's due to CONFIG_DEBUG_INFO=y.

You can easily disable DEBUG_INFO entirely (or at least do
DEBUG_INFO_REDUCED), and get much smaller files.

With the attached config, the vmlinux file is just 7MB (but the actual
one you boot is that same 5.4M file because it's been stripped).

NOTE! The attached config is basically just the one you sent me, with
"make defconfig" done and DEBUG_INFO removed. It might have drivers
missing, or extraneous code that you don't need because of all the
changes in config variables since that very old one.

It would be very interesting to hear whether this all still boots. I
do think people still occasionally boot-test some other alpha
configurations, but maybe not.


Description: Binary data

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux