Advertisement
Guest User

Untitled

a guest
Apr 15th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.76 KB | None | 0 0
  1. ~ # cat /init.log
  2. + echo Running Mer Boat Loader
  3. Running Mer Boat Loader
  4. + BOOTLOGO=
  5. + ALWAYSDEBUG=
  6. + DATA_PARTITION=/dev/mmcblk1p10
  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. Sun Apr 15 13:54:19 GMT 2018
  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. + sleep 2
  36. + ln -s . /dev/block
  37. + ln -s /proc/mounts /etc/mtab
  38. + check_kernel_config
  39. + echo Checking kernel config
  40. Checking kernel config
  41. + [ ! -e /proc/config.gz ]
  42. + zcat /proc/config.gz
  43. + grep -E ^CONFIG_CGROUPS=y$
  44. CONFIG_CGROUPS=y
  45. + zcat /proc/config.gz
  46. + grep -E ^CONFIG_AUTOFS4_FS=y$
  47. CONFIG_AUTOFS4_FS=y
  48. + zcat /proc/config.gz
  49. + grep -E ^CONFIG_DEVTMPFS_MOUNT=y$
  50. CONFIG_DEVTMPFS_MOUNT=y
  51. + zcat /proc/config.gz
  52. + grep -E ^CONFIG_DEVTMPFS=y$
  53. CONFIG_DEVTMPFS=y
  54. + zcat /proc/config.gz
  55. + grep -E ^CONFIG_UNIX=y$
  56. CONFIG_UNIX=y
  57. + zcat /proc/config.gz
  58. + grep -E ^CONFIG_INOTIFY_USER=y$
  59. CONFIG_INOTIFY_USER=y
  60. + zcat /proc/config.gz
  61. + grep -E ^CONFIG_SYSVIPC=y$
  62. CONFIG_SYSVIPC=y
  63. + zcat /proc/config.gz
  64. + grep -E ^CONFIG_NET=y$
  65. CONFIG_NET=y
  66. + zcat /proc/config.gz
  67. + grep -E ^CONFIG_PROC_FS=y$
  68. CONFIG_PROC_FS=y
  69. + zcat /proc/config.gz
  70. + grep -E ^CONFIG_SIGNALFD=y$
  71. CONFIG_SIGNALFD=y
  72. + zcat /proc/config.gz
  73. + grep -E ^CONFIG_SYSFS=y$
  74. CONFIG_SYSFS=y
  75. + zcat /proc/config.gz
  76. + grep -E ^CONFIG_TMPFS_POSIX_ACL=y$
  77. CONFIG_TMPFS_POSIX_ACL=y
  78. + zcat /proc/config.gz
  79. + grep -E ^CONFIG_VT=y$
  80. CONFIG_VT=y
  81. + zcat /proc/config.gz
  82. + grep -E ^CONFIG_DUMMY=y$
  83. + zcat /proc/config.gz
  84. + grep -E ^CONFIG_SYSFS_DEPRECATED=y$
  85. + bootsplash
  86. + [ x = x1 ]
  87. + mount_stowaways
  88. + echo ########################## mounting stowaways
  89. ########################## mounting stowaways
  90. + [ ! -z /dev/mmcblk1p10 ]
  91. + get_opt data_subdir
  92. + cat /proc/cmdline
  93. + echo mem=1024M@0M
  94. + cut -d= -f2
  95. + grep ^data_subdir=*
  96. + echo tegra_fbmem=8192000@0x1e018000
  97. + cut -d= -f2
  98. + grep ^data_subdir=*
  99. + echo video=tegrafb
  100. + cut -d= -f2
  101. + grep ^data_subdir=*
  102. + echo ramconsole=1M@511M
  103. + cut -d= -f2
  104. + grep ^data_subdir=*
  105. + echo console=ttyS0,115200n8
  106. + cut -d= -f2
  107. + grep ^data_subdir=*
  108. + echo usbcore.old_scheme_first=1
  109. + cut -d= -f2
  110. + grep ^data_subdir=*
  111. + echo tegraboot=sdmmc
  112. + cut -d= -f2
  113. + grep ^data_subdir=*
  114. + echo gpt
  115. + cut -d= -f2
  116. + grep ^data_subdir=*
  117. + echo gpt_sector=0x03b6efff
  118. + cut -d= -f2
  119. + grep ^data_subdir=*
  120. + echo mot_prod=1
  121. + cut -d= -f2
  122. + grep ^data_subdir=*
  123. + echo androidboot.serialno=043c7183421f40d7
  124. + cut -d= -f2
  125. + grep ^data_subdir=*
  126. + echo hw_rev=p3
  127. + cut -d= -f2
  128. + grep ^data_subdir=*
  129. + echo androidboot.modelno=MZ604
  130. + cut -d= -f2
  131. + grep ^data_subdir=*
  132. + echo product_type=w
  133. + cut -d= -f2
  134. + grep ^data_subdir=*
  135. + echo lp0_vec=8192@0x1e7f1020
  136. + cut -d= -f2
  137. + grep ^data_subdir=*
  138. + echo androidboot.bootloader=1049
  139. + cut -d= -f2
  140. + grep ^data_subdir=*
  141. + echo androidboot.carrier=wifi-only
  142. + cut -d= -f2
  143. + grep ^data_subdir=*
  144. + echo lcd_manfid=AUO
  145. + cut -d= -f2
  146. + grep ^data_subdir=*
  147. + echo mem_vid=0x101
  148. + cut -d= -f2
  149. + grep ^data_subdir=*
  150. + echo mem_pid=0x5454
  151. + cut -d= -f2
  152. + grep ^data_subdir=*
  153. + echo androidboot.carrier=wifi-only
  154. + cut -d= -f2
  155. + grep ^data_subdir=*
  156. + echo product_type=w
  157. + cut -d= -f2
  158. + grep ^data_subdir=*
  159. + data_subdir=
  160. + mkdir /data
  161. + mkdir /target
  162. + mount /dev/mmcblk1p10 /data
  163. mount: mounting /dev/mmcblk1p10 on /data failed: No such file or directory
  164. + mount --bind /data//.stowaways/sailfishos /target
  165. mount: mounting /data//.stowaways/sailfishos on /target failed: No such file or directory
  166. + mkdir /target/data
  167. + mount --bind /data/ /target/data
  168. mount: mounting /data/ on /target/data failed: Invalid argument
  169. + mount
  170. rootfs on / type rootfs (rw)
  171. devtmpfs on /dev type devtmpfs (rw,relatime,size=364708k,nr_inodes=91177,mode=755)
  172. devpts on /dev/pts type devpts (rw,relatime,mode=600)
  173. sysfs on /sys type sysfs (rw,relatime)
  174. proc on /proc type proc (rw,relatime)
  175. + DBG_REASON=
  176. + [ -e /diagnosis.log ]
  177. + get_opt bootmode
  178. + cat /proc/cmdline
  179. + echo mem=1024M@0M
  180. + cut -d= -f2
  181. + grep ^bootmode=*
  182. + echo tegra_fbmem=8192000@0x1e018000
  183. + cut -d= -f2
  184. + grep ^bootmode=*
  185. + echo video=tegrafb
  186. + cut+ grep ^bootmode=*
  187. + echo ramconsole=1M@511M
  188. + cut -d= -f2+ grep ^bootmode=*
  189. + echo console=ttyS0,115200n8
  190. + cut -d= -grep ^bootmode=*
  191. + echo usbcore.old_scheme_first=1
  192. + cut -d= -f2+ grep ^bootmode=*
  193. + echo tegraboot=sdmmc
  194. + cut -d=+ grep ^bootmode=*
  195. + echo gpt
  196. + cut+ grep ^bootmode=*
  197. + echo gpt_sector=0x03b6efff
  198. + cut -d= -f2
  199. + grep ^bootmode=*
  200. + echo mot_prod=1
  201. + cut -d= -f2
  202. + grep ^bootmode=*
  203. + echo androidboot.serialno=043c7183421f40d7
  204. + cut -d= -f2
  205. + grep ^bootmode=*
  206. + echo hw_rev=p3
  207. + cut -d= -gr
  208. p ^bootmode=*
  209. + echo androidboot.modelno=MZ604
  210. + cut+ grep ^bootmode=*
  211. + echo product_type=w
  212. + cut -d=+ grep ^bootmode=*
  213. + echo lp0_vec=8192@0x1e7f1020
  214. + cut -d=+ grep ^bootmode=*
  215. + echo androidboot.bootloader=1049
  216. + cut -d= -gr
  217. p ^bootmode=*
  218. + echo androidboot.carrier=wifi-only
  219. + cut -d= -grep ^bootmode=*
  220. + echo lcd_manfid=AUO
  221. + cut -d= -grep ^bootmode=*
  222. + echo mem_vid=0x101
  223. + cut -d= -grep ^bootmode=*
  224. + echo mem_pid=0x5454
  225. + cut -d= -f2
  226. + grep ^bootmode=*
  227. + echo androidboot.carrier=wifi-only
  228. + cut -d= -grep ^bootmode=*
  229. + echo product_type=w
  230. + cut -d=+ grep ^bootmode=*
  231. + [ = debug ]
  232. + [ x = x1 ]
  233. + [ -f /target/init_enter_debug ]
  234. + [ -f /target/init_disable_telnet ]
  235. + [ = ]
  236. + echo
  237. + [ -f /target/init-debug ]
  238. + [ -x /target/sbin/preinit ]
  239. + INIT=/sbin/init
  240. + [ -x /target/sbin/init ]
  241. + run_debug_session Failed to boot init in real rootfs
  242. + CUSTOMPRODUCT=Failed to boot init in real rootfs
  243. + echo ########################## Debug session : Failed to boot init in real rootfs
  244. ########################## Debug session : Failed to boot init in real rootfs
  245. + usb_setup Mer Debug setting up (DONE_SWITCH=no)
  246. + write /sys/class/android_usb/android0/enable 0
  247. + echo -n 0
  248. + write /sys/class/android_usb/android0/functions
  249. + echo -n
  250. + write /sys/class/android_usb/android0/enable 1
  251. + echo -n 1
  252. + usleep 500000
  253. + write /sys/class/android_usb/android0/enable 0
  254. + echo -n 0
  255. + write /sys/class/android_usb/android0/idVendor 18D1
  256. + echo -n 18D1
  257. + write /sys/class/android_usb/android0/idProduct D001
  258. + echo -n D001
  259. + write /sys/class/android_usb/android0/iManufacturer Mer Boat Loader
  260. + echo -n Mer Boat Loader
  261. + write /sys/class/android_usb/android0/iProduct Failed to boot init in real rootfs
  262. + echo -n Failed to boot init in real rootfs
  263. + write /sys/class/android_usb/android0/iSerial Mer Debug setting up (DONE_SWITCH=no)
  264. + echo -n Mer Debug setting up (DONE_SWITCH=no)
  265. + write /sys/class/android_usb/android0/functions rndis
  266. + echo -n rndis
  267. + write /sys/class/android_usb/android0/enable 1
  268. + echo -n 1
  269. + USB_IFACE=notfound
  270. + /sbin/ifconfig rndis0 192.168.2.15
  271. + USB_IFACE=rndis0
  272. + [ xrndis0 = xnotfound ]
  273. + /sbin/ifconfig -a
  274. ifb0 Link encap:Ethernet HWaddr 7E:DD:58:9A:7C:70
  275. BROADCAST NOARP MTU:1500 Metric:1
  276. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  277. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  278. collisions:0 txqueuelen:32
  279. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  280.  
  281. ifb1 Link encap:Ethernet HWaddr D2:F3:AE:95:E2:68
  282. BROADCAST NOARP MTU:1500 Metric:1
  283. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  284. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  285. collisions:0 txqueuelen:32
  286. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  287.  
  288. ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  289. NOARP MTU:1452 Metric:1
  290. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  291. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  292. collisions:0 txqueuelen:0
  293. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  294.  
  295. lo Link encap:Local Loopback
  296. LOOPBACK MTU:16436 Metric:1
  297. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  298. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  299. collisions:0 txqueuelen:0
  300. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  301.  
  302. rndis0 Link encap:Ethernet HWaddr 96:B9:0A:54:99:E1
  303. inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
  304. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  305. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  306. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  307. collisions:0 txqueuelen:1000
  308. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  309.  
  310. sit0 Link encap:IPv6-in-IPv4
  311. NOARP MTU:1480 Metric:1
  312. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  313. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  314. collisions:0 txqueuelen:0
  315. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  316.  
  317. wlan0 Link encap:Ethernet HWaddr 00:90:4C:11:22:33
  318. BROADCAST MULTICAST MTU:1500 Metric:1
  319. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  320. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  321. collisions:0 txqueuelen:1000
  322. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  323.  
  324. + [ xrndis0 = xnotfound ]
  325. + echo start 192.168.2.20
  326. + echo end 192.168.2.90
  327. + echo lease_file /var/udhcpd.leases
  328. + echo interface rndis0
  329. + echo option subnet 255.255.255.0
  330. + echo ########################## starting dhcpd
  331. ########################## starting dhcpd
  332. + udhcpd
  333. + HALT_BOOT=y
  334. + set_welcome_msg y
  335. + cat
  336. + [ no = no ]
  337. + cat
  338. + cat
  339. + HALT_BOOT=y
  340. + [ y = y ]
  341. + cat
  342. + [ no = no ]
  343. + cat
  344. + [ -z ]
  345. + echo ########################## starting telnetd
  346. ########################## starting telnetd
  347. + telnetd -b 192.168.2.15:23 -l /bin/sh
  348. + usb_info Mer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd
  349. + echo ########################## usb_info: Mer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd
  350. ########################## usb_info: Mer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd
  351. + sleep 1
  352. + write /sys/class/android_usb/android0/iSerial Mer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd
  353. + echo -n Mer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd
  354. + [ y = y ]
  355. + ps -wlT
  356. S UID PID PPID VSZ RSS TTY STIME TIME CMD
  357. S 0 1 0 892 292 0:0 13:54 00:00:01 {init} /bin/sh /init
  358. S 0 2 0 0 0 0:0 13:54 00:00:00 [kthreadd]
  359. S 0 3 2 0 0 0:0 13:54 00:00:00 [ksoftirqd/0]
  360. S 0 4 2 0 0 0:0 13:54 00:00:00 [kworker/0:0]
  361. S 0 5 2 0 0 0:0 13:54 00:00:00 [kworker/u:0]
  362. S 0 6 2 0 0 0:0 13:54 00:00:00 [migration/0]
  363. S 0 7 2 0 0 0:0 13:54 00:00:00 [watchdog/0]
  364. S 0 8 2 0 0 0:0 13:54 00:00:00 [migration/1]
  365. S 0 9 2 0 0 0:0 13:54 00:00:00 [kworker/1:0]
  366. S 0 10 2 0 0 0:0 13:54 00:00:00 [ksoftirqd/1]
  367. S 0 11 2 0 0 0:0 13:54 00:00:00 [watchdog/1]
  368. S 0 12 2 0 0 0:0 13:54 00:00:00 [khelper]
  369. S 0 13 2 0 0 0:0 13:54 00:00:00 [netns]
  370. S 0 14 2 0 0 0:0 13:54 00:00:00 [suspend]
  371. S 0 15 2 0 0 0:0 13:54 00:00:00 [kworker/1:1]
  372. S 0 16 2 0 0 0:0 13:54 00:00:00 [sync_supers]
  373. S 0 17 2 0 0 0:0 13:54 00:00:00 [bdi-default]
  374. S 0 18 2 0 0 0:0 13:54 00:00:00 [kblockd]
  375. S 0 19 2 0 0 0:0 13:54 00:00:00 [khubd]
  376. S 0 20 2 0 0 0:0 13:54 00:00:00 [l2cap]
  377. S 0 21 2 0 0 0:0 13:54 00:00:00 [kworker/0:1]
  378. S 0 22 2 0 0 0:0 13:54 00:00:00 [cfg80211]
  379. S 0 23 2 0 0 0:0 13:54 00:00:00 [cpu-tegra]
  380. S 0 24 2 0 0 0:0 13:54 00:00:00 [khungtaskd]
  381. S 0 25 2 0 0 0:0 13:54 00:00:00 [kswapd0]
  382. S 0 26 2 0 0 0:0 13:54 00:00:00 [fsnotify_mark]
  383. S 0 27 2 0 0 0:0 13:54 00:00:00 [crypto]
  384. S 0 40 2 0 0 0:0 13:54 00:00:00 [tegradc.0]
  385. S 0 41 2 0 0 0:0 13:54 00:00:00 [nvhdcp1]
  386. S 0 42 2 0 0 0:0 13:54 00:00:00 [tegradc.1]
  387. S 0 43 2 0 0 0:0 13:54 00:00:00 [kxtf9_wq]
  388. S 0 44 2 0 0 0:0 13:54 00:00:00 [kxtf9_input_wq]
  389. S 0 45 2 0 0 0:0 13:54 00:00:00 [cp_irq_wq]
  390. S 0 46 2 0 0 0:0 13:54 00:00:00 [irq/251-l3g4200]
  391. S 0 47 2 0 0 0:0 13:54 00:00:00 [barometer_wq]
  392. S 0 48 2 0 0 0:0 13:54 00:00:00 [cpcap_irq]
  393. S 0 49 2 0 0 0:0 13:54 00:00:00 [kworker/u:1]
  394. S 0 56 2 0 0 0:0 13:54 00:00:00 [irq/371-oob-wak]
  395. S 0 57 2 0 0 0:0 13:54 00:00:00 [f_mtp]
  396. S 0 58 2 0 0 0:0 13:54 00:00:00 [file-storage]
  397. S 0 59 2 0 0 0:0 13:54 00:00:00 [qtouch_obp_ts_w]
  398. S 0 60 2 0 0 0:0 13:54 00:00:00 [w1_bus_master1]
  399. S 0 61 2 0 0 0:0 13:54 00:00:00 [ds2781-battery.]
  400. S 0 62 2 0 0 0:0 13:54 00:00:00 [kworker/0:2]
  401. D 0 63 2 0 0 0:0 13:54 00:00:00 [kinteractiveup]
  402. S 0 64 2 0 0 0:0 13:54 00:00:00 [kworker/u:2]
  403. S 0 68 2 0 0 0:0 13:54 00:00:00 [binder]
  404. S 0 69 2 0 0 0:0 13:54 00:00:00 [krfcommd]
  405. S 0 70 2 0 0 0:0 13:54 00:00:00 [cpcap_whisper]
  406. S 0 71 2 0 0 0:0 13:54 00:00:00 [kworker/u:3]
  407. S 0 72 2 0 0 0:0 13:54 00:00:00 [mmcqd/2]
  408. S 0 73 2 0 0 0:0 13:54 00:00:00 [dhd_cfg80211_ev]
  409. S 0 74 2 0 0 0:0 13:54 00:00:00 [dhd_watchdog]
  410. S 0 75 2 0 0 0:0 13:54 00:00:00 [dhd_dpc]
  411. S 0 76 2 0 0 0:0 13:54 00:00:00 [dhd_sysioc]
  412. S 0 268 1 868 204 0:0 13:54 00:00:00 udhcpd
  413. S 0 280 1 864 144 0:0 13:54 00:00:00 telnetd -b 192.168.2.15:23 -l /bin/sh
  414. R 0 282 1 876 224 0:0 13:54 00:00:00 ps -wlT
  415. + ps -ef
  416. unknown option -- e
  417. BusyBox v1.21.1-jb static (2014-01-28 17:46 +0000) multi-call binary.
  418.  
  419. Usage: ps
  420.  
  421. Show list of processes
  422.  
  423. w Wide output
  424. l Long output
  425. T Show threads
  426.  
  427. + netstat -lnp
  428. Active Internet connections (only servers)
  429. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
  430. tcp 0 0 192.168.2.15:23 0.0.0.0:* LISTEN 280/telnetd
  431. udp 0 0 0.0.0.0:67 0.0.0.0:* 268/udhcpd
  432. Active UNIX domain sockets (only servers)
  433. Proto RefCnt Flags Type State I-Node PID/Program name Path
  434. + cat /proc/mounts
  435. rootfs / rootfs rw 0 0
  436. devtmpfs /dev devtmpfs rw,relatime,size=364708k,nr_inodes=91177,mode=755 0 0
  437. devpts /dev/pts devpts rw,relatime,mode=600 0 0
  438. sysfs /sys sysfs rw,relatime 0 0
  439. proc /proc proc rw,relatime 0 0
  440. + sync
  441. + inject_loop
  442. + INJ_DIR=/init-ctl
  443. + INJ_STDIN=/init-ctl/stdin
  444. + mkdir /init-ctl
  445. + mkfifo /init-ctl/stdin
  446. + echo This entire directory is for debugging init - it can safely be removed
  447. + echo ########################## Beginning inject loop
  448. ########################## Beginning inject loop
  449. + :
  450. ~ #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement