diff options
-rwxr-xr-x | fuel-plugin/build_kvm.sh | 707 | ||||
-rw-r--r-- | kernel/arch/x86/configs/opnfv.config | 2 | ||||
-rw-r--r-- | patches/ovs/0001-Add-Linux-4.4-support.patch | 246 |
3 files changed, 261 insertions, 694 deletions
diff --git a/fuel-plugin/build_kvm.sh b/fuel-plugin/build_kvm.sh index 2c392922a..e4af1023e 100755 --- a/fuel-plugin/build_kvm.sh +++ b/fuel-plugin/build_kvm.sh @@ -38,7 +38,7 @@ EOF } KVM_COMMIT="" -OVS_COMMIT="" +OVS_COMMIT="4ff6642f3c1dd8949c2f42b3310ee2523ee970a6" KEEP=no for i do @@ -109,698 +109,6 @@ fi # Configure the kernel cp $CONFIG .config - echo "CONFIG_AUDIT=y" >>.config - echo "CONFIG_AUDITSYSCALL=y" >>.config - echo "CONFIG_AUDIT_WATCH=y" >>.config - echo "CONFIG_AUDIT_TREE=y" >>.config - echo "CONFIG_ACPI_PROCESSOR_AGGREGATOR=m" >>.config - echo "CONFIG_HOTPLUG_PCI_SHPC=m" >>.config - echo "CONFIG_NET_IPGRE_DEMUX=m" >>.config - echo "CONFIG_NET_IPGRE=m" >>.config - echo "CONFIG_NET_IPGRE_BROADCAST=y" >>.config - echo "CONFIG_NET_FOU=m" >>.config - echo "CONFIG_NET_FOU_IP_TUNNELS=y" >>.config - echo "CONFIG_NETFILTER_ADVANCED=y" >>.config - echo "CONFIG_BRIDGE_NETFILTER=y" >>.config - echo "# CONFIG_NETFILTER_NETLINK_ACCT is not set" >>.config - echo "# CONFIG_NETFILTER_NETLINK_QUEUE is not set" >>.config - echo "# CONFIG_NF_CONNTRACK_MARK is not set" >>.config - echo "CONFIG_NF_CONNTRACK_ZONES=y" >>.config - echo "# CONFIG_NF_CONNTRACK_EVENTS is not set" >>.config - echo "# CONFIG_NF_CONNTRACK_TIMEOUT is not set" >>.config - echo "# CONFIG_NF_CONNTRACK_TIMESTAMP is not set" >>.config - echo "# CONFIG_NF_CT_PROTO_DCCP is not set" >>.config - echo "CONFIG_NF_CT_PROTO_GRE=m" >>.config - echo "# CONFIG_NF_CT_PROTO_SCTP is not set" >>.config - echo "# CONFIG_NF_CT_PROTO_UDPLITE is not set" >>.config - echo "# CONFIG_NF_CONNTRACK_AMANDA is not set" >>.config - echo "# CONFIG_NF_CONNTRACK_H323 is not set" >>.config - echo "# CONFIG_NF_CONNTRACK_SNMP is not set" >>.config - echo "CONFIG_NF_CONNTRACK_PPTP=m" >>.config - echo "# CONFIG_NF_CONNTRACK_SANE is not set" >>.config - echo "# CONFIG_NF_CONNTRACK_TFTP is not set" >>.config - echo "# CONFIG_NF_CT_NETLINK_TIMEOUT is not set" >>.config - echo "CONFIG_NF_NAT_REDIRECT=m" >>.config - echo "CONFIG_NF_TABLES=m" >>.config - echo "CONFIG_NF_TABLES_INET=m" >>.config - echo "CONFIG_NFT_EXTHDR=m" >>.config - echo "CONFIG_NFT_META=m" >>.config - echo "CONFIG_NFT_CT=m" >>.config - echo "CONFIG_NFT_RBTREE=m" >>.config - echo "CONFIG_NFT_HASH=m" >>.config - echo "CONFIG_NFT_COUNTER=m" >>.config - echo "CONFIG_NFT_LOG=m" >>.config - echo "CONFIG_NFT_LIMIT=m" >>.config - echo "CONFIG_NFT_MASQ=m" >>.config - echo "CONFIG_NFT_REDIR=m" >>.config - echo "CONFIG_NFT_NAT=m" >>.config - echo "CONFIG_NFT_REJECT=m" >>.config - echo "CONFIG_NFT_REJECT_INET=m" >>.config - echo "CONFIG_NFT_COMPAT=m" >>.config - echo "CONFIG_NETFILTER_XTABLES=m" >>.config - echo "# CONFIG_NETFILTER_XT_CONNMARK is not set" >>.config - echo "CONFIG_NETFILTER_XT_SET=m" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_AUDIT=m" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_CT=m" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_DSCP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_HL is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_HMARK is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_LED=m" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_MARK is not set" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_NETMAP=m" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_NFLOG=m" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_REDIRECT=m" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_TEE is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_TRACE is not set" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_SECMARK=m" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_TCPMSS=m" >>.config - echo "# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_BPF is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set" >>.config - echo "CONFIG_NETFILTER_XT_MATCH_COMMENT=m" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set" >>.config - echo "CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_CPU is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_DCCP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_DSCP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_ECN is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_ESP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_HELPER is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_HL is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_IPVS is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_L2TP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set" >>.config - echo "CONFIG_NETFILTER_XT_MATCH_MAC=m" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_MARK is not set" >>.config - echo "CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_OSF is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_OWNER is not set" >>.config - echo "CONFIG_NETFILTER_XT_MATCH_POLICY=m" >>.config - echo "CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_REALM is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_RECENT is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_SCTP is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_SOCKET is not set" >>.config - echo "CONFIG_NETFILTER_XT_MATCH_STATE=m" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_STRING is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_TIME is not set" >>.config - echo "# CONFIG_NETFILTER_XT_MATCH_U32 is not set" >>.config - echo "CONFIG_IP_SET=m" >>.config - echo "CONFIG_IP_SET_MAX=256" >>.config - echo "CONFIG_IP_SET_BITMAP_IP=m" >>.config - echo "CONFIG_IP_SET_BITMAP_IPMAC=m" >>.config - echo "CONFIG_IP_SET_BITMAP_PORT=m" >>.config - echo "CONFIG_IP_SET_HASH_IP=m" >>.config - echo "CONFIG_IP_SET_HASH_IPMARK=m" >>.config - echo "CONFIG_IP_SET_HASH_IPPORT=m" >>.config - echo "CONFIG_IP_SET_HASH_IPPORTIP=m" >>.config - echo "CONFIG_IP_SET_HASH_IPPORTNET=m" >>.config - echo "CONFIG_IP_SET_HASH_MAC=m" >>.config - echo "CONFIG_IP_SET_HASH_NETPORTNET=m" >>.config - echo "CONFIG_IP_SET_HASH_NET=m" >>.config - echo "CONFIG_IP_SET_HASH_NETNET=m" >>.config - echo "CONFIG_IP_SET_HASH_NETPORT=m" >>.config - echo "CONFIG_IP_SET_HASH_NETIFACE=m" >>.config - echo "CONFIG_IP_SET_LIST_SET=m" >>.config - echo "CONFIG_IP_VS=m" >>.config - echo "CONFIG_IP_VS_IPV6=y" >>.config - echo "# CONFIG_IP_VS_DEBUG is not set" >>.config - echo "CONFIG_IP_VS_TAB_BITS=12" >>.config - echo "CONFIG_IP_VS_PROTO_TCP=y" >>.config - echo "CONFIG_IP_VS_PROTO_UDP=y" >>.config - echo "CONFIG_IP_VS_PROTO_AH_ESP=y" >>.config - echo "CONFIG_IP_VS_PROTO_ESP=y" >>.config - echo "CONFIG_IP_VS_PROTO_AH=y" >>.config - echo "CONFIG_IP_VS_PROTO_SCTP=y" >>.config - echo "CONFIG_IP_VS_RR=m" >>.config - echo "CONFIG_IP_VS_WRR=m" >>.config - echo "CONFIG_IP_VS_LC=m" >>.config - echo "CONFIG_IP_VS_WLC=m" >>.config - echo "CONFIG_IP_VS_FO=m" >>.config - echo "CONFIG_IP_VS_LBLC=m" >>.config - echo "CONFIG_IP_VS_LBLCR=m" >>.config - echo "CONFIG_IP_VS_DH=m" >>.config - echo "CONFIG_IP_VS_SH=m" >>.config - echo "CONFIG_IP_VS_SED=m" >>.config - echo "CONFIG_IP_VS_NQ=m" >>.config - echo "CONFIG_IP_VS_SH_TAB_BITS=8" >>.config - echo "CONFIG_IP_VS_FTP=m" >>.config - echo "CONFIG_IP_VS_NFCT=y" >>.config - echo "CONFIG_IP_VS_PE_SIP=m" >>.config - echo "CONFIG_NF_DEFRAG_IPV4=m" >>.config - echo "CONFIG_NF_CONNTRACK_IPV4=m" >>.config - echo "CONFIG_NF_TABLES_IPV4=m" >>.config - echo "CONFIG_NFT_CHAIN_ROUTE_IPV4=m" >>.config - echo "CONFIG_NFT_REJECT_IPV4=m" >>.config - echo "CONFIG_NF_TABLES_ARP=m" >>.config - echo "CONFIG_NFT_CHAIN_NAT_IPV4=m" >>.config - echo "CONFIG_NFT_MASQ_IPV4=m" >>.config - echo "CONFIG_NFT_REDIR_IPV4=m" >>.config - echo "CONFIG_NF_NAT_PROTO_GRE=m" >>.config - echo "CONFIG_NF_NAT_PPTP=m" >>.config - echo "CONFIG_IP_NF_IPTABLES=m" >>.config - echo "# CONFIG_IP_NF_MATCH_AH is not set" >>.config - echo "# CONFIG_IP_NF_MATCH_ECN is not set" >>.config - echo "# CONFIG_IP_NF_MATCH_RPFILTER is not set" >>.config - echo "# CONFIG_IP_NF_MATCH_TTL is not set" >>.config - echo "CONFIG_IP_NF_FILTER=m" >>.config - echo "CONFIG_IP_NF_TARGET_REJECT=m" >>.config - echo "# CONFIG_IP_NF_TARGET_SYNPROXY is not set" >>.config - echo "# CONFIG_IP_NF_TARGET_NETMAP is not set" >>.config - echo "# CONFIG_IP_NF_TARGET_REDIRECT is not set" >>.config - echo "CONFIG_IP_NF_MANGLE=m" >>.config - echo "# CONFIG_IP_NF_TARGET_CLUSTERIP is not set" >>.config - echo "# CONFIG_IP_NF_TARGET_ECN is not set" >>.config - echo "# CONFIG_IP_NF_TARGET_TTL is not set" >>.config - echo "CONFIG_IP_NF_RAW=m" >>.config - echo "# CONFIG_IP_NF_SECURITY is not set" >>.config - echo "# CONFIG_IP_NF_ARPTABLES is not set" >>.config - echo "CONFIG_NF_TABLES_IPV6=m" >>.config - echo "CONFIG_NFT_CHAIN_ROUTE_IPV6=m" >>.config - echo "CONFIG_NFT_REJECT_IPV6=m" >>.config - echo "# CONFIG_NF_NAT_IPV6 is not set" >>.config - echo "# CONFIG_IP6_NF_MATCH_AH is not set" >>.config - echo "# CONFIG_IP6_NF_MATCH_EUI64 is not set" >>.config - echo "# CONFIG_IP6_NF_MATCH_FRAG is not set" >>.config - echo "# CONFIG_IP6_NF_MATCH_OPTS is not set" >>.config - echo "# CONFIG_IP6_NF_MATCH_HL is not set" >>.config - echo "# CONFIG_IP6_NF_MATCH_MH is not set" >>.config - echo "# CONFIG_IP6_NF_MATCH_RPFILTER is not set" >>.config - echo "# CONFIG_IP6_NF_MATCH_RT is not set" >>.config - echo "# CONFIG_IP6_NF_TARGET_HL is not set" >>.config - echo "# CONFIG_IP6_NF_TARGET_SYNPROXY is not set" >>.config - echo "CONFIG_IP6_NF_RAW=m" >>.config - echo "# CONFIG_IP6_NF_SECURITY is not set" >>.config - echo "# CONFIG_IP6_NF_NAT is not set" >>.config - echo "CONFIG_NF_TABLES_BRIDGE=m" >>.config - echo "CONFIG_NFT_BRIDGE_META=m" >>.config - echo "CONFIG_NFT_BRIDGE_REJECT=m" >>.config - echo "CONFIG_NF_LOG_BRIDGE=m" >>.config - echo "CONFIG_IP_SCTP=m" >>.config - echo "CONFIG_NET_SCTPPROBE=m" >>.config - echo "# CONFIG_SCTP_DBG_OBJCNT is not set" >>.config - echo "# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set" >>.config - echo "CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y" >>.config - echo "# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set" >>.config - echo "CONFIG_SCTP_COOKIE_HMAC_MD5=y" >>.config - echo "CONFIG_SCTP_COOKIE_HMAC_SHA1=y" >>.config - echo "CONFIG_GARP=m" >>.config - echo "CONFIG_MRP=m" >>.config - echo "CONFIG_BRIDGE_VLAN_FILTERING=y" >>.config - echo "CONFIG_VLAN_8021Q=m" >>.config - echo "CONFIG_VLAN_8021Q_GVRP=y" >>.config - echo "CONFIG_VLAN_8021Q_MVRP=y" >>.config - echo "CONFIG_NET_EMATCH_IPSET=m" >>.config - echo "CONFIG_OPENVSWITCH_GRE=m" >>.config - echo "CONFIG_MAC80211_LEDS=y" >>.config - echo "CONFIG_RFKILL_LEDS=y" >>.config - echo "CONFIG_REGMAP_I2C=m" >>.config - echo "CONFIG_BLK_DEV_DRBD=m" >>.config - echo "# CONFIG_DRBD_FAULT_INJECTION is not set" >>.config - echo "CONFIG_BLK_DEV_NBD=m" >>.config - echo "CONFIG_INTEL_MEI=m" >>.config - echo "CONFIG_INTEL_MEI_ME=m" >>.config - echo "# CONFIG_INTEL_MEI_TXE is not set" >>.config - echo "CONFIG_SCSI_DH=m" >>.config - echo "CONFIG_SCSI_DH_RDAC=m" >>.config - echo "CONFIG_SCSI_DH_HP_SW=m" >>.config - echo "CONFIG_SCSI_DH_EMC=m" >>.config - echo "CONFIG_SCSI_DH_ALUA=m" >>.config - echo "CONFIG_MD_LINEAR=m" >>.config - echo "CONFIG_MD_RAID0=m" >>.config - echo "CONFIG_MD_RAID1=m" >>.config - echo "CONFIG_MD_RAID10=m" >>.config - echo "CONFIG_MD_RAID456=m" >>.config - echo "CONFIG_MD_MULTIPATH=m" >>.config - echo "CONFIG_MD_FAULTY=m" >>.config - echo "CONFIG_MD_CLUSTER=m" >>.config - echo "CONFIG_DM_CRYPT=m" >>.config - echo "CONFIG_DM_MULTIPATH=m" >>.config - echo "CONFIG_DM_MULTIPATH_QL=m" >>.config - echo "CONFIG_DM_MULTIPATH_ST=m" >>.config - echo "CONFIG_BONDING=m" >>.config - echo "CONFIG_MACVLAN=m" >>.config - echo "CONFIG_MACVTAP=m" >>.config - echo "CONFIG_VETH=m" >>.config - echo "CONFIG_VHOST_NET=m" >>.config - echo "CONFIG_VHOST_RING=m" >>.config - echo "CONFIG_VHOST=m" >>.config - echo "CONFIG_KS8842=m" >>.config - echo "CONFIG_INPUT_SPARSEKMAP=m" >>.config - echo "CONFIG_INPUT_JOYDEV=m" >>.config - echo "CONFIG_KEYBOARD_LM8323=m" >>.config - echo "CONFIG_INPUT_APANEL=m" >>.config - echo "CONFIG_INPUT_IMS_PCU=m" >>.config - echo "CONFIG_W1=m" >>.config - echo "CONFIG_W1_CON=y" >>.config - echo "CONFIG_W1_MASTER_MATROX=m" >>.config - echo "CONFIG_W1_MASTER_DS2490=m" >>.config - echo "CONFIG_W1_MASTER_DS2482=m" >>.config - echo "CONFIG_W1_MASTER_DS1WM=m" >>.config - echo "CONFIG_W1_SLAVE_THERM=m" >>.config - echo "CONFIG_W1_SLAVE_SMEM=m" >>.config - echo "CONFIG_W1_SLAVE_DS2408=m" >>.config - echo "CONFIG_W1_SLAVE_DS2408_READBACK=y" >>.config - echo "# CONFIG_W1_SLAVE_DS2413 is not set" >>.config - echo "CONFIG_W1_SLAVE_DS2406=m" >>.config - echo "CONFIG_W1_SLAVE_DS2423=m" >>.config - echo "CONFIG_W1_SLAVE_DS2431=m" >>.config - echo "CONFIG_W1_SLAVE_DS2433=m" >>.config - echo "# CONFIG_W1_SLAVE_DS2433_CRC is not set" >>.config - echo "CONFIG_W1_SLAVE_DS2760=m" >>.config - echo "CONFIG_W1_SLAVE_DS2780=m" >>.config - echo "CONFIG_W1_SLAVE_DS2781=m" >>.config - echo "CONFIG_W1_SLAVE_DS28E04=m" >>.config - echo "CONFIG_W1_SLAVE_BQ27000=m" >>.config - echo "CONFIG_POWER_SUPPLY=y" >>.config - echo "# CONFIG_POWER_SUPPLY_DEBUG is not set" >>.config - echo "CONFIG_PDA_POWER=m" >>.config - echo "# CONFIG_TEST_POWER is not set" >>.config - echo "CONFIG_BATTERY_DS2760=m" >>.config - echo "CONFIG_BATTERY_DS2780=m" >>.config - echo "CONFIG_BATTERY_DS2781=m" >>.config - echo "CONFIG_BATTERY_DS2782=m" >>.config - echo "CONFIG_BATTERY_SBS=m" >>.config - echo "CONFIG_BATTERY_BQ27x00=m" >>.config - echo "CONFIG_BATTERY_BQ27X00_I2C=y" >>.config - echo "CONFIG_BATTERY_BQ27X00_PLATFORM=y" >>.config - echo "CONFIG_BATTERY_MAX17040=m" >>.config - echo "CONFIG_BATTERY_MAX17042=m" >>.config - echo "CONFIG_CHARGER_MAX8903=m" >>.config - echo "CONFIG_CHARGER_LP8727=m" >>.config - echo "CONFIG_CHARGER_BQ2415X=m" >>.config - echo "CONFIG_CHARGER_SMB347=m" >>.config - echo "CONFIG_BATTERY_GAUGE_LTC2941=m" >>.config - echo "CONFIG_POWER_RESET=y" >>.config - echo "CONFIG_POWER_RESET_RESTART=y" >>.config - echo "CONFIG_SENSORS_CORETEMP=m" >>.config - echo "CONFIG_SENSORS_ACPI_POWER=m" >>.config - echo "CONFIG_INTEL_POWERCLAMP=m" >>.config - echo "CONFIG_WATCHDOG_CORE=y" >>.config - echo "CONFIG_MFD_CORE=m" >>.config - echo "CONFIG_LPC_ICH=m" >>.config - echo "CONFIG_HID_GT683R=m" >>.config - echo "CONFIG_HID_SONY=m" >>.config - echo "CONFIG_SONY_FF=y" >>.config - echo "CONFIG_HID_THINGM=m" >>.config - echo "CONFIG_HID_WIIMOTE=m" >>.config - echo "CONFIG_USB_LED_TRIG=y" >>.config - echo "CONFIG_NEW_LEDS=y" >>.config - echo "CONFIG_LEDS_CLASS=m" >>.config - echo "CONFIG_LEDS_CLASS_FLASH=m" >>.config - echo "CONFIG_LEDS_LM3530=m" >>.config - echo "CONFIG_LEDS_LM3642=m" >>.config - echo "CONFIG_LEDS_PCA9532=m" >>.config - echo "CONFIG_LEDS_LP3944=m" >>.config - echo "CONFIG_LEDS_LP55XX_COMMON=m" >>.config - echo "CONFIG_LEDS_LP5521=m" >>.config - echo "CONFIG_LEDS_LP5523=m" >>.config - echo "CONFIG_LEDS_LP5562=m" >>.config - echo "CONFIG_LEDS_LP8501=m" >>.config - echo "CONFIG_LEDS_LP8860=m" >>.config - echo "CONFIG_LEDS_CLEVO_MAIL=m" >>.config - echo "CONFIG_LEDS_PCA955X=m" >>.config - echo "CONFIG_LEDS_PCA963X=m" >>.config - echo "CONFIG_LEDS_BD2802=m" >>.config - echo "CONFIG_LEDS_INTEL_SS4200=m" >>.config - echo "CONFIG_LEDS_DELL_NETBOOKS=m" >>.config - echo "CONFIG_LEDS_TCA6507=m" >>.config - echo "CONFIG_LEDS_LM355x=m" >>.config - echo "CONFIG_LEDS_BLINKM=m" >>.config - echo "CONFIG_LEDS_PM8941_WLED=m" >>.config - echo "CONFIG_LEDS_TRIGGERS=y" >>.config - echo "CONFIG_LEDS_TRIGGER_TIMER=m" >>.config - echo "CONFIG_LEDS_TRIGGER_ONESHOT=m" >>.config - echo "CONFIG_LEDS_TRIGGER_HEARTBEAT=m" >>.config - echo "CONFIG_LEDS_TRIGGER_BACKLIGHT=m" >>.config - echo "CONFIG_LEDS_TRIGGER_DEFAULT_ON=m" >>.config - echo "CONFIG_LEDS_TRIGGER_TRANSIENT=m" >>.config - echo "CONFIG_LEDS_TRIGGER_CAMERA=m" >>.config - echo "CONFIG_INTEL_IOATDMA=m" >>.config - echo "CONFIG_DMA_ENGINE=y" >>.config - echo "# CONFIG_ASYNC_TX_DMA is not set" >>.config - echo "CONFIG_DMATEST=m" >>.config - echo "CONFIG_DMA_ENGINE_RAID=y" >>.config - echo "CONFIG_DCA=m" >>.config - echo "CONFIG_ACER_WMI=m" >>.config - echo "CONFIG_ALIENWARE_WMI=m" >>.config - echo "CONFIG_DELL_WMI=m" >>.config - echo "CONFIG_DELL_WMI_AIO=m" >>.config - echo "CONFIG_HP_WMI=m" >>.config - echo "CONFIG_COMPAL_LAPTOP=m" >>.config - echo "CONFIG_ASUS_WMI=m" >>.config - echo "CONFIG_ASUS_NB_WMI=m" >>.config - echo "CONFIG_EEEPC_WMI=m" >>.config - echo "CONFIG_ACPI_WMI=m" >>.config - echo "CONFIG_MSI_WMI=m" >>.config - echo "CONFIG_ACPI_TOSHIBA=m" >>.config - echo "CONFIG_MXM_WMI=m" >>.config - echo "CONFIG_OCFS2_FS=m" >>.config - echo "CONFIG_OCFS2_FS_O2CB=m" >>.config - echo "CONFIG_OCFS2_FS_USERSPACE_CLUSTER=m" >>.config - echo "CONFIG_OCFS2_FS_STATS=y" >>.config - echo "CONFIG_OCFS2_DEBUG_MASKLOG=y" >>.config - echo "# CONFIG_OCFS2_DEBUG_FS is not set" >>.config - echo "CONFIG_CONFIGFS_FS=m" >>.config - echo "CONFIG_DLM=m" >>.config - echo "# CONFIG_DLM_DEBUG is not set" >>.config - echo "CONFIG_ASYNC_RAID6_TEST=m" >>.config - echo "CONFIG_SECURITYFS=y" >>.config - echo "CONFIG_SECURITY_PATH=y" >>.config - echo "CONFIG_LSM_MMAP_MIN_ADDR=0" >>.config - echo "CONFIG_SECURITY_SELINUX=y" >>.config - echo "CONFIG_SECURITY_SELINUX_BOOTPARAM=y" >>.config - echo "CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0" >>.config - echo "CONFIG_SECURITY_SELINUX_DISABLE=y" >>.config - echo "CONFIG_SECURITY_SELINUX_DEVELOP=y" >>.config - echo "CONFIG_SECURITY_SELINUX_AVC_STATS=y" >>.config - echo "CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1" >>.config - echo "# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set" >>.config - echo "CONFIG_SECURITY_APPARMOR=y" >>.config - echo "CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1" >>.config - echo "CONFIG_SECURITY_APPARMOR_HASH=y" >>.config - echo "CONFIG_INTEGRITY_AUDIT=y" >>.config - echo "# CONFIG_DEFAULT_SECURITY_SELINUX is not set" >>.config - echo "CONFIG_DEFAULT_SECURITY_APPARMOR=y" >>.config - echo "# CONFIG_DEFAULT_SECURITY_DAC is not set" >>.config - echo "CONFIG_DEFAULT_SECURITY=\"apparmor\"" >>.config - echo "CONFIG_XOR_BLOCKS=m" >>.config - echo "CONFIG_ASYNC_CORE=m" >>.config - echo "CONFIG_ASYNC_MEMCPY=m" >>.config - echo "CONFIG_ASYNC_XOR=m" >>.config - echo "CONFIG_ASYNC_PQ=m" >>.config - echo "CONFIG_ASYNC_RAID6_RECOV=m" >>.config - echo "CONFIG_CRYPTO_CRYPTD=m" >>.config - echo "CONFIG_CRYPTO_ABLK_HELPER=m" >>.config - echo "CONFIG_CRYPTO_GLUE_HELPER_X86=m" >>.config - echo "CONFIG_CRYPTO_LRW=m" >>.config - echo "CONFIG_CRYPTO_XTS=m" >>.config - echo "CONFIG_CRYPTO_CRC32C_INTEL=m" >>.config - echo "CONFIG_CRYPTO_CRC32=m" >>.config - echo "CONFIG_CRYPTO_CRC32_PCLMUL=m" >>.config - echo "CONFIG_CRYPTO_CRCT10DIF=m" >>.config - echo "CONFIG_CRYPTO_CRCT10DIF_PCLMUL=m" >>.config - echo "CONFIG_CRYPTO_AES_X86_64=m" >>.config - echo "CONFIG_CRYPTO_AES_NI_INTEL=m" >>.config - echo "CONFIG_KVM_AMD=y" >>.config - echo "CONFIG_RAID6_PQ=m" >>.config - echo "CONFIG_CRC_T10DIF=m" >>.config - echo "CONFIG_LRU_CACHE=m" >>.config - echo "CONFIG_BLK_DEV_BSGLIB=y" >>.config - echo "CONFIG_BRIDGE_NF_EBTABLES=m" >>.config - echo "CONFIG_BRIDGE_EBT_BROUTE=m" >>.config - echo "CONFIG_BRIDGE_EBT_T_FILTER=m" >>.config - echo "CONFIG_BRIDGE_EBT_T_NAT=m" >>.config - echo "CONFIG_BRIDGE_EBT_802_3=m" >>.config - echo "CONFIG_BRIDGE_EBT_AMONG=m" >>.config - echo "CONFIG_BRIDGE_EBT_ARP=m" >>.config - echo "CONFIG_BRIDGE_EBT_IP=m" >>.config - echo "CONFIG_BRIDGE_EBT_IP6=m" >>.config - echo "CONFIG_BRIDGE_EBT_LIMIT=m" >>.config - echo "CONFIG_BRIDGE_EBT_MARK=m" >>.config - echo "CONFIG_BRIDGE_EBT_PKTTYPE=m" >>.config - echo "CONFIG_BRIDGE_EBT_STP=m" >>.config - echo "CONFIG_BRIDGE_EBT_VLAN=m" >>.config - echo "CONFIG_BRIDGE_EBT_ARPREPLY=m" >>.config - echo "CONFIG_BRIDGE_EBT_DNAT=m" >>.config - echo "CONFIG_BRIDGE_EBT_MARK_T=m" >>.config - echo "CONFIG_BRIDGE_EBT_REDIRECT=m" >>.config - echo "CONFIG_BRIDGE_EBT_SNAT=m" >>.config - echo "CONFIG_BRIDGE_EBT_LOG=m" >>.config - echo "CONFIG_BRIDGE_EBT_NFLOG=m" >>.config - echo "CONFIG_RDS=m" >>.config - echo "CONFIG_RDS_RDMA=m" >>.config - echo "CONFIG_RDS_TCP=m" >>.config - echo "# CONFIG_RDS_DEBUG is not set" >>.config - echo "CONFIG_SCSI_ISCSI_ATTRS=m" >>.config - echo "CONFIG_SCSI_SRP_ATTRS=m" >>.config - echo "CONFIG_ENIC=m" >>.config - echo "CONFIG_BE2NET=m" >>.config - echo "CONFIG_BE2NET_VXLAN=y" >>.config - echo "CONFIG_MLX4_CORE=m" >>.config - echo "CONFIG_MLX4_DEBUG=y" >>.config - echo "CONFIG_MLX5_CORE=m" >>.config - echo "CONFIG_SERIO_RAW=m" >>.config - echo "CONFIG_SND_HWDEP=m" >>.config - echo "CONFIG_SND_HDA=m" >>.config - echo "CONFIG_SND_HDA_INTEL=m" >>.config - echo "CONFIG_SND_HDA_CODEC_REALTEK=m" >>.config - echo "CONFIG_SND_HDA_CODEC_HDMI=m" >>.config - echo "CONFIG_SND_HDA_GENERIC=m" >>.config - echo "CONFIG_SND_HDA_CORE=m" >>.config - echo "CONFIG_INFINIBAND=m" >>.config - echo "CONFIG_INFINIBAND_USER_MAD=m" >>.config - echo "CONFIG_INFINIBAND_USER_ACCESS=m" >>.config - echo "CONFIG_INFINIBAND_USER_MEM=y" >>.config - echo "CONFIG_INFINIBAND_ON_DEMAND_PAGING=y" >>.config - echo "CONFIG_INFINIBAND_ADDR_TRANS=y" >>.config - echo "CONFIG_INFINIBAND_MTHCA=m" >>.config - echo "CONFIG_INFINIBAND_MTHCA_DEBUG=y" >>.config - echo "CONFIG_INFINIBAND_IPATH=m" >>.config - echo "CONFIG_INFINIBAND_QIB=m" >>.config - echo "CONFIG_INFINIBAND_QIB_DCA=y" >>.config - echo "CONFIG_INFINIBAND_AMSO1100=m" >>.config - echo "# CONFIG_INFINIBAND_AMSO1100_DEBUG is not set" >>.config - echo "CONFIG_MLX4_INFINIBAND=m" >>.config - echo "CONFIG_MLX5_INFINIBAND=m" >>.config - echo "CONFIG_INFINIBAND_NES=m" >>.config - echo "# CONFIG_INFINIBAND_NES_DEBUG is not set" >>.config - echo "CONFIG_INFINIBAND_OCRDMA=m" >>.config - echo "CONFIG_INFINIBAND_USNIC=m" >>.config - echo "CONFIG_INFINIBAND_IPOIB=m" >>.config - echo "CONFIG_INFINIBAND_IPOIB_CM=y" >>.config - echo "CONFIG_INFINIBAND_IPOIB_DEBUG=y" >>.config - echo "# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set" >>.config - echo "CONFIG_INFINIBAND_SRP=m" >>.config - echo "CONFIG_INFINIBAND_ISER=m" >>.config - echo "CONFIG_BTRFS_FS=m" >>.config - echo "CONFIG_BTRFS_FS_POSIX_ACL=y" >>.config - echo "# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set" >>.config - echo "# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set" >>.config - echo "# CONFIG_BTRFS_DEBUG is not set" >>.config - echo "# CONFIG_BTRFS_ASSERT is not set" >>.config - echo "CONFIG_SUNRPC_XPRT_RDMA_CLIENT=m" >>.config - echo "CONFIG_SUNRPC_XPRT_RDMA_SERVER=m" >>.config - echo "CONFIG_ZLIB_DEFLATE=m" >>.config - echo "CONFIG_PARPORT=m" >>.config - echo "# CONFIG_PARPORT_PC is not set" >>.config - echo "# CONFIG_PARPORT_GSC is not set" >>.config - echo "# CONFIG_PARPORT_AX88796 is not set" >>.config - echo "# CONFIG_PARPORT_1284 is not set" >>.config - echo "# CONFIG_ATP is not set" >>.config - echo "# CONFIG_PLIP is not set" >>.config - echo "# CONFIG_JOYSTICK_DB9 is not set" >>.config - echo "# CONFIG_JOYSTICK_GAMECON is not set" >>.config - echo "# CONFIG_JOYSTICK_TURBOGRAFX is not set" >>.config - echo "# CONFIG_JOYSTICK_WALKERA0701 is not set" >>.config - echo "# CONFIG_SERIO_PARKBD is not set" >>.config - echo "CONFIG_PRINTER=m" >>.config - echo "# CONFIG_LP_CONSOLE is not set" >>.config - echo "# CONFIG_PPDEV is not set" >>.config - echo "# CONFIG_I2C_PARPORT is not set" >>.config - echo "# CONFIG_PPS_CLIENT_PARPORT is not set" >>.config - echo "# CONFIG_SND_MTS64 is not set" >>.config - echo "# CONFIG_SND_PORTMAN2X4 is not set" >>.config - echo "# CONFIG_USB_USS720 is not set" >>.config - echo "CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m" >>.config - echo "CONFIG_BLK_DEV_INTEGRITY=y" >>.config - echo "CONFIG_BLK_DEV_OSD=m" >>.config - echo "CONFIG_EEPROM_93CX6=m" >>.config - echo "CONFIG_RAID_ATTRS=m" >>.config - echo "CONFIG_SCSI_SAS_ATTRS=m" >>.config - echo "CONFIG_SCSI_SAS_LIBSAS=m" >>.config - echo "# CONFIG_SCSI_SAS_ATA is not set" >>.config - echo "CONFIG_SCSI_SAS_HOST_SMP=y" >>.config - echo "CONFIG_SCSI_LOWLEVEL=y" >>.config - echo "CONFIG_ISCSI_TCP=m" >>.config - echo "CONFIG_ISCSI_BOOT_SYSFS=m" >>.config - echo "CONFIG_SCSI_CXGB3_ISCSI=m" >>.config - echo "CONFIG_SCSI_CXGB4_ISCSI=m" >>.config - echo "CONFIG_SCSI_BNX2_ISCSI=m" >>.config - echo "CONFIG_BE2ISCSI=m" >>.config - echo "CONFIG_BLK_DEV_3W_XXXX_RAID=m" >>.config - echo "CONFIG_SCSI_HPSA=m" >>.config - echo "CONFIG_SCSI_3W_9XXX=m" >>.config - echo "CONFIG_SCSI_3W_SAS=m" >>.config - echo "CONFIG_SCSI_ACARD=m" >>.config - echo "CONFIG_SCSI_AACRAID=m" >>.config - echo "CONFIG_SCSI_AIC7XXX=m" >>.config - echo "CONFIG_AIC7XXX_CMDS_PER_DEVICE=8" >>.config - echo "CONFIG_AIC7XXX_RESET_DELAY_MS=15000" >>.config - echo "# CONFIG_AIC7XXX_DEBUG_ENABLE is not set" >>.config - echo "CONFIG_AIC7XXX_DEBUG_MASK=0" >>.config - echo "CONFIG_AIC7XXX_REG_PRETTY_PRINT=y" >>.config - echo "CONFIG_SCSI_AIC79XX=m" >>.config - echo "CONFIG_AIC79XX_CMDS_PER_DEVICE=32" >>.config - echo "CONFIG_AIC79XX_RESET_DELAY_MS=5000" >>.config - echo "# CONFIG_AIC79XX_DEBUG_ENABLE is not set" >>.config - echo "CONFIG_AIC79XX_DEBUG_MASK=0" >>.config - echo "CONFIG_AIC79XX_REG_PRETTY_PRINT=y" >>.config - echo "CONFIG_SCSI_AIC94XX=m" >>.config - echo "# CONFIG_AIC94XX_DEBUG is not set" >>.config - echo "CONFIG_SCSI_MVSAS=m" >>.config - echo "# CONFIG_SCSI_MVSAS_DEBUG is not set" >>.config - echo "# CONFIG_SCSI_MVSAS_TASKLET is not set" >>.config - echo "CONFIG_SCSI_MVUMI=m" >>.config - echo "CONFIG_SCSI_DPT_I2O=m" >>.config - echo "CONFIG_SCSI_ADVANSYS=m" >>.config - echo "CONFIG_SCSI_ARCMSR=m" >>.config - echo "CONFIG_SCSI_ESAS2R=m" >>.config - echo "CONFIG_MEGARAID_NEWGEN=y" >>.config - echo "CONFIG_MEGARAID_MM=m" >>.config - echo "CONFIG_MEGARAID_MAILBOX=m" >>.config - echo "CONFIG_MEGARAID_LEGACY=m" >>.config - echo "CONFIG_MEGARAID_SAS=m" >>.config - echo "CONFIG_SCSI_MPT2SAS=m" >>.config - echo "CONFIG_SCSI_MPT2SAS_MAX_SGE=128" >>.config - echo "# CONFIG_SCSI_MPT2SAS_LOGGING is not set" >>.config - echo "CONFIG_SCSI_MPT3SAS=m" >>.config - echo "CONFIG_SCSI_MPT3SAS_MAX_SGE=128" >>.config - echo "# CONFIG_SCSI_MPT3SAS_LOGGING is not set" >>.config - echo "CONFIG_SCSI_UFSHCD=m" >>.config - echo "CONFIG_SCSI_UFSHCD_PCI=m" >>.config - echo "CONFIG_SCSI_UFSHCD_PLATFORM=m" >>.config - echo "CONFIG_SCSI_HPTIOP=m" >>.config - echo "CONFIG_SCSI_BUSLOGIC=m" >>.config - echo "CONFIG_SCSI_FLASHPOINT=y" >>.config - echo "CONFIG_VMWARE_PVSCSI=m" >>.config - echo "CONFIG_SCSI_DMX3191D=m" >>.config - echo "CONFIG_SCSI_EATA=m" >>.config - echo "CONFIG_SCSI_EATA_TAGGED_QUEUE=y" >>.config - echo "CONFIG_SCSI_EATA_LINKED_COMMANDS=y" >>.config - echo "CONFIG_SCSI_EATA_MAX_TAGS=16" >>.config - echo "CONFIG_SCSI_FUTURE_DOMAIN=m" >>.config - echo "CONFIG_SCSI_GDTH=m" >>.config - echo "CONFIG_SCSI_ISCI=m" >>.config - echo "CONFIG_SCSI_IPS=m" >>.config - echo "CONFIG_SCSI_INITIO=m" >>.config - echo "CONFIG_SCSI_INIA100=m" >>.config - echo "CONFIG_SCSI_STEX=m" >>.config - echo "CONFIG_SCSI_SYM53C8XX_2=m" >>.config - echo "CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1" >>.config - echo "CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16" >>.config - echo "CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64" >>.config - echo "CONFIG_SCSI_SYM53C8XX_MMIO=y" >>.config - echo "CONFIG_SCSI_IPR=m" >>.config - echo "# CONFIG_SCSI_IPR_TRACE is not set" >>.config - echo "# CONFIG_SCSI_IPR_DUMP is not set" >>.config - echo "CONFIG_SCSI_QLOGIC_1280=m" >>.config - echo "CONFIG_SCSI_QLA_ISCSI=m" >>.config - echo "CONFIG_SCSI_DC395x=m" >>.config - echo "CONFIG_SCSI_AM53C974=m" >>.config - echo "CONFIG_SCSI_WD719X=m" >>.config - echo "CONFIG_SCSI_DEBUG=m" >>.config - echo "CONFIG_SCSI_PMCRAID=m" >>.config - echo "CONFIG_SCSI_PM8001=m" >>.config - echo "CONFIG_SCSI_VIRTIO=m" >>.config - echo "CONFIG_SCSI_LOWLEVEL_PCMCIA=y" >>.config - echo "CONFIG_PCMCIA_AHA152X=m" >>.config - echo "CONFIG_PCMCIA_FDOMAIN=m" >>.config - echo "CONFIG_PCMCIA_QLOGIC=m" >>.config - echo "CONFIG_PCMCIA_SYM53C500=m" >>.config - echo "CONFIG_SCSI_OSD_INITIATOR=m" >>.config - echo "CONFIG_SCSI_OSD_ULD=m" >>.config - echo "CONFIG_SCSI_OSD_DPRINT_SENSE=1" >>.config - echo "# CONFIG_SCSI_OSD_DEBUG is not set" >>.config - echo "CONFIG_BNX2=m" >>.config - echo "CONFIG_CNIC=m" >>.config - echo "CONFIG_CHELSIO_T3=m" >>.config - echo "CONFIG_CHELSIO_T4=m" >>.config - echo "CONFIG_INFINIBAND_CXGB3=m" >>.config - echo "# CONFIG_INFINIBAND_CXGB3_DEBUG is not set" >>.config - echo "CONFIG_INFINIBAND_CXGB4=m" >>.config - echo "CONFIG_PM_DEVFREQ=y" >>.config - echo "CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=m" >>.config - echo "CONFIG_DEVFREQ_GOV_PERFORMANCE=m" >>.config - echo "CONFIG_DEVFREQ_GOV_POWERSAVE=m" >>.config - echo "CONFIG_DEVFREQ_GOV_USERSPACE=m" >>.config - echo "# CONFIG_PM_DEVFREQ_EVENT is not set" >>.config - echo "CONFIG_EXOFS_FS=m" >>.config - echo "# CONFIG_EXOFS_DEBUG is not set" >>.config - echo "CONFIG_ORE=m" >>.config - echo "CONFIG_CRYPTO_CRCT10DIF=y" >>.config - echo "CONFIG_CRC_T10DIF=y" >>.config - echo "CONFIG_GENERIC_ALLOCATOR=y" >>.config - echo "CONFIG_IOSF_MBI=m" >>.config - echo "# CONFIG_IOSF_MBI_DEBUG is not set" >>.config - echo "# CONFIG_INTEL_SOC_DTS_THERMAL is not set" >>.config - echo "CONFIG_POWERCAP=y" >>.config - echo "CONFIG_INTEL_RAPL=m" >>.config - echo "CONFIG_HW_RANDOM_TPM=m" >>.config - echo "CONFIG_TCG_TPM=y" >>.config - echo "CONFIG_TCG_TIS=m" >>.config - echo "CONFIG_TCG_TIS_I2C_ATMEL=m" >>.config - echo "CONFIG_TCG_TIS_I2C_INFINEON=m" >>.config - echo "CONFIG_TCG_TIS_I2C_NUVOTON=m" >>.config - echo "CONFIG_TCG_NSC=m" >>.config - echo "CONFIG_TCG_ATMEL=m" >>.config - echo "CONFIG_TCG_INFINEON=m" >>.config - echo "CONFIG_TCG_CRB=m" >>.config - echo "CONFIG_TRUSTED_KEYS=m" >>.config - echo "CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m" >>.config - echo "CONFIG_KVM=m" >>.config - echo "CONFIG_KVM_INTEL=m" >>.config - echo "CONFIG_KVM_AMD=m" >>.config - echo "CONFIG_PATA_ACPI=m" >>.config - echo "CONFIG_CRC_ITU_T=m" >>.config - echo "CONFIG_FIREWIRE=y" >>.config - echo "CONFIG_FIREWIRE_OHCI=m" >>.config - echo "CONFIG_FIREWIRE_SBP2=m" >>.config - echo "CONFIG_FIREWIRE_NET=m" >>.config - echo "# CONFIG_SND_FIREWIRE is not set" >>.config - echo "CONFIG_EDAC_MM_EDAC=m" >>.config - echo "CONFIG_EDAC_AMD64=m" >>.config - echo "# CONFIG_EDAC_AMD64_ERROR_INJECTION is not set" >>.config - echo "CONFIG_EDAC_E752X=m" >>.config - echo "CONFIG_EDAC_I82975X=m" >>.config - echo "CONFIG_EDAC_I3000=m" >>.config - echo "CONFIG_EDAC_I3200=m" >>.config - echo "CONFIG_EDAC_IE31200=m" >>.config - echo "CONFIG_EDAC_X38=m" >>.config - echo "CONFIG_EDAC_I5400=m" >>.config - echo "CONFIG_EDAC_I7CORE=m" >>.config - echo "CONFIG_EDAC_I5000=m" >>.config - echo "CONFIG_EDAC_I5100=m" >>.config - echo "CONFIG_EDAC_I7300=m" >>.config - echo "CONFIG_PCI_MMCONFIG=y" >>.config - echo "CONFIG_EDAC_SBRIDGE=m" >>.config - echo "CONFIG_CEPH_LIB=m" >>.config - echo "# CONFIG_CEPH_LIB_PRETTYDEBUG is not set" >>.config - echo "CONFIG_CEPH_LIB_USE_DNS_RESOLVER=y" >>.config - echo "CONFIG_CEPH_FS=m" >>.config - echo "CONFIG_CEPH_FS_POSIX_ACL=y" >>.config - echo "CONFIG_XFS_RT=y" >>.config - echo "CONFIG_CRYPTO_ECB=y" >>.config - echo "CONFIG_CRYPTO_CRC32C_INTEL=y" >>.config - echo "CONFIG_CRYPTO_SHA512=y" >>.config - echo "CONFIG_CRYPTO_LZO=y" >>.config - echo "CONFIG_CRYPTO_DEV_PADLOCK=y" >>.config - echo "CONFIG_CRYPTO_DEV_PADLOCK_AES=m" >>.config - echo "CONFIG_CRYPTO_DEV_PADLOCK_SHA=m" >>.config make oldconfig </dev/null @@ -821,6 +129,19 @@ fi else git reset --hard fi + + # + # Apply out of tree patches + # + for i in $SRC/kvmfornfv/patches/ovs/*.patch + do + if [ -f "$i" ] + then + echo "Applying: $i" + patch -p1 <$i + fi + done + ./boot.sh ./configure --with-linux=$SRC/kvmfornfv/kernel make diff --git a/kernel/arch/x86/configs/opnfv.config b/kernel/arch/x86/configs/opnfv.config index ce2326af5..2d6d1cc4e 100644 --- a/kernel/arch/x86/configs/opnfv.config +++ b/kernel/arch/x86/configs/opnfv.config @@ -3561,7 +3561,7 @@ CONFIG_DMATEST=m CONFIG_DMA_ENGINE_RAID=y CONFIG_DCA=m # CONFIG_AUXDISPLAY is not set -CONFIG_UIO=y +CONFIG_UIO=m # CONFIG_UIO_CIF is not set # CONFIG_UIO_PDRV_GENIRQ is not set # CONFIG_UIO_DMEM_GENIRQ is not set diff --git a/patches/ovs/0001-Add-Linux-4.4-support.patch b/patches/ovs/0001-Add-Linux-4.4-support.patch new file mode 100644 index 000000000..a580bc267 --- /dev/null +++ b/patches/ovs/0001-Add-Linux-4.4-support.patch @@ -0,0 +1,246 @@ +From a4c2305b6190ce24ceaafb9f85fc5a67787fb71d Mon Sep 17 00:00:00 2001 +From: Donald Dugger <n0ano@n0ano.com> +Date: Mon, 9 May 2016 05:14:12 +0000 +Subject: [PATCH] Add Linux 4.4 support + +A bit cleaner than my previous patch. + http://patchwork.ozlabs.org/patch/595969/ + +Though I couldn't figure out a clean solution for ip6_local_out(), +genl_notify(), and vport-vxlan + +Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> + +Note that this patch has been rejected for the upstream OVS tree as +the maintainers feel a different apporach (backporting all Linux +patches that affect the OVS code). We'll just use this patch until +the official OVS tree is updated to support Linux 4.4. + +Upstream status: NA + +Signed-off-by: Don Dugger <n0ano@n0ano.com> +--- + acinclude.m4 | 4 ++-- + datapath/actions.c | 6 ++++-- + datapath/datapath.c | 6 +++++- + datapath/linux/compat/include/linux/netfilter_ipv6.h | 2 +- + datapath/linux/compat/include/net/ip.h | 19 ++++++++++++++++--- + datapath/linux/compat/include/net/ip6_tunnel.h | 4 ++++ + datapath/linux/compat/include/net/vxlan.h | 10 ++++++++++ + datapath/linux/compat/stt.c | 6 ++++++ + datapath/vport-vxlan.c | 5 +++++ + 9 files changed, 53 insertions(+), 9 deletions(-) + +diff --git a/acinclude.m4 b/acinclude.m4 +index 23015fe..22e75ec 100644 +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -134,10 +134,10 @@ AC_DEFUN([OVS_CHECK_LINUX], [ + AC_MSG_RESULT([$kversion]) + + if test "$version" -ge 4; then +- if test "$version" = 4 && test "$patchlevel" -le 3; then ++ if test "$version" = 4 && test "$patchlevel" -le 4; then + : # Linux 4.x + else +- AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 4.3.x is not supported (please refer to the FAQ for advice)]) ++ AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 4.4.x is not supported (please refer to the FAQ for advice)]) + fi + elif test "$version" = 3 && test "$patchlevel" -ge 10; then + : # Linux 3.x +diff --git a/datapath/actions.c b/datapath/actions.c +index dcf8591..242e710 100644 +--- a/datapath/actions.c ++++ b/datapath/actions.c +@@ -702,7 +702,8 @@ static void ovs_fragment(struct vport *vport, struct sk_buff *skb, u16 mru, + skb_dst_set_noref(skb, &ovs_dst); + IPCB(skb)->frag_max_size = mru; + +- ip_do_fragment(skb->sk, skb, ovs_vport_output); ++ ip_do_fragment(NET_ARG(dev_net(ovs_dst.dev)) ++ skb->sk, skb, ovs_vport_output); + refdst_drop(orig_dst); + } else if (ethertype == htons(ETH_P_IPV6)) { + const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops(); +@@ -723,7 +724,8 @@ static void ovs_fragment(struct vport *vport, struct sk_buff *skb, u16 mru, + skb_dst_set_noref(skb, &ovs_rt.dst); + IP6CB(skb)->frag_max_size = mru; + +- v6ops->fragment(skb->sk, skb, ovs_vport_output); ++ v6ops->fragment(NET_ARG(dev_net(ovs_rt.dst.dev)) ++ skb->sk, skb, ovs_vport_output); + refdst_drop(orig_dst); + } else { + WARN_ONCE(1, "Failed fragment ->%s: eth=%04x, MRU=%d, MTU=%d.", +diff --git a/datapath/datapath.c b/datapath/datapath.c +index 5bec072..ba19c01 100644 +--- a/datapath/datapath.c ++++ b/datapath/datapath.c +@@ -95,8 +95,12 @@ static bool ovs_must_notify(struct genl_family *family, struct genl_info *info, + static void ovs_notify(struct genl_family *family, struct genl_multicast_group *grp, + struct sk_buff *skb, struct genl_info *info) + { +- genl_notify(family, skb, genl_info_net(info), ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) ++ genl_notify(family, skb, info, GROUP_ID(grp), GFP_KERNEL); ++#else ++ genl_notify(family, skb, genl_info_net(info), + info->snd_portid, GROUP_ID(grp), info->nlhdr, GFP_KERNEL); ++#endif + } + + /** +diff --git a/datapath/linux/compat/include/linux/netfilter_ipv6.h b/datapath/linux/compat/include/linux/netfilter_ipv6.h +index 8d896fb..9f64002 100644 +--- a/datapath/linux/compat/include/linux/netfilter_ipv6.h ++++ b/datapath/linux/compat/include/linux/netfilter_ipv6.h +@@ -13,7 +13,7 @@ + * the callback parameter needs to be in the form that older kernels accept. + * We don't backport the other ipv6_ops as they're currently unused by OVS. */ + struct ovs_nf_ipv6_ops { +- int (*fragment)(struct sock *sk, struct sk_buff *skb, ++ int (*fragment)(NET_ARG(net) struct sock *sk, struct sk_buff *skb, + int (*output)(OVS_VPORT_OUTPUT_PARAMS)); + }; + #define nf_ipv6_ops ovs_nf_ipv6_ops +diff --git a/datapath/linux/compat/include/net/ip.h b/datapath/linux/compat/include/net/ip.h +index c283ad0..483662c 100644 +--- a/datapath/linux/compat/include/net/ip.h ++++ b/datapath/linux/compat/include/net/ip.h +@@ -59,8 +59,20 @@ static inline unsigned int rpl_ip_skb_dst_mtu(const struct sk_buff *skb) + #define ip_skb_dst_mtu rpl_ip_skb_dst_mtu + #endif /* HAVE_IP_SKB_DST_MTU */ + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) ++#define NET_PARAM(x) struct net *x, ++#define NET_ARG(x) x, ++#define NET_DEV_NET(x) dev_net(x) ++#define NET_DECLARE_INIT(x,y) ++#else ++#define NET_PARAM(x) ++#define NET_ARG(x) ++#define NET_DEV_NET(x) ++#define NET_DECLARE_INIT(x,y) struct net *x = y; ++#endif ++ + #ifdef HAVE_IP_FRAGMENT_TAKES_SOCK +-#define OVS_VPORT_OUTPUT_PARAMS struct sock *sock, struct sk_buff *skb ++#define OVS_VPORT_OUTPUT_PARAMS NET_PARAM(net) struct sock *sock, struct sk_buff *skb + #else + #define OVS_VPORT_OUTPUT_PARAMS struct sk_buff *skb + #endif +@@ -82,12 +94,13 @@ static inline bool ip_defrag_user_in_between(u32 user, + #endif /* < v4.2 */ + + #ifndef HAVE_IP_DO_FRAGMENT +-static inline int rpl_ip_do_fragment(struct sock *sk, struct sk_buff *skb, ++static inline int rpl_ip_do_fragment(NET_PARAM(net) struct sock *sk, struct sk_buff *skb, + int (*output)(OVS_VPORT_OUTPUT_PARAMS)) + { + unsigned int mtu = ip_skb_dst_mtu(skb); + struct iphdr *iph = ip_hdr(skb); + struct rtable *rt = skb_rtable(skb); ++ NET_DECLARE_INIT(net, dev_net(dev)); + struct net_device *dev = rt->dst.dev; + + if (unlikely(((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) || +@@ -95,7 +108,7 @@ static inline int rpl_ip_do_fragment(struct sock *sk, struct sk_buff *skb, + IPCB(skb)->frag_max_size > mtu))) { + + pr_warn("Dropping packet in ip_do_fragment()\n"); +- IP_INC_STATS(dev_net(dev), IPSTATS_MIB_FRAGFAILS); ++ IP_INC_STATS(net, IPSTATS_MIB_FRAGFAILS); + kfree_skb(skb); + return -EMSGSIZE; + } +diff --git a/datapath/linux/compat/include/net/ip6_tunnel.h b/datapath/linux/compat/include/net/ip6_tunnel.h +index ce65087..eacf9ca 100644 +--- a/datapath/linux/compat/include/net/ip6_tunnel.h ++++ b/datapath/linux/compat/include/net/ip6_tunnel.h +@@ -17,11 +17,15 @@ static inline void ip6tunnel_xmit(struct sock *sk, struct sk_buff *skb, + + pkt_len = skb->len - skb_inner_network_offset(skb); + /* TODO: Fix GSO for ipv6 */ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) ++ err = ip6_local_out(dev_net(dev), sk, skb); ++#else + #ifdef HAVE_IP6_LOCAL_OUT_SK + err = ip6_local_out_sk(sk, skb); + #else + err = ip6_local_out(skb); + #endif ++#endif /* >= kernel 4.4 */ + if (net_xmit_eval(err) != 0) + pkt_len = net_xmit_eval(err); + else +diff --git a/datapath/linux/compat/include/net/vxlan.h b/datapath/linux/compat/include/net/vxlan.h +index 75a5a7a..589cc0d 100644 +--- a/datapath/linux/compat/include/net/vxlan.h ++++ b/datapath/linux/compat/include/net/vxlan.h +@@ -218,10 +218,20 @@ struct vxlan_dev { + struct net_device *rpl_vxlan_dev_create(struct net *net, const char *name, + u8 name_assign_type, struct vxlan_config *conf); + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) ++static inline __be16 vxlan_dev_dst_port(struct vxlan_dev *vxlan, ++ unsigned short family) ++{ ++ if (family == AF_INET6) ++ return inet_sk(vxlan->vn6_sock->sock->sk)->inet_sport; ++ return inet_sk(vxlan->vn4_sock->sock->sk)->inet_sport; ++} ++#else + static inline __be16 vxlan_dev_dst_port(struct vxlan_dev *vxlan) + { + return inet_sk(vxlan->vn_sock->sock->sk)->inet_sport; + } ++#endif + + static inline netdev_features_t vxlan_features_check(struct sk_buff *skb, + netdev_features_t features) +diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c +index 86d225e..6b1e3a3 100644 +--- a/datapath/linux/compat/stt.c ++++ b/datapath/linux/compat/stt.c +@@ -1544,7 +1544,11 @@ static void clean_percpu(struct work_struct *work) + } + + #ifdef HAVE_NF_HOOKFN_ARG_OPS ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) ++#define FIRST_PARAM void *priv ++#else + #define FIRST_PARAM const struct nf_hook_ops *ops ++#endif /* >= kernel 4.4 */ + #else + #define FIRST_PARAM unsigned int hooknum + #endif +@@ -1592,7 +1596,9 @@ static unsigned int nf_ip_hook(FIRST_PARAM, struct sk_buff *skb, LAST_PARAM) + + static struct nf_hook_ops nf_hook_ops __read_mostly = { + .hook = nf_ip_hook, ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0) + .owner = THIS_MODULE, ++#endif + .pf = NFPROTO_IPV4, + .hooknum = NF_INET_LOCAL_IN, + .priority = INT_MAX, +diff --git a/datapath/vport-vxlan.c b/datapath/vport-vxlan.c +index c05f5d4..3cbb568 100644 +--- a/datapath/vport-vxlan.c ++++ b/datapath/vport-vxlan.c +@@ -153,7 +153,12 @@ static int vxlan_get_egress_tun_info(struct vport *vport, struct sk_buff *skb, + { + struct vxlan_dev *vxlan = netdev_priv(vport->dev); + struct net *net = ovs_dp_get_net(vport->dp); ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,0) ++ unsigned short family = ip_tunnel_info_af(upcall->egress_tun_info); ++ __be16 dst_port = vxlan_dev_dst_port(vxlan, family); ++#else + __be16 dst_port = vxlan_dev_dst_port(vxlan); ++#endif + __be16 src_port; + int port_min; + int port_max; +-- +1.9.1 + |