Guest User

Untitled

a guest
Aug 18th, 2015
187
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~ # cat /init.log
  2. + echo Running Mer Boat Loader
  3. Running Mer Boat Loader
  4. + BOOTLOGO=
  5. + ALWAYSDEBUG=
  6. + DATA_PARTITION=/dev/mmcblk0p28
  7. + DEFAULT_OS=sailfishos
  8. + export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  9. + USB_FUNCTIONS=rndis
  10. + ANDROID_USB=/sys/class/android_usb/android0
  11. + LOCAL_IP=192.168.2.15
  12. + DONE_SWITCH=no
  13. + [ /init = /init-debug ]
  14. + [ no = no ]
  15. + EXPLICIT_BUSYBOX=
  16. + TELNET_DEBUG_PORT=23
  17. + /bin/busybox --install -s
  18. + date
  19. Segmentation fault
  20. + do_mount_devprocsys
  21. + echo ########################## mounting devprocsys
  22. ########################## mounting devprocsys
  23. + mkdir /dev
  24. mkdir: can't create directory '/dev': File exists
  25. + mount -t devtmpfs devtmpfs /dev
  26. + mkdir /dev/pts
  27. + mount -t devpts devpts /dev/pts
  28. + mkdir /proc
  29. + mkdir /sys
  30. + mount -t sysfs sysfs /sys
  31. + mount -t proc proc /proc
  32. + do_hotplug_scan
  33. + echo /sbin/mdev
  34. + mdev -s
  35. mdev: /sys/class/input/input3/attn: No such file or directory
  36. + sleep 2
  37. + ln -s . /dev/block
  38. + ln -s /proc/mounts /etc/mtab
  39. + check_kernel_config
  40. + echo Checking kernel config
  41. Checking kernel config
  42. + [ ! -e /proc/config.gz ]
  43. + zcat /proc/config.gz
  44. + grep -E ^CONFIG_CGROUPS=y$
  45. CONFIG_CGROUPS=y
  46. + zcat /proc/config.gz
  47. + grep -E ^CONFIG_AUTOFS4_FS=y$
  48. CONFIG_AUTOFS4_FS=y
  49. + zcat /proc/config.gz
  50. + grep -E ^CONFIG_DEVTMPFS_MOUNT=y$
  51. CONFIG_DEVTMPFS_MOUNT=y
  52. + zcat /proc/config.gz
  53. + grep -E ^CONFIG_DEVTMPFS=y$
  54. CONFIG_DEVTMPFS=y
  55. + zcat /proc/config.gz
  56. + grep -E ^CONFIG_UNIX=y$
  57. CONFIG_UNIX=y
  58. + zcat /proc/config.gz
  59. + grep -E ^CONFIG_HOTPLUG=y$
  60. CONFIG_HOTPLUG=y
  61. + zcat /proc/config.gz
  62. + grep -E ^CONFIG_INOTIFY_USER=y$
  63. CONFIG_INOTIFY_USER=y
  64. + zcat /proc/config.gz
  65. + grep -E ^CONFIG_SYSVIPC=y$
  66. CONFIG_SYSVIPC=y
  67. + zcat /proc/config.gz
  68. + grep -E ^CONFIG_NET=y$
  69. CONFIG_NET=y
  70. + zcat /proc/config.gz
  71. + grep -E ^CONFIG_PROC_FS=y$
  72. CONFIG_PROC_FS=y
  73. + zcat /proc/config.gz
  74. + grep -E ^CONFIG_SIGNALFD=y$
  75. CONFIG_SIGNALFD=y
  76. + zcat /proc/config.gz
  77. + grep -E ^CONFIG_SYSFS=y$
  78. CONFIG_SYSFS=y
  79. + zcat /proc/config.gz
  80. + grep -E ^CONFIG_TMPFS_POSIX_ACL=y$
  81. CONFIG_TMPFS_POSIX_ACL=y
  82. + zcat /proc/config.gz
  83. + grep -E ^CONFIG_VT=y$
  84. CONFIG_VT=y
  85. + zcat /proc/config.gz
  86. + grep -E ^CONFIG_ANDROID_LOW_MEMORY_KILLER=y$
  87. + zcat /proc/config.gz
  88. + grep -E ^CONFIG_ANDROID_PARANOID_NETWORK=y$
  89. + zcat /proc/config.gz
  90. + grep -E ^CONFIG_DUMMY=y$
  91. + zcat /proc/config.gz
  92. + grep -E ^CONFIG_SYSFS_DEPRECATED=y$
  93. + bootsplash
  94. + [ x = x1 ]
  95. + mount_stowaways
  96. + echo ########################## mounting stowaways
  97. ########################## mounting stowaways
  98. + [ ! -z /dev/mmcblk0p28 ]
  99. + get_opt data_subdir
  100. + cat /proc/cmdline
  101. + echo sec_log=0x100000@0xffe00008
  102. + grep ^data_subdir=*
  103. + cut -d= -f2
  104. + echo sec_dbg=0x80000@0xfff00008
  105. + grep ^data_subdir=*
  106. + cut -d= -f2
  107. + echo sec_debug.reset_reason=0x1a2b3c00
  108. + grep ^data_subdir=*
  109. + cut -d= -f2
  110. + echo androidboot.warranty_bit=1
  111. + grep ^data_subdir=*
  112. + cut -d= -f2
  113. + echo lcd_attached=1
  114. + grep ^data_subdir=*
  115. + cut -d= -f2
  116. + echo lcd_id=0x408047
  117. + grep ^data_subdir=*
  118. + cut -d= -f2
  119. + echo androidboot.debug_level=0x4f4c
  120. + grep ^data_subdir=*
  121. + cut -d= -f2
  122. + echo sec_debug.enable=0
  123. + grep ^data_subdir=*
  124. + cut -d= -f2
  125. + echo sec_debug.enable_user=0
  126. + grep ^data_subdir=*
  127. + cut -d= -f2
  128. + echo androidboot.cp_debug_level=0x55FF
  129. + grep ^data_subdir=*
  130. + cut -d= -f2
  131. + echo sec_debug.enable_cp_debug=0
  132. + grep ^data_subdir=*
  133. + cut -d= -f2
  134. + echo cordon=47e19dd9c16a2e8a67c2e8cdb60d9844
  135. + grep ^data_subdir=*
  136. + cut -d= -f2
  137. + echo connie=GT-I9505_OPEN_EUR_aff5cd16375777df2483355c06392344
  138. + grep ^data_subdir=*
  139. + cut -d= -f2
  140. + echo lpj=67678
  141. + grep ^data_subdir=*
  142. + cut -d= -f2
  143. + echo loglevel=4
  144. + grep ^data_subdir=*
  145. + cut -d= -f2
  146. + echo samsung.hardware=GT-I9505
  147. + grep ^data_subdir=*
  148. + cut -d= -f2
  149. + echo androidboot.emmc_checksum=3
  150. + grep ^data_subdir=*
  151. + cut -d= -f2
  152. + echo androidboot.warranty_bit=1
  153. + grep ^data_subdir=*
  154. + cut -d= -f2
  155. + echo androidboot.bootloader=I9505XXUFNC4
  156. + grep ^data_subdir=*
  157. + cut -d= -f2
  158. + echo androidboot.nvdata_backup=0
  159. + grep ^data_subdir=*
  160. + cut -d= -f2
  161. + echo androidboot.boot_recovery=0
  162. + grep ^data_subdir=*
  163. + cut -d= -f2
  164. + echo androidboot.check_recovery_condition=0x0
  165. + grep ^data_subdir=*
  166. + cut -d= -f2
  167. + echo level=0x574f4c44
  168. + grep ^data_subdir=*
  169. + cut -d= -f2
  170. + echo vmalloc=450m
  171. + grep ^data_subdir=*
  172. + cut -d= -f2
  173. + echo sec_pvs=0
  174. + grep ^data_subdir=*
  175. + cut -d= -f2
  176. + echo batt_id_value=0
  177. + grep ^data_subdir=*
  178. + cut -d= -f2
  179. + echo androidboot.csb_val=1
  180. + grep ^data_subdir=*
  181. + cut -d= -f2
  182. + echo androidboot.emmc=true
  183. + grep ^data_subdir=*
  184. + cut -d= -f2
  185. + echo androidboot.se
  186. ialno=ad0a7748
  187. + cut -d= -f2
  188. + echo androidboot.baseband=mdm
  189. + grep ^data_subdir=*
  190. + cut -d= -f2
  191. + echo androidboot.hardware=jflte
  192. + grep ^data_subdir=*
  193. + cut -d= -f2
  194. + echo user_debug=31
  195. + grep ^data_subdir=*
  196. + cut -d= -f2
  197. + echo msm_watchdog_v2.enable=1
  198. + grep ^data_subdir=*
  199. + cut -d= -f2
  200. + echo selinux=0
  201. + grep ^data_subdir=*
  202. + cut -d= -f2
  203. + echo data_subdir=/media/0/multirom/roms/sailfishos-jflte-201508180/data
  204. + grep ^data_subdir=*
  205. + cut -d= -f2
  206. + data_subdir=/media/0/multirom/roms/sailfishos-jflte-201508180/data
  207. + mkdir /data
  208. + mkdir /target
  209. + mount /dev/mmcblk0p28 /data
  210. mount: mounting /dev/mmcblk0p28 on /data failed: Invalid argument
  211. + mount --bind /data//media/0/multirom/roms/sailfishos-jflte-201508180/data/.stowaways/sailfishos /target
  212. mount: mounting /data//media/0/multirom/roms/sailfishos-jflte-201508180/data/.stowaways/sailfishos on /target failed: No such file or directory
  213. + mkdir /target/data
  214. + mount --bind /data//media/0/multirom/roms/sailfishos-jflte-201508180/data /target/data
  215. mount: mounting /data//media/0/multirom/roms/sailfishos-jflte-201508180/data on /target/data failed: No such file or directory
  216. + mount
  217. rootfs on / type rootfs (rw)
  218. devtmpfs on /dev type devtmpfs (rw,relatime,size=924108k,nr_inodes=102888,mode=755)
  219. devpts on /dev/pts type devpts (rw,relatime,mode=600)
  220. sysfs on /sys type sysfs (rw,relatime)
  221. proc on /proc type proc (rw,relatime)
  222. + DBG_REASON=
  223. + [ -e /diagnosis.log ]
  224. + get_opt bootmode
  225. + cat /proc/cmdline
  226. + echo sec_log=0x100000@0xffe00008
  227. + grep ^bootmode=*
  228. + cut -d= -f2
  229. + echo sec_dbg=0x80000@0xfff00008
  230. + grep ^bootmode=*
  231. + cut -d= -f2
  232. + echo sec_debug.reset_reason=0x1a2b3c00
  233. + grep ^bootmode=*
  234. + cut -d= -f2
  235. + echo androidboot.warranty_bit=1
  236. + grep ^bootmode=*
  237. + cut -d= -f2
  238. + echo lcd_attached=1
  239. + grep ^bootmode=*
  240. + cut -d= -f2
  241. + echo lcd_id=0x408047
  242. + grep ^bootmode=*
  243. + cut -d= -f2
  244. + echo androidboot.debug_level=0x4f4c
  245. + grep ^bootmode=*
  246. + cut -d= -f2
  247. + echo sec_debug.enable=0
  248. + grep ^bootmode=*
  249. + cut -d= -f2
  250. + echo sec_debug.enable_user=0
  251. + grep ^bootmode=*
  252. + cut -d= -f2
  253. + echo androidboot.cp_debug_level=0x55FF
  254. + grep ^bootmode=*
  255. + cut -d= -f2
  256. + echo sec_debug.enable_cp_debug=0
  257. + grep ^bootmode=*
  258. + cut -d= -f2
  259. + echo cordon=47e19dd9c16a2e8a67c2e8cdb60d9844
  260. + grep ^bootmode=*
  261. + cut -d= -f2
  262. + echo connie=GT-I9505_OPEN_EUR_aff5cd16375777df2483355c06392344
  263. + grep ^bootmode=*
  264. + cut -d= -f2
  265. + echo lpj=67678
  266. + grep ^bootmode=*
  267. + cut -d= -f2
  268. + echo loglevel=4
  269. + grep ^bootmode=*
  270. + cut -d= -f2
  271. + echo samsung.hardware=GT-I9505
  272. + grep ^bootmode=*
  273. + cut -d= -f2
  274. + echo androidboot.emmc_checksum=3
  275. + grep ^bootmode=*
  276. + cut -d= -f2
  277. + echo androidboot.warranty_bit=1
  278. + grep ^bootmode=*
  279. + cut -d= -f2
  280. + echo androidboot.bootloader=I9505XXUFNC4
  281. + grep ^bootmode=*
  282. + cut -d= -f2
  283. + echo androidboot.nvdata_backup=0
  284. + grep ^bootmode=*
  285. + cut -d= -f2
  286. + echo androidboot.boot_recovery=0
  287. + grep ^bootmode=*
  288. + cut -d= -f2
  289. + echo androidboot.check_recovery_condition=0x0
  290. + grep ^bootmode=*
  291. + cut -d= -f2
  292. + echo level=0x574f4c44
  293. + grep ^bootmode=*
  294. + cut -d= -f2
  295. + echo vmalloc=450m
  296. + grep ^bootmode=*
  297. + cut -d= -f2
  298. + echo sec_pvs=0
  299. + grep ^bootmode=*
  300. + cut -d= -f2
  301. + echo batt_id_value=0
  302. + grep ^bootmode=*
  303. + cut -d= -f2
  304. + echo androidboot.csb_val=1
  305. + grep ^bootmode=*
  306. + cut -d= -f2
  307. + echo androidboot.emmc=true
  308. + grep ^bootmode=*
  309. + cut -d= -f2
  310. + echo androidboot.serialno=ad0a7748
  311. + grep ^bootmode=*
  312. + cut -d= -f2
  313. + echo androidboot.baseband=mdm
  314. + grep ^bootmode=*
  315. + cut -d= -f2
  316. + echo androidboot.hardware=jflte
  317. + grep ^bootmode=*
  318. + cut -d= -f2
  319. + echo user_debug=31
  320. + grep ^bootmode=*
  321. + cut -d= -f2
  322. + echo msm_watchdog_v2.enable=1
  323. + grep ^bootmode=*
  324. + cut -d= -f2
  325. + echo selinux=0
  326. + grep ^bootmode=*
  327. + cut -d= -f2
  328. + echo data_subdir=/media/0/multirom/roms/sailfishos-jflte-201508180/data
  329. + grep ^bootmode=*
  330. + cut -d= -f2
  331. + [ = debug ]
  332. + [ x = x1 ]
  333. + [ -f /target/init_enter_debug ]
  334. + [ = ]
  335. + echo
  336. + [ -f /target/init-debug ]
  337. + [ -x /target/sbin/preinit ]
  338. + INIT=/sbin/init
  339. + [ -x /target/sbin/init ]
  340. + run_debug_session Failed to boot init in real rootfs
  341. + CUSTOMPRODUCT=Failed to boot init in real rootfs
  342. + echo ########################## Debug session : Failed to boot init in real rootfs
  343. ########################## Debug session : Failed to boot init in real rootfs
  344. + usb_setup Mer Debug setting up (DONE_SWITCH=no)
  345. + write /sys/class/android_usb/android0/enable 0
  346. + echo -n 0
  347. + write /sys/class/android_usb/android0/functions
  348. + echo -n
  349. + write /sys/class/android_usb/android0/enable 1
  350. + echo -n 1
  351. + usleep 500000
  352. + write /sys/class/android_usb/android0/enable 0
  353. + echo -n 0
  354. + write /sys/class/android_usb/android0/idVendor 18D1
  355. + echo -n 18D1
  356. + write /sys/class/android_usb/android0/idProduct D001
  357. + echo -n D001
  358. + write /sys/class/android_usb/android0/iManufacturer Mer Boat Loader
  359. + echo -n Mer Boat Loader
  360. + write /sys/class/android_usb/android0/iProduct Failed to boot init in real rootfs
  361. + echo -n Failed to boot init in real rootfs
  362. + write /sys/class/android_usb/android0/iSerial Mer Debug setting up (DONE_SWITCH=no)
  363. + echo -n Mer Debug setting up (DONE_SWITCH=no)
  364. + write /sys/class/android_usb/android0/functions rndis
  365. + echo -n rndis
  366. + write /sys/class/android_usb/android0/enable 1
  367. + echo -n 1
  368. + USB_IFACE=notfound
  369. + /sbin/ifconfig usb0 192.168.2.15
  370. + USB_IFACE=usb0
  371. + /sbin/ifconfig rndis0 192.168.2.15
  372. ifconfig: SIOCSIFADDR: No such device
  373. + /sbin/ifconfig -a
  374. lo Link encap:Local Loopback
  375. LOOPBACK MTU:16436 Metric:1
  376. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  377. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  378. collisions:0 txqueuelen:0
  379. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  380.  
  381. p2p0 Link encap:Ethernet HWaddr 00:90:4C:33:22:11
  382. BROADCAST MULTICAST MTU:1500 Metric:1
  383. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  384. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  385. collisions:0 txqueuelen:1000
  386. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  387.  
  388. sit0 Link encap:IPv6-in-IPv4
  389. NOARP MTU:1480 Metric:1
  390. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  391. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  392. collisions:0 txqueuelen:0
  393. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  394.  
  395. usb0 Link encap:Ethernet HWaddr 3A:8C:8F:35:75:83
  396. inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
  397. UP BROADCAST MULTICAST MTU:1500 Metric:1
  398. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  399. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  400. collisions:0 txqueuelen:1000
  401. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  402.  
  403. wlan0 Link encap:Ethernet HWaddr 00:90:4C:70:B9:45
  404. BROADCAST MULTICAST MTU:1500 Metric:1
  405. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  406. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  407. collisions:0 txqueuelen:1000
  408. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  409.  
  410. + [ xusb0 = xnotfound ]
  411. + echo start 192.168.2.20
  412. + echo end 192.168.2.90
  413. + echo lease_file /var/udhcpd.leases
  414. + echo interface usb0
  415. + echo ########################## starting dhcpd
  416. ########################## starting dhcpd
  417. + udhcpd
  418. + set_welcome_msg
  419. + cat
  420. + echo ########################## starting telnetd
  421. ########################## starting telnetd
  422. + telnetd -p 23 -l /bin/sh
  423. + usb_info Mer Debug telnet on port 23 on usb0 192.168.2.15 - also running udhcpd
  424. + echo ########################## usb_info: Mer Debug telnet on port 23 on usb0 192.168.2.15 - also running udhcpd
  425. ########################## usb_info: Mer Debug telnet on port 23 on usb0 192.168.2.15 - also running udhcpd
  426. + sleep 1
  427. + write /sys/class/android_usb/android0/iSerial Mer Debug telnet on port 23 on usb0 192.168.2.15 - also running udhcpd
  428. + echo -n Mer Debug telnet on port 23 on usb0 192.168.2.15 - also running udhcpd
  429. + ps -wlT
  430. Segmentation fault
  431. + ps -ef
  432. ps: invalid option -- e
  433.  
  434. BusyBox v1.21.1-kk static (2014-06-11 20:49 +0530) multi-call binary.
  435.  
  436. Usage: ps
  437.  
  438. Show list of processes
  439.  
  440. w Wide output
  441. l Long output
  442. T Show threads
  443.  
  444. + netstat -lnp
  445. Active Internet connections (only servers)
  446. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
  447. tcp 0 0 :::23 :::* LISTEN 477/telnetd
  448. udp 0 0 0.0.0.0:67 0.0.0.0:* 473/udhcpd
  449. Active UNIX domain sockets (only servers)
  450. Proto RefCnt Flags Type State I-Node PID/Program name Path
  451. + cat /proc/mounts
  452. rootfs / rootfs rw 0 0
  453. devtmpfs /dev devtmpfs rw,relatime,size=924108k,nr_inodes=102888,mode=755 0 0
  454. devpts /dev/pts devpts rw,relatime,mode=600 0 0
  455. sysfs /sys sysfs rw,relatime 0 0
  456. proc /proc proc rw,relatime 0 0
  457. + sync
  458. + inject_loop
  459. + INJ_DIR=/init-ctl
  460. + INJ_STDIN=/init-ctl/stdin
  461. + mkdir /init-ctl
  462. + mkfifo /init-ctl/stdin
  463. + echo This entire directory is for debugging init - it can safely be removed
  464. + echo ########################## Beginning inject loop
  465. ########################## Beginning inject loop
RAW Paste Data