#21996: Lantiq - VR9 - UBIFS error after flashing latest Trunk
---------------------------+------------------------
 Reporter:  Tommy Rowland  |      Owner:  developers
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:
Component:  packages       |    Version:  Trunk
 Keywords:                 |
---------------------------+------------------------
 This has happened twice. First time was three days ago and again this
 morning when I built and flashed the latest Trunk on my BTHH5a. I
 reflashed using serial connection to uBoot and got the device up and
 running. I though it best to report the error.

 [    1.750852] ath9k,eeprom ath9k_eep: loaded ath9k eeprom
 [    1.760205] UBI: auto-attach mtd4
 [    1.761893] ubi0: attaching mtd4
 [    2.401871] ubi0: scanning is finished
 [    2.443405] ubi0: attached mtd4 (name "ubi", size 125 MiB)
 [    2.447491] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024
 bytes
 [    2.454333] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size
 512
 [    2.461038] ubi0: VID header offset: 512 (aligned 512), data offset:
 2048
 [    2.467826] ubi0: good PEBs: 1003, bad PEBs: 0, corrupted PEBs: 0
 [    2.473918] ubi0: user volume: 1, internal volumes: 1, max. volumes
 count: 128
 [    2.481158] ubi0: max/mean erase counter: 722/546, WL threshold: 4096,
 image sequence number: 595274674
 [    2.490549] ubi0: available PEBs: 0, total reserved PEBs: 1003, PEBs
 reserved for bad PEB handling: 20
 [    2.500038] ubi0: background thread "ubi_bgt0d" started, PID 312
 [    2.612143] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started,
 PID 314
 [    2.718385] UBIFS (ubi0:0): recovery needed
 [    2.828971] UBIFS (ubi0:0): recovery completed
 [    2.832080] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name
 "rootfs"
 [    2.839390] UBIFS (ubi0:0): LEB size: 129024 bytes (126 KiB), min./max.
 I/O unit sizes: 2048 bytes/2048 bytes
 [    2.849305] UBIFS (ubi0:0): FS size: 124895232 bytes (119 MiB, 968
 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
 [    2.859917] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
 [    2.865758] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID
 1499F4AD-2531-41D0-87E9-C249812D5DC0, small LPT model
 [    2.879340] VFS: Mounted root (ubifs filesystem) on device 0:11.
 [    2.884580] Freeing unused kernel memory: 204K (804fd000 - 80530000)
 [    3.166839] UBIFS error (ubi0:0 pid 1): ubifs_read_node: bad node type
 (255 but expected 2)
 [    3.173806] UBIFS error (ubi0:0 pid 1): ubifs_read_node: bad node at
 LEB 111:80752, LEB mapping status 0
 [    3.183247] Not a node, first 24 bytes:
 [    3.186912] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff ff                          ........................
 [    3.199970] CPU: 0 PID: 1 Comm: init Not tainted 4.4.4 #3
 [    3.205351] Stack : 80480000 00000001 00000000 00000000 87828280
 804dcd43 80454918 00000001
   80533844 87a91c00 80477a20 00000001 00000000 800594ac 80477a20 00000001
   00000000 00000000 8045ae4c 8782da74 0000021f 800573f8 00000001 87a91c00
   00000018 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   ...
 [    3.240840] Call Trace:
 [    3.243319] [<8001b780>] show_stack+0x50/0x84
 [    3.247686] [<80153720>] ubifs_read_node+0x2ec/0x348
 [    3.252645] [<80173a30>] ubifs_tnc_read_node+0x94/0x1a0
 [    3.257859] [<80154884>] tnc_read_node_nm+0xc0/0x1e0
 [    3.262821] [<801574c4>] ubifs_tnc_locate+0xd0/0x21c
 [    3.267781] [<80157d20>] ubifs_tnc_lookup_nm+0x50/0x1a0
 [    3.273003] [<8014ad80>] ubifs_lookup+0xe0/0x238
 [    3.277628] [<800d0e50>] lookup_real+0x40/0x6c
 [    3.282053] [<800d3f88>] __lookup_hash+0x3c/0x50
 [    3.286667] [<800d40d0>] walk_component+0x134/0x344
 [    3.291539] [<800d44dc>] link_path_walk+0x1fc/0x54c
 [    3.296414] [<800d51cc>] path_openat+0x224/0x107c
 [    3.301115] [<800d7268>] do_filp_open+0x70/0xd8
 [    3.305640] [<800c6ff4>] do_sys_open+0x188/0x23c
 [    3.310262] [<8000855c>] syscall_common+0x30/0x54
 [    3.314943]
 Error loading shared library libjson-c.so.2: Invalid argument (needed by
 /sbin/init)
 [    3.334922] UBIFS error (ubi0:0 pid 1): ubifs_read_node: bad node type
 (255 but expected 2)
 [    3.341885] UBIFS error (ubi0:0 pid 1): ubifs_read_node: bad node at
 LEB 111:80752, LEB mapping status 0
 [    3.351330] Not a node, first 24 bytes:
 [    3.354995] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff ff                          ........................
 [    3.368059] CPU: 0 PID: 1 Comm: init Not tainted 4.4.4 #3
 [    3.373435] Stack : 80480000 00000001 00000000 00000000 87828280
 804dcd43 80454918 00000001
   80533844 87a91c00 80477a20 00000001 00000000 800594ac 80477a20 00000001
   00000000 00000000 8045ae4c 8782da74 00000236 800573f8 00000001 87a91c00
   00000018 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
   ...
 [    3.408923] Call Trace:
 [    3.411403] [<8001b780>] show_stack+0x50/0x84
 [    3.415770] [<80153720>] ubifs_read_node+0x2ec/0x348
 [    3.420745] [<80173a30>] ubifs_tnc_read_node+0x94/0x1a0
 [    3.425948] [<80154884>] tnc_read_node_nm+0xc0/0x1e0
 [    3.430907] [<801574c4>] ubifs_tnc_locate+0xd0/0x21c
 [    3.435866] [<80157d20>] ubifs_tnc_lookup_nm+0x50/0x1a0
 [    3.441088] [<8014ad80>] ubifs_lookup+0xe0/0x238
 [    3.445716] [<800d0e50>] lookup_real+0x40/0x6c
 [    3.450138] [<800d3f88>] __lookup_hash+0x3c/0x50
 [    3.454752] [<800d40d0>] walk_component+0x134/0x344
 [    3.459625] [<800d44dc>] link_path_walk+0x1fc/0x54c
 [    3.464500] [<800d51cc>] path_openat+0x224/0x107c
 [    3.469201] [<800d7268>] do_filp_open+0x70/0xd8
 [    3.473726] [<800c6ff4>] do_sys_open+0x188/0x23c
 [    3.478347] [<8000855c>] syscall_common+0x30/0x54
 [    3.483028]
 Error loading shared library libjson-c.so.2: Invalid argument (needed by
 /lib/libblobmsg_json.so)
 Error relocating /lib/libblobmsg_json.so: array_list_length: symbol not
 found
 Error relocating /lib/libblobmsg_json.so: json_object_get_array: symbol
 not found
 Error relocating /lib/libblobmsg_json.so: json_object_put: symbol not
 found
 Error relocating /lib/libblobmsg_json.so: array_list_get_idx: symbol not
 found
 Error relocating /lib/libblobmsg_json.so: json_object_get_string: symbol
 not found
 Error relocating /lib/libblobmsg_json.so: json_object_get_type: symbol not
 found
 Error relocating /lib/libblobmsg_json.so: json_object_get_boolean: symbol
 not found
 Error relocating /lib/libblobmsg_json.so: json_object_get_int: symbol not
 found
 Error relocating /lib/libblobmsg_json.so: json_tokener_parse: symbol not
 found
 Error relocating /lib/libblobmsg_json.so: json_object_from_file: symbol
 not found
 Error relocating /lib/libblobmsg_json.so: json_object_get_object: symbol
 not found

--
Ticket URL: <https://dev.openwrt.org/ticket/21996>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to