+ PATH=/usr/bin:/usr/sbin:/bin:/sbin
+ . /lib/onie/functions
+ [ -r /etc/machine.conf ]
+ . /etc/machine.conf
+ onie_version=2015.11.00.01
+ onie_vendor_id=259
+ onie_platform=x86_64-accton_as5812_54t-r0
+ onie_machine=accton_as5812_54t
+ onie_machine_rev=0
+ onie_arch=x86_64
+ onie_config_version=1
+ onie_build_date=2015-12-21T14:02+0800
+ onie_partition_type=gpt
+ onie_kernel_version=3.2.69
+ onie_firmware=bios
+ export onie_installer=/var/tmp/installer
+ ONIE_RUN_DIR=/var/run/onie
+ tee_log_file=/dev/console
+ [ = update -o = embed ]
+ filename_prefix=onie-installer
+ onie_operation=os-install
+ onie_default_filename=onie-installer-x86_64-accton_as5812_54t-r0
+ onie_default_filenames=onie-installer-x86_64-accton_as5812_54t-r0
onie-installer-x86_64-accton_as5812_54t
onie-installer-accton_as5812_54t
onie-installer-x86_64
onie-installer
+ onie_server_name=onie-server
+ syslog_onie=local0
+ syslog_tag=onie
+ onie_iana_enterprise=42623
+ onie_updater_cookie=ONIE-UPDATER-COOKIE
+ onie_image_type_update=update
+ onie_image_type_nos=nos
+ import_cmdline
+ cat
+ ONIE_REQUIRED_ARGS=serial_num
eth_addr
sec_key
+ cat
+ ONIE_OPTIONAL_ARGS=verbose
boot_reason
testing
ip
install_url
bootfile
dhcp
+ cat /proc/cmdline
+ parm=BOOT_IMAGE
+ val=/kernel-3.2-deb7-x86_64-all
+ parm=nopat
+ val=nopat
+ parm=console
+ val=ttyS1,115200n8
+ parm=onl_platform
+ val=x86-64-accton-as5812-54t-r0
+ true install
+ eval export onie_serial_num
+ export onie_serial_num
+ eval export onie_eth_addr
+ export onie_eth_addr
+ eval export onie_sec_key
+ export onie_sec_key
+ eval export onie_verbose
+ export onie_verbose
+ eval export onie_boot_reason
+ export onie_boot_reason
+ eval export onie_testing
+ export onie_testing
+ eval export onie_ip
+ export onie_ip
+ eval export onie_install_url
+ export onie_install_url
+ eval export onie_bootfile
+ export onie_bootfile
+ eval export onie_dhcp
+ export onie_dhcp
+ [ = start ]
+ config_ethmgmt
+ net_intf
+ intf=
+ [ -n ]
+ [ -n ]
+ [ -z ]
+ ifconfig -a
+ grep Ethernet
+ sed -e /dummy/d
+ awk {print $1}
+ intf_list=ma1
+ echo ma1
+ intf_list=ma1
+ intf_counter=0
+ return_value=0
+ cmd_run ifconfig ma1 up
+ [ = y ]
+ eval ifconfig ma1 up
+ ifconfig ma1 up
+ params=ma1
+ eval result_ma1=0
+ result_ma1=0
+ check_link_up ma1
+ local intf=ma1
+ local operstate=/sys/class/net/ma1/operstate
+ _log_info_msg Info: ma1: Checking link...
+ printf Info: ma1: Checking link...
+ tee /dev/console
+ local i=0
+ [ -r /sys/class/net/ma1/operstate ]
+ [ 0 -lt 100 ]
+ cat /sys/class/net/ma1/operstate
+ intf_operstate=up
+ [ up = up -o up = unknown ]
+ _log_info_msg up.\n
+ printf up.\n
+ + loggertee -t /dev/console onie
+ return 0
+ config_ethmgmt_static ma1
+ local intf=ma1
+ shift
+ [ -n ]
+ return 1
+ config_ethmgmt_dhcp6 ma1
+ intf=ma1
+ shift
+ return 1
+ config_ethmgmt_dhcp4 ma1
+ intf=ma1
+ shift
+ udhcpc_args
+ local udhcp_args=-q -S -V onie_vendor:x86_64-accton_as5812_54t-r0
+ str2hex onie_dhcp_user_class
+ echo -n onie_dhcp_user_class
+ hexdump -ve 1/1 "%.2x"
+ local udhcp_user_class=-x 77:6f6e69655f646863705f757365725f636c617373
+ make_str_opt 3 accton_as5812_54t
+ local code=3
+ local str=accton_as5812_54t
+ str2hex accton_as5812_54t
+ echo -n accton_as5812_54t
+ hexdump -ve 1/1 "%.2x"
+ printf %02X%02X%s 3 17 616363746f6e5f6173353831325f353474
+ local udhcp_vivso_machine=0311616363746f6e5f6173353831325f353474
+ make_str_opt 4 x86_64
+ local code=4
+ local str=x86_64
+ str2hex x86_64
+ echo -n x86_64
+ hexdump -ve 1/1 "%.2x"
+ printf %02X%02X%s 4 6 7838365f3634
+ local udhcp_vivso_arch=04067838365f3634
+ make_str_opt 5 0
+ local code=5
+ local str=0
+ str2hex 0
+ echo -n 0
+ hexdump -ve 1/1 "%.2x"
+ printf %02X%02X%s 5 1 30
+ local udhcp_vivso_machine_rev=050130
+ local payload=0311616363746f6e5f6173353831325f35347404067838365f3634050130
+ local len=30
+ printf %08X%02X%s 42623 30 0311616363746f6e5f6173353831325f35347404067838365f3634050130
+ local udhcp_vivso=-x 125:0000A67F1E0311616363746f6e5f6173353831325f35347404067838365f3634050130
+ echo -q -S -V onie_vendor:x86_64-accton_as5812_54t-r0 -x 77:6f6e69655f646863705f757365725f636c617373 -x 125:0000A67F1E0311616363746f6e5f6173353831325f35347404067838365f3634050130
+ udhcp_args=-q -S -V onie_vendor:x86_64-accton_as5812_54t-r0 -x 77:6f6e69655f646863705f757365725f636c617373 -x 125:0000A67F1E0311616363746f6e5f6173353831325f35347404067838365f3634050130 -n -o
+ [ = discover ]
+ udhcp_args=-q -S -V onie_vendor:x86_64-accton_as5812_54t-r0 -x 77:6f6e69655f646863705f757365725f636c617373 -x 125:0000A67F1E0311616363746f6e5f6173353831325f35347404067838365f3634050130 -n -o -t 15 -T 3
+ udhcp_request_opts=
+ udhcp_request_opts= -O subnet
+ udhcp_request_opts= -O subnet -O broadcast
+ udhcp_request_opts= -O subnet -O broadcast -O router
+ udhcp_request_opts= -O subnet -O broadcast -O router -O domain
+ udhcp_request_opts= -O subnet -O broadcast -O router -O domain -O hostname
+ udhcp_request_opts= -O subnet -O broadcast -O router -O domain -O hostname -O ntpsrv
+ udhcp_request_opts= -O subnet -O broadcast -O router -O domain -O hostname -O ntpsrv -O dns
+ udhcp_request_opts= -O subnet -O broadcast -O router -O domain -O hostname -O ntpsrv -O dns -O logsrv
+ udhcp_request_opts= -O subnet -O broadcast -O router -O domain -O hostname -O ntpsrv -O dns -O logsrv -O search
+ log_info_msg Trying DHCPv4 on interface: ma1
+ _log_info_msg Info: Trying DHCPv4 on interface: ma1\n
+ printf Info: Trying DHCPv4 on interface: ma1\n
+ + teelogger /dev/console -t
+ udhcpc -q -S -V onie_vendor:x86_64-accton_as5812_54t-r0 -x 77:6f6e69655f646863705f757365725f636c617373 -x 125:0000A67F1E0311616363746f6e5f6173353831325f35347404067838365f3634050130 -n -o -t 15 -T 3 -O subnet -O broadcast -O router -O domain -O hostname -O ntpsrv -O dns -O logsrv -O search -i ma1 -s /lib/onie/udhcp4_net
touch: /var/run/onie/dhcp.logsrv: No such file or directory
+ tmp=udhcpc (v1.20.2) started
Sending discover...
Sending select for 10.1.10.231...
Lease of 10.1.10.231 obtained, lease time 86400
+ [ 0 = 0 ]
+ ifconfig ma1
+ grep inet
+ sed -e s/:/ /g
+ awk { print $3 " / " $7 }
+ local ipaddr=10.1.10.231 / 255.255.255.0
+ log_console_msg Using DHCPv4 addr: ma1: 10.1.10.231 / 255.255.255.0
+ _log_console_msg ONIE: Using DHCPv4 addr: ma1: 10.1.10.231 / 255.255.255.0\n
+ printf ONIE: Using DHCPv4 addr: ma1: 10.1.10.231 / 255.255.255.0\n
+ tee /dev/console
+ return 0
+ intf_counter=1
+ eval curr_intf_result=${result_ma1}
+ curr_intf_result=0
+ [ x0 != x0 ]
+ return 0
/ #