Modify

Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#10015 closed defect (too_vague)

HW553 won't boot [ /lib/libcrypt.so.0' is not an ELF file ]

Reported by: Giuse <s156757@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: /lib/libcrypt.so.0' is not an ELF file Cc:

Description

Hi all, in revision r28095 for HW553, boot process stops for this errors:

/bin/sh: '/lib/libcrypt.so.0' is not an ELF file
/bin/sh: can't load library 'libcrypt.so.0'

For more details see kernel logs.
Regards.

Attachments (1)

Kernel_log_r28095 (5.4 KB) - added by Giuse <s156757@…> 6 years ago.
Kernel log

Download all attachments as: .zip

Change History (11)

Changed 6 years ago by Giuse <s156757@…>

Kernel log

comment:1 Changed 6 years ago by Giuse <dk_giuse89@…>

CLOSE THIS TICKET. MY SYSTEM HAS COMPILED A CORRUPT IMAGE.

comment:2 Changed 6 years ago by nbd

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

comment:3 Changed 5 years ago by anonymous

  • Resolution invalid deleted
  • Status changed from closed to reopened

Hi, in r36264 can't boot.
I think my system hasn't compiled a corrupted image.
image is openwrt-HW553-jffs2-128k-cfe.bin

[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Nov 18 13:11:17 UTC 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-48.46
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW553
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61512k/65536k available (2358k kernel code, 4024k reserved, 501k data, 204k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.072000] registering PCI controller with io_map_base unset
[    0.092000] bio: create slab <bio-0> at 0
[    0.100000] PCI host bridge to bus 0000:00
[    0.104000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.108000] pci_bus 0000:00: root bus resource [io  0x8000000-0x8007fff]
[    0.124000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
[    0.128000] PCI host bridge to bus 0000:01
[    0.132000] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[    0.136000] pci_bus 0000:01: root bus resource [io  0x8008000-0x800ffff]
[    0.140000] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[    0.144000] pci 0000:01:1e.0:   bridge window [io  0x0001-0x0000]
[    0.148000] pci 0000:01:1e.0:   bridge window [io  0x0001-0x0000]
[    0.152000] pci 0000:01:1e.0:   bridge window [mem 0x00000001-0x00000000]
[    0.156000] PCI: Enabling device 0000:01:1e.0 (0000 -> 0003)
[    0.160000] Switching to clocksource MIPS
[    0.172000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    0.200000] ssb: Found chip with id 0x4318, rev 0x02 and package 0x00
[    0.248000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[    0.256000] NET: Registered protocol family 2
[    0.264000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.272000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.280000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.284000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.292000] TCP reno registered
[    0.296000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.300000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.308000] NET: Registered protocol family 1
[    0.316000] audit: initializing netlink socket (disabled)
[    0.324000] type=2000 audit(0.324:1): initialized
[    0.328000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.336000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.348000] msgmni has been set to 120
[    0.352000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.360000] io scheduler noop registered
[    0.364000] io scheduler deadline registered (default)
[    0.372000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.380000] console [ttyS0] enabled, bootconsole disabled
[    0.380000] console [ttyS0] enabled, bootconsole disabled
[    0.396000] physmap platform flash device: 02000000 at 1e000000
[    0.404000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.412000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.420000]   Amd/Fujitsu Extended Query version 1.3.
[    0.424000] number of CFI chips: 1
[    0.428000] bcm63xxpart: CFE boot tag found with version 7 and board type HW553
[    0.436000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.444000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.448000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ec0000
[    0.456000] bcm63xxpart: Partition 3 is nvram offset fe0000 and length 20000
[    0.464000] bcm63xxpart: Partition 4 is linux offset 20000 and length fc0000
[    0.472000] bcm63xxpart: Spare partition is offset 400004 and length bdfffc
[    0.480000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.484000] Creating 5 MTD partitions on "physmap-flash.0":
[    0.492000] 0x000000000000-0x000000020000 : "CFE"
[    0.500000] 0x000000020100-0x000000120000 : "kernel"
[    0.504000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.524000] 0x000000120000-0x000000fe0000 : "rootfs"
[    0.532000] mtd: partition "rootfs" set to be root filesystem
[    0.536000] split_squashfs: no squashfs found in "physmap-flash.0"
[    0.544000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.552000] 0x000000020000-0x000000fe0000 : "linux"
[    0.572000] bcm63xx_enet MII bus: probed
[    0.576000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Generic PHY]
[    0.588000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.604000] TCP cubic registered
[    0.608000] NET: Registered protocol family 17
[    0.616000] Bridge firewalling registered
[    0.620000] 8021q: 802.1Q VLAN Support v1.8
[    2.436000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "modules.d" (ino #91) of dir ino #4 appears to be a hard link
[    2.448000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "3.7.10" (ino #330) of dir ino #300 appears to be a hard link
[    2.460000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "lua" (ino #502) of dir ino #430 appears to be a hard link
[    2.472000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "opkg" (ino #503) of dir ino #430 appears to be a hard link
[    2.484000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "pppd" (ino #504) of dir ino #430 appears to be a hard link
[    2.496000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "iptables" (ino #490) of dir ino #430 appears to be a hard link
[    2.508000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "upload" (ino #447) of dir ino #305 appears to be a hard link
[    2.520000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "keep.d" (ino #449) of dir ino #306 appears to be a hard link
[    2.532000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "usb" (ino #122) of dir ino #82 appears to be a hard link
[    2.540000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "iface" (ino #121) of dir ino #82 appears to be a hard link
[    2.552000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "firewall" (ino #119) of dir ino #82 appears to be a hard link
[    2.564000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "ieee1394" (ino #120) of dir ino #82 appears to be a hard link
[    2.576000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "firewall" (ino #744) of dir ino #735 appears to be a hard link
[    2.588000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "admin_network" (ino #741) of dir ino #735 appears to be a hard link
[    2.600000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "admin_status" (ino #742) of dir ino #735 appears to be a hard link
[    2.612000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "admin_system" (ino #743) of dir ino #735 appears to be a hard link
[    2.628000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "3.3.8" (ino #286) of dir ino #228 appears to be a hard link
[    2.636000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "proto" (ino #339) of dir ino #229 appears to be a hard link
[    2.648000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "luci" (ino #619) of dir ino #613 appears to be a hard link
[    2.660000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "nixio" (ino #620) of dir ino #613 appears to be a hard link
[    2.672000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "info" (ino #891) of dir ino #614 appears to be a hard link
[    2.684000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "lists" (ino #892) of dir ino #614 appears to be a hard link
[    2.696000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "2.4.5" (ino #1139) of dir ino #615 appears to be a hard link
[    2.708000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "fstab" (ino #773) of dir ino #743 appears to be a hard link
[    2.720000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "upload" (ino #377) of dir ino #232 appears to be a hard link
[    2.732000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "keep.d" (ino #379) of dir ino #233 appears to be a hard link
[    2.744000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "cbi" (ino #625) of dir ino #619 appears to be a hard link
[    2.752000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "sgi" (ino #642) of dir ino #619 appears to be a hard link
[    2.764000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "sys" (ino #644) of dir ino #619 appears to be a hard link
[    2.776000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "i18n" (ino #635) of dir ino #619 appears to be a hard link
[    2.788000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "http" (ino #633) of dir ino #619 appears to be a hard link
[    2.800000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "model" (ino #640) of dir ino #619 appears to be a hard link
[    2.812000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "tools" (ino #648) of dir ino #619 appears to be a hard link
[    2.824000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "template" (ino #646) of dir ino #619 appears to be a hard link
[    2.836000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "controller" (ino #629) of dir ino #619 appears to be a hard link
[    2.848000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "2.4.5" (ino #880) of dir ino #504 appears to be a hard link
[    2.860000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "lua" (ino #613) of dir ino #505 appears to be a hard link
[    2.872000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "opkg" (ino #614) of dir ino #505 appears to be a hard link
[    2.880000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "pppd" (ino #615) of dir ino #505 appears to be a hard link
[    2.892000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "iptables" (ino #571) of dir ino #505 appears to be a hard link
[    2.908000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "cbi" (ino #514) of dir ino #508 appears to be a hard link
[    2.916000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "sgi" (ino #531) of dir ino #508 appears to be a hard link
[    2.928000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "sys" (ino #533) of dir ino #508 appears to be a hard link
[    2.940000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "i18n" (ino #524) of dir ino #508 appears to be a hard link
[    2.952000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "http" (ino #522) of dir ino #508 appears to be a hard link
[    2.964000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "view" (ino #540) of dir ino #508 appears to be a hard link
[    2.976000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "model" (ino #529) of dir ino #508 appears to be a hard link
[    2.988000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "tools" (ino #537) of dir ino #508 appears to be a hard link
[    3.000000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "template" (ino #535) of dir ino #508 appears to be a hard link
[    3.008000] JFFS2 error: (1) jffs2_build_inode_pass1: child dir "controller" (ino #518) of dir ino #508 appears to be a hard link
[    3.024000] JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    3.040000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
[    3.052000] Freeing unused kernel memory: 204k freed
/bin/sh: '/lib/libcrypt.so.0' is not an ELF file
/bin/sh: can't load library 'libcrypt.so.0'

comment:4 Changed 5 years ago by nbd

  • Resolution set to invalid
  • Status changed from reopened to closed

looks like you flashed the wrong image, maybe you need the squashfs image or the jffs2-64k image

comment:5 Changed 5 years ago by anonymous

  • Resolution invalid deleted
  • Status changed from closed to reopened

No one of all image compiled for for HW553 in r36264 can boot.
The error log during boot is posted. Compiling is regular.

Best Regards,
Bios.

comment:6 Changed 5 years ago by jow

  • Resolution set to too_vague
  • Status changed from reopened to closed

If you log is indeed identical to the one above then you flashed the wrong image, if not provide actual information.

comment:7 Changed 4 years ago by anonymous

trying to install on of images in http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/

no one of this starts correctly (log looks like how on top):

  • openwrt-HW553-jffs2-128k-cfe.bin
  • openwrt-HW553-jffs2-64k-cfe.bin

this ends up by a kernel panic:

  • openwrt-HW553-squashfs-cfe.bin

so, if i flashed the wrong image (all images are wrong images), what of these is the correct image for my HW553 alias Vodafone Station?

Thanks in advance,
Best Regards.

comment:8 Changed 4 years ago by anonymous

  • Resolution too_vague deleted
  • Status changed from closed to reopened

missed to re-open

comment:9 Changed 4 years ago by nbd

  • Resolution set to too_vague
  • Status changed from reopened to closed

what you've written so far does not indicate that your issue is at all related to this ticket.
you also forgot to post the kernel panic that you're getting.

comment:10 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.