Skip to contentSkip to conversation

2.6.23-git10 make bzImage problem

DISCUSSION Sid Boyce 2 participants 3 messages Oct 17, 2007 – Oct 19, 2007 x86

lore
Share & tools
lore
author
#1 lore raw
In reply to Sid Boyce
Quoted 6 lines · Sid Boyce

When booted, it complains that kernel size is too big, but size OK for a bzImage, not for zImage as is returned by the file command, -git9 was OK, x86_64 SMP kernel on two 64x2 boxes. I shall supplymy .config if needed, but they are the same as for -git9.

 # l arch/x86/boot/bzImage
-rw-r--r-- 1 root root 1761496 2007-10-16 22:45 arch/x86/boot/bzImage
Quoted 8 lines
# file arch/x86_64/boot/bzImage
arch/x86_64/boot/bzImage: symbolic link to `/usr/src/linux-2.6.23-git10/arch/x86/boot/bzImage'
# file arch/x86/boot/bzImage
arch/x86/boot/bzImage: Linux/x86 Kernel, Setup Version 0x206, zImage, RO-rootFS, root_dev 0x801, swap_dev 0x1, Prompt for Videomode

Regards
Sid.

Fixed by the following patch.
=============================

---
arch/x86/boot/Makefile | 6 +++---

1 files changed, 3 insertions(+), 3 deletions(-)
arch/x86/boot/Makefile +0 -0
index d6ed8e5..0e4912f 100644
@@ -64,10 +64,10 @@ KBUILD_CFLAGS := $(LINUXINCLUDE) -g -Os -D_SETUP -D__KERNEL__ \

KBUILD_AFLAGS := $(KBUILD_CFLAGS) -D__ASSEMBLY__

$(obj)/zImage: IMAGE_OFFSET := 0x1000
-$(obj)/zImage: EXTRA_AFLAGS := $(SVGA_MODE) $(RAMDISK) +$(obj)/zImage: asflags-y += $(SVGA_MODE) $(RAMDISK) $(obj)/bzImage: IMAGE_OFFSET := 0x100000
-$(obj)/bzImage: EXTRA_CFLAGS := -D__BIG_KERNEL__ -$(obj)/bzImage: EXTRA_AFLAGS := $(SVGA_MODE) $(RAMDISK) -D__BIG_KERNEL__ +$(obj)/bzImage: ccflags-y += -D__BIG_KERNEL__ +$(obj)/bzImage: asflags-y += $(SVGA_MODE) $(RAMDISK) -D__BIG_KERNEL__ $(obj)/bzImage: BUILDFLAGS := -b

quiet_cmd_image = BUILD $@

Regards
Sid.

Signature · 3 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

Sid Boyce

author
#0 lore raw

When booted, it complains that kernel size is too big, but size OK for a bzImage, not for zImage as is returned by the file command, -git9 was OK, x86_64 SMP kernel on two 64x2 boxes. I shall supplymy .config if needed, but they are the same as for -git9.

 # l arch/x86/boot/bzImage
-rw-r--r-- 1 root root 1761496 2007-10-16 22:45 arch/x86/boot/bzImage
# file arch/x86_64/boot/bzImage
arch/x86_64/boot/bzImage: symbolic link to `/usr/src/linux-2.6.23-git10/arch/x86/boot/bzImage'
# file arch/x86/boot/bzImage
arch/x86/boot/bzImage: Linux/x86 Kernel, Setup Version 0x206, zImage, RO-rootFS, root_dev 0x801, swap_dev 0x1, Prompt for Videomode

Regards
Sid.

Signature · 3 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#2 lore raw
Quoted 8 lines · Sid Boyce

When booted, it complains that kernel size is too big, but size OK for a bzImage, not for zImage as is returned by the file command, -git9 was OK, x86_64 SMP kernel on two 64x2 boxes.
I shall supplymy .config if needed, but they are the same as for -git9.

  # l arch/x86/boot/bzImage
-rw-r--r-- 1 root root 1761496 2007-10-16 22:45 arch/x86/boot/bzImage
Quoted 7 lines
# file arch/x86_64/boot/bzImage
arch/x86_64/boot/bzImage: symbolic link to
`/usr/src/linux-2.6.23-git10/arch/x86/boot/bzImage'
# file arch/x86/boot/bzImage
arch/x86/boot/bzImage: Linux/x86 Kernel, Setup Version 0x206, zImage,
RO-rootFS, root_dev 0x801, swap_dev 0x1, Prompt for Videomode

Same here - but it -git13 seems to be back to proper behavior...

[asuardi@sandman boot]$ file vmlinuz-2.6.23-git? vmlinuz-2.6.23-git?? vmlinuz-2.6.23-git3: Linux kernel x86 boot executable RO-rootFS, root_dev 0x807, swap_dev 0x1, Normal VGA vmlinuz-2.6.23-git6: Linux kernel x86 boot executable RO-rootFS, root_dev 0x807, swap_dev 0x1, Normal VGA vmlinuz-2.6.23-git10: Linux kernel x86 boot executable zImage, version 2.6.23-git10 (asuardi@sandman) , RO-rootFS, root_dev 0x807, swap_dev 0x1, Prompt for Videomode
vmlinuz-2.6.23-git13: Linux kernel x86 boot executable RO-rootFS, root_dev 0x807, swap_dev 0x1, Normal VGA

--alessandro

"you feel the sweet breath of time
it's whispering, its truth not mine"

(Interpol, 'No I In Threesome')