Advertisement
devinteske

log analysis

May 25th, 2014
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.54 KB | None | 0 0
  1. DT> Analyzing vrmiller's install log...
  2.  
  3. DT> Life begins @ line 49 of releng/10.0/release/rc.local (/etc/rc.local) that invokes: bsdinstall script /etc/installerconfig
  4.  
  5. DEBUG: Running installation step: script /etc/installerconfig
  6.  
  7. DT> That came from line 71 of releng/10.0/usr.sbin/bsdinstall/bsdinstall (/usr/sbin/bsdinstall)
  8.  
  9. DT> Life changes at line 80 of the same file (bsdinstall) that invokes:
  10. DT> "/usr/libexec/bsdinstall/script /etc/installerconfig".
  11.  
  12. DT> The next block comes from bsdconfig when (at lines 33-36 of /usr/libexec/bsdinstall/script) bsdconfig libraries are loaded.
  13.  
  14. DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
  15. DEBUG: UNAME_S=[FreeBSD] UNAME_P=[amd64] UNAME_R=[10.0-RELEASE]
  16. DEBUG: common.subr: Successfully loaded.
  17. DEBUG: /usr/libexec/bsdinstall/script: loading includes...
  18. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  19. DEBUG: dialog.subr: loading includes...
  20. DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
  21. DEBUG: strings.subr: Successfully loaded.
  22. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  23. DEBUG: variable.subr: loading includes...
  24. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  25. DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
  26. DEBUG: variable.subr: New variable VAR_CONFIG_FILE -> configFile
  27. DEBUG: variable.subr: New variable VAR_DEBUG -> debug
  28. DEBUG: variable.subr: New variable VAR_DEBUG_FILE -> debugFile
  29. DEBUG: variable.subr: New variable VAR_DIRECTORY_PATH -> _directoryPath
  30. DEBUG: variable.subr: New variable VAR_DOMAINNAME -> domainname
  31. DEBUG: variable.subr: New variable VAR_EDITOR -> editor
  32. DEBUG: variable.subr: New variable VAR_EXTRAS -> ifconfig_
  33. DEBUG: variable.subr: New variable VAR_FTP_DIR -> ftpDirectory
  34. DEBUG: variable.subr: New variable VAR_FTP_HOST -> ftpHost
  35. DEBUG: variable.subr: New variable VAR_FTP_PASS -> ftpPass
  36. DEBUG: variable.subr: New variable VAR_FTP_PATH -> _ftpPath
  37. DEBUG: variable.subr: New variable VAR_FTP_PORT -> ftpPort
  38. DEBUG: variable.subr: New variable VAR_FTP_STATE -> ftpState
  39. DEBUG: variable.subr: New variable VAR_FTP_USER -> ftpUser
  40. DEBUG: variable.subr: New variable VAR_GATEWAY -> defaultrouter
  41. DEBUG: variable.subr: New variable VAR_HOSTNAME -> hostname
  42. DEBUG: variable.subr: New variable VAR_HTTP_DIR -> httpDirectory
  43. DEBUG: variable.subr: New variable VAR_HTTP_FTP_MODE -> httpFtpMode
  44. DEBUG: variable.subr: New variable VAR_HTTP_HOST -> httpHost
  45. DEBUG: variable.subr: New variable VAR_HTTP_PATH -> _httpPath
  46. DEBUG: variable.subr: New variable VAR_HTTP_PORT -> httpPort
  47. DEBUG: variable.subr: New variable VAR_HTTP_PROXY -> httpProxy
  48. DEBUG: variable.subr: New variable VAR_HTTP_PROXY_HOST -> httpProxyHost
  49. DEBUG: variable.subr: New variable VAR_HTTP_PROXY_PATH -> _httpProxyPath
  50. DEBUG: variable.subr: New variable VAR_HTTP_PROXY_PORT -> httpProxyPort
  51. DEBUG: variable.subr: New variable VAR_IFCONFIG -> ifconfig_
  52. DEBUG: variable.subr: New variable VAR_IPADDR -> ipaddr
  53. DEBUG: variable.subr: New variable VAR_IPV6ADDR -> ipv6addr
  54. DEBUG: variable.subr: New variable VAR_IPV6_ENABLE -> ipv6_activate_all_interfaces
  55. DEBUG: variable.subr: New variable VAR_KEYMAP -> keymap
  56. DEBUG: variable.subr: New variable VAR_MEDIA_TIMEOUT -> MEDIA_TIMEOUT
  57. DEBUG: variable.subr: New variable VAR_MEDIA_TYPE -> mediaType
  58. DEBUG: variable.subr: New variable VAR_NAMESERVER -> nameserver
  59. DEBUG: variable.subr: New variable VAR_NETINTERACTIVE -> netInteractive
  60. DEBUG: variable.subr: New variable VAR_NETMASK -> netmask
  61. DEBUG: variable.subr: New variable VAR_NETWORK_DEVICE -> netDev
  62. DEBUG: variable.subr: New variable VAR_NFS_HOST -> nfsHost
  63. DEBUG: variable.subr: New variable VAR_NFS_PATH -> nfsPath
  64. DEBUG: variable.subr: New variable VAR_NFS_SECURE -> nfs_reserved_port_only
  65. DEBUG: variable.subr: New variable VAR_NFS_TCP -> nfs_use_tcp
  66. DEBUG: variable.subr: New variable VAR_NFS_V3 -> nfs_use_v3
  67. DEBUG: variable.subr: New variable VAR_NONINTERACTIVE -> nonInteractive
  68. DEBUG: variable.subr: New variable VAR_NO_CONFIRM -> noConfirm
  69. DEBUG: variable.subr: New variable VAR_NO_ERROR -> noError
  70. DEBUG: variable.subr: New variable VAR_NO_INET6 -> noInet6
  71. DEBUG: variable.subr: New variable VAR_PACKAGE -> package
  72. DEBUG: variable.subr: New variable VAR_PKG_TMPDIR -> PKG_TMPDIR
  73. DEBUG: variable.subr: New variable VAR_PORTS_PATH -> ports
  74. DEBUG: variable.subr: New variable VAR_RELNAME -> releaseName
  75. DEBUG: variable.subr: New variable VAR_SLOW_ETHER -> slowEthernetCard
  76. DEBUG: variable.subr: New variable VAR_TRY_DHCP -> tryDHCP
  77. DEBUG: variable.subr: New variable VAR_TRY_RTSOL -> tryRTSOL
  78. DEBUG: variable.subr: New variable VAR_UFS_PATH -> ufs
  79. DEBUG: variable.subr: New variable VAR_ZFSINTERACTIVE -> zfsInteractive
  80. DEBUG: variable.subr: VARIABLE_SELF_INITIALIZE=[1]
  81. DEBUG: f_variable_set_defaults: Initializing defaults...
  82. DEBUG: f_getvar: var=[debug] value=[1] r=0
  83. DEBUG: f_getvar: var=[editor] value=[/usr/bin/ee] r=0
  84. DEBUG: f_getvar: var=[ftpState] value=[auto] r=0
  85. DEBUG: f_getvar: var=[ftpUser] value=[ftp] r=0
  86. DEBUG: f_getvar: var=[hostname] value=[] r=0
  87. DEBUG: f_getvar: var=[MEDIA_TIMEOUT] value=[300] r=0
  88. DEBUG: f_getvar: var=[nfs_reserved_port_only] value=[NO] r=0
  89. DEBUG: f_getvar: var=[nfs_use_tcp] value=[NO] r=0
  90. DEBUG: f_getvar: var=[nfs_use_v3] value=[YES] r=0
  91. DEBUG: f_getvar: var=[PKG_TMPDIR] value=[/var/tmp] r=0
  92. DEBUG: f_getvar: var=[releaseName] value=[10.0-RELEASE] r=0
  93. DEBUG: f_variable_set_defaults: Defaults initialized.
  94. DEBUG: variable.subr: Successfully loaded.
  95. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  96. DEBUG: dialog.subr: DIALOG_SELF_INITIALIZE=[1]
  97. DEBUG: f_dialog_init: ARGV=[/etc/installerconfig] GETOPTS_STDARGS=[dD:SX]
  98. DEBUG: f_dialog_init: SECURE=[] USE_XDIALOG=[]
  99. DEBUG: f_dialog_init: dialog(1) API initialized.
  100. DEBUG: dialog.subr: Successfully loaded.
  101. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  102.  
  103. DT> Back to /usr/libexec/bsdinstall/script having finished loading {common,dialog,variable}.subr
  104.  
  105. DEBUG: Began Instalation at Fri May 23 18:52:13 UTC 2014
  106.  
  107. DT> That came from line 77 of /usr/libexec/bsdinstall/script
  108.  
  109. DT> Life changes again at line 83 of the same file at: . /tmp/bsdinstall-installscript-aa
  110. DT> NB: That's really a split(1) copy of /etc/installerconfig
  111.  
  112. DT> So now we're in /etc/installerconfig code by way of:
  113. DT> /etc/rc.local -> /usr/sbin/bsdinstall -> /usr/libexec/bsdinstall/script -> /etc/installerconfig
  114.  
  115. DEBUG: Loading installerconfig
  116.  
  117. DT> That came from line 25 of your /etc/installerconfig
  118.  
  119. DT> The next block comes from bsdconfig when @ line 28 of installerconfig:
  120. DT> . /usr/share/bsdconfig/script.subr || exit 1 # Cause rc.local to display log
  121.  
  122. DEBUG: script.subr: loading includes...
  123. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  124. DEBUG: device.subr: loading includes...
  125. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  126. DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
  127. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  128. DEBUG: struct.subr: Successfully loaded.
  129. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  130. DEBUG: device.subr: Initialized 109 known device names/descriptions.
  131. DEBUG: device.subr: DEVICE_SELF_SCAN_ALL=[1]
  132. DEBUG: f_device_get_all: Probing devices...
  133. DEBUG: f_getvar: var=[height] value=[3] r=0
  134. DEBUG: f_getvar: var=[width] value=[59] r=0
  135. DEBUG: Found a network device named em0
  136. DEBUG: f_struct_new: type=[DEVICE] name=[device_em0]
  137. DEBUG: Found a network device named em1
  138. DEBUG: f_struct_new: type=[DEVICE] name=[device_em1]
  139. DEBUG: f_device_try: making sure /dev/cd0 is a device node
  140. DEBUG: f_device_try: /dev/cd0 is a cdev [good]
  141. DEBUG: f_struct_new: type=[DEVICE] name=[device_cd0]
  142. DEBUG: Found a CDROM device for /dev/cd0
  143. DEBUG: f_device_try: making sure /dev/cd1 is a device node
  144. DEBUG: f_device_try: /dev/cd1 is not a cdev [skip]
  145. DEBUG: f_device_try: making sure /dev/cd2 is a device node
  146. DEBUG: f_device_try: /dev/cd2 is not a cdev [skip]
  147. DEBUG: f_device_try: making sure /dev/cd3 is a device node
  148. DEBUG: f_device_try: /dev/cd3 is not a cdev [skip]
  149. DEBUG: f_device_try: making sure /dev/mcd0 is a device node
  150. DEBUG: f_device_try: /dev/mcd0 is not a cdev [skip]
  151. DEBUG: f_device_try: making sure /dev/mcd1 is a device node
  152. DEBUG: f_device_try: /dev/mcd1 is not a cdev [skip]
  153. DEBUG: f_device_try: making sure /dev/mcd2 is a device node
  154. DEBUG: f_device_try: /dev/mcd2 is not a cdev [skip]
  155. DEBUG: f_device_try: making sure /dev/mcd3 is a device node
  156. DEBUG: f_device_try: /dev/mcd3 is not a cdev [skip]
  157. DEBUG: f_device_try: making sure /dev/scd0 is a device node
  158. DEBUG: f_device_try: /dev/scd0 is not a cdev [skip]
  159. DEBUG: f_device_try: making sure /dev/scd1 is a device node
  160. DEBUG: f_device_try: /dev/scd1 is not a cdev [skip]
  161. DEBUG: f_device_try: making sure /dev/scd2 is a device node
  162. DEBUG: f_device_try: /dev/scd2 is not a cdev [skip]
  163. DEBUG: f_device_try: making sure /dev/scd3 is a device node
  164. DEBUG: f_device_try: /dev/scd3 is not a cdev [skip]
  165. DEBUG: f_device_try: making sure /dev/fd0 is a device node
  166. DEBUG: f_device_try: /dev/fd0 is a cdev [good]
  167. DEBUG: f_struct_new: type=[DEVICE] name=[device_fd0]
  168. DEBUG: Found a floppy device for /dev/fd0
  169. DEBUG: f_device_try: making sure /dev/fd1 is a device node
  170. DEBUG: f_device_try: /dev/fd1 is not a cdev [skip]
  171. DEBUG: f_device_try: making sure /dev/fd2 is a device node
  172. DEBUG: f_device_try: /dev/fd2 is not a cdev [skip]
  173. DEBUG: f_device_try: making sure /dev/fd3 is a device node
  174. DEBUG: f_device_try: /dev/fd3 is not a cdev [skip]
  175. DEBUG: f_device_try: making sure /dev/da0a is a device node
  176. DEBUG: f_device_try: /dev/da0a is not a cdev [skip]
  177. DEBUG: f_device_try: making sure /dev/da1a is a device node
  178. DEBUG: f_device_try: /dev/da1a is not a cdev [skip]
  179. DEBUG: f_device_try: making sure /dev/da2a is a device node
  180. DEBUG: f_device_try: /dev/da2a is not a cdev [skip]
  181. DEBUG: f_device_try: making sure /dev/da3a is a device node
  182. DEBUG: f_device_try: /dev/da3a is not a cdev [skip]
  183. DEBUG: f_device_try: making sure /dev/da4a is a device node
  184. DEBUG: f_device_try: /dev/da4a is not a cdev [skip]
  185. DEBUG: f_device_try: making sure /dev/da5a is a device node
  186. DEBUG: f_device_try: /dev/da5a is not a cdev [skip]
  187. DEBUG: f_device_try: making sure /dev/da6a is a device node
  188. DEBUG: f_device_try: /dev/da6a is not a cdev [skip]
  189. DEBUG: f_device_try: making sure /dev/da7a is a device node
  190. DEBUG: f_device_try: /dev/da7a is not a cdev [skip]
  191. DEBUG: f_device_try: making sure /dev/da8a is a device node
  192. DEBUG: f_device_try: /dev/da8a is not a cdev [skip]
  193. DEBUG: f_device_try: making sure /dev/da9a is a device node
  194. DEBUG: f_device_try: /dev/da9a is not a cdev [skip]
  195. DEBUG: f_device_try: making sure /dev/da10a is a device node
  196. DEBUG: f_device_try: /dev/da10a is not a cdev [skip]
  197. DEBUG: f_device_try: making sure /dev/da11a is a device node
  198. DEBUG: f_device_try: /dev/da11a is not a cdev [skip]
  199. DEBUG: f_device_try: making sure /dev/da12a is a device node
  200. DEBUG: f_device_try: /dev/da12a is not a cdev [skip]
  201. DEBUG: f_device_try: making sure /dev/da13a is a device node
  202. DEBUG: f_device_try: /dev/da13a is not a cdev [skip]
  203. DEBUG: f_device_try: making sure /dev/da14a is a device node
  204. DEBUG: f_device_try: /dev/da14a is not a cdev [skip]
  205. DEBUG: f_device_try: making sure /dev/da15a is a device node
  206. DEBUG: f_device_try: /dev/da15a is not a cdev [skip]
  207. DEBUG: f_device_try: making sure /dev/iso9660/FREEBSD_INSTALL is a device node
  208. DEBUG: f_device_try: /dev/iso9660/FREEBSD_INSTALL is a cdev [good]
  209. DEBUG: f_struct_new: type=[DEVICE] name=[device_FREEBSD_INSTALL]
  210. DEBUG: Found a CDROM device for /dev/iso9660/FREEBSD_INSTALL
  211. DEBUG: f_device_try: making sure /dev/md0 is a device node
  212. DEBUG: f_device_try: /dev/md0 is a cdev [good]
  213. DEBUG: f_device_try: making sure /dev/md1 is a device node
  214. DEBUG: f_device_try: /dev/md1 is a cdev [good]
  215. DEBUG: f_device_try: making sure /dev/md[0-9][0-9] is a device node
  216. DEBUG: f_device_try: /dev/md[0-9][0-9] is not a cdev [skip]
  217. DEBUG: f_struct_new: type=[DEVICE] name=[device_da0]
  218. DEBUG: Found a disk device named da0
  219. DEBUG: device.subr: Successfully loaded.
  220. DEBUG: f_include: file=[/usr/share/bsdconfig/media/any.subr]
  221. DEBUG: media/any.subr: loading includes...
  222. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  223. DEBUG: f_include: file=[/usr/share/bsdconfig/media/cdrom.subr]
  224. DEBUG: media/cdrom.subr: loading includes...
  225. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  226. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  227. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  228. DEBUG: media/common.subr: loading includes...
  229. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  230. DEBUG: f_include: file=[/usr/share/bsdconfig/media/any.subr]
  231. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  232. DEBUG: media/common.subr: Successfully loaded.
  233. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  234. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  235. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  236. DEBUG: media/cdrom.subr: Successfully loaded.
  237. DEBUG: f_include: file=[/usr/share/bsdconfig/media/directory.subr]
  238. DEBUG: media/directory.subr: loading includes...
  239. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  240. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  241. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  242. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  243. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  244. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  245. DEBUG: media/directory.subr: Successfully loaded.
  246. DEBUG: f_include: file=[/usr/share/bsdconfig/media/dos.subr]
  247. DEBUG: media/dos.subr: loading includes...
  248. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  249. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  250. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  251. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  252. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  253. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  254. DEBUG: media/dos.subr: Successfully loaded.
  255. DEBUG: f_include: file=[/usr/share/bsdconfig/media/floppy.subr]
  256. DEBUG: media/floppy.subr: loading includes...
  257. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  258. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  259. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  260. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  261. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  262. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  263. DEBUG: media/floppy.subr: Successfully loaded.
  264. DEBUG: f_include: file=[/usr/share/bsdconfig/media/ftp.subr]
  265. DEBUG: media/ftp.subr: loading includes...
  266. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  267. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  268. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  269. DEBUG: f_include: file=[/usr/share/bsdconfig/media/tcpip.subr]
  270. DEBUG: media/tcpip.subr: loading includes...
  271. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  272. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  273. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  274. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  275. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  276. DEBUG: media/tcpip.subr: Successfully loaded.
  277. DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
  278. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  279. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  280. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  281. DEBUG: media/ftp.subr: Successfully loaded.
  282. DEBUG: f_include: file=[/usr/share/bsdconfig/media/http.subr]
  283. DEBUG: media/http.subr: loading includes...
  284. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  285. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  286. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  287. DEBUG: f_include: file=[/usr/share/bsdconfig/media/tcpip.subr]
  288. DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
  289. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  290. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  291. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  292. DEBUG: media/http.subr: Successfully loaded.
  293. DEBUG: f_include: file=[/usr/share/bsdconfig/media/httpproxy.subr]
  294. DEBUG: media/httpproxy.subr: loading includes...
  295. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  296. DEBUG: f_include: file=[/usr/share/bsdconfig/media/ftp.subr]
  297. DEBUG: f_include: file=[/usr/share/bsdconfig/media/tcpip.subr]
  298. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  299. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  300. DEBUG: media/httpproxy.subr: Successfully loaded.
  301. DEBUG: f_include: file=[/usr/share/bsdconfig/media/nfs.subr]
  302. DEBUG: media/nfs.subr: loading includes...
  303. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  304. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  305. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  306. DEBUG: f_include: file=[/usr/share/bsdconfig/media/network.subr]
  307. DEBUG: media/network.subr: loading includes...
  308. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  309. DEBUG: f_include: file=[/usr/share/bsdconfig/media/tcpip.subr]
  310. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  311. DEBUG: media/network.subr: Successfully loaded.
  312. DEBUG: f_include: file=[/usr/share/bsdconfig/media/tcpip.subr]
  313. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  314. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  315. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  316. DEBUG: media/nfs.subr: Successfully loaded.
  317. DEBUG: f_include: file=[/usr/share/bsdconfig/media/options.subr]
  318. DEBUG: media/options.subr: loading includes...
  319. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  320. DEBUG: f_include: file=[/usr/share/bsdconfig/media/any.subr]
  321. DEBUG: f_include: file=[/usr/share/bsdconfig/media/ftp.subr]
  322. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  323. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  324. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  325. DEBUG: media/options.subr: Successfully loaded.
  326. DEBUG: f_include: file=[/usr/share/bsdconfig/media/ufs.subr]
  327. DEBUG: media/ufs.subr: loading includes...
  328. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  329. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  330. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  331. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  332. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  333. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  334. DEBUG: media/ufs.subr: Successfully loaded.
  335. DEBUG: f_include: file=[/usr/share/bsdconfig/media/usb.subr]
  336. DEBUG: media/usb.subr: loading includes...
  337. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  338. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  339. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  340. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  341. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  342. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  343. DEBUG: media/usb.subr: Successfully loaded.
  344. DEBUG: f_include: file=[/usr/share/bsdconfig/struct.subr]
  345. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  346. DEBUG: media/any.subr: Successfully loaded.
  347. DEBUG: f_include: file=[/usr/share/bsdconfig/media/tcpip.subr]
  348. DEBUG: f_include: file=[/usr/share/bsdconfig/mustberoot.subr]
  349. DEBUG: mustberoot.subr: loading includes...
  350. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  351. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  352. DEBUG: mustberoot.subr: Successfully loaded.
  353. DEBUG: f_include: file=[/usr/share/bsdconfig/networking/services.subr]
  354. DEBUG: networking/services.subr: loading includes...
  355. DEBUG: f_include: file=[/usr/share/bsdconfig/packages/packages.subr]
  356. DEBUG: /usr/libexec/bsdinstall/script: loading includes...
  357. DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
  358. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  359. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  360. DEBUG: f_include: file=[/usr/share/bsdconfig/packages/categories.subr]
  361. DEBUG: packages/categories.subr: loading includes...
  362. DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
  363. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  364. DEBUG: packages/categories.subr: Initialized 92 package category descriptions.
  365. DEBUG: packages/categories.subr: Successfully loaded.
  366. DEBUG: f_include: file=[/usr/share/bsdconfig/packages/index.subr]
  367. DEBUG: packages/index.subr: loading includes...
  368. DEBUG: f_include: file=[/usr/share/bsdconfig/device.subr]
  369. DEBUG: f_include: file=[/usr/share/bsdconfig/media/common.subr]
  370. DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
  371. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  372. DEBUG: packages/index.subr: Successfully loaded.
  373. DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
  374. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  375. DEBUG: packages/packages.subr: Successfully loaded.
  376. DEBUG: f_include: file=[/usr/share/bsdconfig/sysrc.subr]
  377. DEBUG: sysrc.subr: loading includes...
  378. DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[]
  379. DEBUG: sysrc.subr: Successfully loaded.
  380. DEBUG: networking/services.subr: Successfully loaded.
  381. DEBUG: f_include: file=[/usr/share/bsdconfig/packages/packages.subr]
  382. DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
  383. DEBUG: script.subr: New resWord loadConfig -> f_script_load
  384. DEBUG: script.subr: New resWord deviceRescan -> f_device_rescan
  385. DEBUG: script.subr: New resWord mediaOpen -> f_media_open
  386. DEBUG: script.subr: New resWord mediaClose -> f_media_close
  387. DEBUG: script.subr: New resWord mediaGetType -> f_media_get_type
  388. DEBUG: script.subr: New resWord mediaSetCDROM -> f_media_set_cdrom
  389. DEBUG: script.subr: New resWord mediaSetDOS -> f_media_set_dos
  390. DEBUG: script.subr: New resWord mediaSetDirectory -> f_media_set_directory
  391. DEBUG: script.subr: New resWord mediaSetFloppy -> f_media_set_floppy
  392. DEBUG: script.subr: New resWord mediaSetNFS -> f_media_set_nfs
  393. DEBUG: script.subr: New resWord mediaSetUFS -> f_media_set_ufs
  394. DEBUG: script.subr: New resWord mediaSetUSB -> f_media_set_usb
  395. DEBUG: script.subr: New resWord optionsEditor -> f_media_options_menu
  396. DEBUG: script.subr: New resWord tcpMenuSelect -> f_dialog_menu_select_tcp
  397. DEBUG: script.subr: New resWord mediaSetFTP -> f_media_set_ftp
  398. DEBUG: script.subr: New resWord mediaSetFTPActive -> f_media_set_ftp_active
  399. DEBUG: script.subr: New resWord mediaSetFTPPassive -> f_media_set_ftp_passive
  400. DEBUG: script.subr: New resWord mediaSetFTPUserPass -> f_media_set_ftp_userpass
  401. DEBUG: script.subr: New resWord mediaSetHTTP -> f_media_set_http
  402. DEBUG: script.subr: New resWord mediaSetHTTPProxy -> f_media_set_http_proxy
  403. DEBUG: script.subr: New resWord configPCNFSD -> f_config_pcnfsd
  404. DEBUG: script.subr: New resWord configPackages -> f_package_config
  405. DEBUG: script.subr: New resWord packageAdd -> f_package_add
  406. DEBUG: script.subr: New resWord packageDelete -> f_package_delete
  407. DEBUG: script.subr: New resWord packageReinstall -> f_package_reinstall
  408. DEBUG: script.subr: New resWord installVarDefaults -> f_variable_set_defaults
  409. DEBUG: script.subr: New resWord dumpVariables -> f_dump_variables
  410. DEBUG: script.subr: Successfully loaded.
  411.  
  412. DT> Back to /etc/installerconfig having successfully loaded script.subr
  413.  
  414. DT> The next block comes from lines 45 and 49 of installerconfig which read:
  415. DT> f_dprintf "Configuring: %s" "${ea}";
  416. DT> dhclient ${ea};
  417.  
  418. DEBUG: Configuring: em0
  419. DHCPDISCOVER on em0 to 255.255.255.255 port 67 interval 6
  420. DHCPOFFER from 192.168.1.100
  421. DHCPREQUEST on em0 to 255.255.255.255 port 67
  422. DHCPACK from 192.168.1.100
  423. bound to 192.168.1.254 -- renewal in 10800 seconds.
  424. DEBUG: Configuring: em1
  425. em1: no link .............. giving up
  426.  
  427. DT> Looks like em0 got configured. General networking _should_ work now.
  428.  
  429. DT> The next block comes from lines 68 and 78 of installerconfig which read:
  430. DT> f_dprintf "Checking lease file: %s" "${ea}";
  431. DT> f_dprintf "Using lease file: %s" "${VALIDLEASE}"
  432.  
  433. DEBUG: Checking lease file: /var/db/dhclient.leases.em0
  434. DEBUG: Using lease file: /var/db/dhclient.leases.em0
  435.  
  436. DT> The next block comes from lines 103 through 109 of installerconfig which read:
  437. DT> f_dhcp_parse_leases ${VALIDLEASE} dhcpinfo;
  438. DT> dhcpinfo get dhcp_server_identifier server;
  439. DT> dhcpinfo get fixed_address ipaddr;
  440. DT> dhcpinfo get subnet_mask netmask;
  441. DT> dhcpinfo get host_name hostname;
  442. DT> dhcpinfo get interface netDev;
  443. DT> dhcpinfo get dhcp_server_identifier defaultrouter;
  444.  
  445. DEBUG: f_struct_new: type=[DHCP_LEASE] name=[dhcpinfo]
  446. DEBUG: f_getvar: var=[_struct_value_dhcpinfo_dhcp_server_identifier] value=[192.168.1.100] r=0
  447. DEBUG: f_getvar: var=[_struct_value_dhcpinfo_fixed_address] value=[192.168.1.254] r=0
  448. DEBUG: f_getvar: var=[_struct_value_dhcpinfo_subnet_mask] value=[255.255.255.0] r=0
  449. DEBUG: f_getvar: var=[_struct_value_dhcpinfo_host_name] value=[cobbler-redacted] r=0
  450. DEBUG: f_getvar: var=[_struct_value_dhcpinfo_interface] value=[em0] r=0
  451. DEBUG: f_getvar: var=[_struct_value_dhcpinfo_dhcp_server_identifier] value=[192.168.1.100] r=0
  452.  
  453. DT> That actually looks good to me.
  454. DT> From appearances, the network looks like it should be usable. Going on...
  455.  
  456. DT> Note however, that you should really rewrite lines 105-109 of installerconfig to:
  457. DT> dhcpinfo get fixed_address $VAR_IPADDR;
  458. DT> dhcpinfo get subnet_mask $VAR_NETMASK;
  459. DT> dhcpinfo get host_name $VAR_HOSTNAME;
  460. DT> dhcpinfo get interface $VAR_NETWORK_DEVICE;
  461. DT> dhcpinfo get dhcp_server_identifier $VAR_GATEWAY;
  462. DT>
  463. DT> This will make it clear that you're setting special variables used elsewhere.
  464. DT> NB: This also future-proofs yourself.
  465.  
  466.  
  467. DEBUG: /usr/libexec/bsdinstall/script: Configuring disks...
  468.  
  469. DT> That was produced by line 128 of installerconfig which reads:
  470. DT> f_dprintf "%s: Configuring disks..." $0;
  471.  
  472. DT> The next block is produced by lines 153, 158, 159, and 161 of installerconfig which read:
  473. DT> f_dprintf "%s: Clearing %s boot sector..." ${0} ${disk};
  474. DT> dd if=/dev/zero of=/dev/${disk} bs=${sectorsize} count=1;
  475. DT> dd if=/dev/zero of=/dev/${disk} bs=${sectorsize} oseek=${geomoffset} count=1;
  476. DT> f_dprintf "%s: Disk initialization completed" $0;
  477.  
  478. DEBUG: /usr/libexec/bsdinstall/script: Clearing da0 boot sector...
  479. 1+0 records in
  480. 1+0 records out
  481. 512 bytes transferred in 0.012237 secs (41840 bytes/sec)
  482. 1+0 records in
  483. 1+0 records out
  484. 512 bytes transferred in 0.007207 secs (71043 bytes/sec)
  485. DEBUG: /usr/libexec/bsdinstall/script: Disk initialization completed
  486.  
  487. DT> Next lines produced by line 169 and 183 of installerconfig which read:
  488. DT> f_dprintf "%s: Fetching answer file (%s)" "${0}" "${KSPATH}";
  489. DT> f_script_load ${DISKSH};
  490.  
  491. DEBUG: /usr/libexec/bsdinstall/script: Fetching answer file (http://192.168.1.100/cblr/svc/op/ks/system/cobbler-devel-testclient-3.se.vrsn.com)
  492. DEBUG: f_script_load: script=[/tmp/disk.sh]
  493.  
  494. DT> That was produced by line 183 of installerconfig which reads:
  495. DT> f_script_load ${DISKSH};
  496.  
  497. DT> The next block is generated by bsdconfig f_script_load()...
  498.  
  499. DEBUG: f_getvar: var=[nonInteractive] value=[] r=1
  500. DEBUG: f_script_load: Loading script `/tmp/disk.sh'
  501.  
  502. DT> The /tmp/disk.sh was generated by the fetch -qo ... | awk ...
  503. DT> So that appears to have gone fine (wouldn't have received the
  504. DT> /tmp/disk.sh file if either networking wasn't up or the fetch
  505. DT> failed).
  506.  
  507. DEBUG: /usr/libexec/bsdinstall/script: Configuring disk: da0
  508.  
  509. DT> This came from line 11 of snippets/bsd10_do_disk (nice, btw!) which reads:
  510. DT> f_dprintf "%s: Configuring disk: %s" "\${0}" "\${disk}";
  511.  
  512. DT> NB: So I'm certain your fetch worked.
  513.  
  514. DT> The next block comes by way of line 247 of installerconfig which reads:
  515. DT> f_device_dialog_tcp $netDev;
  516.  
  517. DEBUG: f_getvar: var=[_struct_value_device_em0_private] value=[] r=0
  518. DEBUG: f_getvar: var=[nonInteractive] value=[yes] r=0
  519. DEBUG: f_getvar: var=[netInteractive] value=[] r=1
  520. DEBUG: f_getvar: var=[tryDHCP] value=[YES] r=0
  521. DEBUG: f_getvar: var=[height] value=[3] r=0
  522. DEBUG: f_getvar: var=[width] value=[32] r=0
  523. DEBUG: f_getvar: var=[defaultrouter] value=[192.168.1.100] r=0
  524. DEBUG: f_getvar: var=[ipaddr] value=[192.168.1.254] r=0
  525. DEBUG: f_getvar: var=[netmask] value=[255.255.255.0] r=0
  526. DEBUG: f_getvar: var=[ifconfig_] value=[] r=1
  527. DEBUG: f_getvar: var=[em0_ifconfig_] value=[] r=1
  528. DEBUG: f_getvar: var=[hostname] value=[cobbler-redacted] r=0
  529. DEBUG: f_getvar: var=[defaultrouter] value=[192.168.1.100] r=0
  530. DEBUG: f_getvar: var=[nameserver] value=[] r=1
  531. DEBUG: f_getvar: var=[netInteractive] value=[] r=1
  532. DEBUG: f_getvar: var=[nonInteractive] value=[yes] r=0
  533. DEBUG: Creating struct DEVICE_INFO devinfo_em0
  534. DEBUG: f_struct_new: type=[DEVICE_INFO] name=[devinfo_em0]
  535. DEBUG: f_getvar: var=[nameserver] value=[] r=1
  536. DEBUG: f_getvar: var=[domainname] value=[redacted] r=0
  537. DEBUG: f_getvar: var=[ipaddr] value=[192.168.1.254] r=0
  538. DEBUG: f_getvar: var=[ipv6addr] value=[] r=1
  539. DEBUG: f_getvar: var=[hostname] value=[cobbler-redacted] r=0
  540.  
  541. DT> That actually all looks excellent. Going on...
  542.  
  543. DT> The next block is produced by line 248 of installerconfig which reads:
  544. DT> mediaSetHTTP;
  545.  
  546. DEBUG: f_dispatch: calling resword `mediaSetHTTP'
  547. DEBUG: f_media_close: Shutting down media device
  548. DEBUG: f_getvar: var=[_struct_type_device_media] value=[] r=1
  549. DEBUG: f_struct_free: name=[device_media] type=[]
  550. DEBUG: f_getvar: var=[_struct_typedef_] value=[] r=1
  551. DEBUG: f_getvar: var=[_httpPath] value=[http://192.168.1.100/cobbler/ks_mirror/freebsd-10.0.0.0-x86_64] r=0
  552. DEBUG: f_struct_new: type=[DEVICE] name=[device_http]
  553. DEBUG: f_getvar: var=[netDev] value=[em0] r=0
  554. DEBUG: f_device_select_tcp: VAR_NETWORK_DEVICE=[em0]
  555. DEBUG: f_getvar: var=[_struct_value_device_em0_name] value=[em0] r=0
  556. DEBUG: f_getvar: var=[_struct_value_device_em0_type] value=[5] r=0
  557. DEBUG: f_getvar: var=[_struct_value_device_em1_name] value=[em1] r=0
  558. DEBUG: f_getvar: var=[_struct_value_device_em1_type] value=[5] r=0
  559. DEBUG: f_getvar: var=[_struct_value_device_cd0_name] value=[cd0] r=0
  560. DEBUG: f_getvar: var=[_struct_value_device_cd0_type] value=[6] r=0
  561. DEBUG: f_getvar: var=[_struct_value_device_fd0_name] value=[fd0] r=0
  562. DEBUG: f_getvar: var=[_struct_value_device_fd0_type] value=[3] r=0
  563. DEBUG: f_getvar: var=[_struct_value_device_FREEBSD_INSTALL_name] value=[FREEBSD_INSTALL] r=0
  564. DEBUG: f_getvar: var=[_struct_value_device_FREEBSD_INSTALL_type] value=[6] r=0
  565. DEBUG: f_getvar: var=[_struct_value_device_da0_name] value=[da0] r=0
  566. DEBUG: f_getvar: var=[_struct_value_device_da0_type] value=[2] r=0
  567. DEBUG: f_getvar: var=[_struct_value_device_em0_private] value=[devinfo_em0] r=0
  568. DEBUG: f_getvar: var=[_struct_value_devinfo_em0_ipaddr] value=[192.168.1.254] r=0
  569. DEBUG: f_getvar: var=[_struct_value_devinfo_em0_netmask] value=[255.255.255.0] r=0
  570. DEBUG: f_getvar: var=[_struct_value_devinfo_em0_extras] value=[] r=0
  571. DEBUG: f_getvar: var=[_struct_value_devinfo_em0_use_dhcp] value=[] r=0
  572. DEBUG: f_getvar: var=[_struct_value_devinfo_em0_use_rtsol] value=[] r=0
  573. DEBUG: f_getvar: var=[hostname] value=[cobbler-redacted] r=0
  574. DEBUG: f_getvar: var=[defaultrouter] value=[192.168.1.100] r=0
  575. DEBUG: f_getvar: var=[nameserver] value=[] r=1
  576. DEBUG: f_getvar: var=[netInteractive] value=[] r=1
  577. DEBUG: f_getvar: var=[nonInteractive] value=[yes] r=0
  578. DEBUG: Creating struct DEVICE_INFO devinfo_em0
  579. DEBUG: f_struct_new: type=[DEVICE_INFO] name=[devinfo_em0]
  580. DEBUG: f_getvar: var=[nameserver] value=[] r=1
  581. DEBUG: f_getvar: var=[domainname] value=[redacted] r=0
  582. DEBUG: f_getvar: var=[ipaddr] value=[192.168.1.254] r=0
  583. DEBUG: f_getvar: var=[ipv6addr] value=[] r=1
  584. DEBUG: f_getvar: var=[hostname] value=[cobbler-redacted] r=0
  585. DEBUG: f_getvar: var=[netDev] value=[em0] r=0
  586. DEBUG: f_struct_copy: from_name=[device_em0] to_name=[device_network]
  587. DEBUG: f_getvar: var=[_struct_type_device_em0] value=[DEVICE] r=0
  588. DEBUG: f_struct_new: type=[DEVICE] name=[device_network]
  589. DEBUG: f_struct_copy: copying properties from device_em0 to device_network
  590. DEBUG: f_getvar: var=[_struct_typedef_DEVICE] value=[name desc devname type capacity enabled init get shutdown flags private volume] r=0
  591. DEBUG: f_getvar: var=[_struct_value_device_em0_name] value=[em0] r=0
  592. DEBUG: f_getvar: var=[_struct_value_device_em0_desc] value=[Intel(R) PRO/1000 Legacy Network Connection 1.0.6] r=0
  593. DEBUG: f_getvar: var=[_struct_value_device_em0_devname] value=[em0] r=0
  594. DEBUG: f_getvar: var=[_struct_value_device_em0_type] value=[5] r=0
  595. DEBUG: f_getvar: var=[_struct_value_device_em0_capacity] value=[-1] r=0
  596. DEBUG: f_getvar: var=[_struct_value_device_em0_enabled] value=[1] r=0
  597. DEBUG: f_getvar: var=[_struct_value_device_em0_init] value=[f_media_init_network] r=0
  598. DEBUG: f_getvar: var=[_struct_value_device_em0_get] value=[] r=0
  599. DEBUG: f_getvar: var=[_struct_value_device_em0_shutdown] value=[f_media_shutdown_network] r=0
  600. DEBUG: f_getvar: var=[_struct_value_device_em0_flags] value=[] r=1
  601. DEBUG: f_getvar: var=[_struct_value_device_em0_private] value=[devinfo_em0] r=0
  602. DEBUG: f_getvar: var=[_struct_value_device_em0_volume] value=[] r=1
  603. DEBUG: f_struct_copy: copied 10 of 12 properties from device_em0 to device_network
  604. DEBUG: f_getvar: var=[_struct_value_device_network_init] value=[f_media_init_network] r=0
  605. DEBUG: Init routine called for network device `network'.
  606. DEBUG: Not running as init -- calling the deed done.
  607. DEBUG: Looks like a DNS name or IPv4 addr with dir: 192.168.1.100/cobbler/ks_mirror/freebsd-10.0.0.0-x86_64
  608. DEBUG: hostname = `192.168.1.100'
  609. DEBUG: dir = `/cobbler/ks_mirror/freebsd-10.0.0.0-x86_64'
  610. DEBUG: port # = `80'
  611. DEBUG: f_getvar: var=[nameserver] value=[] r=1
  612. DEBUG: f_struct_copy: from_name=[device_http] to_name=[device_media]
  613. DEBUG: f_getvar: var=[_struct_type_device_http] value=[DEVICE] r=0
  614. DEBUG: f_struct_new: type=[DEVICE] name=[device_media]
  615. DEBUG: f_struct_copy: copying properties from device_http to device_media
  616. DEBUG: f_getvar: var=[_struct_typedef_DEVICE] value=[name desc devname type capacity enabled init get shutdown flags private volume] r=0
  617. DEBUG: f_getvar: var=[_struct_value_device_http_name] value=[http://192.168.1.100/cobbler/ks_mirror/freebsd-10.0.0.0-x86_64] r=0
  618. DEBUG: f_getvar: var=[_struct_value_device_http_desc] value=[] r=1
  619. DEBUG: f_getvar: var=[_struct_value_device_http_devname] value=[] r=1
  620. DEBUG: f_getvar: var=[_struct_value_device_http_type] value=[13] r=0
  621. DEBUG: f_getvar: var=[_struct_value_device_http_capacity] value=[] r=1
  622. DEBUG: f_getvar: var=[_struct_value_device_http_enabled] value=[] r=1
  623. DEBUG: f_getvar: var=[_struct_value_device_http_init] value=[f_media_init_http] r=0
  624. DEBUG: f_getvar: var=[_struct_value_device_http_get] value=[f_media_get_http] r=0
  625. DEBUG: f_getvar: var=[_struct_value_device_http_shutdown] value=[f_media_shutdown_http] r=0
  626. DEBUG: f_getvar: var=[_struct_value_device_http_flags] value=[] r=1
  627. DEBUG: f_getvar: var=[_struct_value_device_http_private] value=[network] r=0
  628. DEBUG: f_getvar: var=[_struct_value_device_http_volume] value=[] r=1
  629. DEBUG: f_struct_copy: copied 6 of 12 properties from device_http to device_media
  630. DEBUG: f_getvar: var=[_struct_type_device_http] value=[DEVICE] r=0
  631. DEBUG: f_struct_free: name=[device_http] type=[DEVICE]
  632. DEBUG: f_getvar: var=[_struct_typedef_DEVICE] value=[name desc devname type capacity enabled init get shutdown flags private volume] r=0
  633.  
  634. DT> Well that looged great. Going on...
  635.  
  636. DT> The next block is produced via line 249 of installerconfig which reads:
  637. DT> mediaOpen;
  638.  
  639. DEBUG: f_dispatch: calling resword `mediaOpen'
  640. DEBUG: f_media_open: Verifying and initiliazing media device
  641. DEBUG: f_media_verify: Verifying media device
  642. DEBUG: f_getvar: var=[_struct_value_device_media_init] value=[f_media_init_http] r=0
  643. DEBUG: Init routine called for HTTP device. dev=[media]
  644. DEBUG: f_getvar: var=[httpHost] value=[192.168.1.100] r=0
  645. DEBUG: f_getvar: var=[httpPort] value=[80] r=0
  646.  
  647. DT> Well, that all looked great... up to that point anyways...!
  648.  
  649. DEBUG: f_getvar: var=[height] value=[5] r=0
  650. DEBUG: f_getvar: var=[width] value=[55] r=0
  651.  
  652. DT> Oops, what's this? Looks like a dialog was thrown.
  653. DT> /me looks at screenshot provided (mediaOpen.png)
  654.  
  655. DT> Hmm, "Couldn't connect to server http://192.168.1.100:80/"
  656.  
  657. DT> That comes from lines 383-384 of releng/10.0/usr.sbin/bsdconfig/share/media/http.subr:
  658. DT> f_show_msg "$msg_couldnt_connect_to_server http://%s:%s/" \
  659. DT> "$http_host" "$http_port"
  660.  
  661. DT> This indicates that the prior command at line 379 failed (which reads):
  662. DT> f_quietly nc -nz "$host" "$http_port" || continue
  663.  
  664. So therein lies the question...
  665.  
  666. If you press Alt+F4 and try "nc -nz 192.168.1.100 80" what is the result?
  667. --
  668. Devin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement