Modify

Opened 7 years ago

Closed 7 years ago

#7756 closed defect (worksforme)

select x86 and keep everything to default. it fails to create image

Reported by: mohnkhan Owned by: developers
Priority: response-needed Milestone: Backfire 10.03.1
Component: toolchain Version: Backfire 10.03
Keywords: Cc:

Description

scripts/kconfig/conf -s arch/x86/Kconfig

CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh

make[5]: Leaving directory `/home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16'
rm -rf /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/modules
touch /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16/.configured
rm -f /home/mohnkhan/backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/root-x86/init
make -C /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16 CROSS_COMPILE="i486-openwrt-linux-uclibc-" ARCH="x86" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="i486-openwrt-linux-uclibc-gcc" "bzImage"
make[5]: Entering directory `/home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16'

CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC net/socket.o
LD net/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
SYSMAP System.map
VOFFSET arch/x86/boot/voffset.h
OBJCOPY arch/x86/boot/compressed/vmlinux.bin
GZIP arch/x86/boot/compressed/vmlinux.bin.gz
MKPIGGY arch/x86/boot/compressed/piggy.S
AS arch/x86/boot/compressed/piggy.o
LD arch/x86/boot/compressed/vmlinux
ZOFFSET arch/x86/boot/zoffset.h
AS arch/x86/boot/header.o
CC arch/x86/boot/version.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
OBJCOPY arch/x86/boot/vmlinux.bin
BUILD arch/x86/boot/bzImage

Root device is (8, 2)
Setup is 12440 bytes (padded to 12800 bytes).
System is 1660 kB
CRC 7d75ed86
Kernel: arch/x86/boot/bzImage is ready (#2)
make[5]: Leaving directory `/home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16'
i486-openwrt-linux-uclibc-objcopy -O binary -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id -S /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16/vmlinux /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/vmlinux
i486-openwrt-linux-uclibc-objcopy -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id -S /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16/vmlinux /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/vmlinux.elf
touch /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16/.image
make -C image compile install TARGET_BUILD=
make[5]: Entering directory `/home/mohnkhan/backfire/backfire/target/linux/x86/image'
make[5]: `compile' is up to date.
cp -fpR /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/linux-2.6.32.16/arch/x86/boot/bzImage /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/bzImage
# for the image builder
cp -fpR /home/mohnkhan/backfire/backfire/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib/grub/i386-openwrt/stage1 /home/mohnkhan/backfire/backfire/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib/grub/i386-openwrt/stage2 /home/mohnkhan/backfire/backfire/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib/grub/i386-openwrt/stage2_eltorito /home/mohnkhan/backfire/backfire/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib/grub/i386-openwrt/e2fs_stage1_5 /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/
/usr/bin/find /home/mohnkhan/backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/root-x86 -type f -not -perm +0100 -not -name 'ssh_host*' -print0 | xargs -r -0 chmod 0644
/usr/bin/find /home/mohnkhan/backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/root-x86 -type f -perm +0100 -print0 | xargs -r -0 chmod 0755
/usr/bin/find /home/mohnkhan/backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/root-x86 -type d -print0 | xargs -r -0 chmod 0755
install -d -m0755 /home/mohnkhan/backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/root-x86/tmp
chmod 0777 /home/mohnkhan/backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/root-x86/tmp
cp -fpR /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/bzImage /home/mohnkhan/backfire/backfire/bin/x86/openwrt-x86-generic-vmlinuz
/home/mohnkhan/backfire/backfire/staging_dir/host/bin/genext2fs -U -b 49152 -N 6000 -d /home/mohnkhan/backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/root-x86/ /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/root.ext2
/home/mohnkhan/backfire/backfire/staging_dir/host/bin/genext2fs: couldn't allocate a block (no free space)
make[5]: * [install] Error 1
make[5]: Leaving directory `/home/mohnkhan/backfire/backfire/target/linux/x86/image'
make[4]:
* [install] Error 2
make[4]: Leaving directory `/home/mohnkhan/backfire/backfire/target/linux/x86'
make[3]: * [install] Error 2
make[3]: Leaving directory `/home/mohnkhan/backfire/backfire/target/linux'
make[2]:
* [target/linux/install] Error 2
make[2]: Leaving directory `/home/mohnkhan/backfire/backfire'
make[1]: * /home/mohnkhan/backfire/backfire/staging_dir/target-i386_uClibc-0.9.30.1/stamp/.target_install Error 2
make[1]: Leaving directory `/home/mohnkhan/backfire/backfire'
make:
* [world] Error 2

[mohnkhan@localhost backfire]$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 52G 45G 4.8G 91% /
tmpfs 1.1G 2.2M 1.1G 1% /dev/shm
/dev/sda1 200M 91M 99M 48% /boot

[mohnkhan@localhost backfire]$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda2 3203072 1033674 2169398 33% /
tmpfs 217651 20 217631 1% /dev/shm
/dev/sda1 50200 48 50152 1% /boot
[mohnkhan@localhost backfire]$

SVN revision updated to OpenWrt Backfire (r22615)

I have tested this issue on 2 machines

developement box 2

[mohnkhan@localhost backfire]$ df -h

Filesystem Size Used Avail Use% Mounted on
/dev/sdb5 43G 11G 31G 26% /
tmpfs 1002M 356K 1002M 1% /dev/shm
/dev/sda1 74G 23G 48G 33% /home
/dev/sdb2 198M 55M 133M 30% /boot
[mohnkhan@localhost backfire]$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdb5 2826240 386140 2440100 14% /
tmpfs 217579 8 217571 1% /dev/shm
/dev/sda1 4890624 2722610 2168014 56% /home
/dev/sdb2 52416 45 52371 1% /boot

Well to reproduce it default config for x86 was selected and only one package ISC dhcp (4.x) was added.
which shouldn't be an issue as i have successfully compiled this package for other revisions of svn.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by nico

  • Priority changed from high to response-needed
/home/mohnkhan/backfire/backfire/staging_dir/host/bin/genext2fs -U -b 49152 -N 6000 -d /home/mohnkhan/backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/root-x86/ /home/mohnkhan/backfire/backfire/build_dir/linux-x86_generic/root.ext2
/home/mohnkhan/backfire/backfire/staging_dir/host/bin/genext2fs: couldn't allocate a block (no free space)

Default size of ext2 images is 48 MB, with a maximum of 6000 inodes. Did you try increasing those two ? (hint: Target Images in menuconfig)

comment:2 Changed 7 years ago by mohkhan

default package list with everything default was selected.
nothing was modified including the ext2 image size or so.

will attempt again by tweaking them

comment:3 Changed 7 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

No such issue observed during RC5 release builds

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.