Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4110 - Aerohive HiveAP 330 kernel.gz now too large to boot as of snapshot post-21.02 #9092

Closed
openwrt-bot opened this issue Oct 26, 2021 · 4 comments
Labels
flyspray kernel

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Oct 26, 2021

hurricos:

Supply the following if possible:

  • Device problem occurs on: Aerohive HiveAP 330

  • Software versions of OpenWrt/LEDE release, packages, etc.: Snapshot 2021-10-24 (Linux-5.10.75)

  • Steps to reproduce:

    1: Sysupgrade to OpenWrt 21.02.0

    2: See the result: boot works:

Hit any key to stop autoboot:  0 
Hit any key to interrupt boot from flash:  0 
## Booting kernel from Legacy Image at ee840000 ...
   Image Name:   POWERPC OpenWrt Linux-5.4.143
   Created:      2021-08-31  22:20:08 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    3710564 Bytes =  3.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   OpenWrt fake ramdisk
   Created:      2021-08-31  22:20:08 UTC
   Image Type:   PowerPC Linux RAMDisk Image (uncompressed)
   Data Size:    0 Bytes =  0 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at ec000000
   Booting using the fdt blob at 0xec000000
   Uncompressing Kernel Image ... OK
   Loading Ramdisk to 10000000, end 10000000 ... OK
   Loading Device Tree to 00ffa000, end 00fffcb5 ... OK
ft_fixup_l2cache: FDT_ERR_NOTFOUND
[    0.000000] Memory CAM mapping: 256 Mb, residual: 0Mb
[    0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 SMP Tue Aug 31 22:20:08 2021

3: Sysupgrade to OpenWrt snapshot.

4: Upon attempted reboot, see the result: failure to boot:

[mkennedy@fedora AP330]$ cat not_booting_snapshot 
Hit any key to stop autoboot:  0 
Hit any key to interrupt boot from flash:  0
## Booting kernel from Legacy Image at ee840000 ...
   Image Name:   POWERPC OpenWrt Linux-5.10.75
   Created:      2021-10-24  18:22:04 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    4332488 Bytes =  4.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   OpenWrt fake ramdisk
   Created:      2021-10-24  18:22:04 UTC
   Image Type:   PowerPC Linux RAMDisk Image (uncompressed)
   Data Size:    0 Bytes =  0 kB 
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at ec000000
   Booting using the fdt blob at 0xec000000
   Uncompressing Kernel Image ... Error: inflate() returned -5
GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover
   Loading Ramdisk to 10000000, end 10000000 ... OK
   Loading Device Tree to 00ffa000, end 00fffd46 ... OK
ft_fixup_l2cache: FDT_ERR_NOTFOUND


U-Boot 2009.11 (Jan 12 2017 - 00:27:25), Build: jenkins-HiveOS-Honolulu_AP350_Rel-245
@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Oct 26, 2021

hurricos:

I apologize. That formatted very poorly.

I've attached a .tar.gz of the two boot outputs.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Oct 26, 2021

hurricos:

Here are links to the two files:

https://paste.c-net.org/RacialReptiles < unsuccessful boot

https://paste.c-net.org/SloanDanson < successful boot

@Hurricos
Copy link
Contributor

@Hurricos Hurricos commented Feb 15, 2022

Work to fix this is active in PR #4897.

@aparcar aparcar added the kernel label Feb 22, 2022
@Hurricos
Copy link
Contributor

@Hurricos Hurricos commented Feb 23, 2022

Work based on #4897 has been merged to OpenWrt master: I can confirm the kernel now boots just fine.

Please close this issue. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel
Projects
None yet
Development

No branches or pull requests

4 participants