[vpp-dev] ubuntu 16.04.1 EAL: Error reading from file descriptor 11: Input/output error
Hey, guys. Why there are so many errors. (gdb) r -c /etc/vpp/startup.conf Starting program: /usr/bin/vpp -c /etc/vpp/startup.conf [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". vlib_plugin_early_init:360: plugin path /usr/lib/vpp_plugins load_one_plugin:188: Loaded plugin: acl_plugin.so (Access Control Lists) load_one_plugin:188: Loaded plugin: dpdk_plugin.so (Data Plane Development Kit (DPDK)) load_one_plugin:188: Loaded plugin: flowperpkt_plugin.so (Flow per Packet) load_one_plugin:188: Loaded plugin: ila_plugin.so (Identifier-locator addressing for IPv6) load_one_plugin:188: Loaded plugin: ioam_plugin.so (Inbound OAM) load_one_plugin:114: Plugin disabled (default): ixge_plugin.so load_one_plugin:188: Loaded plugin: lb_plugin.so (Load Balancer) load_one_plugin:188: Loaded plugin: libsixrd_plugin.so (IPv6 Rapid Deployment on IPv4 Infrastructure (RFC5969)) load_one_plugin:188: Loaded plugin: memif_plugin.so (Packet Memory Interface (experimetal)) load_one_plugin:188: Loaded plugin: snat_plugin.so (Network Address Translation) 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_export_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/flowperpkt_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/snat_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/dpdk_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_trace_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_pot_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/udp_ping_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_vxlan_gpe_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/acl_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/vxlan_gpe_ioam_export_test_plugin.so 0: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/lb_test_plugin.so 0: vlib_pci_bind_to_uio: Skipping PCI device :02:01.0 as host interface ens33 is up EAL: Detected 2 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... [New Thread 0x7fff920ec700 (LWP 39209)] EAL: PCI device :02:01.0 on NUMA socket -1 EAL: Device is blacklisted, not initializing EAL: PCI device :02:06.0 on NUMA socket -1 EAL: probe driver: 8086:100f net_e1000_em EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error yug...@telincn.com From: yug...@telincn.com Date: 2017-04-27 14:30 To: Burt Silverman Subject: Re: Re: [vpp-dev] build on ubuntu 14.04.1 failed Hey, Why so many errors any guide? I started vpp in gdb and got these. EAL: Error reading from file descriptor 11: Input/output error /usr/bin/vpp[39114]: EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error /usr/bin/vpp[39114]: EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error /usr/bin/vpp[39114]: EAL: Error reading from file descriptor 11: Input/output error EAL: Error reading from file descriptor 11: Input/output error yug...@telincn.com From: Burt Silverman Date: 2017-
Re: [vpp-dev] A Curious DHCP Hostname Terminator Choice
Definitely looks spurious to me. Chris. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Jon Loeliger Sent: Wednesday, April 26, 2017 4:24 PM To: vpp-dev Subject: [vpp-dev] A Curious DHCP Hostname Terminator Choice Hi Guys, Way over in src/vnet/dhcp/dhcp_api.c, we find the function void dhcp_compl_event_callback (u32 client_index, u32 pid, u8 * hostname, u8 is_ipv6, u8 * host_address, u8 * router_address, u8 * host_mac) which contains a curious use of the newline character: mp = vl_msg_api_alloc (sizeof (*mp)); mp->client_index = client_index; mp->pid = pid; mp->is_ipv6 = is_ipv6; clib_memcpy (&mp->hostname, hostname, vec_len (hostname)); mp->hostname[vec_len (hostname) + 1] = '\n'; clib_memcpy (&mp->host_address[0], host_address, 16); clib_memcpy (&mp->router_address[0], router_address, 16); So, is that '\n' supposed to be 0 instead? Or is that value used in some odd location that requires an actual newline here? What happens if the user supplies a hostname of exactly 63 octets and this newline is added? There is at least one use of strncpy() on this hostname value, so it seems fragile to me at the fencepost. Pedantically yours, jdl ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev
[vpp-dev] A Curious DHCP Hostname Terminator Choice
Hi Guys, Way over in src/vnet/dhcp/dhcp_api.c, we find the function void dhcp_compl_event_callback (u32 client_index, u32 pid, u8 * hostname, u8 is_ipv6, u8 * host_address, u8 * router_address, u8 * host_mac) which contains a curious use of the newline character: mp = vl_msg_api_alloc (sizeof (*mp)); mp->client_index = client_index; mp->pid = pid; mp->is_ipv6 = is_ipv6; clib_memcpy (&mp->hostname, hostname, vec_len (hostname)); mp->hostname[vec_len (hostname) + 1] = '\n'; clib_memcpy (&mp->host_address[0], host_address, 16); clib_memcpy (&mp->router_address[0], router_address, 16); So, is that '\n' supposed to be 0 instead? Or is that value used in some odd location that requires an actual newline here? What happens if the user supplies a hostname of exactly 63 octets and this newline is added? There is at least one use of strncpy() on this hostname value, so it seems fragile to me at the fencepost. Pedantically yours, jdl ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev