Guest User

Untitled

a guest
Oct 16th, 2019
101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@Sailfish /]# cat /init.log
  2. + echo 'Running Mer Boat Loader'
  3. Running Mer Boat Loader
  4. + BOOTLOGO=%BOOTLOGO%
  5. + ALWAYSDEBUG=%ALWAYSDEBUG%
  6. + DATA_PARTITION=%DATA_PART%
  7. + DEFAULT_OS=%DEFAULT_OS%
  8. + export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  9. + PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  10. + USB_FUNCTIONS=rndis
  11. + ANDROID_USB=/sys/class/android_usb/android0
  12. + GADGET_DIR=/config/usb_gadget
  13. + LOCAL_IP=192.168.2.15
  14. + DONE_SWITCH=no
  15. + '[' /init-debug = /init-debug ']'
  16. + DONE_SWITCH=yes
  17. + '[' yes = no ']'
  18. + EXPLICIT_BUSYBOX=/bin/busybox-static
  19. + TELNET_DEBUG_PORT=2323
  20. + do_mount_devprocsys
  21. + echo '########################## mounting devprocsys'
  22. ########################## mounting devprocsys
  23. + mkdir /dev
  24. mkdir: cannot create directory `/dev': File exists
  25. + mount -t devtmpfs devtmpfs /dev
  26. + mkdir /dev/pts
  27. mkdir: cannot create directory `/dev/pts': File exists
  28. + mount -t devpts devpts /dev/pts
  29. + mkdir /proc
  30. mkdir: cannot create directory `/proc': File exists
  31. + mkdir /sys
  32. mkdir: cannot create directory `/sys': File exists
  33. + mount -t sysfs sysfs /sys
  34. + mount -t proc proc /proc
  35. + mkdir /config
  36. mkdir: cannot create directory `/config': File exists
  37. + mount -t configfs none /config
  38. + HALT_BOOT=n
  39. + '[' -f /init_enter_debug2 ']'
  40. + '[' -f /init_disable_telnet ']'
  41. + run_debug_session 'init-debug in real rootfs' n
  42. + CUSTOMPRODUCT='init-debug in real rootfs'
  43. + echo '########################## Debug session : init-debug in real rootfs'
  44. ########################## Debug session : init-debug in real rootfs
  45. + usb_setup 'Mer Debug setting up (DONE_SWITCH=yes)'
  46. + '[' -d /sys/class/android_usb/android0 ']'
  47. + '[' -d /config/usb_gadget ']'
  48. + usb_setup_configfs Mer Debug setting up '(DONE_SWITCH=yes)'
  49. + G_USB_ISERIAL=/config/usb_gadget/g1/strings/0x409/serialnumber
  50. + mkdir /config/usb_gadget/g1
  51. + write /config/usb_gadget/g1/idVendor 0x18D1
  52. + echo -n 0x18D1
  53. + write /config/usb_gadget/g1/idProduct 0xD001
  54. + echo -n 0xD001
  55. + mkdir /config/usb_gadget/g1/strings/0x409
  56. + write /config/usb_gadget/g1/strings/0x409/serialnumber Mer
  57. + echo -n Mer
  58. + write /config/usb_gadget/g1/strings/0x409/manufacturer 'Mer Boat Loader'
  59. + echo -n 'Mer Boat Loader'
  60. + write /config/usb_gadget/g1/strings/0x409/product 'init-debug in real rootfs'
  61. + echo -n 'init-debug in real rootfs'
  62. + grep -q rndis
  63. + echo rndis
  64. + mkdir /config/usb_gadget/g1/functions/rndis.usb0
  65. mkdir: cannot create directory `/config/usb_gadget/g1/functions/rndis.usb0': No such file or directory
  66. + mkdir /config/usb_gadget/g1/functions/rndis_bam.rndis
  67. + grep -q mass_storage
  68. + echo rndis
  69. + mkdir /config/usb_gadget/g1/configs/c.1
  70. + mkdir /config/usb_gadget/g1/configs/c.1/strings/0x409
  71. + write /config/usb_gadget/g1/configs/c.1/strings/0x409/configuration rndis
  72. + echo -n rndis
  73. + grep -q rndis
  74. + echo rndis
  75. + ln -s /config/usb_gadget/g1/functions/rndis.usb0 /config/usb_gadget/g1/configs/c.1
  76. ln: creating symbolic link `/config/usb_gadget/g1/configs/c.1/rndis.usb0': No such file or directory
  77. + ln -s /config/usb_gadget/g1/functions/rndis_bam.rndis /config/usb_gadget/g1/configs/c.1
  78. + grep -q mass_storage
  79. + echo rndis
  80. ++ ls /sys/class/udc
  81. + echo a800000.dwc3
  82. + USB_IFACE=notfound
  83. + /sbin/ifconfig rndis0 192.168.2.15
  84. + USB_IFACE=rndis0
  85. + '[' xrndis0 = xnotfound ']'
  86. + /sbin/ifconfig -a
  87. ip6_vti0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  88. NOARP MTU:1500 Metric:1
  89. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  90. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  91. collisions:0 txqueuelen:1
  92. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  93.  
  94. ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  95. NOARP MTU:1452 Metric:1
  96. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  97. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  98. collisions:0 txqueuelen:1
  99. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  100.  
  101. ip_vti0 Link encap:IPIP Tunnel HWaddr
  102. NOARP MTU:1480 Metric:1
  103. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  104. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  105. collisions:0 txqueuelen:1
  106. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  107.  
  108. lo Link encap:Local Loopback
  109. LOOPBACK MTU:65536 Metric:1
  110. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  111. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  112. collisions:0 txqueuelen:1
  113. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  114.  
  115. rmnet_ipa0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  116. [NO FLAGS] MTU:2000 Metric:1
  117. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  118. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  119. collisions:0 txqueuelen:1000
  120. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  121.  
  122. rndis0 Link encap:Ethernet HWaddr FE:AB:0A:F4:CF:61
  123. inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
  124. UP BROADCAST MULTICAST MTU:1500 Metric:1
  125. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  126. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  127. collisions:0 txqueuelen:1000
  128. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  129.  
  130. sit0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-39-AA-00-00-00-00-00-00-00-00
  131. NOARP MTU:1480 Metric:1
  132. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  133. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  134. collisions:0 txqueuelen:1
  135. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  136.  
  137. + '[' xrndis0 = xnotfound ']'
  138. + echo 'start 192.168.2.20'
  139. /init-debug: line 281: /etc/udhcpd.conf: No such file or directory
  140. + echo 'end 192.168.2.90'
  141. /init-debug: line 282: /etc/udhcpd.conf: No such file or directory
  142. + echo 'lease_file /var/udhcpd.leases'
  143. /init-debug: line 283: /etc/udhcpd.conf: No such file or directory
  144. + echo 'interface rndis0'
  145. /init-debug: line 284: /etc/udhcpd.conf: No such file or directory
  146. + echo 'option subnet 255.255.255.0'
  147. /init-debug: line 285: /etc/udhcpd.conf: No such file or directory
  148. + echo '########################## starting dhcpd'
  149. ########################## starting dhcpd
  150. + /bin/busybox-static udhcpd
  151. + HALT_BOOT=n
  152. + set_welcome_msg n
  153. + cat
  154. + '[' yes = no ']'
  155. + cat
  156. + cat
  157. + HALT_BOOT=n
  158. + '[' n = y ']'
  159. + '[' yes = no ']'
  160. + '[' -z ']'
  161. + echo '########################## starting telnetd'
  162. ########################## starting telnetd
  163. + /bin/busybox-static telnetd -b 192.168.2.15:2323 -l /bin/sh
  164. + usb_info 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  165. + echo '########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  166. ########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd
  167. + sleep 1
  168. + write /config/usb_gadget/g1/strings/0x409/serialnumber 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  169. + echo -n 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  170. + '[' n = y ']'
  171. + rm /dev/block
  172. + '[' -x /sbin/preinit ']'
  173. + INIT=/sbin/preinit
  174. + exec /sbin/preinit --log-level=debug --log-target=kmsg
RAW Paste Data