linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Can not mount UBIFS
@ 2010-03-11  7:43 林于峻
  2010-03-11 10:48 ` R: " Bosi Daniele
  2010-04-06  8:48 ` Artem Bityutskiy
  0 siblings, 2 replies; 16+ messages in thread
From: 林于峻 @ 2010-03-11  7:43 UTC (permalink / raw)
  To: linux-mtd; +Cc: okpalin

Dear all,

I am trying UBIFS on android on nVidia Tegra T20.
I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and mount it.
Error occurs when mount it.

The total command I enter is:
    # ubidetach /dev/ubi_ctrl -d 0
    ubidetach /dev/ubi_ctrl -d 0
    # flash_eraseall /dev/mtd/mtd4
    flash_eraseall /dev/mtd/mtd4
    Erasing 128 Kibyte @ 2000000 -- 100 % complete.
    # ubiattach /dev/ubi_ctrl -m 4
    ubiattach /dev/ubi_ctrl -m 4
    UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
(124.0 KiB)
    # ubimkvol /dev/ubi0 -m -N rootfs
    ubimkvol /dev/ubi0 -m -N rootfs
    Set volume size to 31744000
    Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
    # mount -t ubifs ubi0:rootfs /sdcard
    mount -t ubifs ubi0:rootfs /sdcard
    mount: Invalid argument

The NAND flash is HY27UF084G2B.

Below is the debug message from "adb logcat":
V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: name
ubi0:rootfs, flags 0x8000

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume_nm: open
volume rootfs, mode 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
0 volume 0, mode 1

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: opened ubi0_0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
0 volume 0, mode 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:3

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:4

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:5

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:6

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:7

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:8

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:9

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:10

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:11

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:12

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:13

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:14

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:15

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:16

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:17

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:18

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:19

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:20

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:21

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:22

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:23

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:24

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:25

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:26

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:27

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:28

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:29

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:30

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:31

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:32

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:33

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:34

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:35

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:36

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:37

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:38

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:39

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:40

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:41

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:42

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:43

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:44

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:45

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:46

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:47

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:48

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:49

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:50

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:51

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:52

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:53

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:54

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:55

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:56

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:57

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:58

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:59

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:60

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:61

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:62

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:63

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:64

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:65

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:66

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:67

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:68

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:69

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:70

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:71

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:72

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:73

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:74

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:75

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:76

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:77

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:78

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:79

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:80

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:81

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:82

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:83

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:84

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:85

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:86

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:87

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:88

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:89

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:90

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:91

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:92

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:93

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:94

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:95

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:96

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:97

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:98

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:99

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:100

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:101

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:102

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:103

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:104

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:105

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:106

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:107

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:108

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:109

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:110

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:111

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:112

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:113

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:114

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:115

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:116

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:117

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:118

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:119

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:120

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:121

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:122

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:123

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:124

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:125

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:126

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:127

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:128

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:131

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:132

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:133

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:134

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:135

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:136

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:137

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:138

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:139

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:140

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:141

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:142

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:143

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:144

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:145

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:146

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:147

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:148

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:149

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:150

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:151

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:152

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:153

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:154

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:155

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:156

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:157

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:158

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:159

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:160

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:161

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:162

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:163

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:164

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:165

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:166

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:167

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:168

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:169

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:170

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:171

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:172

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:173

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:174

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:175

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:176

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:177

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:178

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:179

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:180

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:181

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:182

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:183

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:184

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:185

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:186

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:187

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:188

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:189

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:190

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:191

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:192

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:193

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:194

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:195

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:196

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:197

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:198

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:199

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:200

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:201

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:202

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:203

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:204

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:205

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:206

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:207

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:208

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:209

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:210

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:211

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:212

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:213

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:214

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:215

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:216

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:217

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:218

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:219

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:220

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:221

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:222

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:223

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:224

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:225

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:226

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:227

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:228

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:229

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:230

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:231

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:232

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:233

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:234

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:235

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:236

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:237

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:238

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:239

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:240

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:241

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:242

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:243

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:244

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:245

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:246

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:247

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:248

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:249

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): set_ltab: LEB 6 free
126976 dirty 0 to 124928 777

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_change: atomically
write 2048 bytes to LEB 0:6

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 2 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 2
EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_atomic_leb_change:
change LEB 0:6, PEB -1, write VID hdr to PEB 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 2:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 2:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c1000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: space_bits 14

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lpt_lnum_bits 2

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lpt_offs_bits 17

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lpt_spc_bits 17

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pcnt_bits 6

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lnum_bits 8

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pnode_sz 17

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: nnode_sz 12

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: ltab_sz 11

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_sz 259

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_cnt 256

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lpt_hght 3

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: big_lpt 0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
root is at 6:1248

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
head is at 6:2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
ltab is at 6:1260

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
LEB Properties Tree created (LEBs 6-7)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 0:0,
superblock node, length 4096 (aligned 4096)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 4096
bytes to LEB 0:0:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 1 EC 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 1
EC 2 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 4096 bytes at offset 0 of LEB 0:0, PEB 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 1:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 4096
bytes to PEB 1:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a1000 len=0x1000

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
default superblock created at LEB 0:0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 1:0,
master node, length 512 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:1:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 129 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
129 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:1, PEB 129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 129:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 129:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 2:0,
master node, length 512 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:2:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 130 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
130 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:2, PEB 130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 130:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 130:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
default master node created at LEB 1:0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
10:0, indexing node, length 48 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:10:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 131 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
131 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:10, PEB 131

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 131

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 131:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 131:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e1000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
default root indexing node created LEB 10:0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
11:0, inode node, length 160 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:11:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 132 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
132 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:11, PEB 132

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 132

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 132:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc500800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 132:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc501000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
root inode created at LEB 11:0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 3:0,
commit start node, length 32 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:3:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 133 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
133 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:3, PEB 133

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 133

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 133:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc520800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 133:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc521000 len=0x800

I/PrintK  ( 1151): <5>UBIFS: default file-system created

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 0:0,
superblock node, length 4096

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 4096
bytes from LEB 0:0:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 4096
bytes from offset 0 of LEB 0:0, PEB 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 4096 bytes
from PEB 1:4096

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 1:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
bytes from LEB 0:1:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
126976 bytes from offset 0 of LEB 0:1, PEB 129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
bytes from PEB 129:4096

V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
background thread "ubifs_bgt0_0" started, PID 1152

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
1:0 (126976 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
scanning master node

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
1:512 (126464 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
scanning padding node

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
bytes padded, offset now 2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
1:2048 (124928 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
scanning LEB 1 at offset 2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 2:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
bytes from LEB 0:2:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
126976 bytes from offset 0 of LEB 0:2, PEB 130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
bytes from PEB 130:4096

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
2:0 (126976 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
scanning master node

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
2:512 (126464 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
scanning padding node

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
bytes padded, offset now 2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
2:2048 (124928 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
scanning LEB 2 at offset 2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 10:0,
indexing node, length 48

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 48 bytes
from LEB 0:10:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 48
bytes from offset 0 of LEB 0:10, PEB 131

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 48 bytes
from PEB 131:4096

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
1:2048, master node, length 512 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:1:2048

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
2048 bytes at offset 2048 of LEB 0:1, PEB 129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 129:6144

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1800 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
2:2048, master node, length 512 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:2:2048

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
2048 bytes at offset 2048 of LEB 0:2, PEB 130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 130:6144

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 11 bytes
from LEB 0:6:1260

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 11
bytes from offset 1260 of LEB 0:6, PEB 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 11 bytes
from PEB 2:5356

E/PrintK  ( 1151): <3>UBIFS error (pid 1151): check_lpt_type: invalid
type (0) in LPT node type 2

W/PrintK  ( 1151): Backtrace:

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c002ca74>]

V/PrintK  ( 1151): (dump_backtrace+0x0/0x10c)

V/PrintK  ( 1151): from [<c037a118>]

V/PrintK  ( 1151): (dump_stack+0x18/0x1c)

W/PrintK  ( 1151):  r7:00000000

V/PrintK  ( 1151):  r6:00000001

V/PrintK  ( 1151):  r5:00000000

V/PrintK  ( 1151):  r4:00000002

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c037a100>]

V/PrintK  ( 1151): (dump_stack+0x0/0x1c)

V/PrintK  ( 1151): from [<c01967b0>]

V/PrintK  ( 1151): (check_lpt_type+0x70/0x84)

W/PrintK  ( 1151): [<c0196740>]

V/PrintK  ( 1151): (check_lpt_type+0x0/0x84)

V/PrintK  ( 1151): from [<c019926c>]

V/PrintK  ( 1151): (ubifs_lpt_init+0x2e0/0x880)

W/PrintK  ( 1151):  r4:dbb34000

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c0198f8c>]

V/PrintK  ( 1151): (ubifs_lpt_init+0x0/0x880)

V/PrintK  ( 1151): from [<c017bd84>]

V/PrintK  ( 1151): (ubifs_fill_super+0xad8/0x1a74)

W/PrintK  ( 1151): [<c017b2ac>]

V/PrintK  ( 1151): (ubifs_fill_super+0x0/0x1a74)

V/PrintK  ( 1151): from [<c017cee4>]

V/PrintK  ( 1151): (ubifs_get_sb+0x1c4/0x354)

W/PrintK  ( 1151): [<c017cd20>]

V/PrintK  ( 1151): (ubifs_get_sb+0x0/0x354)

V/PrintK  ( 1151): from [<c00f4ebc>]

V/PrintK  ( 1151): (vfs_kern_mount+0x58/0xac)

W/PrintK  ( 1151): [<c00f4e64>]

V/PrintK  ( 1151): (vfs_kern_mount+0x0/0xac)

V/PrintK  ( 1151): from [<c00f4f6c>]

V/PrintK  ( 1151): (do_kern_mount+0x3c/0xdc)

W/PrintK  ( 1151):  r8:00008000

V/PrintK  ( 1151):  r7:db1fb000

V/PrintK  ( 1151):  r6:00000000

V/PrintK  ( 1151):  r5:db1c3000

V/PrintK  ( 1151):  r4:c04a56b8

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c00f4f30>]

V/PrintK  ( 1151): (do_kern_mount+0x0/0xdc)

V/PrintK  ( 1151): from [<c010c8d8>]

V/PrintK  ( 1151): (do_mount+0x16c/0x76c)

W/PrintK  ( 1151):  r9:00000000

V/PrintK  ( 1151):  r8:00008000

V/PrintK  ( 1151):  r7:db1c3000

V/PrintK  ( 1151):  r6:db1fb000

V/PrintK  ( 1151):  r5:00000000

W/PrintK  ( 1151):

W/PrintK  ( 1151): r4:00000000

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c010c76c>]

V/PrintK  ( 1151): (do_mount+0x0/0x76c)

V/PrintK  ( 1151): from [<c010cf68>]

V/PrintK  ( 1151): (sys_mount+0x90/0xdc)

W/PrintK  ( 1151): [<c010ced8>]

V/PrintK  ( 1151): (sys_mount+0x0/0xdc)

V/PrintK  ( 1151): from [<c0028b80>]

V/PrintK  ( 1151): (ret_fast_syscall+0x0/0x2c)

W/PrintK  ( 1151):  r7:00000015

V/PrintK  ( 1151):  r6:afe47470

V/PrintK  ( 1151):  r5:00000104

V/PrintK  ( 1151):  r4:00000000

V/PrintK  ( 1151):

V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
background thread "ubifs_bgt0_0" stops

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
volume 0, mode 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
volume 0, mode 1

^ permalink raw reply	[flat|nested] 16+ messages in thread

* R: Can not mount UBIFS
  2010-03-11  7:43 Can not mount UBIFS 林于峻
@ 2010-03-11 10:48 ` Bosi Daniele
  2010-03-11 12:33   ` 林于峻
  2010-04-06  8:48 ` Artem Bityutskiy
  1 sibling, 1 reply; 16+ messages in thread
From: Bosi Daniele @ 2010-03-11 10:48 UTC (permalink / raw)
  To: '???', linux-mtd@lists.infradead.org

It seems like you have your first problem with the Linux "mount" command. Please try to be sure that your kernel supports ubi file systems. To check simply if this is true do on your device a
cat /proc/filesystem
and verify that "ubi" is present

If it's not, you have to enable ubi options into your kernel

Bye Daniele


-----Messaggio originale-----
Da: linux-mtd-bounces@lists.infradead.org [mailto:linux-mtd-bounces@lists.infradead.org] Per conto di okpalin@gmail.com
Inviato: giovedì 11 marzo 2010 8.44
A: linux-mtd@lists.infradead.org
Cc: okpalin@gmail.com
Oggetto: Can not mount UBIFS

Dear all,

I am trying UBIFS on android on nVidia Tegra T20.
I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and mount it.
Error occurs when mount it.

The total command I enter is:
    # ubidetach /dev/ubi_ctrl -d 0
    ubidetach /dev/ubi_ctrl -d 0
    # flash_eraseall /dev/mtd/mtd4
    flash_eraseall /dev/mtd/mtd4
    Erasing 128 Kibyte @ 2000000 -- 100 % complete.
    # ubiattach /dev/ubi_ctrl -m 4
    ubiattach /dev/ubi_ctrl -m 4
    UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
(124.0 KiB)
    # ubimkvol /dev/ubi0 -m -N rootfs
    ubimkvol /dev/ubi0 -m -N rootfs
    Set volume size to 31744000
    Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
    # mount -t ubifs ubi0:rootfs /sdcard
    mount -t ubifs ubi0:rootfs /sdcard
    mount: Invalid argument

The NAND flash is HY27UF084G2B.

Below is the debug message from "adb logcat":
V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: name
ubi0:rootfs, flags 0x8000

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume_nm: open
volume rootfs, mode 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
0 volume 0, mode 1

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: opened ubi0_0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
0 volume 0, mode 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:3

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:4

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:5

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:6

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:7

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:8

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:9

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:10

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:11

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:12

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:13

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:14

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:15

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:16

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:17

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:18

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:19

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:20

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:21

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:22

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:23

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:24

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:25

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:26

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:27

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:28

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:29

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:30

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:31

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:32

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:33

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:34

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:35

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:36

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:37

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:38

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:39

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:40

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:41

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:42

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:43

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:44

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:45

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:46

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:47

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:48

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:49

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:50

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:51

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:52

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:53

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:54

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:55

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:56

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:57

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:58

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:59

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:60

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:61

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:62

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:63

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:64

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:65

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:66

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:67

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:68

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:69

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:70

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:71

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:72

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:73

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:74

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:75

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:76

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:77

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:78

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:79

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:80

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:81

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:82

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:83

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:84

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:85

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:86

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:87

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:88

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:89

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:90

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:91

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:92

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:93

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:94

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:95

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:96

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:97

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:98

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:99

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:100

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:101

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:102

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:103

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:104

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:105

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:106

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:107

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:108

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:109

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:110

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:111

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:112

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:113

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:114

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:115

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:116

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:117

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:118

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:119

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:120

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:121

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:122

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:123

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:124

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:125

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:126

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:127

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:128

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:131

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:132

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:133

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:134

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:135

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:136

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:137

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:138

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:139

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:140

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:141

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:142

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:143

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:144

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:145

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:146

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:147

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:148

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:149

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:150

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:151

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:152

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:153

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:154

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:155

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:156

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:157

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:158

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:159

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:160

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:161

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:162

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:163

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:164

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:165

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:166

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:167

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:168

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:169

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:170

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:171

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:172

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:173

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:174

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:175

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:176

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:177

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:178

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:179

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:180

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:181

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:182

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:183

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:184

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:185

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:186

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:187

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:188

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:189

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:190

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:191

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:192

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:193

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:194

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:195

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:196

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:197

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:198

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:199

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:200

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:201

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:202

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:203

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:204

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:205

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:206

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:207

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:208

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:209

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:210

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:211

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:212

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:213

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:214

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:215

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:216

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:217

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:218

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:219

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:220

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:221

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:222

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:223

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:224

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:225

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:226

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:227

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:228

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:229

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:230

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:231

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:232

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:233

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:234

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:235

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:236

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:237

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:238

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:239

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:240

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:241

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:242

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:243

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:244

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:245

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:246

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:247

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:248

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:249

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): set_ltab: LEB 6 free
126976 dirty 0 to 124928 777

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_change: atomically
write 2048 bytes to LEB 0:6

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 2 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 2
EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_atomic_leb_change:
change LEB 0:6, PEB -1, write VID hdr to PEB 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 2:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 2:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c1000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: space_bits 14

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lpt_lnum_bits 2

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lpt_offs_bits 17

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lpt_spc_bits 17

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pcnt_bits 6

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lnum_bits 8

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pnode_sz 17

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: nnode_sz 12

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: ltab_sz 11

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_sz 259

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_cnt 256

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lpt_hght 3

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: big_lpt 0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
root is at 6:1248

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
head is at 6:2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
ltab is at 6:1260

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
LEB Properties Tree created (LEBs 6-7)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 0:0,
superblock node, length 4096 (aligned 4096)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 4096
bytes to LEB 0:0:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 1 EC 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 1
EC 2 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 4096 bytes at offset 0 of LEB 0:0, PEB 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 1:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 4096
bytes to PEB 1:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a1000 len=0x1000

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
default superblock created at LEB 0:0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 1:0,
master node, length 512 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:1:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 129 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
129 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:1, PEB 129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 129:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 129:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 2:0,
master node, length 512 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:2:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 130 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
130 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:2, PEB 130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 130:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 130:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
default master node created at LEB 1:0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
10:0, indexing node, length 48 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:10:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 131 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
131 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:10, PEB 131

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 131

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 131:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e0800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 131:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e1000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
default root indexing node created LEB 10:0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
11:0, inode node, length 160 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:11:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 132 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
132 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:11, PEB 132

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 132

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 132:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc500800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 132:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc501000 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
root inode created at LEB 11:0

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 3:0,
commit start node, length 32 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:3:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 133 EC 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
133 EC 1 to the protection queue

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
hdr and 2048 bytes at offset 0 of LEB 0:3, PEB 133

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
VID header to PEB 133

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 133:2048

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc520800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 133:4096

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc521000 len=0x800

I/PrintK  ( 1151): <5>UBIFS: default file-system created

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 0:0,
superblock node, length 4096

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 4096
bytes from LEB 0:0:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 4096
bytes from offset 0 of LEB 0:0, PEB 1

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 4096 bytes
from PEB 1:4096

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 1:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
bytes from LEB 0:1:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
126976 bytes from offset 0 of LEB 0:1, PEB 129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
bytes from PEB 129:4096

V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
background thread "ubifs_bgt0_0" started, PID 1152

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
1:0 (126976 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
scanning master node

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
1:512 (126464 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
scanning padding node

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
bytes padded, offset now 2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
1:2048 (124928 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
scanning LEB 1 at offset 2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 2:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
bytes from LEB 0:2:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
126976 bytes from offset 0 of LEB 0:2, PEB 130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
bytes from PEB 130:4096

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
2:0 (126976 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
scanning master node

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
2:512 (126464 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
scanning padding node

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
bytes padded, offset now 2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
2:2048 (124928 bytes left)

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
scanning LEB 2 at offset 2048

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 10:0,
indexing node, length 48

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 48 bytes
from LEB 0:10:0

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 48
bytes from offset 0 of LEB 0:10, PEB 131

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 48 bytes
from PEB 131:4096

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
1:2048, master node, length 512 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:1:2048

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
2048 bytes at offset 2048 of LEB 0:1, PEB 129

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 129:6144

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1800 len=0x800

V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
2:2048, master node, length 512 (aligned 2048)

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
bytes to LEB 0:2:2048

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
2048 bytes at offset 2048 of LEB 0:2, PEB 130

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
bytes to PEB 130:6144

D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1800 len=0x800

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 11 bytes
from LEB 0:6:1260

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 11
bytes from offset 1260 of LEB 0:6, PEB 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 11 bytes
from PEB 2:5356

E/PrintK  ( 1151): <3>UBIFS error (pid 1151): check_lpt_type: invalid
type (0) in LPT node type 2

W/PrintK  ( 1151): Backtrace:

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c002ca74>]

V/PrintK  ( 1151): (dump_backtrace+0x0/0x10c)

V/PrintK  ( 1151): from [<c037a118>]

V/PrintK  ( 1151): (dump_stack+0x18/0x1c)

W/PrintK  ( 1151):  r7:00000000

V/PrintK  ( 1151):  r6:00000001

V/PrintK  ( 1151):  r5:00000000

V/PrintK  ( 1151):  r4:00000002

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c037a100>]

V/PrintK  ( 1151): (dump_stack+0x0/0x1c)

V/PrintK  ( 1151): from [<c01967b0>]

V/PrintK  ( 1151): (check_lpt_type+0x70/0x84)

W/PrintK  ( 1151): [<c0196740>]

V/PrintK  ( 1151): (check_lpt_type+0x0/0x84)

V/PrintK  ( 1151): from [<c019926c>]

V/PrintK  ( 1151): (ubifs_lpt_init+0x2e0/0x880)

W/PrintK  ( 1151):  r4:dbb34000

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c0198f8c>]

V/PrintK  ( 1151): (ubifs_lpt_init+0x0/0x880)

V/PrintK  ( 1151): from [<c017bd84>]

V/PrintK  ( 1151): (ubifs_fill_super+0xad8/0x1a74)

W/PrintK  ( 1151): [<c017b2ac>]

V/PrintK  ( 1151): (ubifs_fill_super+0x0/0x1a74)

V/PrintK  ( 1151): from [<c017cee4>]

V/PrintK  ( 1151): (ubifs_get_sb+0x1c4/0x354)

W/PrintK  ( 1151): [<c017cd20>]

V/PrintK  ( 1151): (ubifs_get_sb+0x0/0x354)

V/PrintK  ( 1151): from [<c00f4ebc>]

V/PrintK  ( 1151): (vfs_kern_mount+0x58/0xac)

W/PrintK  ( 1151): [<c00f4e64>]

V/PrintK  ( 1151): (vfs_kern_mount+0x0/0xac)

V/PrintK  ( 1151): from [<c00f4f6c>]

V/PrintK  ( 1151): (do_kern_mount+0x3c/0xdc)

W/PrintK  ( 1151):  r8:00008000

V/PrintK  ( 1151):  r7:db1fb000

V/PrintK  ( 1151):  r6:00000000

V/PrintK  ( 1151):  r5:db1c3000

V/PrintK  ( 1151):  r4:c04a56b8

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c00f4f30>]

V/PrintK  ( 1151): (do_kern_mount+0x0/0xdc)

V/PrintK  ( 1151): from [<c010c8d8>]

V/PrintK  ( 1151): (do_mount+0x16c/0x76c)

W/PrintK  ( 1151):  r9:00000000

V/PrintK  ( 1151):  r8:00008000

V/PrintK  ( 1151):  r7:db1c3000

V/PrintK  ( 1151):  r6:db1fb000

V/PrintK  ( 1151):  r5:00000000

W/PrintK  ( 1151):

W/PrintK  ( 1151): r4:00000000

V/PrintK  ( 1151):

W/PrintK  ( 1151): [<c010c76c>]

V/PrintK  ( 1151): (do_mount+0x0/0x76c)

V/PrintK  ( 1151): from [<c010cf68>]

V/PrintK  ( 1151): (sys_mount+0x90/0xdc)

W/PrintK  ( 1151): [<c010ced8>]

V/PrintK  ( 1151): (sys_mount+0x0/0xdc)

V/PrintK  ( 1151): from [<c0028b80>]

V/PrintK  ( 1151): (ret_fast_syscall+0x0/0x2c)

W/PrintK  ( 1151):  r7:00000015

V/PrintK  ( 1151):  r6:afe47470

V/PrintK  ( 1151):  r5:00000104

V/PrintK  ( 1151):  r4:00000000

V/PrintK  ( 1151):

V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
background thread "ubifs_bgt0_0" stops

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
volume 0, mode 2

V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
volume 0, mode 1

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-03-11 10:48 ` R: " Bosi Daniele
@ 2010-03-11 12:33   ` 林于峻
  2010-03-11 13:09     ` R: " Bosi Daniele
  0 siblings, 1 reply; 16+ messages in thread
From: 林于峻 @ 2010-03-11 12:33 UTC (permalink / raw)
  To: Bosi Daniele, linux-mtd

I have enabled ubi and ubifs in my kernel.
I also find "ubifs" in /proc/filesystems.
Here is it:
# cat /proc/filesystems
cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   debugfs
nodev   sockfs
nodev   usbfs
nodev   pipefs
nodev   anon_inodefs
nodev   tmpfs
nodev   inotifyfs
nodev   configfs
nodev   devpts
        ext3
        ext2
nodev   ramfs
        vfat
        msdos
        yaffs
        yaffs2
nodev   ubifs

2010/3/11 Bosi Daniele <Daniele.Bosi@mta.it>:
> It seems like you have your first problem with the Linux "mount" command. Please try to be sure that your kernel supports ubi file systems. To check simply if this is true do on your device a
> cat /proc/filesystem
> and verify that "ubi" is present
>
> If it's not, you have to enable ubi options into your kernel
>
> Bye Daniele
>
>
> -----Messaggio originale-----
> Da: linux-mtd-bounces@lists.infradead.org [mailto:linux-mtd-bounces@lists.infradead.org] Per conto di okpalin@gmail.com
> Inviato: giovedì 11 marzo 2010 8.44
> A: linux-mtd@lists.infradead.org
> Cc: okpalin@gmail.com
> Oggetto: Can not mount UBIFS
>
> Dear all,
>
> I am trying UBIFS on android on nVidia Tegra T20.
> I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and mount it.
> Error occurs when mount it.
>
> The total command I enter is:
>    # ubidetach /dev/ubi_ctrl -d 0
>    ubidetach /dev/ubi_ctrl -d 0
>    # flash_eraseall /dev/mtd/mtd4
>    flash_eraseall /dev/mtd/mtd4
>    Erasing 128 Kibyte @ 2000000 -- 100 % complete.
>    # ubiattach /dev/ubi_ctrl -m 4
>    ubiattach /dev/ubi_ctrl -m 4
>    UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
> (124.0 KiB)
>    # ubimkvol /dev/ubi0 -m -N rootfs
>    ubimkvol /dev/ubi0 -m -N rootfs
>    Set volume size to 31744000
>    Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
>    # mount -t ubifs ubi0:rootfs /sdcard
>    mount -t ubifs ubi0:rootfs /sdcard
>    mount: Invalid argument
>
> The NAND flash is HY27UF084G2B.
>
> Below is the debug message from "adb logcat":
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: name
> ubi0:rootfs, flags 0x8000
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume_nm: open
> volume rootfs, mode 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
> 0 volume 0, mode 1
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: opened ubi0_0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
> 0 volume 0, mode 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:3
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:4
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:5
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:6
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:7
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:8
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:9
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:10
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:11
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:12
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:13
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:14
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:15
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:16
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:17
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:18
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:19
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:20
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:21
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:22
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:23
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:24
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:25
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:26
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:27
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:28
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:29
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:30
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:31
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:32
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:33
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:34
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:35
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:36
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:37
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:38
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:39
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:40
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:41
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:42
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:43
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:44
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:45
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:46
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:47
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:48
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:49
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:50
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:51
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:52
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:53
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:54
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:55
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:56
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:57
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:58
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:59
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:60
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:61
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:62
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:63
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:64
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:65
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:66
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:67
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:68
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:69
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:70
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:71
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:72
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:73
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:74
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:75
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:76
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:77
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:78
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:79
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:80
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:81
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:82
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:83
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:84
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:85
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:86
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:87
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:88
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:89
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:90
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:91
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:92
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:93
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:94
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:95
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:96
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:97
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:98
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:99
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:100
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:101
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:102
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:103
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:104
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:105
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:106
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:107
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:108
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:109
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:110
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:111
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:112
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:113
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:114
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:115
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:116
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:117
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:118
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:119
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:120
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:121
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:122
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:123
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:124
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:125
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:126
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:127
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:128
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:131
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:132
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:133
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:134
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:135
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:136
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:137
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:138
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:139
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:140
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:141
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:142
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:143
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:144
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:145
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:146
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:147
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:148
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:149
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:150
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:151
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:152
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:153
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:154
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:155
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:156
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:157
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:158
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:159
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:160
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:161
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:162
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:163
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:164
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:165
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:166
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:167
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:168
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:169
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:170
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:171
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:172
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:173
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:174
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:175
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:176
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:177
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:178
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:179
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:180
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:181
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:182
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:183
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:184
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:185
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:186
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:187
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:188
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:189
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:190
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:191
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:192
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:193
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:194
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:195
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:196
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:197
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:198
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:199
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:200
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:201
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:202
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:203
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:204
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:205
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:206
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:207
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:208
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:209
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:210
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:211
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:212
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:213
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:214
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:215
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:216
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:217
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:218
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:219
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:220
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:221
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:222
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:223
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:224
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:225
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:226
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:227
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:228
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:229
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:230
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:231
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:232
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:233
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:234
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:235
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:236
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:237
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:238
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:239
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:240
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:241
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:242
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:243
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:244
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:245
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:246
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:247
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:248
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:249
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): set_ltab: LEB 6 free
> 126976 dirty 0 to 124928 777
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_change: atomically
> write 2048 bytes to LEB 0:6
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 2 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 2
> EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_atomic_leb_change:
> change LEB 0:6, PEB -1, write VID hdr to PEB 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 2:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 2:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c1000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: space_bits 14
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_lnum_bits 2
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_offs_bits 17
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_spc_bits 17
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pcnt_bits 6
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lnum_bits 8
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pnode_sz 17
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: nnode_sz 12
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: ltab_sz 11
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_sz 259
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_cnt 256
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lpt_hght 3
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: big_lpt 0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> root is at 6:1248
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> head is at 6:2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> ltab is at 6:1260
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> LEB Properties Tree created (LEBs 6-7)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 0:0,
> superblock node, length 4096 (aligned 4096)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 4096
> bytes to LEB 0:0:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 1 EC 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 1
> EC 2 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 4096 bytes at offset 0 of LEB 0:0, PEB 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 1:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 4096
> bytes to PEB 1:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a1000 len=0x1000
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default superblock created at LEB 0:0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 1:0,
> master node, length 512 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:1:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 129 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 129 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:1, PEB 129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 2:0,
> master node, length 512 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:2:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 130 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 130 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:2, PEB 130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default master node created at LEB 1:0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 10:0, indexing node, length 48 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:10:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 131 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 131 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:10, PEB 131
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 131
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 131:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 131:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e1000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default root indexing node created LEB 10:0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 11:0, inode node, length 160 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:11:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 132 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 132 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:11, PEB 132
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 132
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 132:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc500800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 132:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc501000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> root inode created at LEB 11:0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 3:0,
> commit start node, length 32 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:3:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 133 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 133 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:3, PEB 133
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 133
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 133:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc520800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 133:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc521000 len=0x800
>
> I/PrintK  ( 1151): <5>UBIFS: default file-system created
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 0:0,
> superblock node, length 4096
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 4096
> bytes from LEB 0:0:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 4096
> bytes from offset 0 of LEB 0:0, PEB 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 4096 bytes
> from PEB 1:4096
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 1:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
> bytes from LEB 0:1:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
> 126976 bytes from offset 0 of LEB 0:1, PEB 129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
> bytes from PEB 129:4096
>
> V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
> background thread "ubifs_bgt0_0" started, PID 1152
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:0 (126976 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning master node
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:512 (126464 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning padding node
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
> bytes padded, offset now 2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:2048 (124928 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
> scanning LEB 1 at offset 2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 2:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
> bytes from LEB 0:2:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
> 126976 bytes from offset 0 of LEB 0:2, PEB 130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
> bytes from PEB 130:4096
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:0 (126976 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning master node
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:512 (126464 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning padding node
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
> bytes padded, offset now 2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:2048 (124928 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
> scanning LEB 2 at offset 2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 10:0,
> indexing node, length 48
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 48 bytes
> from LEB 0:10:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 48
> bytes from offset 0 of LEB 0:10, PEB 131
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 48 bytes
> from PEB 131:4096
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 1:2048, master node, length 512 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:1:2048
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
> 2048 bytes at offset 2048 of LEB 0:1, PEB 129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:6144
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1800 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 2:2048, master node, length 512 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:2:2048
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
> 2048 bytes at offset 2048 of LEB 0:2, PEB 130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:6144
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 11 bytes
> from LEB 0:6:1260
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 11
> bytes from offset 1260 of LEB 0:6, PEB 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 11 bytes
> from PEB 2:5356
>
> E/PrintK  ( 1151): <3>UBIFS error (pid 1151): check_lpt_type: invalid
> type (0) in LPT node type 2
>
> W/PrintK  ( 1151): Backtrace:
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c002ca74>]
>
> V/PrintK  ( 1151): (dump_backtrace+0x0/0x10c)
>
> V/PrintK  ( 1151): from [<c037a118>]
>
> V/PrintK  ( 1151): (dump_stack+0x18/0x1c)
>
> W/PrintK  ( 1151):  r7:00000000
>
> V/PrintK  ( 1151):  r6:00000001
>
> V/PrintK  ( 1151):  r5:00000000
>
> V/PrintK  ( 1151):  r4:00000002
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c037a100>]
>
> V/PrintK  ( 1151): (dump_stack+0x0/0x1c)
>
> V/PrintK  ( 1151): from [<c01967b0>]
>
> V/PrintK  ( 1151): (check_lpt_type+0x70/0x84)
>
> W/PrintK  ( 1151): [<c0196740>]
>
> V/PrintK  ( 1151): (check_lpt_type+0x0/0x84)
>
> V/PrintK  ( 1151): from [<c019926c>]
>
> V/PrintK  ( 1151): (ubifs_lpt_init+0x2e0/0x880)
>
> W/PrintK  ( 1151):  r4:dbb34000
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c0198f8c>]
>
> V/PrintK  ( 1151): (ubifs_lpt_init+0x0/0x880)
>
> V/PrintK  ( 1151): from [<c017bd84>]
>
> V/PrintK  ( 1151): (ubifs_fill_super+0xad8/0x1a74)
>
> W/PrintK  ( 1151): [<c017b2ac>]
>
> V/PrintK  ( 1151): (ubifs_fill_super+0x0/0x1a74)
>
> V/PrintK  ( 1151): from [<c017cee4>]
>
> V/PrintK  ( 1151): (ubifs_get_sb+0x1c4/0x354)
>
> W/PrintK  ( 1151): [<c017cd20>]
>
> V/PrintK  ( 1151): (ubifs_get_sb+0x0/0x354)
>
> V/PrintK  ( 1151): from [<c00f4ebc>]
>
> V/PrintK  ( 1151): (vfs_kern_mount+0x58/0xac)
>
> W/PrintK  ( 1151): [<c00f4e64>]
>
> V/PrintK  ( 1151): (vfs_kern_mount+0x0/0xac)
>
> V/PrintK  ( 1151): from [<c00f4f6c>]
>
> V/PrintK  ( 1151): (do_kern_mount+0x3c/0xdc)
>
> W/PrintK  ( 1151):  r8:00008000
>
> V/PrintK  ( 1151):  r7:db1fb000
>
> V/PrintK  ( 1151):  r6:00000000
>
> V/PrintK  ( 1151):  r5:db1c3000
>
> V/PrintK  ( 1151):  r4:c04a56b8
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c00f4f30>]
>
> V/PrintK  ( 1151): (do_kern_mount+0x0/0xdc)
>
> V/PrintK  ( 1151): from [<c010c8d8>]
>
> V/PrintK  ( 1151): (do_mount+0x16c/0x76c)
>
> W/PrintK  ( 1151):  r9:00000000
>
> V/PrintK  ( 1151):  r8:00008000
>
> V/PrintK  ( 1151):  r7:db1c3000
>
> V/PrintK  ( 1151):  r6:db1fb000
>
> V/PrintK  ( 1151):  r5:00000000
>
> W/PrintK  ( 1151):
>
> W/PrintK  ( 1151): r4:00000000
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c010c76c>]
>
> V/PrintK  ( 1151): (do_mount+0x0/0x76c)
>
> V/PrintK  ( 1151): from [<c010cf68>]
>
> V/PrintK  ( 1151): (sys_mount+0x90/0xdc)
>
> W/PrintK  ( 1151): [<c010ced8>]
>
> V/PrintK  ( 1151): (sys_mount+0x0/0xdc)
>
> V/PrintK  ( 1151): from [<c0028b80>]
>
> V/PrintK  ( 1151): (ret_fast_syscall+0x0/0x2c)
>
> W/PrintK  ( 1151):  r7:00000015
>
> V/PrintK  ( 1151):  r6:afe47470
>
> V/PrintK  ( 1151):  r5:00000104
>
> V/PrintK  ( 1151):  r4:00000000
>
> V/PrintK  ( 1151):
>
> V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
> background thread "ubifs_bgt0_0" stops
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
> volume 0, mode 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
> volume 0, mode 1
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Can not mount UBIFS
       [not found] <mailman.11633.1268310802.2173.linux-mtd@lists.infradead.org>
@ 2010-03-11 13:06 ` GUIDA, Nicola
  0 siblings, 0 replies; 16+ messages in thread
From: GUIDA, Nicola @ 2010-03-11 13:06 UTC (permalink / raw)
  To: linux-mtd, okpalin, Daniele.Bosi


Dear okpalin,
I've seen you reached to attach mtd4 to device 0 and to create the
volume named rootfs on this device.

Check if the corresponding character device files (ubi0 and ubi0_0)
are in the /dev directory before launching the mount command.

In order to populate /dev directory with this files (sys info), please
Try:

Mdev -s

If your system does not support this command, try with mknod command

Nicola

----------------------------------------------------------------------

Message: 1
Date: Thu, 11 Mar 2010 20:33:14 +0800
From: ??? <okpalin@gmail.com>
To: Bosi Daniele <Daniele.Bosi@mta.it>, linux-mtd@lists.infradead.org
Subject: Re: Can not mount UBIFS
Message-ID:
	<a145ef951003110433k5fd6c3c0h23bbe73fdb39686f@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I have enabled ubi and ubifs in my kernel.
I also find "ubifs" in /proc/filesystems.
Here is it:
# cat /proc/filesystems
cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   debugfs
nodev   sockfs
nodev   usbfs
nodev   pipefs
nodev   anon_inodefs
nodev   tmpfs
nodev   inotifyfs
nodev   configfs
nodev   devpts
        ext3
        ext2
nodev   ramfs
        vfat
        msdos
        yaffs
        yaffs2
nodev   ubifs

2010/3/11 Bosi Daniele <Daniele.Bosi@mta.it>:
> It seems like you have your first problem with the Linux "mount"
command. Please try to be sure that your kernel supports ubi file
systems. To check simply if this is true do on your device a
> cat /proc/filesystem
> and verify that "ubi" is present
>
> If it's not, you have to enable ubi options into your kernel
>
> Bye Daniele
>
>
> -----Messaggio originale-----
> Da: linux-mtd-bounces@lists.infradead.org
[mailto:linux-mtd-bounces@lists.infradead.org] Per conto di
okpalin@gmail.com
> Inviato: gioved? 11 marzo 2010 8.44
> A: linux-mtd@lists.infradead.org
> Cc: okpalin@gmail.com
> Oggetto: Can not mount UBIFS
>
> Dear all,
>
> I am trying UBIFS on android on nVidia Tegra T20.
> I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and
mount it.
> Error occurs when mount it.
>
> The total command I enter is:
> ? ?# ubidetach /dev/ubi_ctrl -d 0
> ? ?ubidetach /dev/ubi_ctrl -d 0
> ? ?# flash_eraseall /dev/mtd/mtd4
> ? ?flash_eraseall /dev/mtd/mtd4
> ? ?Erasing 128 Kibyte @ 2000000 -- 100 % complete.
> ? ?# ubiattach /dev/ubi_ctrl -m 4
> ? ?ubiattach /dev/ubi_ctrl -m 4
> ? ?UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
> (124.0 KiB)
> ? ?# ubimkvol /dev/ubi0 -m -N rootfs
> ? ?ubimkvol /dev/ubi0 -m -N rootfs
> ? ?Set volume size to 31744000
> ? ?Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
> ? ?# mount -t ubifs ubi0:rootfs /sdcard
> ? ?mount -t ubifs ubi0:rootfs /sdcard
> ? ?mount: Invalid argument
>
> The NAND flash is HY27UF084G2B.
>
> Below is the debug message from "adb logcat":
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: name
> ubi0:rootfs, flags 0x8000
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_open_volume_nm: open
> volume rootfs, mode 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
> 0 volume 0, mode 1
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: opened
ubi0_0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
> 0 volume 0, mode 2
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:2
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:3
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:4
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:5
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:6
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:7
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:8
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:9
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:10
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:11
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:12
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:13
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:14
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:15
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:16
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:17
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:18
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:19
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:20
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:21
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:22
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:23
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:24
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:25
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:26
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:27
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:28
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:29
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:30
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:31
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:32
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:33
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:34
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:35
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:36
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:37
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:38
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:39
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:40
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:41
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:42
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:43
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:44
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:45
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:46
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:47
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:48
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:49
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:50
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:51
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:52
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:53
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:54
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:55
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:56
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:57
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:58
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:59
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:60
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:61
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:62
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:63
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:64
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:65
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:66
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:67
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:68
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:69
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:70
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:71
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:72
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:73
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:74
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:75
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:76
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:77
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:78
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:79
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:80
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:81
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:82
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:83
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:84
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:85
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:86
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:87
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:88
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:89
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:90
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:91
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:92
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:93
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:94
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:95
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:96
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:97
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:98
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:99
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:100
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:101
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:102
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:103
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:104
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:105
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:106
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:107
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:108
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:109
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:110
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:111
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:112
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:113
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:114
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:115
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:116
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:117
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:118
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:119
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:120
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:121
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:122
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:123
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:124
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:125
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:126
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:127
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:128
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:129
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:130
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:131
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:132
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:133
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:134
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:135
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:136
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:137
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:138
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:139
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:140
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:141
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:142
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:143
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:144
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:145
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:146
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:147
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:148
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:149
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:150
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:151
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:152
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:153
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:154
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:155
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:156
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:157
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:158
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:159
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:160
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:161
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:162
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:163
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:164
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:165
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:166
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:167
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:168
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:169
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:170
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:171
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:172
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:173
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:174
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:175
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:176
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:177
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:178
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:179
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:180
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:181
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:182
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:183
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:184
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:185
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:186
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:187
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:188
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:189
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:190
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:191
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:192
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:193
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:194
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:195
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:196
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:197
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:198
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:199
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:200
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:201
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:202
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:203
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:204
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:205
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:206
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:207
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:208
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:209
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:210
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:211
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:212
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:213
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:214
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:215
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:216
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:217
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:218
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:219
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:220
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:221
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:222
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:223
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:224
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:225
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:226
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:227
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:228
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:229
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:230
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:231
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:232
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:233
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:234
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:235
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:236
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:237
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:238
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:239
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:240
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:241
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:242
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:243
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:244
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:245
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:246
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:247
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:248
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB
0:249
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): set_ltab: LEB 6 free
> 126976 dirty 0 to 124928 777
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_change: atomically
> write 2048 bytes to LEB 0:6
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 2 EC 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 2
> EC 1 to the protection queue
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_atomic_leb_change:
> change LEB 0:6, PEB -1, write VID hdr to PEB 2
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 2
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 2:2048
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xb4c0800 len=0x800
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 2:4096
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xb4c1000 len=0x800
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
space_bits 14
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_lnum_bits 2
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_offs_bits 17
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_spc_bits 17
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
pcnt_bits 6
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lnum_bits 8
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
pnode_sz 17
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
nnode_sz 12
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
ltab_sz 11
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lsave_sz 259
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lsave_cnt 256
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
lpt_hght 3
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
big_lpt 0
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> root is at 6:1248
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> head is at 6:2048
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> ltab is at 6:1260
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> LEB Properties Tree created (LEBs 6-7)
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 0:0,
> superblock node, length 4096 (aligned 4096)
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 4096
> bytes to LEB 0:0:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 1 EC 2
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 1
> EC 2 to the protection queue
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 4096 bytes at offset 0 of LEB 0:0, PEB 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 1:2048
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xb4a0800 len=0x800
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 4096
> bytes to PEB 1:4096
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xb4a1000 len=0x1000
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default superblock created at LEB 0:0
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 1:0,
> master node, length 512 (aligned 2048)
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:1:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 129 EC 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 129 EC 1 to the protection queue
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:1, PEB 129
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 129
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:2048
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc4a0800 len=0x800
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:4096
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc4a1000 len=0x800
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 2:0,
> master node, length 512 (aligned 2048)
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:2:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 130 EC 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 130 EC 1 to the protection queue
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:2, PEB 130
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 130
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:2048
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc4c0800 len=0x800
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:4096
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc4c1000 len=0x800
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default master node created at LEB 1:0
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 10:0, indexing node, length 48 (aligned 2048)
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:10:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 131 EC 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 131 EC 1 to the protection queue
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:10, PEB 131
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 131
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 131:2048
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc4e0800 len=0x800
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 131:4096
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc4e1000 len=0x800
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default root indexing node created LEB 10:0
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 11:0, inode node, length 160 (aligned 2048)
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:11:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 132 EC 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 132 EC 1 to the protection queue
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:11, PEB 132
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 132
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 132:2048
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc500800 len=0x800
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 132:4096
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc501000 len=0x800
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> root inode created at LEB 11:0
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 3:0,
> commit start node, length 32 (aligned 2048)
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:3:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 133 EC 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 133 EC 1 to the protection queue
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:3, PEB 133
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 133
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 133:2048
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc520800 len=0x800
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 133:4096
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc521000 len=0x800
>
> I/PrintK ?( 1151): <5>UBIFS: default file-system created
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 0:0,
> superblock node, length 4096
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 4096
> bytes from LEB 0:0:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 4096
> bytes from offset 0 of LEB 0:0, PEB 1
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 4096 bytes
> from PEB 1:4096
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB
1:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
> bytes from LEB 0:1:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
> 126976 bytes from offset 0 of LEB 0:1, PEB 129
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
> bytes from PEB 129:4096
>
> V/PrintK ?( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
> background thread "ubifs_bgt0_0" started, PID 1152
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:0 (126976 bytes left)
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning master node
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:512 (126464 bytes left)
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning padding node
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
> bytes padded, offset now 2048
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:2048 (124928 bytes left)
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit
empty space
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
> scanning LEB 1 at offset 2048
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB
2:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
> bytes from LEB 0:2:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
> 126976 bytes from offset 0 of LEB 0:2, PEB 130
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
> bytes from PEB 130:4096
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:0 (126976 bytes left)
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning master node
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:512 (126464 bytes left)
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning padding node
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
> bytes padded, offset now 2048
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:2048 (124928 bytes left)
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit
empty space
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
> scanning LEB 2 at offset 2048
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 10:0,
> indexing node, length 48
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 48 bytes
> from LEB 0:10:0
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 48
> bytes from offset 0 of LEB 0:10, PEB 131
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 48 bytes
> from PEB 131:4096
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 1:2048, master node, length 512 (aligned 2048)
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:1:2048
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
> 2048 bytes at offset 2048 of LEB 0:1, PEB 129
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:6144
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc4a1800 len=0x800
>
> V/PrintK ?( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 2:2048, master node, length 512 (aligned 2048)
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:2:2048
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
> 2048 bytes at offset 2048 of LEB 0:2, PEB 130
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:6144
>
> D/PrintK ?( 1151): <6>tegra_nand_write: write: to=0xc4c1800 len=0x800
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 11 bytes
> from LEB 0:6:1260
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 11
> bytes from offset 1260 of LEB 0:6, PEB 2
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 11 bytes
> from PEB 2:5356
>
> E/PrintK ?( 1151): <3>UBIFS error (pid 1151): check_lpt_type: invalid
> type (0) in LPT node type 2
>
> W/PrintK ?( 1151): Backtrace:
>
> V/PrintK ?( 1151):
>
> W/PrintK ?( 1151): [<c002ca74>]
>
> V/PrintK ?( 1151): (dump_backtrace+0x0/0x10c)
>
> V/PrintK ?( 1151): from [<c037a118>]
>
> V/PrintK ?( 1151): (dump_stack+0x18/0x1c)
>
> W/PrintK ?( 1151): ?r7:00000000
>
> V/PrintK ?( 1151): ?r6:00000001
>
> V/PrintK ?( 1151): ?r5:00000000
>
> V/PrintK ?( 1151): ?r4:00000002
>
> V/PrintK ?( 1151):
>
> W/PrintK ?( 1151): [<c037a100>]
>
> V/PrintK ?( 1151): (dump_stack+0x0/0x1c)
>
> V/PrintK ?( 1151): from [<c01967b0>]
>
> V/PrintK ?( 1151): (check_lpt_type+0x70/0x84)
>
> W/PrintK ?( 1151): [<c0196740>]
>
> V/PrintK ?( 1151): (check_lpt_type+0x0/0x84)
>
> V/PrintK ?( 1151): from [<c019926c>]
>
> V/PrintK ?( 1151): (ubifs_lpt_init+0x2e0/0x880)
>
> W/PrintK ?( 1151): ?r4:dbb34000
>
> V/PrintK ?( 1151):
>
> W/PrintK ?( 1151): [<c0198f8c>]
>
> V/PrintK ?( 1151): (ubifs_lpt_init+0x0/0x880)
>
> V/PrintK ?( 1151): from [<c017bd84>]
>
> V/PrintK ?( 1151): (ubifs_fill_super+0xad8/0x1a74)
>
> W/PrintK ?( 1151): [<c017b2ac>]
>
> V/PrintK ?( 1151): (ubifs_fill_super+0x0/0x1a74)
>
> V/PrintK ?( 1151): from [<c017cee4>]
>
> V/PrintK ?( 1151): (ubifs_get_sb+0x1c4/0x354)
>
> W/PrintK ?( 1151): [<c017cd20>]
>
> V/PrintK ?( 1151): (ubifs_get_sb+0x0/0x354)
>
> V/PrintK ?( 1151): from [<c00f4ebc>]
>
> V/PrintK ?( 1151): (vfs_kern_mount+0x58/0xac)
>
> W/PrintK ?( 1151): [<c00f4e64>]
>
> V/PrintK ?( 1151): (vfs_kern_mount+0x0/0xac)
>
> V/PrintK ?( 1151): from [<c00f4f6c>]
>
> V/PrintK ?( 1151): (do_kern_mount+0x3c/0xdc)
>
> W/PrintK ?( 1151): ?r8:00008000
>
> V/PrintK ?( 1151): ?r7:db1fb000
>
> V/PrintK ?( 1151): ?r6:00000000
>
> V/PrintK ?( 1151): ?r5:db1c3000
>
> V/PrintK ?( 1151): ?r4:c04a56b8
>
> V/PrintK ?( 1151):
>
> W/PrintK ?( 1151): [<c00f4f30>]
>
> V/PrintK ?( 1151): (do_kern_mount+0x0/0xdc)
>
> V/PrintK ?( 1151): from [<c010c8d8>]
>
> V/PrintK ?( 1151): (do_mount+0x16c/0x76c)
>
> W/PrintK ?( 1151): ?r9:00000000
>
> V/PrintK ?( 1151): ?r8:00008000
>
> V/PrintK ?( 1151): ?r7:db1c3000
>
> V/PrintK ?( 1151): ?r6:db1fb000
>
> V/PrintK ?( 1151): ?r5:00000000
>
> W/PrintK ?( 1151):
>
> W/PrintK ?( 1151): r4:00000000
>
> V/PrintK ?( 1151):
>
> W/PrintK ?( 1151): [<c010c76c>]
>
> V/PrintK ?( 1151): (do_mount+0x0/0x76c)
>
> V/PrintK ?( 1151): from [<c010cf68>]
>
> V/PrintK ?( 1151): (sys_mount+0x90/0xdc)
>
> W/PrintK ?( 1151): [<c010ced8>]
>
> V/PrintK ?( 1151): (sys_mount+0x0/0xdc)
>
> V/PrintK ?( 1151): from [<c0028b80>]
>
> V/PrintK ?( 1151): (ret_fast_syscall+0x0/0x2c)
>
> W/PrintK ?( 1151): ?r7:00000015
>
> V/PrintK ?( 1151): ?r6:afe47470
>
> V/PrintK ?( 1151): ?r5:00000104
>
> V/PrintK ?( 1151): ?r4:00000000
>
> V/PrintK ?( 1151):
>
> V/PrintK ?( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
> background thread "ubifs_bgt0_0" stops
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
> volume 0, mode 2
>
> V/PrintK ?( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
> volume 0, mode 1
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>



------------------------------

______________________________________________________
Linux MTD discussion mailing list digest
http://lists.infradead.org/mailman/listinfo/linux-mtd/


End of linux-mtd Digest, Vol 84, Issue 21
*****************************************

^ permalink raw reply	[flat|nested] 16+ messages in thread

* R: Can not mount UBIFS
  2010-03-11 12:33   ` 林于峻
@ 2010-03-11 13:09     ` Bosi Daniele
  2010-03-16  8:13       ` 林于峻
  0 siblings, 1 reply; 16+ messages in thread
From: Bosi Daniele @ 2010-03-11 13:09 UTC (permalink / raw)
  To: '???', linux-mtd@lists.infradead.org

After the "ubiattatch" command you should be able to use the command "ubinfo" just to see some informations on your attached ubi volumes on the device.

You should see something like...

UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:63
Present UBI devices:            ubi0

If this is ok I suppose there's something wrong into your "mount" command sintax

Bye Daniele


-----Messaggio originale-----
Da: okpalin@gmail.com [mailto:okpalin@gmail.com]
Inviato: giovedì 11 marzo 2010 13.33
A: Bosi Daniele; linux-mtd@lists.infradead.org
Oggetto: Re: Can not mount UBIFS

I have enabled ubi and ubifs in my kernel.
I also find "ubifs" in /proc/filesystems.
Here is it:
# cat /proc/filesystems
cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   debugfs
nodev   sockfs
nodev   usbfs
nodev   pipefs
nodev   anon_inodefs
nodev   tmpfs
nodev   inotifyfs
nodev   configfs
nodev   devpts
        ext3
        ext2
nodev   ramfs
        vfat
        msdos
        yaffs
        yaffs2
nodev   ubifs

2010/3/11 Bosi Daniele <Daniele.Bosi@mta.it>:
> It seems like you have your first problem with the Linux "mount" command. Please try to be sure that your kernel supports ubi file systems. To check simply if this is true do on your device a
> cat /proc/filesystem
> and verify that "ubi" is present
>
> If it's not, you have to enable ubi options into your kernel
>
> Bye Daniele
>
>
> -----Messaggio originale-----
> Da: linux-mtd-bounces@lists.infradead.org [mailto:linux-mtd-bounces@lists.infradead.org] Per conto di okpalin@gmail.com
> Inviato: giovedì 11 marzo 2010 8.44
> A: linux-mtd@lists.infradead.org
> Cc: okpalin@gmail.com
> Oggetto: Can not mount UBIFS
>
> Dear all,
>
> I am trying UBIFS on android on nVidia Tegra T20.
> I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and mount it.
> Error occurs when mount it.
>
> The total command I enter is:
>    # ubidetach /dev/ubi_ctrl -d 0
>    ubidetach /dev/ubi_ctrl -d 0
>    # flash_eraseall /dev/mtd/mtd4
>    flash_eraseall /dev/mtd/mtd4
>    Erasing 128 Kibyte @ 2000000 -- 100 % complete.
>    # ubiattach /dev/ubi_ctrl -m 4
>    ubiattach /dev/ubi_ctrl -m 4
>    UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
> (124.0 KiB)
>    # ubimkvol /dev/ubi0 -m -N rootfs
>    ubimkvol /dev/ubi0 -m -N rootfs
>    Set volume size to 31744000
>    Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
>    # mount -t ubifs ubi0:rootfs /sdcard
>    mount -t ubifs ubi0:rootfs /sdcard
>    mount: Invalid argument
>
> The NAND flash is HY27UF084G2B.
>
> Below is the debug message from "adb logcat":
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: name
> ubi0:rootfs, flags 0x8000
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume_nm: open
> volume rootfs, mode 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
> 0 volume 0, mode 1
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: opened ubi0_0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
> 0 volume 0, mode 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:3
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:4
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:5
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:6
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:7
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:8
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:9
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:10
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:11
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:12
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:13
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:14
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:15
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:16
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:17
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:18
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:19
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:20
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:21
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:22
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:23
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:24
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:25
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:26
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:27
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:28
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:29
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:30
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:31
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:32
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:33
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:34
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:35
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:36
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:37
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:38
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:39
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:40
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:41
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:42
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:43
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:44
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:45
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:46
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:47
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:48
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:49
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:50
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:51
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:52
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:53
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:54
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:55
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:56
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:57
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:58
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:59
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:60
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:61
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:62
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:63
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:64
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:65
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:66
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:67
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:68
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:69
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:70
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:71
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:72
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:73
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:74
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:75
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:76
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:77
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:78
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:79
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:80
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:81
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:82
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:83
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:84
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:85
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:86
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:87
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:88
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:89
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:90
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:91
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:92
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:93
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:94
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:95
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:96
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:97
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:98
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:99
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:100
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:101
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:102
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:103
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:104
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:105
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:106
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:107
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:108
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:109
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:110
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:111
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:112
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:113
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:114
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:115
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:116
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:117
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:118
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:119
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:120
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:121
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:122
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:123
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:124
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:125
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:126
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:127
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:128
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:131
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:132
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:133
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:134
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:135
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:136
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:137
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:138
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:139
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:140
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:141
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:142
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:143
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:144
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:145
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:146
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:147
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:148
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:149
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:150
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:151
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:152
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:153
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:154
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:155
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:156
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:157
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:158
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:159
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:160
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:161
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:162
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:163
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:164
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:165
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:166
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:167
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:168
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:169
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:170
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:171
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:172
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:173
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:174
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:175
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:176
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:177
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:178
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:179
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:180
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:181
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:182
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:183
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:184
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:185
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:186
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:187
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:188
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:189
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:190
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:191
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:192
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:193
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:194
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:195
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:196
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:197
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:198
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:199
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:200
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:201
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:202
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:203
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:204
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:205
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:206
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:207
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:208
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:209
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:210
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:211
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:212
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:213
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:214
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:215
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:216
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:217
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:218
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:219
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:220
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:221
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:222
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:223
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:224
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:225
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:226
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:227
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:228
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:229
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:230
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:231
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:232
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:233
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:234
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:235
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:236
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:237
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:238
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:239
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:240
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:241
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:242
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:243
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:244
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:245
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:246
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:247
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:248
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:249
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): set_ltab: LEB 6 free
> 126976 dirty 0 to 124928 777
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_change: atomically
> write 2048 bytes to LEB 0:6
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 2 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 2
> EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_atomic_leb_change:
> change LEB 0:6, PEB -1, write VID hdr to PEB 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 2:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 2:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c1000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: space_bits 14
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_lnum_bits 2
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_offs_bits 17
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
> lpt_spc_bits 17
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pcnt_bits 6
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lnum_bits 8
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pnode_sz 17
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: nnode_sz 12
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: ltab_sz 11
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_sz 259
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_cnt 256
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lpt_hght 3
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: big_lpt 0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> root is at 6:1248
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> head is at 6:2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
> ltab is at 6:1260
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> LEB Properties Tree created (LEBs 6-7)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 0:0,
> superblock node, length 4096 (aligned 4096)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 4096
> bytes to LEB 0:0:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 1 EC 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 1
> EC 2 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 4096 bytes at offset 0 of LEB 0:0, PEB 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 1:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 4096
> bytes to PEB 1:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a1000 len=0x1000
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default superblock created at LEB 0:0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 1:0,
> master node, length 512 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:1:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 129 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 129 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:1, PEB 129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 2:0,
> master node, length 512 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:2:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 130 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 130 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:2, PEB 130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default master node created at LEB 1:0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 10:0, indexing node, length 48 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:10:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 131 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 131 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:10, PEB 131
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 131
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 131:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e0800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 131:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e1000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> default root indexing node created LEB 10:0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 11:0, inode node, length 160 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:11:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 132 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 132 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:11, PEB 132
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 132
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 132:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc500800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 132:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc501000 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
> root inode created at LEB 11:0
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 3:0,
> commit start node, length 32 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:3:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 133 EC 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
> 133 EC 1 to the protection queue
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
> hdr and 2048 bytes at offset 0 of LEB 0:3, PEB 133
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
> VID header to PEB 133
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 133:2048
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc520800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 133:4096
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc521000 len=0x800
>
> I/PrintK  ( 1151): <5>UBIFS: default file-system created
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 0:0,
> superblock node, length 4096
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 4096
> bytes from LEB 0:0:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 4096
> bytes from offset 0 of LEB 0:0, PEB 1
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 4096 bytes
> from PEB 1:4096
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 1:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
> bytes from LEB 0:1:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
> 126976 bytes from offset 0 of LEB 0:1, PEB 129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
> bytes from PEB 129:4096
>
> V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
> background thread "ubifs_bgt0_0" started, PID 1152
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:0 (126976 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning master node
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:512 (126464 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning padding node
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
> bytes padded, offset now 2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 1:2048 (124928 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
> scanning LEB 1 at offset 2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 2:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
> bytes from LEB 0:2:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
> 126976 bytes from offset 0 of LEB 0:2, PEB 130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
> bytes from PEB 130:4096
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:0 (126976 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning master node
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:512 (126464 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
> scanning padding node
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
> bytes padded, offset now 2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
> 2:2048 (124928 bytes left)
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
> scanning LEB 2 at offset 2048
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 10:0,
> indexing node, length 48
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 48 bytes
> from LEB 0:10:0
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 48
> bytes from offset 0 of LEB 0:10, PEB 131
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 48 bytes
> from PEB 131:4096
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 1:2048, master node, length 512 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:1:2048
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
> 2048 bytes at offset 2048 of LEB 0:1, PEB 129
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 129:6144
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1800 len=0x800
>
> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
> 2:2048, master node, length 512 (aligned 2048)
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
> bytes to LEB 0:2:2048
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
> 2048 bytes at offset 2048 of LEB 0:2, PEB 130
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
> bytes to PEB 130:6144
>
> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1800 len=0x800
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 11 bytes
> from LEB 0:6:1260
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 11
> bytes from offset 1260 of LEB 0:6, PEB 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 11 bytes
> from PEB 2:5356
>
> E/PrintK  ( 1151): <3>UBIFS error (pid 1151): check_lpt_type: invalid
> type (0) in LPT node type 2
>
> W/PrintK  ( 1151): Backtrace:
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c002ca74>]
>
> V/PrintK  ( 1151): (dump_backtrace+0x0/0x10c)
>
> V/PrintK  ( 1151): from [<c037a118>]
>
> V/PrintK  ( 1151): (dump_stack+0x18/0x1c)
>
> W/PrintK  ( 1151):  r7:00000000
>
> V/PrintK  ( 1151):  r6:00000001
>
> V/PrintK  ( 1151):  r5:00000000
>
> V/PrintK  ( 1151):  r4:00000002
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c037a100>]
>
> V/PrintK  ( 1151): (dump_stack+0x0/0x1c)
>
> V/PrintK  ( 1151): from [<c01967b0>]
>
> V/PrintK  ( 1151): (check_lpt_type+0x70/0x84)
>
> W/PrintK  ( 1151): [<c0196740>]
>
> V/PrintK  ( 1151): (check_lpt_type+0x0/0x84)
>
> V/PrintK  ( 1151): from [<c019926c>]
>
> V/PrintK  ( 1151): (ubifs_lpt_init+0x2e0/0x880)
>
> W/PrintK  ( 1151):  r4:dbb34000
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c0198f8c>]
>
> V/PrintK  ( 1151): (ubifs_lpt_init+0x0/0x880)
>
> V/PrintK  ( 1151): from [<c017bd84>]
>
> V/PrintK  ( 1151): (ubifs_fill_super+0xad8/0x1a74)
>
> W/PrintK  ( 1151): [<c017b2ac>]
>
> V/PrintK  ( 1151): (ubifs_fill_super+0x0/0x1a74)
>
> V/PrintK  ( 1151): from [<c017cee4>]
>
> V/PrintK  ( 1151): (ubifs_get_sb+0x1c4/0x354)
>
> W/PrintK  ( 1151): [<c017cd20>]
>
> V/PrintK  ( 1151): (ubifs_get_sb+0x0/0x354)
>
> V/PrintK  ( 1151): from [<c00f4ebc>]
>
> V/PrintK  ( 1151): (vfs_kern_mount+0x58/0xac)
>
> W/PrintK  ( 1151): [<c00f4e64>]
>
> V/PrintK  ( 1151): (vfs_kern_mount+0x0/0xac)
>
> V/PrintK  ( 1151): from [<c00f4f6c>]
>
> V/PrintK  ( 1151): (do_kern_mount+0x3c/0xdc)
>
> W/PrintK  ( 1151):  r8:00008000
>
> V/PrintK  ( 1151):  r7:db1fb000
>
> V/PrintK  ( 1151):  r6:00000000
>
> V/PrintK  ( 1151):  r5:db1c3000
>
> V/PrintK  ( 1151):  r4:c04a56b8
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c00f4f30>]
>
> V/PrintK  ( 1151): (do_kern_mount+0x0/0xdc)
>
> V/PrintK  ( 1151): from [<c010c8d8>]
>
> V/PrintK  ( 1151): (do_mount+0x16c/0x76c)
>
> W/PrintK  ( 1151):  r9:00000000
>
> V/PrintK  ( 1151):  r8:00008000
>
> V/PrintK  ( 1151):  r7:db1c3000
>
> V/PrintK  ( 1151):  r6:db1fb000
>
> V/PrintK  ( 1151):  r5:00000000
>
> W/PrintK  ( 1151):
>
> W/PrintK  ( 1151): r4:00000000
>
> V/PrintK  ( 1151):
>
> W/PrintK  ( 1151): [<c010c76c>]
>
> V/PrintK  ( 1151): (do_mount+0x0/0x76c)
>
> V/PrintK  ( 1151): from [<c010cf68>]
>
> V/PrintK  ( 1151): (sys_mount+0x90/0xdc)
>
> W/PrintK  ( 1151): [<c010ced8>]
>
> V/PrintK  ( 1151): (sys_mount+0x0/0xdc)
>
> V/PrintK  ( 1151): from [<c0028b80>]
>
> V/PrintK  ( 1151): (ret_fast_syscall+0x0/0x2c)
>
> W/PrintK  ( 1151):  r7:00000015
>
> V/PrintK  ( 1151):  r6:afe47470
>
> V/PrintK  ( 1151):  r5:00000104
>
> V/PrintK  ( 1151):  r4:00000000
>
> V/PrintK  ( 1151):
>
> V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
> background thread "ubifs_bgt0_0" stops
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
> volume 0, mode 2
>
> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
> volume 0, mode 1
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-03-11 13:09     ` R: " Bosi Daniele
@ 2010-03-16  8:13       ` 林于峻
  2010-03-16  9:22         ` 林于峻
  2010-04-06  9:00         ` Artem Bityutskiy
  0 siblings, 2 replies; 16+ messages in thread
From: 林于峻 @ 2010-03-16  8:13 UTC (permalink / raw)
  To: Bosi Daniele, GUIDA Nicola, linux-mtd

Dear all,

I try to sync /driver/mtd/ubi/*, /fs/ubifs/*, and
/include/linux/mtd/ubi.h with
git://git.infradead.org/~dedekind/ubifs-v2.6.29.git
But mount still fail.
I will try nandsim latter.

To get more information, I enable UBI and UBIFS debugging message,
described below..
I enable UBI debugging: UBI debugging messages, Extra self-check, and
all Aditional UBI debugging messages.
I also enable UBIFS: Enable debugging with message level 3 and Enable
extra checks.

Below are my entered command and debug message get from "adb logcat"

My entered command:
    # cat /proc/mtd
    cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00500000 00020000 "recovery"
    mtd1: 00800000 00020000 "boot"
    mtd2: 077a0000 00020000 "system"
    mtd3: 02000000 00020000 "cache"
    mtd4: 14b00000 00020000 "userdata"

    # flash_eraseall /dev/mtd/mtd3
    flash_eraseall /dev/mtd/mtd3
    Erasing 128 Kibyte @ 2000000 -- 100 % complete.

    # ubiattach /dev/ubi_ctrl -m 3
    ubiattach /dev/ubi_ctrl -m 3
    UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
(124.0 KiB)

    # ubinfo
    ubinfo
    UBI version:                    1
    Count of UBI devices:           1
    UBI control device major/minor: 10:57
    Present UBI devices:            ubi0

    # ubimkvol /dev/ubi0 -N rootfs -s 10MiB
    ubimkvol /dev/ubi0 -N rootfs -s 10MiB
    Volume ID 0, size 83 LEBs (10539008 bytes, 10.1 MiB), LEB size
126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1

    # ubinfo -a
    ubinfo -a
    UBI version:                    1
    Count of UBI devices:           1
    UBI control device major/minor: 10:57
    Present UBI devices:            ubi0

    ubi0
    Volumes count:                           1
    Logical eraseblock size:                 126976 bytes, 124.0 KiB
    Total amount of logical eraseblocks:     256 (32505856 bytes, 31.0 MiB)
    Amount of available logical eraseblocks: 167 (21204992 bytes, 20.2 MiB)
    Maximum count of volumes                 128
    Count of bad physical eraseblocks:       0
    Count of reserved physical eraseblocks:  2
    Current maximum erase counter value:     2
    Minimum input/output unit size:          2048 bytes
    Character device major/minor:            249:0
    Present volumes:                         0

    Volume ID:   0 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        83 LEBs (10539008 bytes, 10.1 MiB)
    State:       OK
    Name:        rootfs
    Character device major/minor: 249:1

    # mount -t ubifs ubi0_0 /cache
    mount -t ubifs ubi0_0 /cache
    mount: Invalid argument

    # mount -t ubifs ubi0:rootfs /cache
    mount -t ubifs ubi0:rootfs /cache
    mount: Invalid argument

Debug message from "adb logcat":
<7>UBIFS DBG (pid 1378): ubifs_get_sb: name ubi0:rootfs, flags 0x8000
<7>UBI DBG (pid 1378): ubi_open_volume_path: open volume ubi0:rootfs, mode 1
<7>UBI DBG (pid 1378): ubi_open_volume_nm: open device 0, volume rootfs, mode 1
<7>UBI DBG (pid 1378): ubi_open_volume: open device 0, volume 0, mode 1
<7>UBIFS DBG (pid 1378): ubifs_get_sb: opened ubi0_0
<7>UBI DBG (pid 1378): ubi_open_volume: open device 0, volume 0, mode 2
<7>UBI DBG (pid 1378): ubi_is_mapped: test LEB 0:0
<7>UBIFS DBG (pid 1378): ubifs_read_node: LEB 0:0, superblock node, length 4096
<7>UBI DBG (pid 1378): ubi_leb_read: read 4096 bytes from LEB 0:0:0
<7>UBI DBG (pid 1378): ubi_eba_read_leb: read 4096 bytes from offset 0
of LEB 0:0, PEB 1
<7>UBI DBG (pid 1378): ubi_io_read: read 4096 bytes from PEB 1:4096
<7>UBIFS DBG (pid 1378): ubifs_start_scan: scan LEB 1:0
<7>UBI DBG (pid 1378): ubi_leb_read: read 126976 bytes from LEB 0:1:0
<7>UBI DBG (pid 1378): ubi_eba_read_leb: read 126976 bytes from offset
0 of LEB 0:1, PEB 129
<7>UBI DBG (pid 1378): ubi_io_read: read 126976 bytes from PEB 129:4096
<7>UBIFS DBG (pid 1380): ubifs_bg_thread: background thread
"ubifs_bgt0_0" started, PID 1380
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:0 (126976 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:512 (126464 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:2048 (124928 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:2560 (124416 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 4096
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:4096 (122880 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: hit empty space
<7>UBIFS DBG (pid 1378): ubifs_end_scan: stop scanning LEB 1 at offset 4096
<7>UBIFS DBG (pid 1378): ubifs_start_scan: scan LEB 2:0
<7>UBI DBG (pid 1378): ubi_leb_read: read 126976 bytes from LEB 0:2:0
<7>UBI DBG (pid 1378): ubi_eba_read_leb: read 126976 bytes from offset
0 of LEB 0:2, PEB 130
<7>UBI DBG (pid 1378): ubi_io_read: read 126976 bytes from PEB 130:4096
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:0 (126976 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:512 (126464 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:2048 (124928 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:2560 (124416 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 4096
<7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:4096 (122880 bytes left)
<7>UBIFS DBG (pid 1378): ubifs_scan_a_node: hit empty space
<7>UBIFS DBG (pid 1378): ubifs_end_scan: stop scanning LEB 2 at offset 4096
<7>UBIFS DBG (pid 1378): ubifs_read_node: LEB 10:0, indexing node, length 48
<7>UBI DBG (pid 1378): ubi_leb_read: read 48 bytes from LEB 0:10:0
<7>UBI DBG (pid 1378): ubi_eba_read_leb: read 48 bytes from offset 0
of LEB 0:10, PEB 131
<7>UBI DBG (pid 1378): ubi_io_read: read 48 bytes from PEB 131:4096
<5>UBIFS: recovery needed
<7>UBIFS DBG (pid 1378): ubifs_recover_inl_heads: checking index head at 10:2048
<7>UBI DBG (pid 1378): ubi_leb_read: read 2048 bytes from LEB 0:10:2048
<7>UBI DBG (pid 1378): ubi_eba_read_leb: read 2048 bytes from offset
2048 of LEB 0:10, PEB 131
<7>UBI DBG (pid 1378): ubi_io_read: read 2048 bytes from PEB 131:6144
<7>UBIFS DBG (pid 1378): ubifs_recover_inl_heads: checking LPT head at 6:2048
<7>UBI DBG (pid 1378): ubi_leb_read: read 2048 bytes from LEB 0:6:2048
<7>UBI DBG (pid 1378): ubi_eba_read_leb: read 2048 bytes from offset
2048 of LEB 0:6, PEB 2
<7>UBI DBG (pid 1378): ubi_io_read: read 2048 bytes from PEB 2:6144
<7>UBI DBG (pid 1378): ubi_leb_read: read 11 bytes from LEB 0:6:419
<7>UBI DBG (pid 1378): ubi_eba_read_leb: read 11 bytes from offset 419
of LEB 0:6, PEB 2
<7>UBI DBG (pid 1378): ubi_io_read: read 11 bytes from PEB 2:4515
<3>UBIFS error (pid 1378): check_lpt_type: invalid type (0) in LPT node type 2

Backtrace:

[<c002da74>]
(dump_backtrace+0x0/0x10c)
from [<c038c2f0>]
(dump_stack+0x18/0x1c)
 r7:00000000
 r6:00000001
 r5:00000000
 r4:00000002

[<c038c2d8>]
(dump_stack+0x0/0x1c)
from [<c019d178>]
(check_lpt_type+0x70/0x84)

[<c019d108>]
(check_lpt_type+0x0/0x84)
from [<c019fc34>]
(ubifs_lpt_init+0x2e0/0x880)
 r4:dbbe7000

[<c019f954>]
(ubifs_lpt_init+0x0/0x880)
from [<c0181e3c>]
(ubifs_fill_super+0xb74/0x1a80)

[<c01812c8>]
(ubifs_fill_super+0x0/0x1a80)
from [<c0182e34>]
(ubifs_get_sb+0xec/0x36c)

[<c0182d48>]
(ubifs_get_sb+0x0/0x36c)
from [<c00fb4e4>]
(vfs_kern_mount+0x58/0xac)

[<c00fb48c>]
(vfs_kern_mount+0x0/0xac)
from [<c00fb594>]
(do_kern_mount+0x3c/0xdc)
 r8:00008000
 r7:d6bee000
 r6:00000000
 r5:d6bf7000
 r4:c04bb958

[<c00fb558>]
(do_kern_mount+0x0/0xdc)
from [<c0112e4c>]
(do_mount+0x16c/0x76c)
 r9:00000000
 r8:00008000
 r7:d6bf7000
 r6:d6bee000
 r5:00000000
 r4:00000000

[<c0112ce0>]
(do_mount+0x0/0x76c)
from [<c01134dc>]
(sys_mount+0x90/0xdc)

[<c011344c>]
(sys_mount+0x0/0xdc)
from [<c0029b80>]
(ret_fast_syscall+0x0/0x2c)
 r7:00000015
 r6:afe47470
 r5:00000104
 r4:00000000

<7>UBIFS DBG (pid 1380): ubifs_bg_thread: background thread "ubifs_bgt0_0" stops
<7>UBI DBG (pid 1378): ubi_close_volume: close device 0, volume 0, mode 2
<7>UBI DBG (pid 1378): ubi_close_volume: close device 0, volume 0, mode 1



2010/3/11 Bosi Daniele <Daniele.Bosi@mta.it>:
> After the "ubiattatch" command you should be able to use the command "ubinfo" just to see some informations on your attached ubi volumes on the device.
>
> You should see something like...
>
> UBI version:                    1
> Count of UBI devices:           1
> UBI control device major/minor: 10:63
> Present UBI devices:            ubi0
>
> If this is ok I suppose there's something wrong into your "mount" command sintax
>
> Bye Daniele
>
>
> -----Messaggio originale-----
> Da: okpalin@gmail.com [mailto:okpalin@gmail.com]
> Inviato: giovedì 11 marzo 2010 13.33
> A: Bosi Daniele; linux-mtd@lists.infradead.org
> Oggetto: Re: Can not mount UBIFS
>
> I have enabled ubi and ubifs in my kernel.
> I also find "ubifs" in /proc/filesystems.
> Here is it:
> # cat /proc/filesystems
> cat /proc/filesystems
> nodev   sysfs
> nodev   rootfs
> nodev   bdev
> nodev   proc
> nodev   cgroup
> nodev   debugfs
> nodev   sockfs
> nodev   usbfs
> nodev   pipefs
> nodev   anon_inodefs
> nodev   tmpfs
> nodev   inotifyfs
> nodev   configfs
> nodev   devpts
>        ext3
>        ext2
> nodev   ramfs
>        vfat
>        msdos
>        yaffs
>        yaffs2
> nodev   ubifs
>
> 2010/3/11 Bosi Daniele <Daniele.Bosi@mta.it>:
>> It seems like you have your first problem with the Linux "mount" command. Please try to be sure that your kernel supports ubi file systems. To check simply if this is true do on your device a
>> cat /proc/filesystem
>> and verify that "ubi" is present
>>
>> If it's not, you have to enable ubi options into your kernel
>>
>> Bye Daniele
>>
>>
>> -----Messaggio originale-----
>> Da: linux-mtd-bounces@lists.infradead.org [mailto:linux-mtd-bounces@lists.infradead.org] Per conto di okpalin@gmail.com
>> Inviato: giovedì 11 marzo 2010 8.44
>> A: linux-mtd@lists.infradead.org
>> Cc: okpalin@gmail.com
>> Oggetto: Can not mount UBIFS
>>
>> Dear all,
>>
>> I am trying UBIFS on android on nVidia Tegra T20.
>> I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and mount it.
>> Error occurs when mount it.
>>
>> The total command I enter is:
>>    # ubidetach /dev/ubi_ctrl -d 0
>>    ubidetach /dev/ubi_ctrl -d 0
>>    # flash_eraseall /dev/mtd/mtd4
>>    flash_eraseall /dev/mtd/mtd4
>>    Erasing 128 Kibyte @ 2000000 -- 100 % complete.
>>    # ubiattach /dev/ubi_ctrl -m 4
>>    ubiattach /dev/ubi_ctrl -m 4
>>    UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
>> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
>> (124.0 KiB)
>>    # ubimkvol /dev/ubi0 -m -N rootfs
>>    ubimkvol /dev/ubi0 -m -N rootfs
>>    Set volume size to 31744000
>>    Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
>> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
>>    # mount -t ubifs ubi0:rootfs /sdcard
>>    mount -t ubifs ubi0:rootfs /sdcard
>>    mount: Invalid argument
>>
>> The NAND flash is HY27UF084G2B.
>>
>> Below is the debug message from "adb logcat":
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: name
>> ubi0:rootfs, flags 0x8000
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume_nm: open
>> volume rootfs, mode 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
>> 0 volume 0, mode 1
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: opened ubi0_0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
>> 0 volume 0, mode 2
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:2
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:3
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:4
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:5
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:6
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:7
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:8
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:9
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:10
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:11
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:12
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:13
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:14
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:15
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:16
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:17
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:18
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:19
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:20
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:21
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:22
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:23
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:24
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:25
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:26
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:27
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:28
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:29
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:30
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:31
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:32
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:33
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:34
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:35
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:36
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:37
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:38
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:39
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:40
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:41
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:42
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:43
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:44
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:45
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:46
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:47
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:48
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:49
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:50
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:51
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:52
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:53
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:54
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:55
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:56
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:57
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:58
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:59
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:60
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:61
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:62
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:63
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:64
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:65
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:66
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:67
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:68
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:69
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:70
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:71
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:72
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:73
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:74
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:75
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:76
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:77
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:78
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:79
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:80
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:81
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:82
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:83
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:84
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:85
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:86
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:87
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:88
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:89
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:90
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:91
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:92
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:93
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:94
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:95
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:96
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:97
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:98
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:99
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:100
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:101
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:102
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:103
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:104
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:105
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:106
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:107
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:108
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:109
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:110
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:111
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:112
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:113
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:114
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:115
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:116
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:117
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:118
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:119
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:120
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:121
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:122
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:123
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:124
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:125
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:126
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:127
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:128
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:129
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:130
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:131
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:132
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:133
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:134
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:135
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:136
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:137
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:138
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:139
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:140
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:141
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:142
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:143
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:144
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:145
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:146
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:147
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:148
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:149
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:150
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:151
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:152
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:153
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:154
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:155
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:156
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:157
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:158
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:159
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:160
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:161
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:162
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:163
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:164
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:165
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:166
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:167
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:168
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:169
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:170
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:171
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:172
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:173
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:174
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:175
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:176
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:177
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:178
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:179
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:180
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:181
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:182
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:183
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:184
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:185
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:186
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:187
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:188
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:189
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:190
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:191
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:192
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:193
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:194
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:195
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:196
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:197
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:198
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:199
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:200
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:201
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:202
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:203
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:204
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:205
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:206
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:207
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:208
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:209
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:210
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:211
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:212
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:213
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:214
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:215
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:216
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:217
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:218
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:219
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:220
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:221
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:222
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:223
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:224
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:225
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:226
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:227
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:228
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:229
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:230
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:231
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:232
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:233
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:234
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:235
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:236
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:237
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:238
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:239
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:240
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:241
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:242
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:243
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:244
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:245
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:246
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:247
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:248
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:249
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): set_ltab: LEB 6 free
>> 126976 dirty 0 to 124928 777
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_change: atomically
>> write 2048 bytes to LEB 0:6
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 2 EC 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 2
>> EC 1 to the protection queue
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_atomic_leb_change:
>> change LEB 0:6, PEB -1, write VID hdr to PEB 2
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>> VID header to PEB 2
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 2:2048
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c0800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 2:4096
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c1000 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: space_bits 14
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
>> lpt_lnum_bits 2
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
>> lpt_offs_bits 17
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
>> lpt_spc_bits 17
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pcnt_bits 6
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lnum_bits 8
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pnode_sz 17
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: nnode_sz 12
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: ltab_sz 11
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_sz 259
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_cnt 256
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lpt_hght 3
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: big_lpt 0
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
>> root is at 6:1248
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
>> head is at 6:2048
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
>> ltab is at 6:1260
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>> LEB Properties Tree created (LEBs 6-7)
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 0:0,
>> superblock node, length 4096 (aligned 4096)
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 4096
>> bytes to LEB 0:0:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 1 EC 2
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 1
>> EC 2 to the protection queue
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>> hdr and 4096 bytes at offset 0 of LEB 0:0, PEB 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>> VID header to PEB 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 1:2048
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a0800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 4096
>> bytes to PEB 1:4096
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a1000 len=0x1000
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>> default superblock created at LEB 0:0
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 1:0,
>> master node, length 512 (aligned 2048)
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>> bytes to LEB 0:1:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 129 EC 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>> 129 EC 1 to the protection queue
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>> hdr and 2048 bytes at offset 0 of LEB 0:1, PEB 129
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>> VID header to PEB 129
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 129:2048
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a0800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 129:4096
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1000 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 2:0,
>> master node, length 512 (aligned 2048)
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>> bytes to LEB 0:2:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 130 EC 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>> 130 EC 1 to the protection queue
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>> hdr and 2048 bytes at offset 0 of LEB 0:2, PEB 130
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>> VID header to PEB 130
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 130:2048
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c0800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 130:4096
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1000 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>> default master node created at LEB 1:0
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
>> 10:0, indexing node, length 48 (aligned 2048)
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>> bytes to LEB 0:10:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 131 EC 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>> 131 EC 1 to the protection queue
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>> hdr and 2048 bytes at offset 0 of LEB 0:10, PEB 131
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>> VID header to PEB 131
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 131:2048
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e0800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 131:4096
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e1000 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>> default root indexing node created LEB 10:0
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
>> 11:0, inode node, length 160 (aligned 2048)
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>> bytes to LEB 0:11:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 132 EC 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>> 132 EC 1 to the protection queue
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>> hdr and 2048 bytes at offset 0 of LEB 0:11, PEB 132
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>> VID header to PEB 132
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 132:2048
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc500800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 132:4096
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc501000 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>> root inode created at LEB 11:0
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 3:0,
>> commit start node, length 32 (aligned 2048)
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>> bytes to LEB 0:3:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 133 EC 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>> 133 EC 1 to the protection queue
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>> hdr and 2048 bytes at offset 0 of LEB 0:3, PEB 133
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>> VID header to PEB 133
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 133:2048
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc520800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 133:4096
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc521000 len=0x800
>>
>> I/PrintK  ( 1151): <5>UBIFS: default file-system created
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 0:0,
>> superblock node, length 4096
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 4096
>> bytes from LEB 0:0:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 4096
>> bytes from offset 0 of LEB 0:0, PEB 1
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 4096 bytes
>> from PEB 1:4096
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 1:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
>> bytes from LEB 0:1:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
>> 126976 bytes from offset 0 of LEB 0:1, PEB 129
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
>> bytes from PEB 129:4096
>>
>> V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
>> background thread "ubifs_bgt0_0" started, PID 1152
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>> 1:0 (126976 bytes left)
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
>> scanning master node
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>> 1:512 (126464 bytes left)
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
>> scanning padding node
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
>> bytes padded, offset now 2048
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>> 1:2048 (124928 bytes left)
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
>> scanning LEB 1 at offset 2048
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 2:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
>> bytes from LEB 0:2:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
>> 126976 bytes from offset 0 of LEB 0:2, PEB 130
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
>> bytes from PEB 130:4096
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>> 2:0 (126976 bytes left)
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
>> scanning master node
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>> 2:512 (126464 bytes left)
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
>> scanning padding node
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
>> bytes padded, offset now 2048
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>> 2:2048 (124928 bytes left)
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
>> scanning LEB 2 at offset 2048
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 10:0,
>> indexing node, length 48
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 48 bytes
>> from LEB 0:10:0
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 48
>> bytes from offset 0 of LEB 0:10, PEB 131
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 48 bytes
>> from PEB 131:4096
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
>> 1:2048, master node, length 512 (aligned 2048)
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>> bytes to LEB 0:1:2048
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
>> 2048 bytes at offset 2048 of LEB 0:1, PEB 129
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 129:6144
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
>> 2:2048, master node, length 512 (aligned 2048)
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>> bytes to LEB 0:2:2048
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
>> 2048 bytes at offset 2048 of LEB 0:2, PEB 130
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>> bytes to PEB 130:6144
>>
>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1800 len=0x800
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 11 bytes
>> from LEB 0:6:1260
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 11
>> bytes from offset 1260 of LEB 0:6, PEB 2
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 11 bytes
>> from PEB 2:5356
>>
>> E/PrintK  ( 1151): <3>UBIFS error (pid 1151): check_lpt_type: invalid
>> type (0) in LPT node type 2
>>
>> W/PrintK  ( 1151): Backtrace:
>>
>> V/PrintK  ( 1151):
>>
>> W/PrintK  ( 1151): [<c002ca74>]
>>
>> V/PrintK  ( 1151): (dump_backtrace+0x0/0x10c)
>>
>> V/PrintK  ( 1151): from [<c037a118>]
>>
>> V/PrintK  ( 1151): (dump_stack+0x18/0x1c)
>>
>> W/PrintK  ( 1151):  r7:00000000
>>
>> V/PrintK  ( 1151):  r6:00000001
>>
>> V/PrintK  ( 1151):  r5:00000000
>>
>> V/PrintK  ( 1151):  r4:00000002
>>
>> V/PrintK  ( 1151):
>>
>> W/PrintK  ( 1151): [<c037a100>]
>>
>> V/PrintK  ( 1151): (dump_stack+0x0/0x1c)
>>
>> V/PrintK  ( 1151): from [<c01967b0>]
>>
>> V/PrintK  ( 1151): (check_lpt_type+0x70/0x84)
>>
>> W/PrintK  ( 1151): [<c0196740>]
>>
>> V/PrintK  ( 1151): (check_lpt_type+0x0/0x84)
>>
>> V/PrintK  ( 1151): from [<c019926c>]
>>
>> V/PrintK  ( 1151): (ubifs_lpt_init+0x2e0/0x880)
>>
>> W/PrintK  ( 1151):  r4:dbb34000
>>
>> V/PrintK  ( 1151):
>>
>> W/PrintK  ( 1151): [<c0198f8c>]
>>
>> V/PrintK  ( 1151): (ubifs_lpt_init+0x0/0x880)
>>
>> V/PrintK  ( 1151): from [<c017bd84>]
>>
>> V/PrintK  ( 1151): (ubifs_fill_super+0xad8/0x1a74)
>>
>> W/PrintK  ( 1151): [<c017b2ac>]
>>
>> V/PrintK  ( 1151): (ubifs_fill_super+0x0/0x1a74)
>>
>> V/PrintK  ( 1151): from [<c017cee4>]
>>
>> V/PrintK  ( 1151): (ubifs_get_sb+0x1c4/0x354)
>>
>> W/PrintK  ( 1151): [<c017cd20>]
>>
>> V/PrintK  ( 1151): (ubifs_get_sb+0x0/0x354)
>>
>> V/PrintK  ( 1151): from [<c00f4ebc>]
>>
>> V/PrintK  ( 1151): (vfs_kern_mount+0x58/0xac)
>>
>> W/PrintK  ( 1151): [<c00f4e64>]
>>
>> V/PrintK  ( 1151): (vfs_kern_mount+0x0/0xac)
>>
>> V/PrintK  ( 1151): from [<c00f4f6c>]
>>
>> V/PrintK  ( 1151): (do_kern_mount+0x3c/0xdc)
>>
>> W/PrintK  ( 1151):  r8:00008000
>>
>> V/PrintK  ( 1151):  r7:db1fb000
>>
>> V/PrintK  ( 1151):  r6:00000000
>>
>> V/PrintK  ( 1151):  r5:db1c3000
>>
>> V/PrintK  ( 1151):  r4:c04a56b8
>>
>> V/PrintK  ( 1151):
>>
>> W/PrintK  ( 1151): [<c00f4f30>]
>>
>> V/PrintK  ( 1151): (do_kern_mount+0x0/0xdc)
>>
>> V/PrintK  ( 1151): from [<c010c8d8>]
>>
>> V/PrintK  ( 1151): (do_mount+0x16c/0x76c)
>>
>> W/PrintK  ( 1151):  r9:00000000
>>
>> V/PrintK  ( 1151):  r8:00008000
>>
>> V/PrintK  ( 1151):  r7:db1c3000
>>
>> V/PrintK  ( 1151):  r6:db1fb000
>>
>> V/PrintK  ( 1151):  r5:00000000
>>
>> W/PrintK  ( 1151):
>>
>> W/PrintK  ( 1151): r4:00000000
>>
>> V/PrintK  ( 1151):
>>
>> W/PrintK  ( 1151): [<c010c76c>]
>>
>> V/PrintK  ( 1151): (do_mount+0x0/0x76c)
>>
>> V/PrintK  ( 1151): from [<c010cf68>]
>>
>> V/PrintK  ( 1151): (sys_mount+0x90/0xdc)
>>
>> W/PrintK  ( 1151): [<c010ced8>]
>>
>> V/PrintK  ( 1151): (sys_mount+0x0/0xdc)
>>
>> V/PrintK  ( 1151): from [<c0028b80>]
>>
>> V/PrintK  ( 1151): (ret_fast_syscall+0x0/0x2c)
>>
>> W/PrintK  ( 1151):  r7:00000015
>>
>> V/PrintK  ( 1151):  r6:afe47470
>>
>> V/PrintK  ( 1151):  r5:00000104
>>
>> V/PrintK  ( 1151):  r4:00000000
>>
>> V/PrintK  ( 1151):
>>
>> V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
>> background thread "ubifs_bgt0_0" stops
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
>> volume 0, mode 2
>>
>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
>> volume 0, mode 1
>>
>> ______________________________________________________
>> Linux MTD discussion mailing list
>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-03-16  8:13       ` 林于峻
@ 2010-03-16  9:22         ` 林于峻
  2010-04-06  9:00         ` Artem Bityutskiy
  1 sibling, 0 replies; 16+ messages in thread
From: 林于峻 @ 2010-03-16  9:22 UTC (permalink / raw)
  To: Bosi Daniele, GUIDA Nicola, linux-mtd, okpalin

Dear all,

It is okay to mount ubifs on nandsim.

Does it mean that some errors in nand driver?

If yes, how to debug it?

Thank you,
Best regards,

2010/3/16 林于峻 <okpalin@gmail.com>:
> Dear all,
>
> I try to sync /driver/mtd/ubi/*, /fs/ubifs/*, and
> /include/linux/mtd/ubi.h with
> git://git.infradead.org/~dedekind/ubifs-v2.6.29.git
> But mount still fail.
> I will try nandsim latter.
>
> To get more information, I enable UBI and UBIFS debugging message,
> described below..
> I enable UBI debugging: UBI debugging messages, Extra self-check, and
> all Aditional UBI debugging messages.
> I also enable UBIFS: Enable debugging with message level 3 and Enable
> extra checks.
>
> Below are my entered command and debug message get from "adb logcat"
>
> My entered command:
>    # cat /proc/mtd
>    cat /proc/mtd
>    dev:    size   erasesize  name
>    mtd0: 00500000 00020000 "recovery"
>    mtd1: 00800000 00020000 "boot"
>    mtd2: 077a0000 00020000 "system"
>    mtd3: 02000000 00020000 "cache"
>    mtd4: 14b00000 00020000 "userdata"
>
>    # flash_eraseall /dev/mtd/mtd3
>    flash_eraseall /dev/mtd/mtd3
>    Erasing 128 Kibyte @ 2000000 -- 100 % complete.
>
>    # ubiattach /dev/ubi_ctrl -m 3
>    ubiattach /dev/ubi_ctrl -m 3
>    UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
> (124.0 KiB)
>
>    # ubinfo
>    ubinfo
>    UBI version:                    1
>    Count of UBI devices:           1
>    UBI control device major/minor: 10:57
>    Present UBI devices:            ubi0
>
>    # ubimkvol /dev/ubi0 -N rootfs -s 10MiB
>    ubimkvol /dev/ubi0 -N rootfs -s 10MiB
>    Volume ID 0, size 83 LEBs (10539008 bytes, 10.1 MiB), LEB size
> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
>
>    # ubinfo -a
>    ubinfo -a
>    UBI version:                    1
>    Count of UBI devices:           1
>    UBI control device major/minor: 10:57
>    Present UBI devices:            ubi0
>
>    ubi0
>    Volumes count:                           1
>    Logical eraseblock size:                 126976 bytes, 124.0 KiB
>    Total amount of logical eraseblocks:     256 (32505856 bytes, 31.0 MiB)
>    Amount of available logical eraseblocks: 167 (21204992 bytes, 20.2 MiB)
>    Maximum count of volumes                 128
>    Count of bad physical eraseblocks:       0
>    Count of reserved physical eraseblocks:  2
>    Current maximum erase counter value:     2
>    Minimum input/output unit size:          2048 bytes
>    Character device major/minor:            249:0
>    Present volumes:                         0
>
>    Volume ID:   0 (on ubi0)
>    Type:        dynamic
>    Alignment:   1
>    Size:        83 LEBs (10539008 bytes, 10.1 MiB)
>    State:       OK
>    Name:        rootfs
>    Character device major/minor: 249:1
>
>    # mount -t ubifs ubi0_0 /cache
>    mount -t ubifs ubi0_0 /cache
>    mount: Invalid argument
>
>    # mount -t ubifs ubi0:rootfs /cache
>    mount -t ubifs ubi0:rootfs /cache
>    mount: Invalid argument
>
> Debug message from "adb logcat":
> <7>UBIFS DBG (pid 1378): ubifs_get_sb: name ubi0:rootfs, flags 0x8000
> <7>UBI DBG (pid 1378): ubi_open_volume_path: open volume ubi0:rootfs, mode 1
> <7>UBI DBG (pid 1378): ubi_open_volume_nm: open device 0, volume rootfs, mode 1
> <7>UBI DBG (pid 1378): ubi_open_volume: open device 0, volume 0, mode 1
> <7>UBIFS DBG (pid 1378): ubifs_get_sb: opened ubi0_0
> <7>UBI DBG (pid 1378): ubi_open_volume: open device 0, volume 0, mode 2
> <7>UBI DBG (pid 1378): ubi_is_mapped: test LEB 0:0
> <7>UBIFS DBG (pid 1378): ubifs_read_node: LEB 0:0, superblock node, length 4096
> <7>UBI DBG (pid 1378): ubi_leb_read: read 4096 bytes from LEB 0:0:0
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 4096 bytes from offset 0
> of LEB 0:0, PEB 1
> <7>UBI DBG (pid 1378): ubi_io_read: read 4096 bytes from PEB 1:4096
> <7>UBIFS DBG (pid 1378): ubifs_start_scan: scan LEB 1:0
> <7>UBI DBG (pid 1378): ubi_leb_read: read 126976 bytes from LEB 0:1:0
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 126976 bytes from offset
> 0 of LEB 0:1, PEB 129
> <7>UBI DBG (pid 1378): ubi_io_read: read 126976 bytes from PEB 129:4096
> <7>UBIFS DBG (pid 1380): ubifs_bg_thread: background thread
> "ubifs_bgt0_0" started, PID 1380
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:0 (126976 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:512 (126464 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:2048 (124928 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:2560 (124416 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 4096
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:4096 (122880 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: hit empty space
> <7>UBIFS DBG (pid 1378): ubifs_end_scan: stop scanning LEB 1 at offset 4096
> <7>UBIFS DBG (pid 1378): ubifs_start_scan: scan LEB 2:0
> <7>UBI DBG (pid 1378): ubi_leb_read: read 126976 bytes from LEB 0:2:0
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 126976 bytes from offset
> 0 of LEB 0:2, PEB 130
> <7>UBI DBG (pid 1378): ubi_io_read: read 126976 bytes from PEB 130:4096
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:0 (126976 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:512 (126464 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:2048 (124928 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:2560 (124416 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 4096
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:4096 (122880 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: hit empty space
> <7>UBIFS DBG (pid 1378): ubifs_end_scan: stop scanning LEB 2 at offset 4096
> <7>UBIFS DBG (pid 1378): ubifs_read_node: LEB 10:0, indexing node, length 48
> <7>UBI DBG (pid 1378): ubi_leb_read: read 48 bytes from LEB 0:10:0
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 48 bytes from offset 0
> of LEB 0:10, PEB 131
> <7>UBI DBG (pid 1378): ubi_io_read: read 48 bytes from PEB 131:4096
> <5>UBIFS: recovery needed
> <7>UBIFS DBG (pid 1378): ubifs_recover_inl_heads: checking index head at 10:2048
> <7>UBI DBG (pid 1378): ubi_leb_read: read 2048 bytes from LEB 0:10:2048
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 2048 bytes from offset
> 2048 of LEB 0:10, PEB 131
> <7>UBI DBG (pid 1378): ubi_io_read: read 2048 bytes from PEB 131:6144
> <7>UBIFS DBG (pid 1378): ubifs_recover_inl_heads: checking LPT head at 6:2048
> <7>UBI DBG (pid 1378): ubi_leb_read: read 2048 bytes from LEB 0:6:2048
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 2048 bytes from offset
> 2048 of LEB 0:6, PEB 2
> <7>UBI DBG (pid 1378): ubi_io_read: read 2048 bytes from PEB 2:6144
> <7>UBI DBG (pid 1378): ubi_leb_read: read 11 bytes from LEB 0:6:419
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 11 bytes from offset 419
> of LEB 0:6, PEB 2
> <7>UBI DBG (pid 1378): ubi_io_read: read 11 bytes from PEB 2:4515
> <3>UBIFS error (pid 1378): check_lpt_type: invalid type (0) in LPT node type 2
>
> Backtrace:
>
> [<c002da74>]
> (dump_backtrace+0x0/0x10c)
> from [<c038c2f0>]
> (dump_stack+0x18/0x1c)
>  r7:00000000
>  r6:00000001
>  r5:00000000
>  r4:00000002
>
> [<c038c2d8>]
> (dump_stack+0x0/0x1c)
> from [<c019d178>]
> (check_lpt_type+0x70/0x84)
>
> [<c019d108>]
> (check_lpt_type+0x0/0x84)
> from [<c019fc34>]
> (ubifs_lpt_init+0x2e0/0x880)
>  r4:dbbe7000
>
> [<c019f954>]
> (ubifs_lpt_init+0x0/0x880)
> from [<c0181e3c>]
> (ubifs_fill_super+0xb74/0x1a80)
>
> [<c01812c8>]
> (ubifs_fill_super+0x0/0x1a80)
> from [<c0182e34>]
> (ubifs_get_sb+0xec/0x36c)
>
> [<c0182d48>]
> (ubifs_get_sb+0x0/0x36c)
> from [<c00fb4e4>]
> (vfs_kern_mount+0x58/0xac)
>
> [<c00fb48c>]
> (vfs_kern_mount+0x0/0xac)
> from [<c00fb594>]
> (do_kern_mount+0x3c/0xdc)
>  r8:00008000
>  r7:d6bee000
>  r6:00000000
>  r5:d6bf7000
>  r4:c04bb958
>
> [<c00fb558>]
> (do_kern_mount+0x0/0xdc)
> from [<c0112e4c>]
> (do_mount+0x16c/0x76c)
>  r9:00000000
>  r8:00008000
>  r7:d6bf7000
>  r6:d6bee000
>  r5:00000000
>  r4:00000000
>
> [<c0112ce0>]
> (do_mount+0x0/0x76c)
> from [<c01134dc>]
> (sys_mount+0x90/0xdc)
>
> [<c011344c>]
> (sys_mount+0x0/0xdc)
> from [<c0029b80>]
> (ret_fast_syscall+0x0/0x2c)
>  r7:00000015
>  r6:afe47470
>  r5:00000104
>  r4:00000000
>
> <7>UBIFS DBG (pid 1380): ubifs_bg_thread: background thread "ubifs_bgt0_0" stops
> <7>UBI DBG (pid 1378): ubi_close_volume: close device 0, volume 0, mode 2
> <7>UBI DBG (pid 1378): ubi_close_volume: close device 0, volume 0, mode 1
>
>
>
> 2010/3/11 Bosi Daniele <Daniele.Bosi@mta.it>:
>> After the "ubiattatch" command you should be able to use the command "ubinfo" just to see some informations on your attached ubi volumes on the device.
>>
>> You should see something like...
>>
>> UBI version:                    1
>> Count of UBI devices:           1
>> UBI control device major/minor: 10:63
>> Present UBI devices:            ubi0
>>
>> If this is ok I suppose there's something wrong into your "mount" command sintax
>>
>> Bye Daniele
>>
>>
>> -----Messaggio originale-----
>> Da: okpalin@gmail.com [mailto:okpalin@gmail.com]
>> Inviato: giovedì 11 marzo 2010 13.33
>> A: Bosi Daniele; linux-mtd@lists.infradead.org
>> Oggetto: Re: Can not mount UBIFS
>>
>> I have enabled ubi and ubifs in my kernel.
>> I also find "ubifs" in /proc/filesystems.
>> Here is it:
>> # cat /proc/filesystems
>> cat /proc/filesystems
>> nodev   sysfs
>> nodev   rootfs
>> nodev   bdev
>> nodev   proc
>> nodev   cgroup
>> nodev   debugfs
>> nodev   sockfs
>> nodev   usbfs
>> nodev   pipefs
>> nodev   anon_inodefs
>> nodev   tmpfs
>> nodev   inotifyfs
>> nodev   configfs
>> nodev   devpts
>>        ext3
>>        ext2
>> nodev   ramfs
>>        vfat
>>        msdos
>>        yaffs
>>        yaffs2
>> nodev   ubifs
>>
>> 2010/3/11 Bosi Daniele <Daniele.Bosi@mta.it>:
>>> It seems like you have your first problem with the Linux "mount" command. Please try to be sure that your kernel supports ubi file systems. To check simply if this is true do on your device a
>>> cat /proc/filesystem
>>> and verify that "ubi" is present
>>>
>>> If it's not, you have to enable ubi options into your kernel
>>>
>>> Bye Daniele
>>>
>>>
>>> -----Messaggio originale-----
>>> Da: linux-mtd-bounces@lists.infradead.org [mailto:linux-mtd-bounces@lists.infradead.org] Per conto di okpalin@gmail.com
>>> Inviato: giovedì 11 marzo 2010 8.44
>>> A: linux-mtd@lists.infradead.org
>>> Cc: okpalin@gmail.com
>>> Oggetto: Can not mount UBIFS
>>>
>>> Dear all,
>>>
>>> I am trying UBIFS on android on nVidia Tegra T20.
>>> I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and mount it.
>>> Error occurs when mount it.
>>>
>>> The total command I enter is:
>>>    # ubidetach /dev/ubi_ctrl -d 0
>>>    ubidetach /dev/ubi_ctrl -d 0
>>>    # flash_eraseall /dev/mtd/mtd4
>>>    flash_eraseall /dev/mtd/mtd4
>>>    Erasing 128 Kibyte @ 2000000 -- 100 % complete.
>>>    # ubiattach /dev/ubi_ctrl -m 4
>>>    ubiattach /dev/ubi_ctrl -m 4
>>>    UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
>>> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
>>> (124.0 KiB)
>>>    # ubimkvol /dev/ubi0 -m -N rootfs
>>>    ubimkvol /dev/ubi0 -m -N rootfs
>>>    Set volume size to 31744000
>>>    Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
>>> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
>>>    # mount -t ubifs ubi0:rootfs /sdcard
>>>    mount -t ubifs ubi0:rootfs /sdcard
>>>    mount: Invalid argument
>>>
>>> The NAND flash is HY27UF084G2B.
>>>
>>> Below is the debug message from "adb logcat":
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: name
>>> ubi0:rootfs, flags 0x8000
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume_nm: open
>>> volume rootfs, mode 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
>>> 0 volume 0, mode 1
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_get_sb: opened ubi0_0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_open_volume: open device
>>> 0 volume 0, mode 2
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:2
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:3
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:4
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:5
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:6
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:7
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:8
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:9
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:10
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:11
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:12
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:13
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:14
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:15
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:16
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:17
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:18
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:19
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:20
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:21
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:22
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:23
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:24
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:25
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:26
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:27
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:28
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:29
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:30
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:31
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:32
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:33
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:34
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:35
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:36
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:37
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:38
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:39
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:40
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:41
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:42
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:43
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:44
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:45
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:46
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:47
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:48
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:49
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:50
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:51
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:52
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:53
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:54
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:55
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:56
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:57
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:58
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:59
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:60
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:61
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:62
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:63
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:64
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:65
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:66
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:67
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:68
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:69
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:70
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:71
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:72
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:73
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:74
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:75
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:76
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:77
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:78
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:79
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:80
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:81
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:82
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:83
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:84
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:85
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:86
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:87
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:88
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:89
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:90
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:91
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:92
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:93
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:94
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:95
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:96
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:97
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:98
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:99
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:100
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:101
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:102
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:103
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:104
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:105
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:106
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:107
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:108
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:109
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:110
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:111
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:112
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:113
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:114
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:115
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:116
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:117
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:118
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:119
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:120
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:121
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:122
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:123
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:124
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:125
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:126
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:127
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:128
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:129
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:130
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:131
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:132
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:133
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:134
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:135
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:136
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:137
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:138
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:139
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:140
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:141
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:142
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:143
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:144
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:145
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:146
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:147
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:148
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:149
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:150
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:151
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:152
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:153
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:154
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:155
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:156
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:157
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:158
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:159
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:160
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:161
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:162
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:163
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:164
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:165
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:166
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:167
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:168
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:169
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:170
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:171
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:172
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:173
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:174
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:175
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:176
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:177
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:178
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:179
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:180
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:181
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:182
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:183
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:184
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:185
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:186
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:187
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:188
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:189
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:190
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:191
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:192
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:193
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:194
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:195
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:196
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:197
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:198
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:199
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:200
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:201
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:202
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:203
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:204
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:205
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:206
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:207
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:208
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:209
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:210
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:211
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:212
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:213
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:214
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:215
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:216
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:217
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:218
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:219
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:220
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:221
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:222
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:223
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:224
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:225
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:226
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:227
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:228
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:229
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:230
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:231
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:232
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:233
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:234
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:235
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:236
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:237
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:238
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:239
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:240
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:241
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:242
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:243
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:244
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:245
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:246
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:247
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:248
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_is_mapped: test LEB 0:249
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): set_ltab: LEB 6 free
>>> 126976 dirty 0 to 124928 777
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_change: atomically
>>> write 2048 bytes to LEB 0:6
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 2 EC 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 2
>>> EC 1 to the protection queue
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_atomic_leb_change:
>>> change LEB 0:6, PEB -1, write VID hdr to PEB 2
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>>> VID header to PEB 2
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 2:2048
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c0800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 2:4096
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4c1000 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: space_bits 14
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
>>> lpt_lnum_bits 2
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
>>> lpt_offs_bits 17
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt:
>>> lpt_spc_bits 17
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pcnt_bits 6
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lnum_bits 8
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: pnode_sz 17
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: nnode_sz 12
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: ltab_sz 11
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_sz 259
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lsave_cnt 256
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: lpt_hght 3
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: big_lpt 0
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
>>> root is at 6:1248
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
>>> head is at 6:2048
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_create_dflt_lpt: LPT
>>> ltab is at 6:1260
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>>> LEB Properties Tree created (LEBs 6-7)
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 0:0,
>>> superblock node, length 4096 (aligned 4096)
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 4096
>>> bytes to LEB 0:0:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 1 EC 2
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB 1
>>> EC 2 to the protection queue
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>>> hdr and 4096 bytes at offset 0 of LEB 0:0, PEB 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>>> VID header to PEB 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 1:2048
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a0800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 4096
>>> bytes to PEB 1:4096
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xb4a1000 len=0x1000
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>>> default superblock created at LEB 0:0
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 1:0,
>>> master node, length 512 (aligned 2048)
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>>> bytes to LEB 0:1:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 129 EC 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>>> 129 EC 1 to the protection queue
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>>> hdr and 2048 bytes at offset 0 of LEB 0:1, PEB 129
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>>> VID header to PEB 129
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 129:2048
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a0800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 129:4096
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1000 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 2:0,
>>> master node, length 512 (aligned 2048)
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>>> bytes to LEB 0:2:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 130 EC 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>>> 130 EC 1 to the protection queue
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>>> hdr and 2048 bytes at offset 0 of LEB 0:2, PEB 130
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>>> VID header to PEB 130
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 130:2048
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c0800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 130:4096
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1000 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>>> default master node created at LEB 1:0
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
>>> 10:0, indexing node, length 48 (aligned 2048)
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>>> bytes to LEB 0:10:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 131 EC 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>>> 131 EC 1 to the protection queue
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>>> hdr and 2048 bytes at offset 0 of LEB 0:10, PEB 131
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>>> VID header to PEB 131
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 131:2048
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e0800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 131:4096
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4e1000 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>>> default root indexing node created LEB 10:0
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
>>> 11:0, inode node, length 160 (aligned 2048)
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>>> bytes to LEB 0:11:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 132 EC 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>>> 132 EC 1 to the protection queue
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>>> hdr and 2048 bytes at offset 0 of LEB 0:11, PEB 132
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>>> VID header to PEB 132
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 132:2048
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc500800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 132:4096
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc501000 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): create_default_filesystem:
>>> root inode created at LEB 11:0
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB 3:0,
>>> commit start node, length 32 (aligned 2048)
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>>> bytes to LEB 0:3:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_wl_get_peb: PEB 133 EC 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): prot_queue_add: added PEB
>>> 133 EC 1 to the protection queue
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write VID
>>> hdr and 2048 bytes at offset 0 of LEB 0:3, PEB 133
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write_vid_hdr: write
>>> VID header to PEB 133
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 133:2048
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc520800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 133:4096
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc521000 len=0x800
>>>
>>> I/PrintK  ( 1151): <5>UBIFS: default file-system created
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 0:0,
>>> superblock node, length 4096
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 4096
>>> bytes from LEB 0:0:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 4096
>>> bytes from offset 0 of LEB 0:0, PEB 1
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 4096 bytes
>>> from PEB 1:4096
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 1:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
>>> bytes from LEB 0:1:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
>>> 126976 bytes from offset 0 of LEB 0:1, PEB 129
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
>>> bytes from PEB 129:4096
>>>
>>> V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
>>> background thread "ubifs_bgt0_0" started, PID 1152
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>>> 1:0 (126976 bytes left)
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
>>> scanning master node
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>>> 1:512 (126464 bytes left)
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
>>> scanning padding node
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
>>> bytes padded, offset now 2048
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>>> 1:2048 (124928 bytes left)
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
>>> scanning LEB 1 at offset 2048
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_start_scan: scan LEB 2:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 126976
>>> bytes from LEB 0:2:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read
>>> 126976 bytes from offset 0 of LEB 0:2, PEB 130
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 126976
>>> bytes from PEB 130:4096
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>>> 2:0 (126976 bytes left)
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
>>> scanning master node
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>>> 2:512 (126464 bytes left)
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node:
>>> scanning padding node
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: 1508
>>> bytes padded, offset now 2048
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan: look at LEB
>>> 2:2048 (124928 bytes left)
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_scan_a_node: hit empty space
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_end_scan: stop
>>> scanning LEB 2 at offset 2048
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_read_node: LEB 10:0,
>>> indexing node, length 48
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 48 bytes
>>> from LEB 0:10:0
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 48
>>> bytes from offset 0 of LEB 0:10, PEB 131
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 48 bytes
>>> from PEB 131:4096
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
>>> 1:2048, master node, length 512 (aligned 2048)
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>>> bytes to LEB 0:1:2048
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
>>> 2048 bytes at offset 2048 of LEB 0:1, PEB 129
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 129:6144
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4a1800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBIFS DBG (pid 1151): ubifs_write_node: LEB
>>> 2:2048, master node, length 512 (aligned 2048)
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_write: write 2048
>>> bytes to LEB 0:2:2048
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_write_leb: write
>>> 2048 bytes at offset 2048 of LEB 0:2, PEB 130
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_write: write 2048
>>> bytes to PEB 130:6144
>>>
>>> D/PrintK  ( 1151): <6>tegra_nand_write: write: to=0xc4c1800 len=0x800
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_leb_read: read 11 bytes
>>> from LEB 0:6:1260
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_eba_read_leb: read 11
>>> bytes from offset 1260 of LEB 0:6, PEB 2
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_io_read: read 11 bytes
>>> from PEB 2:5356
>>>
>>> E/PrintK  ( 1151): <3>UBIFS error (pid 1151): check_lpt_type: invalid
>>> type (0) in LPT node type 2
>>>
>>> W/PrintK  ( 1151): Backtrace:
>>>
>>> V/PrintK  ( 1151):
>>>
>>> W/PrintK  ( 1151): [<c002ca74>]
>>>
>>> V/PrintK  ( 1151): (dump_backtrace+0x0/0x10c)
>>>
>>> V/PrintK  ( 1151): from [<c037a118>]
>>>
>>> V/PrintK  ( 1151): (dump_stack+0x18/0x1c)
>>>
>>> W/PrintK  ( 1151):  r7:00000000
>>>
>>> V/PrintK  ( 1151):  r6:00000001
>>>
>>> V/PrintK  ( 1151):  r5:00000000
>>>
>>> V/PrintK  ( 1151):  r4:00000002
>>>
>>> V/PrintK  ( 1151):
>>>
>>> W/PrintK  ( 1151): [<c037a100>]
>>>
>>> V/PrintK  ( 1151): (dump_stack+0x0/0x1c)
>>>
>>> V/PrintK  ( 1151): from [<c01967b0>]
>>>
>>> V/PrintK  ( 1151): (check_lpt_type+0x70/0x84)
>>>
>>> W/PrintK  ( 1151): [<c0196740>]
>>>
>>> V/PrintK  ( 1151): (check_lpt_type+0x0/0x84)
>>>
>>> V/PrintK  ( 1151): from [<c019926c>]
>>>
>>> V/PrintK  ( 1151): (ubifs_lpt_init+0x2e0/0x880)
>>>
>>> W/PrintK  ( 1151):  r4:dbb34000
>>>
>>> V/PrintK  ( 1151):
>>>
>>> W/PrintK  ( 1151): [<c0198f8c>]
>>>
>>> V/PrintK  ( 1151): (ubifs_lpt_init+0x0/0x880)
>>>
>>> V/PrintK  ( 1151): from [<c017bd84>]
>>>
>>> V/PrintK  ( 1151): (ubifs_fill_super+0xad8/0x1a74)
>>>
>>> W/PrintK  ( 1151): [<c017b2ac>]
>>>
>>> V/PrintK  ( 1151): (ubifs_fill_super+0x0/0x1a74)
>>>
>>> V/PrintK  ( 1151): from [<c017cee4>]
>>>
>>> V/PrintK  ( 1151): (ubifs_get_sb+0x1c4/0x354)
>>>
>>> W/PrintK  ( 1151): [<c017cd20>]
>>>
>>> V/PrintK  ( 1151): (ubifs_get_sb+0x0/0x354)
>>>
>>> V/PrintK  ( 1151): from [<c00f4ebc>]
>>>
>>> V/PrintK  ( 1151): (vfs_kern_mount+0x58/0xac)
>>>
>>> W/PrintK  ( 1151): [<c00f4e64>]
>>>
>>> V/PrintK  ( 1151): (vfs_kern_mount+0x0/0xac)
>>>
>>> V/PrintK  ( 1151): from [<c00f4f6c>]
>>>
>>> V/PrintK  ( 1151): (do_kern_mount+0x3c/0xdc)
>>>
>>> W/PrintK  ( 1151):  r8:00008000
>>>
>>> V/PrintK  ( 1151):  r7:db1fb000
>>>
>>> V/PrintK  ( 1151):  r6:00000000
>>>
>>> V/PrintK  ( 1151):  r5:db1c3000
>>>
>>> V/PrintK  ( 1151):  r4:c04a56b8
>>>
>>> V/PrintK  ( 1151):
>>>
>>> W/PrintK  ( 1151): [<c00f4f30>]
>>>
>>> V/PrintK  ( 1151): (do_kern_mount+0x0/0xdc)
>>>
>>> V/PrintK  ( 1151): from [<c010c8d8>]
>>>
>>> V/PrintK  ( 1151): (do_mount+0x16c/0x76c)
>>>
>>> W/PrintK  ( 1151):  r9:00000000
>>>
>>> V/PrintK  ( 1151):  r8:00008000
>>>
>>> V/PrintK  ( 1151):  r7:db1c3000
>>>
>>> V/PrintK  ( 1151):  r6:db1fb000
>>>
>>> V/PrintK  ( 1151):  r5:00000000
>>>
>>> W/PrintK  ( 1151):
>>>
>>> W/PrintK  ( 1151): r4:00000000
>>>
>>> V/PrintK  ( 1151):
>>>
>>> W/PrintK  ( 1151): [<c010c76c>]
>>>
>>> V/PrintK  ( 1151): (do_mount+0x0/0x76c)
>>>
>>> V/PrintK  ( 1151): from [<c010cf68>]
>>>
>>> V/PrintK  ( 1151): (sys_mount+0x90/0xdc)
>>>
>>> W/PrintK  ( 1151): [<c010ced8>]
>>>
>>> V/PrintK  ( 1151): (sys_mount+0x0/0xdc)
>>>
>>> V/PrintK  ( 1151): from [<c0028b80>]
>>>
>>> V/PrintK  ( 1151): (ret_fast_syscall+0x0/0x2c)
>>>
>>> W/PrintK  ( 1151):  r7:00000015
>>>
>>> V/PrintK  ( 1151):  r6:afe47470
>>>
>>> V/PrintK  ( 1151):  r5:00000104
>>>
>>> V/PrintK  ( 1151):  r4:00000000
>>>
>>> V/PrintK  ( 1151):
>>>
>>> V/PrintK  ( 1152): <7>UBIFS DBG (pid 1152): ubifs_bg_thread:
>>> background thread "ubifs_bgt0_0" stops
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
>>> volume 0, mode 2
>>>
>>> V/PrintK  ( 1151): <7>UBI DBG (pid 1151): ubi_close_volume: close
>>> volume 0, mode 1
>>>
>>> ______________________________________________________
>>> Linux MTD discussion mailing list
>>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>>>
>>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-03-11  7:43 Can not mount UBIFS 林于峻
  2010-03-11 10:48 ` R: " Bosi Daniele
@ 2010-04-06  8:48 ` Artem Bityutskiy
  1 sibling, 0 replies; 16+ messages in thread
From: Artem Bityutskiy @ 2010-04-06  8:48 UTC (permalink / raw)
  To: 林于峻; +Cc: linux-mtd

Hi,

On Thu, 2010-03-11 at 15:43 +0800, 林于峻 wrote:
> Dear all,
> 
> I am trying UBIFS on android on nVidia Tegra T20.
> I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and mount it.
> Error occurs when mount it.
> 
> The total command I enter is:
>     # ubidetach /dev/ubi_ctrl -d 0
>     ubidetach /dev/ubi_ctrl -d 0
>     # flash_eraseall /dev/mtd/mtd4
>     flash_eraseall /dev/mtd/mtd4

Better use ubiformat instead of flash_eraseall:

http://www.linux-mtd.infradead.org/faq/ubi.html#L_ubierase

>     Erasing 128 Kibyte @ 2000000 -- 100 % complete.
>     # ubiattach /dev/ubi_ctrl -m 4
>     ubiattach /dev/ubi_ctrl -m 4
>     UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
> (124.0 KiB)
>     # ubimkvol /dev/ubi0 -m -N rootfs
>     ubimkvol /dev/ubi0 -m -N rootfs
>     Set volume size to 31744000
>     Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
>     # mount -t ubifs ubi0:rootfs /sdcard
>     mount -t ubifs ubi0:rootfs /sdcard
>     mount: Invalid argument
> 
> The NAND flash is HY27UF084G2B.

Could you please first validate your flash with nandtests? Take the
tests from the latest kernel.

http://www.linux-mtd.infradead.org/doc/general.html#L_mtd_tests

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-03-16  8:13       ` 林于峻
  2010-03-16  9:22         ` 林于峻
@ 2010-04-06  9:00         ` Artem Bityutskiy
  2010-05-03 11:54           ` 林于峻
  1 sibling, 1 reply; 16+ messages in thread
From: Artem Bityutskiy @ 2010-04-06  9:00 UTC (permalink / raw)
  To: 林于峻; +Cc: linux-mtd, Bosi Daniele, GUIDA Nicola

On Tue, 2010-03-16 at 16:13 +0800, 林于峻 wrote:
> Dear all,
> 
> I try to sync /driver/mtd/ubi/*, /fs/ubifs/*, and
> /include/linux/mtd/ubi.h with
> git://git.infradead.org/~dedekind/ubifs-v2.6.29.git
> But mount still fail.
> I will try nandsim latter.
> 
> To get more information, I enable UBI and UBIFS debugging message,
> described below..
> I enable UBI debugging: UBI debugging messages, Extra self-check, and
> all Aditional UBI debugging messages.
> I also enable UBIFS: Enable debugging with message level 3 and Enable
> extra checks.
> 
> Below are my entered command and debug message get from "adb logcat"
> 
> My entered command:
>     # cat /proc/mtd
>     cat /proc/mtd
>     dev:    size   erasesize  name
>     mtd0: 00500000 00020000 "recovery"
>     mtd1: 00800000 00020000 "boot"
>     mtd2: 077a0000 00020000 "system"
>     mtd3: 02000000 00020000 "cache"
>     mtd4: 14b00000 00020000 "userdata"
> 
>     # flash_eraseall /dev/mtd/mtd3
>     flash_eraseall /dev/mtd/mtd3
>     Erasing 128 Kibyte @ 2000000 -- 100 % complete.
> 
>     # ubiattach /dev/ubi_ctrl -m 3
>     ubiattach /dev/ubi_ctrl -m 3
>     UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
> (124.0 KiB)
> 
>     # ubinfo
>     ubinfo
>     UBI version:                    1
>     Count of UBI devices:           1
>     UBI control device major/minor: 10:57
>     Present UBI devices:            ubi0
> 
>     # ubimkvol /dev/ubi0 -N rootfs -s 10MiB
>     ubimkvol /dev/ubi0 -N rootfs -s 10MiB
>     Volume ID 0, size 83 LEBs (10539008 bytes, 10.1 MiB), LEB size
> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
> 
>     # ubinfo -a
>     ubinfo -a
>     UBI version:                    1
>     Count of UBI devices:           1
>     UBI control device major/minor: 10:57
>     Present UBI devices:            ubi0
> 
>     ubi0
>     Volumes count:                           1
>     Logical eraseblock size:                 126976 bytes, 124.0 KiB
>     Total amount of logical eraseblocks:     256 (32505856 bytes, 31.0 MiB)
>     Amount of available logical eraseblocks: 167 (21204992 bytes, 20.2 MiB)
>     Maximum count of volumes                 128
>     Count of bad physical eraseblocks:       0
>     Count of reserved physical eraseblocks:  2
>     Current maximum erase counter value:     2
>     Minimum input/output unit size:          2048 bytes
>     Character device major/minor:            249:0
>     Present volumes:                         0
> 
>     Volume ID:   0 (on ubi0)
>     Type:        dynamic
>     Alignment:   1
>     Size:        83 LEBs (10539008 bytes, 10.1 MiB)
>     State:       OK
>     Name:        rootfs
>     Character device major/minor: 249:1
> 
>     # mount -t ubifs ubi0_0 /cache
>     mount -t ubifs ubi0_0 /cache
>     mount: Invalid argument
> 
>     # mount -t ubifs ubi0:rootfs /cache
>     mount -t ubifs ubi0:rootfs /cache
>     mount: Invalid argument
> 
> Debug message from "adb logcat":
> <7>UBIFS DBG (pid 1378): ubifs_get_sb: name ubi0:rootfs, flags 0x8000
> <7>UBI DBG (pid 1378): ubi_open_volume_path: open volume ubi0:rootfs, mode 1
> <7>UBI DBG (pid 1378): ubi_open_volume_nm: open device 0, volume rootfs, mode 1
> <7>UBI DBG (pid 1378): ubi_open_volume: open device 0, volume 0, mode 1
> <7>UBIFS DBG (pid 1378): ubifs_get_sb: opened ubi0_0
> <7>UBI DBG (pid 1378): ubi_open_volume: open device 0, volume 0, mode 2
> <7>UBI DBG (pid 1378): ubi_is_mapped: test LEB 0:0
> <7>UBIFS DBG (pid 1378): ubifs_read_node: LEB 0:0, superblock node, length 4096
> <7>UBI DBG (pid 1378): ubi_leb_read: read 4096 bytes from LEB 0:0:0
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 4096 bytes from offset 0
> of LEB 0:0, PEB 1
> <7>UBI DBG (pid 1378): ubi_io_read: read 4096 bytes from PEB 1:4096
> <7>UBIFS DBG (pid 1378): ubifs_start_scan: scan LEB 1:0
> <7>UBI DBG (pid 1378): ubi_leb_read: read 126976 bytes from LEB 0:1:0
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 126976 bytes from offset
> 0 of LEB 0:1, PEB 129
> <7>UBI DBG (pid 1378): ubi_io_read: read 126976 bytes from PEB 129:4096
> <7>UBIFS DBG (pid 1380): ubifs_bg_thread: background thread
> "ubifs_bgt0_0" started, PID 1380
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:0 (126976 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:512 (126464 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:2048 (124928 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:2560 (124416 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 4096
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:4096 (122880 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: hit empty space
> <7>UBIFS DBG (pid 1378): ubifs_end_scan: stop scanning LEB 1 at offset 4096
> <7>UBIFS DBG (pid 1378): ubifs_start_scan: scan LEB 2:0
> <7>UBI DBG (pid 1378): ubi_leb_read: read 126976 bytes from LEB 0:2:0
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 126976 bytes from offset
> 0 of LEB 0:2, PEB 130
> <7>UBI DBG (pid 1378): ubi_io_read: read 126976 bytes from PEB 130:4096
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:0 (126976 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:512 (126464 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:2048 (124928 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:2560 (124416 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 4096
> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:4096 (122880 bytes left)
> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: hit empty space
> <7>UBIFS DBG (pid 1378): ubifs_end_scan: stop scanning LEB 2 at offset 4096
> <7>UBIFS DBG (pid 1378): ubifs_read_node: LEB 10:0, indexing node, length 48
> <7>UBI DBG (pid 1378): ubi_leb_read: read 48 bytes from LEB 0:10:0
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 48 bytes from offset 0
> of LEB 0:10, PEB 131
> <7>UBI DBG (pid 1378): ubi_io_read: read 48 bytes from PEB 131:4096
> <5>UBIFS: recovery needed
> <7>UBIFS DBG (pid 1378): ubifs_recover_inl_heads: checking index head at 10:2048
> <7>UBI DBG (pid 1378): ubi_leb_read: read 2048 bytes from LEB 0:10:2048
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 2048 bytes from offset
> 2048 of LEB 0:10, PEB 131
> <7>UBI DBG (pid 1378): ubi_io_read: read 2048 bytes from PEB 131:6144
> <7>UBIFS DBG (pid 1378): ubifs_recover_inl_heads: checking LPT head at 6:2048
> <7>UBI DBG (pid 1378): ubi_leb_read: read 2048 bytes from LEB 0:6:2048
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 2048 bytes from offset
> 2048 of LEB 0:6, PEB 2
> <7>UBI DBG (pid 1378): ubi_io_read: read 2048 bytes from PEB 2:6144
> <7>UBI DBG (pid 1378): ubi_leb_read: read 11 bytes from LEB 0:6:419
> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 11 bytes from offset 419
> of LEB 0:6, PEB 2
> <7>UBI DBG (pid 1378): ubi_io_read: read 11 bytes from PEB 2:4515
> <3>UBIFS error (pid 1378): check_lpt_type: invalid type (0) in LPT node type 2

Looks like your drive has problems with reading 11 bytes. Please,
validate it.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-04-06  9:00         ` Artem Bityutskiy
@ 2010-05-03 11:54           ` 林于峻
  2010-05-03 12:08             ` Artem Bityutskiy
  0 siblings, 1 reply; 16+ messages in thread
From: 林于峻 @ 2010-05-03 11:54 UTC (permalink / raw)
  To: dedekind1; +Cc: linux-mtd, Bosi Daniele, GUIDA Nicola

Dear all,

Thank you for your support.
I can mount UBIFS now after fixing mtd read function.

However, if I enable the "extra checks" of UBI and UBIFS, then I can
not mount UBIFS.
What's the different after enable "extra checks" of UBI and UBIFS.

Thank you,
Best regards,

2010/4/6 Artem Bityutskiy <dedekind1@gmail.com>:
> On Tue, 2010-03-16 at 16:13 +0800, 林于峻 wrote:
>> Dear all,
>>
>> I try to sync /driver/mtd/ubi/*, /fs/ubifs/*, and
>> /include/linux/mtd/ubi.h with
>> git://git.infradead.org/~dedekind/ubifs-v2.6.29.git
>> But mount still fail.
>> I will try nandsim latter.
>>
>> To get more information, I enable UBI and UBIFS debugging message,
>> described below..
>> I enable UBI debugging: UBI debugging messages, Extra self-check, and
>> all Aditional UBI debugging messages.
>> I also enable UBIFS: Enable debugging with message level 3 and Enable
>> extra checks.
>>
>> Below are my entered command and debug message get from "adb logcat"
>>
>> My entered command:
>>     # cat /proc/mtd
>>     cat /proc/mtd
>>     dev:    size   erasesize  name
>>     mtd0: 00500000 00020000 "recovery"
>>     mtd1: 00800000 00020000 "boot"
>>     mtd2: 077a0000 00020000 "system"
>>     mtd3: 02000000 00020000 "cache"
>>     mtd4: 14b00000 00020000 "userdata"
>>
>>     # flash_eraseall /dev/mtd/mtd3
>>     flash_eraseall /dev/mtd/mtd3
>>     Erasing 128 Kibyte @ 2000000 -- 100 % complete.
>>
>>     # ubiattach /dev/ubi_ctrl -m 3
>>     ubiattach /dev/ubi_ctrl -m 3
>>     UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
>> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
>> (124.0 KiB)
>>
>>     # ubinfo
>>     ubinfo
>>     UBI version:                    1
>>     Count of UBI devices:           1
>>     UBI control device major/minor: 10:57
>>     Present UBI devices:            ubi0
>>
>>     # ubimkvol /dev/ubi0 -N rootfs -s 10MiB
>>     ubimkvol /dev/ubi0 -N rootfs -s 10MiB
>>     Volume ID 0, size 83 LEBs (10539008 bytes, 10.1 MiB), LEB size
>> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
>>
>>     # ubinfo -a
>>     ubinfo -a
>>     UBI version:                    1
>>     Count of UBI devices:           1
>>     UBI control device major/minor: 10:57
>>     Present UBI devices:            ubi0
>>
>>     ubi0
>>     Volumes count:                           1
>>     Logical eraseblock size:                 126976 bytes, 124.0 KiB
>>     Total amount of logical eraseblocks:     256 (32505856 bytes, 31.0 MiB)
>>     Amount of available logical eraseblocks: 167 (21204992 bytes, 20.2 MiB)
>>     Maximum count of volumes                 128
>>     Count of bad physical eraseblocks:       0
>>     Count of reserved physical eraseblocks:  2
>>     Current maximum erase counter value:     2
>>     Minimum input/output unit size:          2048 bytes
>>     Character device major/minor:            249:0
>>     Present volumes:                         0
>>
>>     Volume ID:   0 (on ubi0)
>>     Type:        dynamic
>>     Alignment:   1
>>     Size:        83 LEBs (10539008 bytes, 10.1 MiB)
>>     State:       OK
>>     Name:        rootfs
>>     Character device major/minor: 249:1
>>
>>     # mount -t ubifs ubi0_0 /cache
>>     mount -t ubifs ubi0_0 /cache
>>     mount: Invalid argument
>>
>>     # mount -t ubifs ubi0:rootfs /cache
>>     mount -t ubifs ubi0:rootfs /cache
>>     mount: Invalid argument
>>
>> Debug message from "adb logcat":
>> <7>UBIFS DBG (pid 1378): ubifs_get_sb: name ubi0:rootfs, flags 0x8000
>> <7>UBI DBG (pid 1378): ubi_open_volume_path: open volume ubi0:rootfs, mode 1
>> <7>UBI DBG (pid 1378): ubi_open_volume_nm: open device 0, volume rootfs, mode 1
>> <7>UBI DBG (pid 1378): ubi_open_volume: open device 0, volume 0, mode 1
>> <7>UBIFS DBG (pid 1378): ubifs_get_sb: opened ubi0_0
>> <7>UBI DBG (pid 1378): ubi_open_volume: open device 0, volume 0, mode 2
>> <7>UBI DBG (pid 1378): ubi_is_mapped: test LEB 0:0
>> <7>UBIFS DBG (pid 1378): ubifs_read_node: LEB 0:0, superblock node, length 4096
>> <7>UBI DBG (pid 1378): ubi_leb_read: read 4096 bytes from LEB 0:0:0
>> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 4096 bytes from offset 0
>> of LEB 0:0, PEB 1
>> <7>UBI DBG (pid 1378): ubi_io_read: read 4096 bytes from PEB 1:4096
>> <7>UBIFS DBG (pid 1378): ubifs_start_scan: scan LEB 1:0
>> <7>UBI DBG (pid 1378): ubi_leb_read: read 126976 bytes from LEB 0:1:0
>> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 126976 bytes from offset
>> 0 of LEB 0:1, PEB 129
>> <7>UBI DBG (pid 1378): ubi_io_read: read 126976 bytes from PEB 129:4096
>> <7>UBIFS DBG (pid 1380): ubifs_bg_thread: background thread
>> "ubifs_bgt0_0" started, PID 1380
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:0 (126976 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:512 (126464 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:2048 (124928 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:2560 (124416 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 4096
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 1:4096 (122880 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: hit empty space
>> <7>UBIFS DBG (pid 1378): ubifs_end_scan: stop scanning LEB 1 at offset 4096
>> <7>UBIFS DBG (pid 1378): ubifs_start_scan: scan LEB 2:0
>> <7>UBI DBG (pid 1378): ubi_leb_read: read 126976 bytes from LEB 0:2:0
>> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 126976 bytes from offset
>> 0 of LEB 0:2, PEB 130
>> <7>UBI DBG (pid 1378): ubi_io_read: read 126976 bytes from PEB 130:4096
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:0 (126976 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:512 (126464 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:2048 (124928 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning master node
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:2560 (124416 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: scanning padding node
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: 1508 bytes padded, offset now 4096
>> <7>UBIFS DBG (pid 1378): ubifs_scan: look at LEB 2:4096 (122880 bytes left)
>> <7>UBIFS DBG (pid 1378): ubifs_scan_a_node: hit empty space
>> <7>UBIFS DBG (pid 1378): ubifs_end_scan: stop scanning LEB 2 at offset 4096
>> <7>UBIFS DBG (pid 1378): ubifs_read_node: LEB 10:0, indexing node, length 48
>> <7>UBI DBG (pid 1378): ubi_leb_read: read 48 bytes from LEB 0:10:0
>> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 48 bytes from offset 0
>> of LEB 0:10, PEB 131
>> <7>UBI DBG (pid 1378): ubi_io_read: read 48 bytes from PEB 131:4096
>> <5>UBIFS: recovery needed
>> <7>UBIFS DBG (pid 1378): ubifs_recover_inl_heads: checking index head at 10:2048
>> <7>UBI DBG (pid 1378): ubi_leb_read: read 2048 bytes from LEB 0:10:2048
>> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 2048 bytes from offset
>> 2048 of LEB 0:10, PEB 131
>> <7>UBI DBG (pid 1378): ubi_io_read: read 2048 bytes from PEB 131:6144
>> <7>UBIFS DBG (pid 1378): ubifs_recover_inl_heads: checking LPT head at 6:2048
>> <7>UBI DBG (pid 1378): ubi_leb_read: read 2048 bytes from LEB 0:6:2048
>> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 2048 bytes from offset
>> 2048 of LEB 0:6, PEB 2
>> <7>UBI DBG (pid 1378): ubi_io_read: read 2048 bytes from PEB 2:6144
>> <7>UBI DBG (pid 1378): ubi_leb_read: read 11 bytes from LEB 0:6:419
>> <7>UBI DBG (pid 1378): ubi_eba_read_leb: read 11 bytes from offset 419
>> of LEB 0:6, PEB 2
>> <7>UBI DBG (pid 1378): ubi_io_read: read 11 bytes from PEB 2:4515
>> <3>UBIFS error (pid 1378): check_lpt_type: invalid type (0) in LPT node type 2
>
> Looks like your drive has problems with reading 11 bytes. Please,
> validate it.
>
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-05-03 11:54           ` 林于峻
@ 2010-05-03 12:08             ` Artem Bityutskiy
  2010-05-04  3:20               ` 林于峻
  0 siblings, 1 reply; 16+ messages in thread
From: Artem Bityutskiy @ 2010-05-03 12:08 UTC (permalink / raw)
  To: 林于峻; +Cc: linux-mtd, Bosi Daniele, GUIDA Nicola

On Mon, 2010-05-03 at 19:54 +0800, 林于峻 wrote:
> Dear all,
> 
> Thank you for your support.
> I can mount UBIFS now after fixing mtd read function.
> 
> However, if I enable the "extra checks" of UBI and UBIFS, then I can
> not mount UBIFS.
> What's the different after enable "extra checks" of UBI and UBIFS.

Well, these are various self-checks. There are many of them and they are
different. E.g., in UBI some of them read flash before every writing and
make sure the area contains all 0xFF bytes. In UBIFS this can be walking
through the whole index tree and checks it. There are many of them and
they are different.

If things stop working for you when you enable all checks, this either
means a bug in the debugging code or a real problem. Please, post your
error report. Use this guide:

http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-05-03 12:08             ` Artem Bityutskiy
@ 2010-05-04  3:20               ` 林于峻
  2010-05-11  3:46                 ` 林于峻
  0 siblings, 1 reply; 16+ messages in thread
From: 林于峻 @ 2010-05-04  3:20 UTC (permalink / raw)
  To: dedekind1; +Cc: linux-mtd, Bosi Daniele, GUIDA Nicola

Dear all,

I find the root cause: bootloader

UBI image, written by bootloader, could not be mount.
UBI image, written by ubiformat command, could be mount correctly.

I guess that bootloader may not write ubi image correctly.
I will port ubiformat in bootloader.

Thank you,
Best regards,

2010/5/3 Artem Bityutskiy <dedekind1@gmail.com>:
> On Mon, 2010-05-03 at 19:54 +0800, 林于峻 wrote:
>> Dear all,
>>
>> Thank you for your support.
>> I can mount UBIFS now after fixing mtd read function.
>>
>> However, if I enable the "extra checks" of UBI and UBIFS, then I can
>> not mount UBIFS.
>> What's the different after enable "extra checks" of UBI and UBIFS.
>
> Well, these are various self-checks. There are many of them and they are
> different. E.g., in UBI some of them read flash before every writing and
> make sure the area contains all 0xFF bytes. In UBIFS this can be walking
> through the whole index tree and checks it. There are many of them and
> they are different.
>
> If things stop working for you when you enable all checks, this either
> means a bug in the debugging code or a real problem. Please, post your
> error report. Use this guide:
>
> http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport
>
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-05-04  3:20               ` 林于峻
@ 2010-05-11  3:46                 ` 林于峻
  2010-05-11  5:44                   ` Artem Bityutskiy
  0 siblings, 1 reply; 16+ messages in thread
From: 林于峻 @ 2010-05-11  3:46 UTC (permalink / raw)
  To: dedekind1; +Cc: linux-mtd, Bosi Daniele, GUIDA Nicola

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GB2312, Size: 36109 bytes --]

Dear all,

I have modified bootloader to download image as ubiformat does.
However, I still can not mount it.
I also dump the content of mtd partition and compare.
(Ex: dd if=/dev/block/mtdblock5 of=/data/mtd5bak)
No difference between the content written by bootloader and written by
ubiformat.

The following is the debug messages:

<7>UBI DBG (pid 732): ctrl_cdev_ioctl: attach MTD device
<5>UBI: attaching mtd5 to ubi0
<7>UBI DBG (pid 732): io_init: min_io_size      2048
<7>UBI DBG (pid 732): io_init: hdrs_min_io_size 2048
<7>UBI DBG (pid 732): io_init: ec_hdr_alsize    2048
<7>UBI DBG (pid 732): io_init: vid_hdr_alsize   2048
<7>UBI DBG (pid 732): io_init: vid_hdr_offset   2048
<7>UBI DBG (pid 732): io_init: vid_hdr_aloffset 2048
<7>UBI DBG (pid 732): io_init: vid_hdr_shift    0
<7>UBI DBG (pid 732): io_init: leb_start        4096
<7>UBI DBG (pid 732): io_init: max_erroneous    51
<5>UBI: physical eraseblock size:   131072 bytes (128 KiB)
<5>UBI: logical eraseblock size:    126976 bytes
<5>UBI: smallest flash I/O unit:    2048
<5>UBI: VID header offset:          2048 (aligned 2048)
<5>UBI: data offset:                4096
<7>UBI DBG (pid 732): ubi_scan: process PEB 0
<7>UBI DBG (pid 732): ubi_scan: process PEB 1
<7>UBI DBG (pid 732): ubi_scan: process PEB 2
<7>UBI DBG (pid 732): ubi_scan: process PEB 3
<7>UBI DBG (pid 732): ubi_scan: process PEB 4
<7>UBI DBG (pid 732): ubi_scan: process PEB 5
<7>UBI DBG (pid 732): ubi_scan: process PEB 6
<7>UBI DBG (pid 732): ubi_scan: process PEB 7
<7>UBI DBG (pid 732): ubi_scan: process PEB 8
<7>UBI DBG (pid 732): ubi_scan: process PEB 9
<7>UBI DBG (pid 732): ubi_scan: process PEB 10
<7>UBI DBG (pid 732): ubi_scan: process PEB 11
<7>UBI DBG (pid 732): ubi_scan: process PEB 12
<7>UBI DBG (pid 732): ubi_scan: process PEB 13
<7>UBI DBG (pid 732): ubi_scan: process PEB 14
<7>UBI DBG (pid 732): ubi_scan: process PEB 15
<7>UBI DBG (pid 732): ubi_scan: process PEB 16
<7>UBI DBG (pid 732): ubi_scan: process PEB 17
<7>UBI DBG (pid 732): ubi_scan: process PEB 18
<7>UBI DBG (pid 732): ubi_scan: process PEB 19
<7>UBI DBG (pid 732): ubi_scan: process PEB 20
<7>UBI DBG (pid 732): ubi_scan: process PEB 21
<7>UBI DBG (pid 732): ubi_scan: process PEB 22
<7>UBI DBG (pid 732): ubi_scan: process PEB 23
<7>UBI DBG (pid 732): ubi_scan: process PEB 24
<7>UBI DBG (pid 732): ubi_scan: process PEB 25
<7>UBI DBG (pid 732): ubi_scan: process PEB 26
<7>UBI DBG (pid 732): ubi_scan: process PEB 27
<7>UBI DBG (pid 732): ubi_scan: process PEB 28
<7>UBI DBG (pid 732): ubi_scan: process PEB 29
<7>UBI DBG (pid 732): ubi_scan: process PEB 30
<7>UBI DBG (pid 732): ubi_scan: process PEB 31
<7>UBI DBG (pid 732): ubi_scan: process PEB 32
<7>UBI DBG (pid 732): ubi_scan: process PEB 33
<7>UBI DBG (pid 732): ubi_scan: process PEB 34
<7>UBI DBG (pid 732): ubi_scan: process PEB 35
<7>UBI DBG (pid 732): ubi_scan: process PEB 36
<7>UBI DBG (pid 732): ubi_scan: process PEB 37
<7>UBI DBG (pid 732): ubi_scan: process PEB 38
<7>UBI DBG (pid 732): ubi_scan: process PEB 39
<7>UBI DBG (pid 732): ubi_scan: process PEB 40
<7>UBI DBG (pid 732): ubi_scan: process PEB 41
<7>UBI DBG (pid 732): ubi_scan: process PEB 42
<7>UBI DBG (pid 732): ubi_scan: process PEB 43
<7>UBI DBG (pid 732): ubi_scan: process PEB 44
<7>UBI DBG (pid 732): ubi_scan: process PEB 45
<7>UBI DBG (pid 732): ubi_scan: process PEB 46
<7>UBI DBG (pid 732): ubi_scan: process PEB 47
<7>UBI DBG (pid 732): ubi_scan: process PEB 48
<7>UBI DBG (pid 732): ubi_scan: process PEB 49
<7>UBI DBG (pid 732): ubi_scan: process PEB 50
<7>UBI DBG (pid 732): ubi_scan: process PEB 51
<7>UBI DBG (pid 732): ubi_scan: process PEB 52
<7>UBI DBG (pid 732): ubi_scan: process PEB 53
<7>UBI DBG (pid 732): ubi_scan: process PEB 54
<7>UBI DBG (pid 732): ubi_scan: process PEB 55
<7>UBI DBG (pid 732): ubi_scan: process PEB 56
<7>UBI DBG (pid 732): ubi_scan: process PEB 57
<7>UBI DBG (pid 732): ubi_scan: process PEB 58
<7>UBI DBG (pid 732): ubi_scan: process PEB 59
<7>UBI DBG (pid 732): ubi_scan: process PEB 60
<7>UBI DBG (pid 732): ubi_scan: process PEB 61
<7>UBI DBG (pid 732): ubi_scan: process PEB 62
<7>UBI DBG (pid 732): ubi_scan: process PEB 63
<7>UBI DBG (pid 732): ubi_scan: process PEB 64
<7>UBI DBG (pid 732): ubi_scan: process PEB 65
<6>Block 2540 is factory bad in chip 0, offset = 13d80000
<7>UBI DBG (pid 732): ubi_scan: process PEB 66
<6>Block 2541 is factory bad in chip 0, offset = 13da0000
<7>UBI DBG (pid 732): ubi_scan: process PEB 67
<7>UBI DBG (pid 732): ubi_scan: process PEB 68
<7>UBI DBG (pid 732): ubi_scan: process PEB 69
<7>UBI DBG (pid 732): ubi_scan: process PEB 70
<7>UBI DBG (pid 732): ubi_scan: process PEB 71
<7>UBI DBG (pid 732): ubi_scan: process PEB 72
<7>UBI DBG (pid 732): ubi_scan: process PEB 73
<7>UBI DBG (pid 732): ubi_scan: process PEB 74
<7>UBI DBG (pid 732): ubi_scan: process PEB 75
<7>UBI DBG (pid 732): ubi_scan: process PEB 76
<7>UBI DBG (pid 732): ubi_scan: process PEB 77
<7>UBI DBG (pid 732): ubi_scan: process PEB 78
<7>UBI DBG (pid 732): ubi_scan: process PEB 79
<7>UBI DBG (pid 732): ubi_scan: process PEB 80
<7>UBI DBG (pid 732): ubi_scan: process PEB 81
<7>UBI DBG (pid 732): ubi_scan: process PEB 82
<7>UBI DBG (pid 732): ubi_scan: process PEB 83
<7>UBI DBG (pid 732): ubi_scan: process PEB 84
<7>UBI DBG (pid 732): ubi_scan: process PEB 85
<7>UBI DBG (pid 732): ubi_scan: process PEB 86
<7>UBI DBG (pid 732): ubi_scan: process PEB 87
<7>UBI DBG (pid 732): ubi_scan: process PEB 88
<7>UBI DBG (pid 732): ubi_scan: process PEB 89
<7>UBI DBG (pid 732): ubi_scan: process PEB 90
<7>UBI DBG (pid 732): ubi_scan: process PEB 91
<7>UBI DBG (pid 732): ubi_scan: process PEB 92
<7>UBI DBG (pid 732): ubi_scan: process PEB 93
<7>UBI DBG (pid 732): ubi_scan: process PEB 94
<7>UBI DBG (pid 732): ubi_scan: process PEB 95
<7>UBI DBG (pid 732): ubi_scan: process PEB 96
<7>UBI DBG (pid 732): ubi_scan: process PEB 97
<7>UBI DBG (pid 732): ubi_scan: process PEB 98
<7>UBI DBG (pid 732): ubi_scan: process PEB 99
<7>UBI DBG (pid 732): ubi_scan: process PEB 100
<7>UBI DBG (pid 732): ubi_scan: process PEB 101
<7>UBI DBG (pid 732): ubi_scan: process PEB 102
<7>UBI DBG (pid 732): ubi_scan: process PEB 103
<7>UBI DBG (pid 732): ubi_scan: process PEB 104
<7>UBI DBG (pid 732): ubi_scan: process PEB 105
<7>UBI DBG (pid 732): ubi_scan: process PEB 106
<7>UBI DBG (pid 732): ubi_scan: process PEB 107
<7>UBI DBG (pid 732): ubi_scan: process PEB 108
<7>UBI DBG (pid 732): ubi_scan: process PEB 109
<7>UBI DBG (pid 732): ubi_scan: process PEB 110
<7>UBI DBG (pid 732): ubi_scan: process PEB 111
<7>UBI DBG (pid 732): ubi_scan: process PEB 112
<7>UBI DBG (pid 732): ubi_scan: process PEB 113
<7>UBI DBG (pid 732): ubi_scan: process PEB 114
<7>UBI DBG (pid 732): ubi_scan: process PEB 115
<7>UBI DBG (pid 732): ubi_scan: process PEB 116
<7>UBI DBG (pid 732): ubi_scan: process PEB 117
<7>UBI DBG (pid 732): ubi_scan: process PEB 118
<7>UBI DBG (pid 732): ubi_scan: process PEB 119
<7>UBI DBG (pid 732): ubi_scan: process PEB 120
<7>UBI DBG (pid 732): ubi_scan: process PEB 121
<7>UBI DBG (pid 732): ubi_scan: process PEB 122
<7>UBI DBG (pid 732): ubi_scan: process PEB 123
<7>UBI DBG (pid 732): ubi_scan: process PEB 124
<7>UBI DBG (pid 732): ubi_scan: process PEB 125
<7>UBI DBG (pid 732): ubi_scan: process PEB 126
<7>UBI DBG (pid 732): ubi_scan: process PEB 127
<7>UBI DBG (pid 732): ubi_scan: process PEB 128
<7>UBI DBG (pid 732): ubi_scan: process PEB 129
<7>UBI DBG (pid 732): ubi_scan: process PEB 130
<7>UBI DBG (pid 732): ubi_scan: process PEB 131
<7>UBI DBG (pid 732): ubi_scan: process PEB 132
<7>UBI DBG (pid 732): ubi_scan: process PEB 133
<7>UBI DBG (pid 732): ubi_scan: process PEB 134
<7>UBI DBG (pid 732): ubi_scan: process PEB 135
<7>UBI DBG (pid 732): ubi_scan: process PEB 136
<7>UBI DBG (pid 732): ubi_scan: process PEB 137
<7>UBI DBG (pid 732): ubi_scan: process PEB 138
<7>UBI DBG (pid 732): ubi_scan: process PEB 139
<7>UBI DBG (pid 732): ubi_scan: process PEB 140
<7>UBI DBG (pid 732): ubi_scan: process PEB 141
<7>UBI DBG (pid 732): ubi_scan: process PEB 142
<7>UBI DBG (pid 732): ubi_scan: process PEB 143
<7>UBI DBG (pid 732): ubi_scan: process PEB 144
<7>UBI DBG (pid 732): ubi_scan: process PEB 145
<7>UBI DBG (pid 732): ubi_scan: process PEB 146
<7>UBI DBG (pid 732): ubi_scan: process PEB 147
<7>UBI DBG (pid 732): ubi_scan: process PEB 148
<7>UBI DBG (pid 732): ubi_scan: process PEB 149
<7>UBI DBG (pid 732): ubi_scan: process PEB 150
<7>UBI DBG (pid 732): ubi_scan: process PEB 151
<7>UBI DBG (pid 732): ubi_scan: process PEB 152
<7>UBI DBG (pid 732): ubi_scan: process PEB 153
<7>UBI DBG (pid 732): ubi_scan: process PEB 154
<7>UBI DBG (pid 732): ubi_scan: process PEB 155
<7>UBI DBG (pid 732): ubi_scan: process PEB 156
<7>UBI DBG (pid 732): ubi_scan: process PEB 157
<7>UBI DBG (pid 732): ubi_scan: process PEB 158
<7>UBI DBG (pid 732): ubi_scan: process PEB 159
<7>UBI DBG (pid 732): ubi_scan: process PEB 160
<7>UBI DBG (pid 732): ubi_scan: process PEB 161
<7>UBI DBG (pid 732): ubi_scan: process PEB 162
<7>UBI DBG (pid 732): ubi_scan: process PEB 163
<7>UBI DBG (pid 732): ubi_scan: process PEB 164
<7>UBI DBG (pid 732): ubi_scan: process PEB 165
<7>UBI DBG (pid 732): ubi_scan: process PEB 166
<7>UBI DBG (pid 732): ubi_scan: process PEB 167
<7>UBI DBG (pid 732): ubi_scan: process PEB 168
<7>UBI DBG (pid 732): ubi_scan: process PEB 169
<7>UBI DBG (pid 732): ubi_scan: process PEB 170
<7>UBI DBG (pid 732): ubi_scan: process PEB 171
<7>UBI DBG (pid 732): ubi_scan: process PEB 172
<7>UBI DBG (pid 732): ubi_scan: process PEB 173
<7>UBI DBG (pid 732): ubi_scan: process PEB 174
<7>UBI DBG (pid 732): ubi_scan: process PEB 175
<7>UBI DBG (pid 732): ubi_scan: process PEB 176
<7>UBI DBG (pid 732): ubi_scan: process PEB 177
<7>UBI DBG (pid 732): ubi_scan: process PEB 178
<7>UBI DBG (pid 732): ubi_scan: process PEB 179
<7>UBI DBG (pid 732): ubi_scan: process PEB 180
<7>UBI DBG (pid 732): ubi_scan: process PEB 181
<7>UBI DBG (pid 732): ubi_scan: process PEB 182
<7>UBI DBG (pid 732): ubi_scan: process PEB 183
<7>UBI DBG (pid 732): ubi_scan: process PEB 184
<7>UBI DBG (pid 732): ubi_scan: process PEB 185
<7>UBI DBG (pid 732): ubi_scan: process PEB 186
<7>UBI DBG (pid 732): ubi_scan: process PEB 187
<7>UBI DBG (pid 732): ubi_scan: process PEB 188
<7>UBI DBG (pid 732): ubi_scan: process PEB 189
<7>UBI DBG (pid 732): ubi_scan: process PEB 190
<7>UBI DBG (pid 732): ubi_scan: process PEB 191
<7>UBI DBG (pid 732): ubi_scan: process PEB 192
<7>UBI DBG (pid 732): ubi_scan: process PEB 193
<7>UBI DBG (pid 732): ubi_scan: process PEB 194
<7>UBI DBG (pid 732): ubi_scan: process PEB 195
<7>UBI DBG (pid 732): ubi_scan: process PEB 196
<7>UBI DBG (pid 732): ubi_scan: process PEB 197
<7>UBI DBG (pid 732): ubi_scan: process PEB 198
<7>UBI DBG (pid 732): ubi_scan: process PEB 199
<7>UBI DBG (pid 732): ubi_scan: process PEB 200
<7>UBI DBG (pid 732): ubi_scan: process PEB 201
<7>UBI DBG (pid 732): ubi_scan: process PEB 202
<7>UBI DBG (pid 732): ubi_scan: process PEB 203
<7>UBI DBG (pid 732): ubi_scan: process PEB 204
<7>UBI DBG (pid 732): ubi_scan: process PEB 205
<7>UBI DBG (pid 732): ubi_scan: process PEB 206
<7>UBI DBG (pid 732): ubi_scan: process PEB 207
<7>UBI DBG (pid 732): ubi_scan: process PEB 208
<7>UBI DBG (pid 732): ubi_scan: process PEB 209
<7>UBI DBG (pid 732): ubi_scan: process PEB 210
<7>UBI DBG (pid 732): ubi_scan: process PEB 211
<7>UBI DBG (pid 732): ubi_scan: process PEB 212
<7>UBI DBG (pid 732): ubi_scan: process PEB 213
<7>UBI DBG (pid 732): ubi_scan: process PEB 214
<7>UBI DBG (pid 732): ubi_scan: process PEB 215
<7>UBI DBG (pid 732): ubi_scan: process PEB 216
<7>UBI DBG (pid 732): ubi_scan: process PEB 217
<7>UBI DBG (pid 732): ubi_scan: process PEB 218
<7>UBI DBG (pid 732): ubi_scan: process PEB 219
<7>UBI DBG (pid 732): ubi_scan: process PEB 220
<7>UBI DBG (pid 732): ubi_scan: process PEB 221
<7>UBI DBG (pid 732): ubi_scan: process PEB 222
<7>UBI DBG (pid 732): ubi_scan: process PEB 223
<7>UBI DBG (pid 732): ubi_scan: process PEB 224
<7>UBI DBG (pid 732): ubi_scan: process PEB 225
<7>UBI DBG (pid 732): ubi_scan: process PEB 226
<7>UBI DBG (pid 732): ubi_scan: process PEB 227
<7>UBI DBG (pid 732): ubi_scan: process PEB 228
<7>UBI DBG (pid 732): ubi_scan: process PEB 229
<7>UBI DBG (pid 732): ubi_scan: process PEB 230
<7>UBI DBG (pid 732): ubi_scan: process PEB 231
<7>UBI DBG (pid 732): ubi_scan: process PEB 232
<7>UBI DBG (pid 732): ubi_scan: process PEB 233
<7>UBI DBG (pid 732): ubi_scan: process PEB 234
<7>UBI DBG (pid 732): ubi_scan: process PEB 235
<7>UBI DBG (pid 732): ubi_scan: process PEB 236
<7>UBI DBG (pid 732): ubi_scan: process PEB 237
<7>UBI DBG (pid 732): ubi_scan: process PEB 238
<7>UBI DBG (pid 732): ubi_scan: process PEB 239
<7>UBI DBG (pid 732): ubi_scan: process PEB 240
<7>UBI DBG (pid 732): ubi_scan: process PEB 241
<7>UBI DBG (pid 732): ubi_scan: process PEB 242
<7>UBI DBG (pid 732): ubi_scan: process PEB 243
<7>UBI DBG (pid 732): ubi_scan: process PEB 244
<7>UBI DBG (pid 732): ubi_scan: process PEB 245
<7>UBI DBG (pid 732): ubi_scan: process PEB 246
<7>UBI DBG (pid 732): ubi_scan: process PEB 247
<7>UBI DBG (pid 732): ubi_scan: process PEB 248
<7>UBI DBG (pid 732): ubi_scan: process PEB 249
<7>UBI DBG (pid 732): ubi_scan: process PEB 250
<7>UBI DBG (pid 732): ubi_scan: process PEB 251
<7>UBI DBG (pid 732): ubi_scan: process PEB 252
<7>UBI DBG (pid 732): ubi_scan: process PEB 253
<7>UBI DBG (pid 732): ubi_scan: process PEB 254
<7>UBI DBG (pid 732): ubi_scan: process PEB 255
<7>UBI DBG (pid 732): ubi_scan: process PEB 256
<7>UBI DBG (pid 732): ubi_scan: process PEB 257
<7>UBI DBG (pid 732): ubi_scan: process PEB 258
<7>UBI DBG (pid 732): ubi_scan: process PEB 259
<7>UBI DBG (pid 732): ubi_scan: process PEB 260
<7>UBI DBG (pid 732): ubi_scan: process PEB 261
<7>UBI DBG (pid 732): ubi_scan: process PEB 262
<7>UBI DBG (pid 732): ubi_scan: process PEB 263
<7>UBI DBG (pid 732): ubi_scan: process PEB 264
<7>UBI DBG (pid 732): ubi_scan: process PEB 265
<7>UBI DBG (pid 732): ubi_scan: process PEB 266
<7>UBI DBG (pid 732): ubi_scan: process PEB 267
<7>UBI DBG (pid 732): ubi_scan: process PEB 268
<7>UBI DBG (pid 732): ubi_scan: process PEB 269
<7>UBI DBG (pid 732): ubi_scan: process PEB 270
<7>UBI DBG (pid 732): ubi_scan: process PEB 271
<7>UBI DBG (pid 732): ubi_scan: process PEB 272
<7>UBI DBG (pid 732): ubi_scan: process PEB 273
<7>UBI DBG (pid 732): ubi_scan: process PEB 274
<7>UBI DBG (pid 732): ubi_scan: process PEB 275
<7>UBI DBG (pid 732): ubi_scan: process PEB 276
<7>UBI DBG (pid 732): ubi_scan: process PEB 277
<7>UBI DBG (pid 732): ubi_scan: process PEB 278
<7>UBI DBG (pid 732): ubi_scan: process PEB 279
<7>UBI DBG (pid 732): ubi_scan: process PEB 280
<7>UBI DBG (pid 732): ubi_scan: process PEB 281
<7>UBI DBG (pid 732): ubi_scan: process PEB 282
<7>UBI DBG (pid 732): ubi_scan: process PEB 283
<7>UBI DBG (pid 732): ubi_scan: process PEB 284
<7>UBI DBG (pid 732): ubi_scan: process PEB 285
<7>UBI DBG (pid 732): ubi_scan: process PEB 286
<7>UBI DBG (pid 732): ubi_scan: process PEB 287
<7>UBI DBG (pid 732): ubi_scan: process PEB 288
<7>UBI DBG (pid 732): ubi_scan: process PEB 289
<7>UBI DBG (pid 732): ubi_scan: process PEB 290
<7>UBI DBG (pid 732): ubi_scan: process PEB 291
<7>UBI DBG (pid 732): ubi_scan: process PEB 292
<7>UBI DBG (pid 732): ubi_scan: process PEB 293
<7>UBI DBG (pid 732): ubi_scan: process PEB 294
<7>UBI DBG (pid 732): ubi_scan: process PEB 295
<7>UBI DBG (pid 732): ubi_scan: process PEB 296
<7>UBI DBG (pid 732): ubi_scan: process PEB 297
<7>UBI DBG (pid 732): ubi_scan: process PEB 298
<7>UBI DBG (pid 732): ubi_scan: process PEB 299
<7>UBI DBG (pid 732): ubi_scan: process PEB 300
<7>UBI DBG (pid 732): ubi_scan: process PEB 301
<7>UBI DBG (pid 732): ubi_scan: process PEB 302
<7>UBI DBG (pid 732): ubi_scan: process PEB 303
<7>UBI DBG (pid 732): ubi_scan: process PEB 304
<7>UBI DBG (pid 732): ubi_scan: process PEB 305
<7>UBI DBG (pid 732): ubi_scan: process PEB 306
<7>UBI DBG (pid 732): ubi_scan: process PEB 307
<7>UBI DBG (pid 732): ubi_scan: process PEB 308
<7>UBI DBG (pid 732): ubi_scan: process PEB 309
<7>UBI DBG (pid 732): ubi_scan: process PEB 310
<7>UBI DBG (pid 732): ubi_scan: process PEB 311
<7>UBI DBG (pid 732): ubi_scan: process PEB 312
<7>UBI DBG (pid 732): ubi_scan: process PEB 313
<7>UBI DBG (pid 732): ubi_scan: process PEB 314
<7>UBI DBG (pid 732): ubi_scan: process PEB 315
<7>UBI DBG (pid 732): ubi_scan: process PEB 316
<7>UBI DBG (pid 732): ubi_scan: process PEB 317
<7>UBI DBG (pid 732): ubi_scan: process PEB 318
<7>UBI DBG (pid 732): ubi_scan: process PEB 319
<7>UBI DBG (pid 732): ubi_scan: process PEB 320
<7>UBI DBG (pid 732): ubi_scan: process PEB 321
<7>UBI DBG (pid 732): ubi_scan: process PEB 322
<7>UBI DBG (pid 732): ubi_scan: process PEB 323
<7>UBI DBG (pid 732): ubi_scan: process PEB 324
<7>UBI DBG (pid 732): ubi_scan: process PEB 325
<7>UBI DBG (pid 732): ubi_scan: process PEB 326
<7>UBI DBG (pid 732): ubi_scan: process PEB 327
<7>UBI DBG (pid 732): ubi_scan: process PEB 328
<7>UBI DBG (pid 732): ubi_scan: process PEB 329
<7>UBI DBG (pid 732): ubi_scan: process PEB 330
<7>UBI DBG (pid 732): ubi_scan: process PEB 331
<7>UBI DBG (pid 732): ubi_scan: process PEB 332
<7>UBI DBG (pid 732): ubi_scan: process PEB 333
<7>UBI DBG (pid 732): ubi_scan: process PEB 334
<7>UBI DBG (pid 732): ubi_scan: process PEB 335
<7>UBI DBG (pid 732): ubi_scan: process PEB 336
<7>UBI DBG (pid 732): ubi_scan: process PEB 337
<7>UBI DBG (pid 732): ubi_scan: process PEB 338
<7>UBI DBG (pid 732): ubi_scan: process PEB 339
<7>UBI DBG (pid 732): ubi_scan: process PEB 340
<7>UBI DBG (pid 732): ubi_scan: process PEB 341
<7>UBI DBG (pid 732): ubi_scan: process PEB 342
<7>UBI DBG (pid 732): ubi_scan: process PEB 343
<7>UBI DBG (pid 732): ubi_scan: process PEB 344
<7>UBI DBG (pid 732): ubi_scan: process PEB 345
<7>UBI DBG (pid 732): ubi_scan: process PEB 346
<7>UBI DBG (pid 732): ubi_scan: process PEB 347
<7>UBI DBG (pid 732): ubi_scan: process PEB 348
<7>UBI DBG (pid 732): ubi_scan: process PEB 349
<7>UBI DBG (pid 732): ubi_scan: process PEB 350
<7>UBI DBG (pid 732): ubi_scan: process PEB 351
<7>UBI DBG (pid 732): ubi_scan: process PEB 352
<7>UBI DBG (pid 732): ubi_scan: process PEB 353
<7>UBI DBG (pid 732): ubi_scan: process PEB 354
<7>UBI DBG (pid 732): ubi_scan: process PEB 355
<7>UBI DBG (pid 732): ubi_scan: process PEB 356
<7>UBI DBG (pid 732): ubi_scan: process PEB 357
<7>UBI DBG (pid 732): ubi_scan: process PEB 358
<7>UBI DBG (pid 732): ubi_scan: process PEB 359
<7>UBI DBG (pid 732): ubi_scan: process PEB 360
<7>UBI DBG (pid 732): ubi_scan: process PEB 361
<7>UBI DBG (pid 732): ubi_scan: process PEB 362
<7>UBI DBG (pid 732): ubi_scan: process PEB 363
<7>UBI DBG (pid 732): ubi_scan: process PEB 364
<7>UBI DBG (pid 732): ubi_scan: process PEB 365
<7>UBI DBG (pid 732): ubi_scan: process PEB 366
<7>UBI DBG (pid 732): ubi_scan: process PEB 367
<7>UBI DBG (pid 732): ubi_scan: process PEB 368
<7>UBI DBG (pid 732): ubi_scan: process PEB 369
<7>UBI DBG (pid 732): ubi_scan: process PEB 370
<7>UBI DBG (pid 732): ubi_scan: process PEB 371
<7>UBI DBG (pid 732): ubi_scan: process PEB 372
<7>UBI DBG (pid 732): ubi_scan: process PEB 373
<7>UBI DBG (pid 732): ubi_scan: process PEB 374
<7>UBI DBG (pid 732): ubi_scan: process PEB 375
<7>UBI DBG (pid 732): ubi_scan: process PEB 376
<7>UBI DBG (pid 732): ubi_scan: process PEB 377
<7>UBI DBG (pid 732): ubi_scan: process PEB 378
<7>UBI DBG (pid 732): ubi_scan: process PEB 379
<7>UBI DBG (pid 732): ubi_scan: process PEB 380

<7>UBI DBG (pid 732): ubi_scan: process PEB 381
<7>UBI DBG (pid 732): ubi_scan: process PEB 382
<7>UBI DBG (pid 732): ubi_scan: process PEB 383
<7>UBI DBG (pid 732): ubi_scan: process PEB 384
<7>UBI DBG (pid 732): ubi_scan: process PEB 385
<7>UBI DBG (pid 732): ubi_scan: process PEB 386
<7>UBI DBG (pid 732): ubi_scan: process PEB 387
<7>UBI DBG (pid 732): ubi_scan: process PEB 388
<7>UBI DBG (pid 732): ubi_scan: process PEB 389
<7>UBI DBG (pid 732): ubi_scan: process PEB 390
<7>UBI DBG (pid 732): ubi_scan: process PEB 391
<7>UBI DBG (pid 732): ubi_scan: process PEB 392
<7>UBI DBG (pid 732): ubi_scan: process PEB 393
<7>UBI DBG (pid 732): ubi_scan: process PEB 394
<7>UBI DBG (pid 732): ubi_scan: process PEB 395
<7>UBI DBG (pid 732): ubi_scan: process PEB 396
<7>UBI DBG (pid 732): ubi_scan: process PEB 397
<7>UBI DBG (pid 732): ubi_scan: process PEB 398
<7>UBI DBG (pid 732): ubi_scan: process PEB 399
<7>UBI DBG (pid 732): ubi_scan: process PEB 400
<7>UBI DBG (pid 732): ubi_scan: process PEB 401
<7>UBI DBG (pid 732): ubi_scan: process PEB 402
<7>UBI DBG (pid 732): ubi_scan: process PEB 403
<7>UBI DBG (pid 732): ubi_scan: process PEB 404
<7>UBI DBG (pid 732): ubi_scan: process PEB 405
<7>UBI DBG (pid 732): ubi_scan: process PEB 406
<7>UBI DBG (pid 732): ubi_scan: process PEB 407
<7>UBI DBG (pid 732): ubi_scan: process PEB 408
<7>UBI DBG (pid 732): ubi_scan: process PEB 409
<7>UBI DBG (pid 732): ubi_scan: process PEB 410
<7>UBI DBG (pid 732): ubi_scan: process PEB 411
<7>UBI DBG (pid 732): ubi_scan: process PEB 412
<7>UBI DBG (pid 732): ubi_scan: process PEB 413
<7>UBI DBG (pid 732): ubi_scan: process PEB 414
<7>UBI DBG (pid 732): ubi_scan: process PEB 415
<7>UBI DBG (pid 732): ubi_scan: process PEB 416
<7>UBI DBG (pid 732): ubi_scan: process PEB 417
<7>UBI DBG (pid 732): ubi_scan: process PEB 418
<7>UBI DBG (pid 732): ubi_scan: process PEB 419
<7>UBI DBG (pid 732): ubi_scan: process PEB 420
<7>UBI DBG (pid 732): ubi_scan: process PEB 421
<7>UBI DBG (pid 732): ubi_scan: process PEB 422
<7>UBI DBG (pid 732): ubi_scan: process PEB 423
<7>UBI DBG (pid 732): ubi_scan: process PEB 424
<7>UBI DBG (pid 732): ubi_scan: process PEB 425
<7>UBI DBG (pid 732): ubi_scan: process PEB 426
<7>UBI DBG (pid 732): ubi_scan: process PEB 427
<7>UBI DBG (pid 732): ubi_scan: process PEB 428
<7>UBI DBG (pid 732): ubi_scan: process PEB 429
<7>UBI DBG (pid 732): ubi_scan: process PEB 430
<7>UBI DBG (pid 732): ubi_scan: process PEB 431
<7>UBI DBG (pid 732): ubi_scan: process PEB 432
<7>UBI DBG (pid 732): ubi_scan: process PEB 433
<7>UBI DBG (pid 732): ubi_scan: process PEB 434
<7>UBI DBG (pid 732): ubi_scan: process PEB 435
<7>UBI DBG (pid 732): ubi_scan: process PEB 436
<7>UBI DBG (pid 732): ubi_scan: process PEB 437
<7>UBI DBG (pid 732): ubi_scan: process PEB 438
<7>UBI DBG (pid 732): ubi_scan: process PEB 439
<7>UBI DBG (pid 732): ubi_scan: process PEB 440
<7>UBI DBG (pid 732): ubi_scan: process PEB 441
<7>UBI DBG (pid 732): ubi_scan: process PEB 442
<7>UBI DBG (pid 732): ubi_scan: process PEB 443
<7>UBI DBG (pid 732): ubi_scan: process PEB 444
<7>UBI DBG (pid 732): ubi_scan: process PEB 445
<7>UBI DBG (pid 732): ubi_scan: process PEB 446
<7>UBI DBG (pid 732): ubi_scan: process PEB 447
<7>UBI DBG (pid 732): ubi_scan: process PEB 448
<7>UBI DBG (pid 732): ubi_scan: process PEB 449
<7>UBI DBG (pid 732): ubi_scan: process PEB 450
<7>UBI DBG (pid 732): ubi_scan: process PEB 451
<7>UBI DBG (pid 732): ubi_scan: process PEB 452
<7>UBI DBG (pid 732): ubi_scan: process PEB 453
<7>UBI DBG (pid 732): ubi_scan: process PEB 454
<7>UBI DBG (pid 732): ubi_scan: process PEB 455
<7>UBI DBG (pid 732): ubi_scan: process PEB 456
<7>UBI DBG (pid 732): ubi_scan: process PEB 457
<7>UBI DBG (pid 732): ubi_scan: process PEB 458
<7>UBI DBG (pid 732): ubi_scan: process PEB 459
<7>UBI DBG (pid 732): ubi_scan: process PEB 460
<7>UBI DBG (pid 732): ubi_scan: process PEB 461
<6>Block 2936 is factory bad in chip 0, offset = 16f00000
<7>UBI DBG (pid 732): ubi_scan: process PEB 462
<7>UBI DBG (pid 732): ubi_scan: process PEB 463
<7>UBI DBG (pid 732): ubi_scan: process PEB 464
<7>UBI DBG (pid 732): ubi_scan: process PEB 465
<7>UBI DBG (pid 732): ubi_scan: process PEB 466
<7>UBI DBG (pid 732): ubi_scan: process PEB 467
<7>UBI DBG (pid 732): ubi_scan: process PEB 468
<7>UBI DBG (pid 732): ubi_scan: process PEB 469
<7>UBI DBG (pid 732): ubi_scan: process PEB 470
<7>UBI DBG (pid 732): ubi_scan: process PEB 471
<7>UBI DBG (pid 732): ubi_scan: process PEB 472
<7>UBI DBG (pid 732): ubi_scan: process PEB 473
<7>UBI DBG (pid 732): ubi_scan: process PEB 474
<7>UBI DBG (pid 732): ubi_scan: process PEB 475
<7>UBI DBG (pid 732): ubi_scan: process PEB 476
<7>UBI DBG (pid 732): ubi_scan: process PEB 477
<7>UBI DBG (pid 732): ubi_scan: process PEB 478
<7>UBI DBG (pid 732): ubi_scan: process PEB 479
<7>UBI DBG (pid 732): ubi_scan: process PEB 480
<7>UBI DBG (pid 732): ubi_scan: process PEB 481
<7>UBI DBG (pid 732): ubi_scan: process PEB 482
<7>UBI DBG (pid 732): ubi_scan: process PEB 483
<7>UBI DBG (pid 732): ubi_scan: process PEB 484
<7>UBI DBG (pid 732): ubi_scan: process PEB 485
<7>UBI DBG (pid 732): ubi_scan: process PEB 486
<7>UBI DBG (pid 732): ubi_scan: process PEB 487
<7>UBI DBG (pid 732): ubi_scan: process PEB 488
<7>UBI DBG (pid 732): ubi_scan: process PEB 489
<7>UBI DBG (pid 732): ubi_scan: process PEB 490
<7>UBI DBG (pid 732): ubi_scan: process PEB 491
<7>UBI DBG (pid 732): ubi_scan: process PEB 492
<7>UBI DBG (pid 732): ubi_scan: process PEB 493
<7>UBI DBG (pid 732): ubi_scan: process PEB 494
<7>UBI DBG (pid 732): ubi_scan: process PEB 495
<7>UBI DBG (pid 732): ubi_scan: process PEB 496
<7>UBI DBG (pid 732): ubi_scan: process PEB 497
<7>UBI DBG (pid 732): ubi_scan: process PEB 498
<7>UBI DBG (pid 732): ubi_scan: process PEB 499
<7>UBI DBG (pid 732): ubi_scan: process PEB 500
<7>UBI DBG (pid 732): ubi_scan: process PEB 501
<7>UBI DBG (pid 732): ubi_scan: process PEB 502
<7>UBI DBG (pid 732): ubi_scan: process PEB 503
<7>UBI DBG (pid 732): ubi_scan: process PEB 504
<7>UBI DBG (pid 732): ubi_scan: process PEB 505
<7>UBI DBG (pid 732): ubi_scan: process PEB 506
<7>UBI DBG (pid 732): ubi_scan: process PEB 507
<7>UBI DBG (pid 732): ubi_scan: process PEB 508
<7>UBI DBG (pid 732): ubi_scan: process PEB 509
<7>UBI DBG (pid 732): ubi_scan: process PEB 510
<7>UBI DBG (pid 732): ubi_scan: process PEB 511
<7>UBI DBG (pid 732): ubi_scan: scanning is finished
<6>Block 2540 is factory bad in chip 0, offset = 13d80000
<6>Block 2541 is factory bad in chip 0, offset = 13da0000
<6>Block 2936 is factory bad in chip 0, offset = 16f00000
<7>UBI DBG (pid 732): process_lvol: check layout volume
<7>UBI DBG (pid 732): ubi_resize_volume: re-size device 0, volume 2 to
from 133 to 234 PEBs
<5>UBI: volume 2 ("userdata") re-sized from 133 to 234 LEBs
<7>UBI DBG (pid 732): uif_init: ubi0 major is 249
<7>UBI DBG (pid 732): ubi_add_volume: add volume 0
<7>UBI DBG (pid 732): ubi_add_volume: add volume 1
<7>UBI DBG (pid 732): ubi_add_volume: add volume 2
<5>UBI: attached mtd5 to ubi0
<5>UBI: MTD device name:            "ubi"
<5>UBI: MTD device size:            64 MiB
<5>UBI: number of good PEBs:        509
<5>UBI: number of bad PEBs:         3
<5>UBI: max. allowed volumes:       128
<5>UBI: wear-leveling threshold:    4096
<5>UBI: number of internal volumes: 1
<5>UBI: number of user volumes:     3
<5>UBI: available PEBs:             0
<5>UBI: total number of reserved PEBs: 509
<5>UBI: number of PEBs reserved for bad PEB handling: 5
<5>UBI: max/mean erase counter: 1/0
<5>UBI: image sequence number: 506431851
<5>UBI: background thread "ubi_bgt0d" started, PID 737
<7>UBIFS DBG (pid 763): ubifs_get_sb: name ubi0_0, flags 0x8000
<7>UBI DBG (pid 763): ubi_open_volume_path: open volume ubi0_0, mode 1
<7>UBI DBG (pid 763): ubi_open_volume: open device 0, volume 0, mode 1
<7>UBIFS DBG (pid 763): ubifs_get_sb: opened ubi0_0
<7>UBI DBG (pid 763): ubi_open_volume: open device 0, volume 0, mode 2
<7>UBI DBG (pid 763): ubi_is_mapped: test LEB 0:0
<7>UBIFS DBG (pid 763): ubifs_read_node: LEB 0:0, superblock node, length 4096
<7>UBI DBG (pid 763): ubi_leb_read: read 4096 bytes from LEB 0:0:0
<7>UBIFS DBG (pid 763): ubifs_read_superblock: Auto resizing (sb) from
64 LEBs to 128 LEBs
<7>UBI DBG (pid 763): ubi_leb_change: atomically write 4096 bytes to LEB 0:0
<7>UBIFS DBG (pid 763): ubifs_start_scan: scan LEB 1:0
<7>UBI DBG (pid 763): ubi_leb_read: read 126976 bytes from LEB 0:1:0
<7>UBIFS DBG (pid 765): ubifs_bg_thread: background thread
"ubifs_bgt0_0" started, PID 765
<7>UBIFS DBG (pid 763): ubifs_scan: look at LEB 1:0 (126976 bytes left)
<7>UBIFS DBG (pid 763): ubifs_scan_a_node: scanning master node
<7>UBIFS DBG (pid 763): ubifs_scan: look at LEB 1:512 (126464 bytes left)
<7>UBIFS DBG (pid 763): ubifs_scan_a_node: scanning padding node
<7>UBIFS DBG (pid 763): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
<7>UBIFS DBG (pid 763): ubifs_scan: look at LEB 1:2048 (124928 bytes left)
<7>UBIFS DBG (pid 763): ubifs_scan_a_node: hit empty space
<7>UBIFS DBG (pid 763): ubifs_end_scan: stop scanning LEB 1 at offset 2048
<7>UBIFS DBG (pid 763): ubifs_start_scan: scan LEB 2:0
<7>UBI DBG (pid 763): ubi_leb_read: read 126976 bytes from LEB 0:2:0
<7>UBIFS DBG (pid 763): ubifs_scan: look at LEB 2:0 (126976 bytes left)
<7>UBIFS DBG (pid 763): ubifs_scan_a_node: scanning master node
<7>UBIFS DBG (pid 763): ubifs_scan: look at LEB 2:512 (126464 bytes left)
<7>UBIFS DBG (pid 763): ubifs_scan_a_node: scanning padding node
<7>UBIFS DBG (pid 763): ubifs_scan_a_node: 1508 bytes padded, offset now 2048
<7>UBIFS DBG (pid 763): ubifs_scan: look at LEB 2:2048 (124928 bytes left)
<7>UBIFS DBG (pid 763): ubifs_scan_a_node: hit empty space
<7>UBIFS DBG (pid 763): ubifs_end_scan: stop scanning LEB 2 at offset 2048
<7>UBIFS DBG (pid 763): ubifs_read_master: Auto resizing (master) from
64 LEBs to 128 LEBs
<7>UBIFS DBG (pid 763): ubifs_read_node: LEB 63:74888, indexing node, length 148
<7>UBI DBG (pid 763): ubi_leb_read: read 148 bytes from LEB 0:63:74888
<7>UBIFS DBG (pid 763): ubifs_write_node: LEB 1:2048, master node,
length 512 (aligned 2048)
<7>UBI DBG (pid 763): ubi_leb_write: write 2048 bytes to LEB 0:1:2048
<3>UBI error: ubi_io_read: error -22 while reading 2048 bytes from PEB
3:6144, read 0 bytes

 Backtrace:
 [<c002daac>]
(dump_backtrace+0x0/0x10c)
from [<c039eb48>]
(dump_stack+0x18/0x1c)
 r7:00000800
 r6:db100800
 r5:ffffffea
 r4:00000800

 [<c039eb30>]
(dump_stack+0x0/0x1c)
from [<c02b0684>]
(ubi_io_read+0x160/0x284)
 [<c02b0524>]
(ubi_io_read+0x0/0x284)
from [<c02b07f4>]
(ubi_dbg_check_write+0x4c/0x19c)
 [<c02b07a8>]
(ubi_dbg_check_write+0x0/0x19c)
from [<c02b0f98>]
(ubi_io_write+0x12c/0x3dc)
 [<c02b0e6c>]
(ubi_io_write+0x0/0x3dc)
from [<c02ae9dc>]
(ubi_eba_write_leb+0x90/0x840)
 [<c02ae94c>]
(ubi_eba_write_leb+0x0/0x840)
from [<c02ace28>]
(ubi_leb_write+0x134/0x140)
 [<c02accf4>]
(ubi_leb_write+0x0/0x140)
from [<c01b1d3c>]
(dbg_leb_write+0x128/0x140)
 [<c01b1c14>]
(dbg_leb_write+0x0/0x140)
from [<c018ad94>]
(ubifs_write_node+0xd4/0x210)
 [<c018acc0>]
(ubifs_write_node+0x0/0x210)
from [<c0190c64>]
(ubifs_write_master+0xac/0x15c)
 [<c0190bb8>]
(ubifs_write_master+0x0/0x15c)
from [<c0185e04>]
(ubifs_fill_super+0xbfc/0x1a80)
 r7:00000070
 r6:db085008
 r5:db085000
 r4:00000000


 [<c0185208>]
(ubifs_fill_super+0x0/0x1a80)
from [<c0186d74>]
(ubifs_get_sb+0xec/0x36c)
 [<c0186c88>]
(ubifs_get_sb+0x0/0x36c)
from [<c00ff488>]
(vfs_kern_mount+0x58/0xac)
 [<c00ff430>]
(vfs_kern_mount+0x0/0xac)
from [<c00ff538>]
(do_kern_mount+0x3c/0xdc)
 r8:00008000
 r7:db08f000
 r6:00000000
 r5:dbad1000
 r4:c04d5d58

 [<c00ff4fc>]
(do_kern_mount+0x0/0xdc)
from [<c0116df0>]
(do_mount+0x16c/0x76c)
 r9:00000000
 r8:00008000
 r7:dbad1000
 r6:db08f000
 r5:00000000
 r4:00000000



 [<c0116c84>]
(do_mount+0x0/0x76c)
from [<c0117480>]
(sys_mount+0x90/0xdc)
 [<c01173f0>]
(sys_mount+0x0/0xdc)
from [<c0029b80>]
(ret_fast_syscall+0x0/0x2c)
 r7:00000015
 r6:afe47470
 r5:00000104
 r4:00000000

 <4>UBI warning: ubi_eba_write_leb: failed to write data to PEB 3
 <4>UBI warning: ubi_ro_mode: switch to read-only mode
 <3>UBIFS error (pid 763): ubifs_write_node: cannot write 2048 bytes
to LEB 1:2048, error -22

<7>	magic          0x6101831
<7>	crc            0xfd668bb6
<7>	node_type      7 (master node)
<7>	group_type     0 (no node group)
<7>	sqnum          3342
<7>	len            512
<7>	highest_inum   276
<7>	commit number  0
<7>	flags          0x3
<7>	log_lnum       3
<7>	root_lnum      63
<7>	root_offs      74888
<7>	root_len       148
<7>	gc_lnum        62
<7>	ihead_lnum     63
<7>	ihead_offs     75776
<7>	index_size     75040
<7>	lpt_lnum       7
<7>	lpt_offs       298
<7>	nhead_lnum     7
<7>	nhead_offs     2048
<7>	ltab_lnum      7
<7>	ltab_offs      310
<7>	lsave_lnum     0
<7>	lsave_offs     0
<7>	lscan_lnum     10
<7>	leb_cnt        128
<7>	empty_lebs     65
<7>	idx_lebs       1
<7>	total_free     8345600
<7>	total_dirty    42592
<7>	total_used     6519936
<7>	total_dead     30120
<7>	total_dark     451432

 Backtrace:
 [<c002daac>]
(dump_backtrace+0x0/0x10c)
from [<c039eb48>]
(dump_stack+0x18/0x1c)
 r7:ffffffea
 r6:00000001
 r5:00000800
 r4:db085000

 [<c039eb30>]
(dump_stack+0x0/0x1c)
from [<c018ade8>]
(ubifs_write_node+0x128/0x210)
 [<c018acc0>]
(ubifs_write_node+0x0/0x210)
from [<c0190c64>]
(ubifs_write_master+0xac/0x15c)
 [<c0190bb8>]
(ubifs_write_master+0x0/0x15c)
from [<c0185e04>]
(ubifs_fill_super+0xbfc/0x1a80)
 r7:00000070
 r6:db085008
 r5:db085000
 r4:00000000

 [<c0185208>]
(ubifs_fill_super+0x0/0x1a80)
from [<c0186d74>]
(ubifs_get_sb+0xec/0x36c)
 [<c0186c88>]
(ubifs_get_sb+0x0/0x36c)
from [<c00ff488>]
(vfs_kern_mount+0x58/0xac)
 [<c00ff430>]
(vfs_kern_mount+0x0/0xac)
from [<c00ff538>]
(do_kern_mount+0x3c/0xdc)
 r8:00008000
 r7:db08f000
 r6:00000000
 r5:dbad1000
 r4:c04d5d58

 [<c00ff4fc>]
(do_kern_mount+0x0/0xdc)
from [<c0116df0>]
(do_mount+0x16c/0x76c)
 r9:00000000
 r8:00008000
 r7:dbad1000
 r6:db08f000
 r5:00000000
 r4:00000000

 [<c0116c84>]
(do_mount+0x0/0x76c)
from [<c0117480>]
(sys_mount+0x90/0xdc)
 [<c01173f0>]
(sys_mount+0x0/0xdc)
from [<c0029b80>]
(ret_fast_syscall+0x0/0x2c)
 r7:00000015
 r6:afe47470
 r5:00000104
 r4:00000000

<7>UBIFS DBG (pid 765): ubifs_bg_thread: background thread "ubifs_bgt0_0" stops
<7>UBI DBG (pid 763): ubi_close_volume: close device 0, volume 0, mode 2
<7>UBI DBG (pid 763): ubi_close_volume: close device 0, volume 0, mode 1


ÔÚ 2010Äê5ÔÂ4ÈÕÉÏÎç11:20£¬ÁÖÓÚ¾þ <okpalin@gmail.com> Œ‘µÀ£º
> Dear all,
>
> I find the root cause: bootloader
>
> UBI image, written by bootloader, could not be mount.
> UBI image, written by ubiformat command, could be mount correctly.
>
> I guess that bootloader may not write ubi image correctly.
> I will port ubiformat in bootloader.
>
> Thank you,
> Best regards,
>
> 2010/5/3 Artem Bityutskiy <dedekind1@gmail.com>:
>> On Mon, 2010-05-03 at 19:54 +0800, ÁÖÓÚ¾þ wrote:
>>> Dear all,
>>>
>>> Thank you for your support.
>>> I can mount UBIFS now after fixing mtd read function.
>>>
>>> However, if I enable the "extra checks" of UBI and UBIFS, then I can
>>> not mount UBIFS.
>>> What's the different after enable "extra checks" of UBI and UBIFS.
>>
>> Well, these are various self-checks. There are many of them and they are
>> different. E.g., in UBI some of them read flash before every writing and
>> make sure the area contains all 0xFF bytes. In UBIFS this can be walking
>> through the whole index tree and checks it. There are many of them and
>> they are different.
>>
>> If things stop working for you when you enable all checks, this either
>> means a bug in the debugging code or a real problem. Please, post your
>> error report. Use this guide:
>>
>> http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport
>>
>> --
>> Best Regards,
>> Artem Bityutskiy (§¡§â§ä§×§Þ §¢§Ú§ä§ð§è§Ü§Ú§Û)
>>
>>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-05-11  3:46                 ` 林于峻
@ 2010-05-11  5:44                   ` Artem Bityutskiy
  2010-05-12  1:18                     ` 林于峻
  0 siblings, 1 reply; 16+ messages in thread
From: Artem Bityutskiy @ 2010-05-11  5:44 UTC (permalink / raw)
  To: 林于峻; +Cc: linux-mtd, Bosi Daniele, GUIDA Nicola

On Tue, 2010-05-11 at 11:46 +0800, 林于峻 wrote:
> Dear all,
> 
> I have modified bootloader to download image as ubiformat does.
> However, I still can not mount it.
> I also dump the content of mtd partition and compare.
> (Ex: dd if=/dev/block/mtdblock5 of=/data/mtd5bak)
> No difference between the content written by bootloader and written by
> ubiformat.
> 
... snip ...

> <3>UBI error: ubi_io_read: error -22 while reading 2048 bytes from PEB
> 3:6144, read 0 bytes

Well, find out why your driver returns -EINVAL and read count 0 when you
read 2048 bytes from PEB 3 on this partition, and offset 6144. Dig the
driver.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-05-11  5:44                   ` Artem Bityutskiy
@ 2010-05-12  1:18                     ` 林于峻
  2010-05-12  3:30                       ` Artem Bityutskiy
  0 siblings, 1 reply; 16+ messages in thread
From: 林于峻 @ 2010-05-12  1:18 UTC (permalink / raw)
  To: dedekind1; +Cc: linux-mtd, Bosi Daniele, GUIDA Nicola

Dear Sir,

I am very confused.
If the driver has some problems, why images written by ubiformat can work well?
Images written by bootloader or ubiformat should have the same
problem, if the driver is wrong.

Thank you,
Best regards,

2010/5/11 Artem Bityutskiy <dedekind1@gmail.com>:
> On Tue, 2010-05-11 at 11:46 +0800, 林于峻 wrote:
>> Dear all,
>>
>> I have modified bootloader to download image as ubiformat does.
>> However, I still can not mount it.
>> I also dump the content of mtd partition and compare.
>> (Ex: dd if=/dev/block/mtdblock5 of=/data/mtd5bak)
>> No difference between the content written by bootloader and written by
>> ubiformat.
>>
> ... snip ...
>
>> <3>UBI error: ubi_io_read: error -22 while reading 2048 bytes from PEB
>> 3:6144, read 0 bytes
>
> Well, find out why your driver returns -EINVAL and read count 0 when you
> read 2048 bytes from PEB 3 on this partition, and offset 6144. Dig the
> driver.
>
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can not mount UBIFS
  2010-05-12  1:18                     ` 林于峻
@ 2010-05-12  3:30                       ` Artem Bityutskiy
  0 siblings, 0 replies; 16+ messages in thread
From: Artem Bityutskiy @ 2010-05-12  3:30 UTC (permalink / raw)
  To: 林于峻; +Cc: linux-mtd, Bosi Daniele, GUIDA Nicola

On Wed, 2010-05-12 at 09:18 +0800, 林于峻 wrote:
> Dear Sir,
> 
> I am very confused.
> If the driver has some problems, why images written by ubiformat can work well?
> Images written by bootloader or ubiformat should have the same
> problem, if the driver is wrong.

I do not know. May be this is not a driver problem. May be you write
twice to the same page? Just dig your driver, insert printks and find
out where exactly it decides to return error.
-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-05-12  3:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11  7:43 Can not mount UBIFS 林于峻
2010-03-11 10:48 ` R: " Bosi Daniele
2010-03-11 12:33   ` 林于峻
2010-03-11 13:09     ` R: " Bosi Daniele
2010-03-16  8:13       ` 林于峻
2010-03-16  9:22         ` 林于峻
2010-04-06  9:00         ` Artem Bityutskiy
2010-05-03 11:54           ` 林于峻
2010-05-03 12:08             ` Artem Bityutskiy
2010-05-04  3:20               ` 林于峻
2010-05-11  3:46                 ` 林于峻
2010-05-11  5:44                   ` Artem Bityutskiy
2010-05-12  1:18                     ` 林于峻
2010-05-12  3:30                       ` Artem Bityutskiy
2010-04-06  8:48 ` Artem Bityutskiy
     [not found] <mailman.11633.1268310802.2173.linux-mtd@lists.infradead.org>
2010-03-11 13:06 ` GUIDA, Nicola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).