From 466e26b6e6b094265a0a2739d71e42844a78d604 Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 7 Oct 2021 17:14:31 +0200 Subject: [PATCH 1/9] linux: extend config Based on linux-5.10.47-390: - add some USB-Ethernet-dongles - add CONFIG_PROC_CHILDREN --- linux-5.10.70-403.bee | 965 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 965 insertions(+) create mode 100644 linux-5.10.70-403.bee diff --git a/linux-5.10.70-403.bee b/linux-5.10.70-403.bee new file mode 100644 index 000000000..b8d8f57f8 --- /dev/null +++ b/linux-5.10.70-403.bee @@ -0,0 +1,965 @@ +#!/bin/env beesh + +# note: BEE_MAKEFLAGS="-j $(nproc)" ./linux-xxx.bee + +KERNELVERSION=${PKGVERSION} +if [ -z "${PKGVERSION[3]}" ] ; then + KERNELVERSION=${KERNELVERSION}.0 +fi + +# append extra version to get for example 4.8.0-rc4 +KERNELVERSION=${KERNELVERSION}${PKGEXTRAVERSION_DASH} + +echo $KERNELVERSION + +SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}${PKGEXTRAVERSION_DASH}.tar.xz" +if [ -z "${PKGEXTRAVERSION_DASH}" ]; then + SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}.tar.xz" +else + SRCURL[0]="https://git.kernel.org/torvalds/t/linux-${PKGVERSION}${PKGEXTRAVERSION_DASH}.tar.gz" +fi + +# EXCLUDE="" + +PATCHURL+=(/src/mariux/patches/linux-5.10-v4-nfsd-Add-trace-events-for-all-v4-operations.patch) +PATCHURL+=(/src/mariux/patches/linux-5.10-kernel-rcu-Print-out-more-information-when-NMI-stall.patch) +PATCHURL+=(/src/mariux/patches/linux-5.10-v2-md-Avoid-sync_action-sync-idle-transition-deadlock.patch) +PATCHURL+=(/src/mariux/patches/0001-xfs-Wake-CIL-push-waiters-more-reliably.patch) +PATCHURL+=(/src/mariux/patches/linux-5.10-v2-smartpqi-Set-host_tagset-1.patch) + +#CONFIG= + +KERNELLOCAL=".mx64.${PKGREVISION}" +FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}" + +B=${S} + +same_revision_files=$(ls ${BEE_PKGDIR}/linux-[0-9].[0-9]*-${PKGREVISION}.x86_64.bee.* 2>/dev/null) \ + && echo "A kernel with revision ${PKGREVISION} has already been build: $same_revision_files" \ + && exit + +mee_patch() { + echo "PATCH $@" + bee_patch $@ +} + +mee_configure() { + echo "configure $@" + # result from 'make savedefconfig' + cat >config-from-bee-file <<-EOF + CONFIG_LOCALVERSION="$KERNELLOCAL" + CONFIG_KERNEL_LZ4=y + CONFIG_SYSVIPC=y + CONFIG_POSIX_MQUEUE=y + CONFIG_AUDIT=y + CONFIG_NO_HZ_IDLE=y + CONFIG_HIGH_RES_TIMERS=y + CONFIG_PREEMPT_VOLUNTARY=y + CONFIG_BSD_PROCESS_ACCT=y + CONFIG_BSD_PROCESS_ACCT_V3=y + CONFIG_TASK_XACCT=y + CONFIG_TASK_IO_ACCOUNTING=y + CONFIG_PSI=y + CONFIG_IKCONFIG=y + CONFIG_IKCONFIG_PROC=y + CONFIG_IKHEADERS=m + CONFIG_LOG_BUF_SHIFT=19 + CONFIG_CGROUPS=y + CONFIG_MEMCG=y + CONFIG_BLK_CGROUP=y + CONFIG_CGROUP_SCHED=y + CONFIG_CFS_BANDWIDTH=y + CONFIG_RT_GROUP_SCHED=y + CONFIG_CGROUP_PIDS=y + CONFIG_CGROUP_FREEZER=y + CONFIG_CGROUP_HUGETLB=y + CONFIG_CPUSETS=y + CONFIG_CGROUP_DEVICE=y + CONFIG_CGROUP_CPUACCT=y + CONFIG_CGROUP_PERF=y + CONFIG_CGROUP_BPF=y + CONFIG_CGROUP_DEBUG=y + CONFIG_USER_NS=y + CONFIG_BLK_DEV_INITRD=y + CONFIG_BPF_SYSCALL=y + CONFIG_SLAB=y + CONFIG_SMP=y + CONFIG_X86_X2APIC=y + CONFIG_GART_IOMMU=y + CONFIG_NR_CPUS=256 + CONFIG_X86_MCELOG_LEGACY=y + CONFIG_MICROCODE_AMD=y + CONFIG_X86_MSR=m + CONFIG_X86_CPUID=m + CONFIG_NUMA=y + CONFIG_EFI=y + CONFIG_HZ_1000=y + CONFIG_KEXEC=y + CONFIG_KEXEC_FILE=y + CONFIG_CRASH_DUMP=y + # CONFIG_RANDOMIZE_BASE is not set + CONFIG_PHYSICAL_ALIGN=0x1000000 + CONFIG_COMPAT_VDSO=y + # CONFIG_ACPI_AC is not set + # CONFIG_ACPI_BATTERY is not set + CONFIG_ACPI_DOCK=y + CONFIG_CPU_FREQ_GOV_POWERSAVE=m + CONFIG_X86_ACPI_CPUFREQ=m + # CONFIG_X86_ACPI_CPUFREQ_CPB is not set + CONFIG_IA32_EMULATION=y + CONFIG_GOOGLE_FIRMWARE=y + CONFIG_GOOGLE_COREBOOT_TABLE=m + CONFIG_GOOGLE_MEMCONSOLE_COREBOOT=m + CONFIG_EFI_VARS=y + CONFIG_KVM=m + CONFIG_KVM_INTEL=m + CONFIG_KVM_AMD=m + CONFIG_KPROBES=y + CONFIG_MODULES=y + CONFIG_MODULE_UNLOAD=y + CONFIG_MODULE_FORCE_UNLOAD=y + CONFIG_MODVERSIONS=y + CONFIG_BLK_DEV_INTEGRITY=y + CONFIG_BLK_DEV_THROTTLING=y + CONFIG_PARTITION_ADVANCED=y + CONFIG_MAC_PARTITION=y + CONFIG_BSD_DISKLABEL=y + CONFIG_LDM_PARTITION=y + # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set + CONFIG_BINFMT_MISC=y + CONFIG_MEMORY_HOTPLUG=y + CONFIG_MEMORY_HOTREMOVE=y + CONFIG_TRANSPARENT_HUGEPAGE=y + CONFIG_ZONE_DEVICE=y + CONFIG_NET=y + CONFIG_PACKET=m + CONFIG_PACKET_DIAG=m + CONFIG_UNIX=m + CONFIG_UNIX_DIAG=m + CONFIG_XFRM_USER=m + CONFIG_INET=y + CONFIG_IP_MULTICAST=y + CONFIG_IP_ADVANCED_ROUTER=y + CONFIG_IP_FIB_TRIE_STATS=y + CONFIG_IP_MULTIPLE_TABLES=y + CONFIG_IP_ROUTE_MULTIPATH=y + CONFIG_IP_ROUTE_VERBOSE=y + CONFIG_NET_IPIP=m + CONFIG_NET_IPGRE_DEMUX=m + CONFIG_NET_IPGRE=m + CONFIG_NET_IPGRE_BROADCAST=y + CONFIG_IP_MROUTE=y + CONFIG_IP_MROUTE_MULTIPLE_TABLES=y + CONFIG_IP_PIMSM_V1=y + CONFIG_IP_PIMSM_V2=y + CONFIG_NET_IPVTI=m + CONFIG_NET_FOU_IP_TUNNELS=y + CONFIG_INET_AH=m + CONFIG_INET_ESP=m + CONFIG_INET_IPCOMP=m + CONFIG_INET_DIAG=m + CONFIG_INET_UDP_DIAG=m + CONFIG_INET_RAW_DIAG=m + CONFIG_INET_DIAG_DESTROY=y + CONFIG_TCP_CONG_ADVANCED=y + CONFIG_TCP_CONG_HSTCP=m + CONFIG_TCP_CONG_HYBLA=m + CONFIG_TCP_CONG_SCALABLE=m + CONFIG_TCP_CONG_LP=m + CONFIG_TCP_CONG_VENO=m + CONFIG_TCP_CONG_YEAH=m + CONFIG_TCP_CONG_ILLINOIS=m + CONFIG_TCP_CONG_DCTCP=m + CONFIG_TCP_CONG_CDG=m + CONFIG_TCP_MD5SIG=y + CONFIG_IPV6=m + CONFIG_IPV6_ROUTER_PREF=y + CONFIG_IPV6_ROUTE_INFO=y + CONFIG_IPV6_OPTIMISTIC_DAD=y + CONFIG_INET6_AH=m + CONFIG_INET6_ESP=m + CONFIG_INET6_IPCOMP=m + CONFIG_IPV6_MIP6=m + CONFIG_IPV6_ILA=m + CONFIG_IPV6_VTI=m + CONFIG_IPV6_SIT_6RD=y + CONFIG_IPV6_GRE=m + CONFIG_IPV6_MULTIPLE_TABLES=y + CONFIG_IPV6_SUBTREES=y + CONFIG_IPV6_MROUTE=y + CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y + CONFIG_IPV6_PIMSM_V2=y + CONFIG_NETFILTER=y + CONFIG_NF_CONNTRACK=m + CONFIG_NF_LOG_NETDEV=m + CONFIG_NF_CONNTRACK_ZONES=y + CONFIG_NF_CONNTRACK_EVENTS=y + CONFIG_NF_CONNTRACK_TIMEOUT=y + CONFIG_NF_CONNTRACK_TIMESTAMP=y + CONFIG_NF_CONNTRACK_AMANDA=m + CONFIG_NF_CONNTRACK_FTP=m + CONFIG_NF_CONNTRACK_H323=m + CONFIG_NF_CONNTRACK_IRC=m + CONFIG_NF_CONNTRACK_NETBIOS_NS=m + CONFIG_NF_CONNTRACK_SNMP=m + CONFIG_NF_CONNTRACK_PPTP=m + CONFIG_NF_CONNTRACK_SANE=m + CONFIG_NF_CONNTRACK_SIP=m + CONFIG_NF_CONNTRACK_TFTP=m + CONFIG_NF_CT_NETLINK=m + CONFIG_NF_CT_NETLINK_TIMEOUT=m + CONFIG_NF_CT_NETLINK_HELPER=m + CONFIG_NETFILTER_NETLINK_GLUE_CT=y + CONFIG_NF_TABLES=m + CONFIG_NF_TABLES_INET=y + CONFIG_NF_TABLES_NETDEV=y + CONFIG_NFT_NUMGEN=m + CONFIG_NFT_CT=m + CONFIG_NFT_FLOW_OFFLOAD=m + CONFIG_NFT_COUNTER=m + CONFIG_NFT_CONNLIMIT=m + CONFIG_NFT_LOG=m + CONFIG_NFT_LIMIT=m + CONFIG_NFT_MASQ=m + CONFIG_NFT_REDIR=m + CONFIG_NFT_NAT=m + CONFIG_NFT_TUNNEL=m + CONFIG_NFT_OBJREF=m + CONFIG_NFT_QUEUE=m + CONFIG_NFT_QUOTA=m + CONFIG_NFT_REJECT=m + CONFIG_NFT_COMPAT=m + CONFIG_NFT_HASH=m + CONFIG_NFT_FIB_INET=m + CONFIG_NFT_SOCKET=m + CONFIG_NFT_OSF=m + CONFIG_NFT_TPROXY=m + CONFIG_NFT_DUP_NETDEV=m + CONFIG_NFT_FWD_NETDEV=m + CONFIG_NFT_FIB_NETDEV=m + CONFIG_NF_FLOW_TABLE_INET=m + CONFIG_NF_FLOW_TABLE=m + CONFIG_NETFILTER_XT_SET=m + CONFIG_NETFILTER_XT_TARGET_AUDIT=m + CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m + CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m + CONFIG_NETFILTER_XT_TARGET_CONNMARK=m + CONFIG_NETFILTER_XT_TARGET_DSCP=m + CONFIG_NETFILTER_XT_TARGET_HMARK=m + CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m + CONFIG_NETFILTER_XT_TARGET_LOG=m + CONFIG_NETFILTER_XT_TARGET_MARK=m + CONFIG_NETFILTER_XT_TARGET_NFLOG=m + CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m + CONFIG_NETFILTER_XT_TARGET_NOTRACK=m + CONFIG_NETFILTER_XT_TARGET_TEE=m + CONFIG_NETFILTER_XT_TARGET_TPROXY=m + CONFIG_NETFILTER_XT_TARGET_TRACE=m + CONFIG_NETFILTER_XT_TARGET_TCPMSS=m + CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m + CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m + CONFIG_NETFILTER_XT_MATCH_BPF=m + CONFIG_NETFILTER_XT_MATCH_CGROUP=m + CONFIG_NETFILTER_XT_MATCH_CLUSTER=m + CONFIG_NETFILTER_XT_MATCH_COMMENT=m + CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m + CONFIG_NETFILTER_XT_MATCH_CONNLABEL=m + CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m + CONFIG_NETFILTER_XT_MATCH_CONNMARK=m + CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m + CONFIG_NETFILTER_XT_MATCH_CPU=m + CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m + CONFIG_NETFILTER_XT_MATCH_DSCP=m + CONFIG_NETFILTER_XT_MATCH_ESP=m + CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m + CONFIG_NETFILTER_XT_MATCH_HELPER=m + CONFIG_NETFILTER_XT_MATCH_IPCOMP=m + CONFIG_NETFILTER_XT_MATCH_IPRANGE=m + CONFIG_NETFILTER_XT_MATCH_IPVS=m + CONFIG_NETFILTER_XT_MATCH_LENGTH=m + CONFIG_NETFILTER_XT_MATCH_LIMIT=m + CONFIG_NETFILTER_XT_MATCH_MAC=m + CONFIG_NETFILTER_XT_MATCH_MARK=m + CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m + CONFIG_NETFILTER_XT_MATCH_NFACCT=m + CONFIG_NETFILTER_XT_MATCH_OSF=m + CONFIG_NETFILTER_XT_MATCH_OWNER=m + CONFIG_NETFILTER_XT_MATCH_POLICY=m + CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m + CONFIG_NETFILTER_XT_MATCH_QUOTA=m + CONFIG_NETFILTER_XT_MATCH_RATEEST=m + CONFIG_NETFILTER_XT_MATCH_REALM=m + CONFIG_NETFILTER_XT_MATCH_RECENT=m + CONFIG_NETFILTER_XT_MATCH_SOCKET=m + CONFIG_NETFILTER_XT_MATCH_STATE=m + CONFIG_NETFILTER_XT_MATCH_STATISTIC=m + CONFIG_NETFILTER_XT_MATCH_STRING=m + CONFIG_NETFILTER_XT_MATCH_TCPMSS=m + CONFIG_NETFILTER_XT_MATCH_TIME=m + CONFIG_NETFILTER_XT_MATCH_U32=m + CONFIG_IP_SET=m + CONFIG_IP_SET_BITMAP_IP=m + CONFIG_IP_SET_BITMAP_IPMAC=m + CONFIG_IP_SET_BITMAP_PORT=m + CONFIG_IP_SET_HASH_IP=m + CONFIG_IP_SET_HASH_IPMARK=m + CONFIG_IP_SET_HASH_IPPORT=m + CONFIG_IP_SET_HASH_IPPORTIP=m + CONFIG_IP_SET_HASH_IPPORTNET=m + CONFIG_IP_SET_HASH_MAC=m + CONFIG_IP_SET_HASH_NETPORTNET=m + CONFIG_IP_SET_HASH_NET=m + CONFIG_IP_SET_HASH_NETNET=m + CONFIG_IP_SET_HASH_NETPORT=m + CONFIG_IP_SET_HASH_NETIFACE=m + CONFIG_IP_SET_LIST_SET=m + CONFIG_IP_VS=m + CONFIG_IP_VS_RR=m + CONFIG_IP_VS_NFCT=y + CONFIG_NFT_DUP_IPV4=m + CONFIG_NFT_FIB_IPV4=m + CONFIG_NF_TABLES_ARP=y + CONFIG_NF_LOG_ARP=m + CONFIG_IP_NF_IPTABLES=m + CONFIG_IP_NF_MATCH_AH=m + CONFIG_IP_NF_MATCH_ECN=m + CONFIG_IP_NF_MATCH_RPFILTER=m + CONFIG_IP_NF_MATCH_TTL=m + CONFIG_IP_NF_FILTER=m + CONFIG_IP_NF_TARGET_REJECT=m + CONFIG_IP_NF_TARGET_SYNPROXY=m + CONFIG_IP_NF_NAT=m + CONFIG_IP_NF_TARGET_MASQUERADE=m + CONFIG_IP_NF_TARGET_NETMAP=m + CONFIG_IP_NF_TARGET_REDIRECT=m + CONFIG_IP_NF_MANGLE=m + CONFIG_IP_NF_TARGET_CLUSTERIP=m + CONFIG_IP_NF_TARGET_ECN=m + CONFIG_IP_NF_TARGET_TTL=m + CONFIG_IP_NF_RAW=m + CONFIG_IP_NF_ARPTABLES=m + CONFIG_IP_NF_ARPFILTER=m + CONFIG_IP_NF_ARP_MANGLE=m + CONFIG_NFT_DUP_IPV6=m + CONFIG_NFT_FIB_IPV6=m + CONFIG_IP6_NF_IPTABLES=m + CONFIG_IP6_NF_MATCH_AH=m + CONFIG_IP6_NF_MATCH_EUI64=m + CONFIG_IP6_NF_MATCH_FRAG=m + CONFIG_IP6_NF_MATCH_OPTS=m + CONFIG_IP6_NF_MATCH_HL=m + CONFIG_IP6_NF_MATCH_IPV6HEADER=m + CONFIG_IP6_NF_MATCH_MH=m + CONFIG_IP6_NF_MATCH_RPFILTER=m + CONFIG_IP6_NF_MATCH_RT=m + CONFIG_IP6_NF_MATCH_SRH=m + CONFIG_IP6_NF_TARGET_HL=m + CONFIG_IP6_NF_FILTER=m + CONFIG_IP6_NF_TARGET_REJECT=m + CONFIG_IP6_NF_TARGET_SYNPROXY=m + CONFIG_IP6_NF_MANGLE=m + CONFIG_IP6_NF_RAW=m + CONFIG_IP6_NF_NAT=m + CONFIG_IP6_NF_TARGET_MASQUERADE=m + CONFIG_IP6_NF_TARGET_NPT=m + CONFIG_BRIDGE_NF_EBTABLES=m + CONFIG_IP_DCCP=m + CONFIG_RDS=m + CONFIG_RDS_TCP=m + CONFIG_TIPC=m + CONFIG_L2TP=m + CONFIG_L2TP_V3=y + CONFIG_L2TP_IP=m + CONFIG_L2TP_ETH=m + CONFIG_BRIDGE=m + CONFIG_BRIDGE_VLAN_FILTERING=y + CONFIG_VLAN_8021Q=m + CONFIG_VLAN_8021Q_GVRP=y + CONFIG_VLAN_8021Q_MVRP=y + CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m + CONFIG_NET_SCH_HFSC=m + CONFIG_NET_SCH_PRIO=m + CONFIG_NET_SCH_MULTIQ=m + CONFIG_NET_SCH_RED=m + CONFIG_NET_SCH_SFB=m + CONFIG_NET_SCH_SFQ=m + CONFIG_NET_SCH_TEQL=m + CONFIG_NET_SCH_TBF=m + CONFIG_NET_SCH_GRED=m + CONFIG_NET_SCH_DSMARK=m + CONFIG_NET_SCH_NETEM=m + CONFIG_NET_SCH_DRR=m + CONFIG_NET_SCH_MQPRIO=m + CONFIG_NET_SCH_CHOKE=m + CONFIG_NET_SCH_QFQ=m + CONFIG_NET_SCH_CODEL=m + CONFIG_NET_SCH_FQ_CODEL=m + CONFIG_NET_SCH_FQ=m + CONFIG_NET_SCH_HHF=m + CONFIG_NET_SCH_PIE=m + CONFIG_NET_SCH_PLUG=m + CONFIG_NET_CLS_BASIC=m + CONFIG_NET_CLS_TCINDEX=m + CONFIG_NET_CLS_ROUTE4=m + CONFIG_NET_CLS_FW=m + CONFIG_NET_CLS_U32=m + CONFIG_CLS_U32_PERF=y + CONFIG_CLS_U32_MARK=y + CONFIG_NET_CLS_RSVP=m + CONFIG_NET_CLS_RSVP6=m + CONFIG_NET_CLS_FLOW=m + CONFIG_NET_CLS_CGROUP=m + CONFIG_NET_CLS_BPF=m + CONFIG_NET_CLS_FLOWER=m + CONFIG_NET_EMATCH=y + CONFIG_NET_EMATCH_CMP=m + CONFIG_NET_EMATCH_NBYTE=m + CONFIG_NET_EMATCH_U32=m + CONFIG_NET_EMATCH_META=m + CONFIG_NET_EMATCH_TEXT=m + CONFIG_NET_CLS_ACT=y + CONFIG_NET_ACT_POLICE=m + CONFIG_NET_ACT_GACT=m + CONFIG_GACT_PROB=y + CONFIG_NET_ACT_MIRRED=m + CONFIG_NET_ACT_IPT=m + CONFIG_NET_ACT_NAT=m + CONFIG_NET_ACT_PEDIT=m + CONFIG_NET_ACT_SIMP=m + CONFIG_NET_ACT_SKBEDIT=m + CONFIG_NET_ACT_CSUM=m + CONFIG_NET_ACT_VLAN=m + CONFIG_NET_ACT_BPF=m + CONFIG_NET_ACT_CONNMARK=m + CONFIG_DNS_RESOLVER=y + CONFIG_VSOCKETS=m + CONFIG_VIRTIO_VSOCKETS=m + CONFIG_NETLINK_DIAG=m + CONFIG_CGROUP_NET_PRIO=y + CONFIG_BT=m + CONFIG_BT_HCIBTUSB=m + CONFIG_BT_HCIUART=m + CONFIG_BT_HCIUART_BCSP=y + CONFIG_BT_HCIUART_ATH3K=y + CONFIG_BT_HCIUART_INTEL=y + CONFIG_BT_HCIUART_QCA=y + CONFIG_BT_HCIBCM203X=m + CONFIG_BT_HCIBPA10X=m + CONFIG_BT_HCIBFUSB=m + CONFIG_BT_HCIVHCI=m + CONFIG_BT_MRVL=m + CONFIG_BT_ATH3K=m + # CONFIG_WIRELESS is not set + CONFIG_PCI=y + CONFIG_PCIEPORTBUS=y + CONFIG_PCI_IOV=y + CONFIG_DEVTMPFS=y + CONFIG_DEVTMPFS_MOUNT=y + CONFIG_CONNECTOR=y + CONFIG_PARPORT=y + CONFIG_PARPORT_PC=y + CONFIG_BLK_DEV_FD=m + CONFIG_BLK_DEV_LOOP=y + CONFIG_BLK_DEV_CRYPTOLOOP=y + CONFIG_BLK_DEV_DRBD=y + CONFIG_BLK_DEV_NBD=m + CONFIG_BLK_DEV_RAM=y + CONFIG_CDROM_PKTCDVD=y + CONFIG_VIRTIO_BLK=y + CONFIG_BLK_DEV_NVME=y + CONFIG_ENCLOSURE_SERVICES=y + CONFIG_BLK_DEV_SD=y + CONFIG_BLK_DEV_SR=y + CONFIG_CHR_DEV_SG=y + CONFIG_SCSI_ENCLOSURE=y + CONFIG_SCSI_CONSTANTS=y + CONFIG_SCSI_LOGGING=y + CONFIG_SCSI_SCAN_ASYNC=y + CONFIG_SCSI_FC_ATTRS=y + CONFIG_SCSI_SAS_LIBSAS=y + CONFIG_SCSI_SAS_ATA=y + CONFIG_ISCSI_TCP=m + CONFIG_BLK_DEV_3W_XXXX_RAID=m + CONFIG_SCSI_HPSA=y + CONFIG_SCSI_3W_9XXX=m + CONFIG_SCSI_3W_SAS=m + CONFIG_SCSI_AACRAID=m + CONFIG_SCSI_AIC7XXX=y + CONFIG_AIC7XXX_RESET_DELAY_MS=15000 + # CONFIG_AIC7XXX_DEBUG_ENABLE is not set + CONFIG_SCSI_AIC79XX=y + CONFIG_AIC79XX_RESET_DELAY_MS=15000 + # CONFIG_AIC79XX_DEBUG_ENABLE is not set + CONFIG_SCSI_AIC94XX=m + # CONFIG_AIC94XX_DEBUG is not set + CONFIG_SCSI_MVSAS=m + CONFIG_SCSI_DPT_I2O=m + CONFIG_SCSI_ARCMSR=m + CONFIG_MEGARAID_NEWGEN=y + CONFIG_MEGARAID_MM=y + CONFIG_MEGARAID_MAILBOX=y + CONFIG_MEGARAID_LEGACY=y + CONFIG_MEGARAID_SAS=y + CONFIG_SCSI_MPT2SAS=y + CONFIG_SCSI_SMARTPQI=m + CONFIG_SCSI_BUSLOGIC=y + CONFIG_SCSI_GDTH=m + CONFIG_SCSI_QLOGIC_1280=y + CONFIG_SCSI_DH=y + CONFIG_ATA=y + CONFIG_SATA_AHCI=y + CONFIG_SATA_SIL24=y + CONFIG_ATA_PIIX=y + CONFIG_SATA_NV=y + CONFIG_SATA_PROMISE=y + CONFIG_SATA_SIL=y + CONFIG_SATA_SIS=y + CONFIG_SATA_SVW=y + CONFIG_SATA_VIA=y + CONFIG_PATA_ATIIXP=y + CONFIG_PATA_JMICRON=y + CONFIG_PATA_MPIIX=y + CONFIG_MD=y + CONFIG_BLK_DEV_MD=y + CONFIG_MD_LINEAR=y + CONFIG_MD_RAID0=y + CONFIG_MD_RAID1=y + CONFIG_MD_RAID456=y + CONFIG_MD_MULTIPATH=y + CONFIG_BLK_DEV_DM=m + CONFIG_DM_CRYPT=m + CONFIG_DM_SNAPSHOT=m + CONFIG_DM_THIN_PROVISIONING=m + CONFIG_DM_MIRROR=m + CONFIG_DM_LOG_USERSPACE=m + CONFIG_DM_RAID=m + CONFIG_DM_ZERO=m + CONFIG_DM_MULTIPATH=m + CONFIG_DM_UEVENT=y + CONFIG_TARGET_CORE=m + CONFIG_ISCSI_TARGET=m + CONFIG_FUSION=y + CONFIG_FUSION_SPI=y + CONFIG_FUSION_FC=y + CONFIG_FUSION_SAS=y + CONFIG_FUSION_CTL=y + CONFIG_NETDEVICES=y + CONFIG_BONDING=m + CONFIG_DUMMY=y + CONFIG_WIREGUARD=m + CONFIG_MACVLAN=y + CONFIG_MACVTAP=y + CONFIG_IPVLAN=m + CONFIG_IPVTAP=m + CONFIG_VXLAN=m + CONFIG_NETCONSOLE=m + CONFIG_NETCONSOLE_DYNAMIC=y + CONFIG_TUN=y + CONFIG_VETH=y + CONFIG_VIRTIO_NET=m + CONFIG_NLMON=m + CONFIG_VORTEX=y + CONFIG_TYPHOON=y + CONFIG_ACENIC=y + CONFIG_ATL1=y + CONFIG_BNX2=y + CONFIG_TIGON3=y + CONFIG_BNX2X=y + CONFIG_BNXT=m + CONFIG_CAVIUM_PTP=y + CONFIG_CHELSIO_T1=y + CONFIG_CHELSIO_T3=y + CONFIG_NET_TULIP=y + CONFIG_DE2104X=y + CONFIG_TULIP=y + CONFIG_TULIP_MMIO=y + CONFIG_TULIP_NAPI=y + CONFIG_TULIP_NAPI_HW_MITIGATION=y + CONFIG_DE4X5=y + CONFIG_DL2K=y + CONFIG_E100=y + CONFIG_E1000=y + CONFIG_E1000E=y + CONFIG_IGB=y + CONFIG_IGBVF=y + CONFIG_IXGB=m + CONFIG_IXGBE=m + CONFIG_I40E=m + CONFIG_SKGE=y + CONFIG_SKY2=y + CONFIG_S2IO=y + CONFIG_FORCEDETH=y + CONFIG_NETXEN_NIC=m + CONFIG_8139CP=y + CONFIG_8139TOO=y + CONFIG_R8169=y + CONFIG_SIS900=y + CONFIG_SIS190=y + CONFIG_VIA_RHINE=y + CONFIG_VIA_VELOCITY=y + CONFIG_USB_RTL8150=m + CONFIG_USB_RTL8152=m + CONFIG_USB_LAN78XX=m + CONFIG_USB_USBNET=m + CONFIG_USB_NET_DM9601=m + # CONFIG_WLAN is not set + CONFIG_INPUT_POLLDEV=y + CONFIG_INPUT_EVDEV=y + # CONFIG_SERIO_SERPORT is not set + # CONFIG_LEGACY_PTYS is not set + CONFIG_SERIAL_8250=y + # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set + CONFIG_SERIAL_8250_CONSOLE=y + CONFIG_SERIAL_DEV_BUS=m + CONFIG_PRINTER=y + CONFIG_VIRTIO_CONSOLE=m + CONFIG_IPMI_HANDLER=y + CONFIG_IPMI_DEVICE_INTERFACE=m + CONFIG_IPMI_SI=m + CONFIG_IPMI_WATCHDOG=m + CONFIG_IPMI_POWEROFF=m + CONFIG_DEVKMEM=y + CONFIG_HPET=y + CONFIG_I2C_CHARDEV=m + CONFIG_I2C_AMD756=m + CONFIG_I2C_AMD756_S4882=m + CONFIG_I2C_AMD8111=m + CONFIG_I2C_I801=y + CONFIG_I2C_ISCH=m + CONFIG_I2C_PIIX4=m + CONFIG_I2C_NFORCE2=m + CONFIG_I2C_NFORCE2_S4985=m + CONFIG_I2C_SIS5595=m + CONFIG_I2C_SIS630=m + CONFIG_I2C_SIS96X=m + CONFIG_I2C_VIA=m + CONFIG_I2C_VIAPRO=m + CONFIG_GPIOLIB=y + CONFIG_SENSORS_K8TEMP=m + CONFIG_SENSORS_K10TEMP=m + CONFIG_SENSORS_FAM15H_POWER=m + CONFIG_WATCHDOG=y + CONFIG_WATCHDOG_CORE=y + CONFIG_I6300ESB_WDT=m + CONFIG_ITCO_WDT=m + CONFIG_ITCO_VENDOR_SUPPORT=y + CONFIG_HP_WATCHDOG=m + CONFIG_NV_TCO=m + CONFIG_LPC_ICH=y + CONFIG_MEDIA_SUPPORT=y + CONFIG_MEDIA_CAMERA_SUPPORT=y + CONFIG_MEDIA_USB_SUPPORT=y + CONFIG_USB_VIDEO_CLASS=m + CONFIG_USB_M5602=m + CONFIG_USB_STV06XX=m + CONFIG_USB_GL860=m + CONFIG_USB_GSPCA_BENQ=m + CONFIG_USB_GSPCA_CONEX=m + CONFIG_USB_GSPCA_CPIA1=m + CONFIG_USB_GSPCA_DTCS033=m + CONFIG_USB_GSPCA_ETOMS=m + CONFIG_USB_GSPCA_FINEPIX=m + CONFIG_USB_GSPCA_JEILINJ=m + CONFIG_USB_GSPCA_JL2005BCD=m + CONFIG_USB_GSPCA_KINECT=m + CONFIG_USB_GSPCA_KONICA=m + CONFIG_USB_GSPCA_MARS=m + CONFIG_USB_GSPCA_MR97310A=m + CONFIG_USB_GSPCA_NW80X=m + CONFIG_USB_GSPCA_OV519=m + CONFIG_USB_GSPCA_OV534=m + CONFIG_USB_GSPCA_OV534_9=m + CONFIG_USB_GSPCA_PAC207=m + CONFIG_USB_GSPCA_PAC7302=m + CONFIG_USB_GSPCA_PAC7311=m + CONFIG_USB_GSPCA_SE401=m + CONFIG_USB_GSPCA_SN9C2028=m + CONFIG_USB_GSPCA_SN9C20X=m + CONFIG_USB_GSPCA_SONIXB=m + CONFIG_USB_GSPCA_SONIXJ=m + CONFIG_USB_GSPCA_SPCA500=m + CONFIG_USB_GSPCA_SPCA501=m + CONFIG_USB_GSPCA_SPCA505=m + CONFIG_USB_GSPCA_SPCA506=m + CONFIG_USB_GSPCA_SPCA508=m + CONFIG_USB_GSPCA_SPCA561=m + CONFIG_USB_GSPCA_SPCA1528=m + CONFIG_USB_GSPCA_SQ905=m + CONFIG_USB_GSPCA_SQ905C=m + CONFIG_USB_GSPCA_SQ930X=m + CONFIG_USB_GSPCA_STK014=m + CONFIG_USB_GSPCA_STK1135=m + CONFIG_USB_GSPCA_STV0680=m + CONFIG_USB_GSPCA_SUNPLUS=m + CONFIG_USB_GSPCA_T613=m + CONFIG_USB_GSPCA_TOPRO=m + CONFIG_USB_GSPCA_TOUPTEK=m + CONFIG_USB_GSPCA_TV8532=m + CONFIG_USB_GSPCA_VC032X=m + CONFIG_USB_GSPCA_VICAM=m + CONFIG_USB_GSPCA_XIRLINK_CIT=m + CONFIG_USB_GSPCA_ZC3XX=m + CONFIG_USB_PWC=m + CONFIG_VIDEO_CPIA2=m + CONFIG_USB_ZR364XX=m + CONFIG_USB_STKWEBCAM=m + CONFIG_USB_S2255=m + CONFIG_VIDEO_USBTV=m + CONFIG_VIDEO_EM28XX=m + CONFIG_VIDEO_EM28XX_V4L2=m + CONFIG_VIDEO_EM28XX_ALSA=m + CONFIG_AGP=y + CONFIG_AGP_AMD64=y + CONFIG_AGP_INTEL=m + CONFIG_AGP_SIS=m + CONFIG_AGP_VIA=m + CONFIG_DRM=m + CONFIG_DRM_AMDGPU=m + CONFIG_DRM_AMDGPU_SI=y + CONFIG_DRM_AMDGPU_CIK=y + CONFIG_DRM_AMDGPU_USERPTR=y + CONFIG_DRM_NOUVEAU=m + CONFIG_DRM_I915=m + CONFIG_DRM_VGEM=m + CONFIG_DRM_UDL=m + CONFIG_DRM_MGAG200=m + CONFIG_DRM_BOCHS=m + CONFIG_DRM_CIRRUS_QEMU=m + CONFIG_FB=y + CONFIG_FB_CIRRUS=m + CONFIG_FB_PM2=m + CONFIG_FB_CYBER2000=m + CONFIG_FB_ARC=m + CONFIG_FB_VGA16=m + CONFIG_FB_EFI=y + CONFIG_FB_NVIDIA=m + CONFIG_FB_NVIDIA_I2C=y + CONFIG_FB_NVIDIA_DEBUG=y + CONFIG_FB_I740=m + CONFIG_FB_LE80578=m + CONFIG_FB_CARILLO_RANCH=m + CONFIG_FB_MATROX=m + CONFIG_FB_MATROX_MILLENIUM=y + CONFIG_FB_MATROX_MYSTIQUE=y + CONFIG_FB_MATROX_G=y + CONFIG_FB_MATROX_I2C=m + CONFIG_FB_RADEON=m + CONFIG_FB_RADEON_DEBUG=y + CONFIG_FB_SMSCUFX=m + CONFIG_FB_UDL=m + CONFIG_FB_IBM_GXT4500=m + CONFIG_FB_SIMPLE=y + CONFIG_BACKLIGHT_CLASS_DEVICE=y + CONFIG_BACKLIGHT_APPLE=m + CONFIG_BACKLIGHT_SAHARA=m + CONFIG_BACKLIGHT_ADP8860=m + CONFIG_BACKLIGHT_ADP8870=m + CONFIG_BACKLIGHT_LM3639=m + CONFIG_BACKLIGHT_LV5207LP=m + CONFIG_BACKLIGHT_BD6107=m + CONFIG_BACKLIGHT_ARCXCNN=m + CONFIG_SOUND=m + CONFIG_SND=m + CONFIG_SND_CTXFI=m + CONFIG_SND_EMU10K1=m + CONFIG_SND_EMU10K1X=m + CONFIG_SND_ENS1370=m + CONFIG_SND_ENS1371=m + CONFIG_SND_ES1938=m + CONFIG_SND_ES1968=m + CONFIG_SND_INTEL8X0=m + CONFIG_SND_SONICVIBES=m + CONFIG_SND_VIA82XX=m + CONFIG_SND_VIA82XX_MODEM=m + CONFIG_SND_YMFPCI=m + CONFIG_SND_HDA_INTEL=m + CONFIG_SND_HDA_CODEC_REALTEK=m + CONFIG_SND_HDA_CODEC_ANALOG=m + CONFIG_SND_HDA_CODEC_SIGMATEL=m + CONFIG_SND_HDA_CODEC_VIA=m + CONFIG_SND_HDA_CODEC_HDMI=m + CONFIG_SND_HDA_CODEC_CIRRUS=m + CONFIG_SND_HDA_CODEC_CONEXANT=m + CONFIG_SND_HDA_CODEC_CA0110=m + CONFIG_SND_HDA_CODEC_CA0132=m + CONFIG_SND_HDA_CODEC_CMEDIA=m + CONFIG_SND_HDA_CODEC_SI3054=m + CONFIG_SND_USB_AUDIO=m + CONFIG_HIDRAW=y + CONFIG_HID_DRAGONRISE=y + CONFIG_HID_KYE=y + CONFIG_HID_GYRATION=y + CONFIG_HID_TWINHAN=y + CONFIG_HID_LED=m + CONFIG_HID_LOGITECH_DJ=m + CONFIG_HID_NTRIG=y + CONFIG_HID_ORTEK=y + CONFIG_HID_PANTHERLORD=y + CONFIG_HID_PETALYNX=y + CONFIG_HID_SAMSUNG=y + CONFIG_HID_SUNPLUS=y + CONFIG_HID_GREENASIA=y + CONFIG_HID_SMARTJOYPLUS=y + CONFIG_HID_TOPSEED=y + CONFIG_HID_THRUSTMASTER=y + CONFIG_HID_ZEROPLUS=y + CONFIG_USB=y + CONFIG_USB_XHCI_HCD=y + CONFIG_USB_EHCI_HCD=y + # CONFIG_USB_EHCI_TT_NEWSCHED is not set + CONFIG_USB_OHCI_HCD=y + CONFIG_USB_UHCI_HCD=y + CONFIG_USB_SL811_HCD=y + CONFIG_USB_STORAGE=y + CONFIG_USB_SERIAL=y + CONFIG_USB_SERIAL_CH341=m + CONFIG_USB_SERIAL_CP210X=m + CONFIG_USB_SERIAL_FTDI_SIO=m + CONFIG_USB_SERIAL_PL2303=m + CONFIG_USB_SERIAL_OMNINET=m + CONFIG_USB_CHAOSKEY=m + CONFIG_RTC_CLASS=y + # CONFIG_RTC_INTF_PROC is not set + CONFIG_VIRTIO_PCI=y + CONFIG_VIRTIO_BALLOON=m + CONFIG_VIRTIO_INPUT=m + CONFIG_DELL_RBU=m + CONFIG_AMD_IOMMU=y + CONFIG_AMD_IOMMU_V2=m + CONFIG_INTEL_IOMMU=y + CONFIG_IRQ_REMAP=y + CONFIG_LIBNVDIMM=m + CONFIG_EXT2_FS=y + CONFIG_EXT3_FS=m + CONFIG_EXT3_FS_POSIX_ACL=y + CONFIG_EXT4_FS_SECURITY=y + CONFIG_REISERFS_FS=y + CONFIG_REISERFS_PROC_INFO=y + CONFIG_REISERFS_FS_XATTR=y + CONFIG_REISERFS_FS_POSIX_ACL=y + CONFIG_XFS_FS=y + CONFIG_XFS_QUOTA=y + CONFIG_XFS_POSIX_ACL=y + CONFIG_XFS_RT=y + CONFIG_BTRFS_FS=m + CONFIG_BTRFS_FS_POSIX_ACL=y + CONFIG_FS_DAX=y + CONFIG_FANOTIFY=y + CONFIG_QUOTA=y + CONFIG_QUOTA_NETLINK_INTERFACE=y + # CONFIG_PRINT_QUOTA_WARNING is not set + CONFIG_QFMT_V2=m + CONFIG_AUTOFS4_FS=m + CONFIG_FUSE_FS=m + CONFIG_VIRTIO_FS=m + CONFIG_OVERLAY_FS=m + CONFIG_FSCACHE=y + CONFIG_FSCACHE_STATS=y + CONFIG_FSCACHE_HISTOGRAM=y + CONFIG_FSCACHE_DEBUG=y + CONFIG_CACHEFILES=y + CONFIG_CACHEFILES_DEBUG=y + CONFIG_CACHEFILES_HISTOGRAM=y + CONFIG_ISO9660_FS=m + CONFIG_JOLIET=y + CONFIG_ZISOFS=y + CONFIG_UDF_FS=m + CONFIG_MSDOS_FS=m + CONFIG_VFAT_FS=m + CONFIG_NTFS_FS=m + CONFIG_PROC_KCORE=y + CONFIG_PROC_CHILDREN=y + CONFIG_TMPFS_POSIX_ACL=y + CONFIG_HUGETLBFS=y + CONFIG_ECRYPT_FS=m + CONFIG_ECRYPT_FS_MESSAGING=y + CONFIG_SQUASHFS=m + CONFIG_SQUASHFS_XATTR=y + CONFIG_SQUASHFS_LZ4=y + CONFIG_SQUASHFS_LZO=y + CONFIG_SQUASHFS_XZ=y + CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y + CONFIG_SQUASHFS_EMBEDDED=y + CONFIG_PSTORE=m + CONFIG_NFS_FS=m + CONFIG_NFS_V3_ACL=y + CONFIG_NFS_V4=m + CONFIG_NFS_SWAP=y + CONFIG_NFS_V4_1=y + CONFIG_NFS_V4_2=y + CONFIG_NFS_FSCACHE=y + CONFIG_NFSD=m + CONFIG_NFSD_V3_ACL=y + CONFIG_NFSD_V4=y + CONFIG_SUNRPC_DEBUG=y + CONFIG_CEPH_FS=m + CONFIG_CEPH_FSCACHE=y + CONFIG_CEPH_FS_POSIX_ACL=y + CONFIG_CIFS=m + CONFIG_CIFS_XATTR=y + CONFIG_NLS_CODEPAGE_437=m + CONFIG_NLS_CODEPAGE_850=m + CONFIG_NLS_CODEPAGE_852=m + CONFIG_NLS_ISO8859_1=m + CONFIG_NLS_UTF8=m + CONFIG_DLM=m + CONFIG_SECURITY=y + CONFIG_SECURITYFS=y + CONFIG_SECURITY_LOCKDOWN_LSM=y + CONFIG_CRYPTO_CTS=m + CONFIG_CRYPTO_ECB=y + CONFIG_CRYPTO_PCBC=y + CONFIG_CRYPTO_CMAC=y + CONFIG_CRYPTO_HMAC=y + CONFIG_CRYPTO_MD4=y + CONFIG_CRYPTO_SHA256=y + CONFIG_CRYPTO_AES=y + CONFIG_CRYPTO_DES=y + CONFIG_CRC16=y + CONFIG_CRC_ITU_T=y + CONFIG_FONTS=y + CONFIG_FONT_8x8=y + CONFIG_FONT_7x14=y + CONFIG_FONT_PEARL_8x8=y + CONFIG_FONT_ACORN_8x8=y + CONFIG_FONT_MINI_4x6=y + CONFIG_FONT_10x18=y + CONFIG_FONT_SUN8x16=y + CONFIG_FONT_SUN12x22=y + CONFIG_FONT_TER16x32=y + CONFIG_PRINTK_TIME=y + CONFIG_DYNAMIC_DEBUG=y + CONFIG_DEBUG_INFO=y + CONFIG_MAGIC_SYSRQ=y + CONFIG_DEBUG_KERNEL=y + CONFIG_FUNCTION_TRACER=y + CONFIG_FUNCTION_PROFILER=y + CONFIG_FTRACE_SYSCALLS=y + CONFIG_BLK_DEV_IO_TRACE=y + CONFIG_EARLY_PRINTK_DBGP=y + CONFIG_MEMTEST=y +EOF + cp config-from-bee-file .config + make olddefconfig +} + +mee_build() { + echo "build $@" + make ${BEE_MAKEFLAGS} +} + +mee_install() { + echo "install $@" + + make modules_install INSTALL_MOD_PATH=${D} + make install INSTALL_PATH=${D}/boot + + rm -v ${D}/lib/modules/${FULLKERNELVERSION}/{source,build} + + ln -sv /usr/src/linux/${PKGALLPKG}/source ${D}/lib/modules/${FULLKERNELVERSION}/source + ln -sv /usr/src/linux/${PKGALLPKG}/build ${D}/lib/modules/${FULLKERNELVERSION}/build + + ln -sv bzImage-${FULLKERNELVERSION} ${D}/boot/mariux.${PKGREVISION} +} From 1b04d8b545b05acbf5912cad4d4159ce84ae69f6 Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 7 Oct 2021 17:19:50 +0200 Subject: [PATCH 2/9] linux: Remove warning about FS-timestamps The message: "filesystem being mounted at xyz supports timestamps until 2038" also pops up when doing bind-mounts. Producing a fair amount of noise in the logs. --- linux-5.10.70-403.bee | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-5.10.70-403.bee b/linux-5.10.70-403.bee index b8d8f57f8..67ac50699 100644 --- a/linux-5.10.70-403.bee +++ b/linux-5.10.70-403.bee @@ -26,6 +26,7 @@ PATCHURL+=(/src/mariux/patches/linux-5.10-kernel-rcu-Print-out-more-information- PATCHURL+=(/src/mariux/patches/linux-5.10-v2-md-Avoid-sync_action-sync-idle-transition-deadlock.patch) PATCHURL+=(/src/mariux/patches/0001-xfs-Wake-CIL-push-waiters-more-reliably.patch) PATCHURL+=(/src/mariux/patches/linux-5.10-v2-smartpqi-Set-host_tagset-1.patch) +PATCHURL+=(/src/mariux/patches/linux-5.10-remove-mnt_warn_timestamp_expiry.patch) #CONFIG= From 1d09bc0a414d1b9055c123567b2ff7fe419fe0ab Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 7 Oct 2021 17:25:00 +0200 Subject: [PATCH 3/9] linux: Use beehive for regular kernel --- linux-5.10.70-403.bee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 linux-5.10.70-403.bee diff --git a/linux-5.10.70-403.bee b/linux-5.10.70-403.bee old mode 100644 new mode 100755 index 67ac50699..bed268797 --- a/linux-5.10.70-403.bee +++ b/linux-5.10.70-403.bee @@ -12,7 +12,8 @@ KERNELVERSION=${KERNELVERSION}${PKGEXTRAVERSION_DASH} echo $KERNELVERSION -SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}${PKGEXTRAVERSION_DASH}.tar.xz" +# "https://cdn.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}${PKGEXTRAVERSION_DASH}.tar.xz" +SRCURL[0]="https://beehive.molgen.mpg.de/40ec9411f1bb6909ab2dccd55a479143/linux-5.10.70.tar.xz" if [ -z "${PKGEXTRAVERSION_DASH}" ]; then SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}.tar.xz" else From 4e417e14e66d688b195e464e111d4b3fcc6eaede Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 7 Oct 2021 17:35:25 +0200 Subject: [PATCH 4/9] linux: honor bee-files.issues remove CONFIG_BLK_DEV_CRYPTOLOOP as found in /src/mariux/beeroot/bee-files.issues, CONFIG_ZSWAP requires CONFIG_FRONTSWAP=y, which comes with the becalming "If unsure, say Y to enable frontswap." note. CONFIG_ZSWAP_DEFAULT_ON is indeed off, since the whole thing is still labeled experimental, and mostly used on embedded systems. To enable: echo 1 > /sys/module/zswap/parameters/enabled --- linux-5.10.70-403.bee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-5.10.70-403.bee b/linux-5.10.70-403.bee index bed268797..18ef8bd8a 100755 --- a/linux-5.10.70-403.bee +++ b/linux-5.10.70-403.bee @@ -132,6 +132,8 @@ mee_configure() { CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTREMOVE=y CONFIG_TRANSPARENT_HUGEPAGE=y + CONFIG_FRONTSWAP=y + CONFIG_ZSWAP=y CONFIG_ZONE_DEVICE=y CONFIG_NET=y CONFIG_PACKET=m @@ -464,7 +466,6 @@ mee_configure() { CONFIG_PARPORT_PC=y CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=y - CONFIG_BLK_DEV_CRYPTOLOOP=y CONFIG_BLK_DEV_DRBD=y CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y From 952884ab191ab343ae45abf8b6516f8a62d98c63 Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 7 Oct 2021 18:55:23 +0200 Subject: [PATCH 5/9] linux-firmware: update to version 20210919 @ beehive --- linux-firmware.be0 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linux-firmware.be0 b/linux-firmware.be0 index a3ad16df2..ebbd006b1 100755 --- a/linux-firmware.be0 +++ b/linux-firmware.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION linux-firmware-20200619_p1_1a0c0c2-0 +# BEE_VERSION linux-firmware-20210919-0 # ***** created by ***** # @@ -15,7 +15,8 @@ ## The source URL(s) define the location of the sources that will be ## downloaded. Version variables may be used to simplify reuse of this bee-file. -SRCURL[0]="/src/mariux/beeroot/downloads/linux-firmware-${PKGFULLVERSION}.tar.bz2" +# orig: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20210919.tar.gz +SRCURL[0]="https://beehive.molgen.mpg.de/a27d9b2de427437ebd30390a982b6154/linux-firmware-20210919.tar.gz" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. From 56cfb4ada2513194c3276dbdf438e96d82e0165f Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 7 Oct 2021 19:03:23 +0200 Subject: [PATCH 6/9] linux-firmware: add firmware 'rtl_nic' The rtl8153*-family (realtek) seems to be popular - on mate-dock, Dell-docking stations, and ... --- linux-firmware.be0 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/linux-firmware.be0 b/linux-firmware.be0 index ebbd006b1..716efbb83 100755 --- a/linux-firmware.be0 +++ b/linux-firmware.be0 @@ -70,12 +70,13 @@ SRCURL[0]="https://beehive.molgen.mpg.de/a27d9b2de427437ebd30390a982b6154/linux- mee_install() { mkdir -p $D/lib/firmware - cp -ax ${S}/amdgpu $D/lib/firmware cp -ax ${S}/amd-ucode $D/lib/firmware - cp -ax ${S}/bnx2 $D/lib/firmware - cp -ax ${S}/bnx2x $D/lib/firmware - cp -ax ${S}/i915 $D/lib/firmware - cp -ax ${S}/radeon $D/lib/firmware + cp -ax ${S}/amdgpu $D/lib/firmware + cp -ax ${S}/bnx2 $D/lib/firmware + cp -ax ${S}/bnx2x $D/lib/firmware + cp -ax ${S}/i915 $D/lib/firmware + cp -ax ${S}/radeon $D/lib/firmware + cp -ax ${S}/rtl_nic $D/lib/firmware } ## by default this may be 'make install DESTDIR="${D}"' From 36fe68cc86b4f2448e8c26247966b737230a826a Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 8 Oct 2021 18:14:08 +0200 Subject: [PATCH 7/9] nvidia_linux: use beehive no other changes compared to nvidia_linux-5.10.47-390-460.39-0.bee --- nvidia_linux-5.10.70-403-470.74-0.bee | 64 +++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100755 nvidia_linux-5.10.70-403-470.74-0.bee diff --git a/nvidia_linux-5.10.70-403-470.74-0.bee b/nvidia_linux-5.10.70-403-470.74-0.bee new file mode 100755 index 000000000..e298ccb68 --- /dev/null +++ b/nvidia_linux-5.10.70-403-470.74-0.bee @@ -0,0 +1,64 @@ +#!/bin/env beesh + +NVIDIA_ARCHIVE="NVIDIA-Linux-x86_64-${PKGVERSION}.run" + +# orig: https://de.download.nvidia.com/XFree86/Linux-x86_64/470.74/NVIDIA-Linux-x86_64-470.74.run +SRCURL[0]="https://beehive.molgen.mpg.de/279cbf4e1155a02e6a9f65e988794516/NVIDIA-Linux-x86_64-470.74.run" + +PATCHURL+=() + +LINUXPKG=${PKGEXTRANAME}.${ARCH} + +LINUXKLOCALVER=$(beeversion --format "%v.mx64.%r" "${LINUXPKG}") + +# '4.4.mx64.75' to '4.4.0.mx64.75' +if [[ $LINUXKLOCALVER =~ ^([0-9]+\.[0-9]+)(\.mx64.*) ]]; then + LINUXKLOCALVER="${BASH_REMATCH[1]}.0${BASH_REMATCH[2]}" +fi + + +build_in_sourcedir +sourcesubdir_append kernel + +: ${BEE_TMP_TMPDIR:=/tmp} + +# fix tar option for user namespace usage (`unshare -U -r BEEFILE`) +export TAR_OPTIONS=--no-same-owner + +mee_extract() { + LINUXBUILDARCHIVE="${BEE_BUILDARCHIVEDIR}/${LINUXPKG}.beebuild.tar.bz2" + + print_info "extracting nvidia archive .." + + start_cmd rmdir ${S} + start_cmd sh ${F}/${NVIDIA_ARCHIVE} -x --target ${S} + + if [ -d "/usr/src/linux/${LINUXPKG}/source" ] ; then + LINUXSRCDIR="/usr/src/linux/${LINUXPKG}/source" + elif [ -d "${BEE_TMP_TMPDIR}/${LINUXPKG}/source" ] ; then + LINUXSRCDIR="${BEE_TMP_TMPDIR}/${LINUXPKG}/source" + else + print_info "extracting linux build ${LINUXPKG} .." + start_cmd gtar -xf "${LINUXBUILDARCHIVE}" -C ${BEE_TMP_TMPDIR} + LINUXSRCDIR="${BEE_TMP_TMPDIR}/${LINUXPKG}/source" + fi + + print_info "using kernel sources from ${LINUXSRCDIR} .." +} + +mee_build_pre() { + ln -s ${LINUXSRCDIR}/include ${S}/include +} + +mee_build() { + IGNORE_CC_MISMATCH=1 \ + make SYSSRC=${LINUXSRCDIR} module +} + +mee_install() { + mkdir -pv ${D}${DATAROOTDIR}/nvidia/kernel/${LINUXKLOCALVER}/${PKGVERSION} + + cp -v *.ko ${D}${DATAROOTDIR}/nvidia/kernel/${LINUXKLOCALVER}/${PKGVERSION}/ + + ln -s ${PKGVERSION} ${D}${DATAROOTDIR}/nvidia/kernel/${LINUXKLOCALVER}/current +} From 7009204c377ed67454e5e3d55d038d0e604c2beb Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 8 Oct 2021 18:16:26 +0200 Subject: [PATCH 8/9] nvidia-current: use beehive no other changes compared to nvidia_current-460.39-0.bee --- nvidia_current-470.74-0.bee | 88 +++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100755 nvidia_current-470.74-0.bee diff --git a/nvidia_current-470.74-0.bee b/nvidia_current-470.74-0.bee new file mode 100755 index 000000000..1e2498e9e --- /dev/null +++ b/nvidia_current-470.74-0.bee @@ -0,0 +1,88 @@ +#!/bin/env beesh + +# resources: +# http://www.nvidia.com/object/unix.html +# ./README.txt +# ./.manifest +# https://github.com/NVIDIA/nvidia-installer +# ./nvidia-installer -A +# ./nvidia-installer --ui=none --accept-license --no-kernel-module --expert +# + +NVIDIA_ARCHIVE="NVIDIA-Linux-x86_64-${PKGVERSION}${PKGEXTRAVERSION:+-${PKGEXTRAVERSION}}.run" + +# orig: https://de.download.nvidia.com/XFree86/Linux-x86_64/470.74/NVIDIA-Linux-x86_64-470.74.run +SRCURL[0]="https://beehive.molgen.mpg.de/279cbf4e1155a02e6a9f65e988794516/NVIDIA-Linux-x86_64-470.74.run" + +BEE_CONFIGURE=none + +build_in_sourcedir + +PREFIX=/usr/share/nvidia/${PKGVERSION} +LIBDIR=${PREFIX}/lib +BINDIR=${PREFIX}/bin + +# fix tar option for user namespace usage (`unshare -U -r BEEFILE`) +export TAR_OPTIONS=--no-same-owner + +mee_extract() { + rmdir ${S} + sh ${F}/${NVIDIA_ARCHIVE} -x --target ${S} +} + +#mee_patch() { +# bee_patch +#} + +mee_build() { + #bee_build + true +} + +mee_install() { + #bee_install + + mkdir -pv ${D}${PREFIX}/{bin,lib,drivers,man/man1} + mkdir -pv ${D}/usr/lib + + NVDRV="nvidia_drv.so" + + NVBIN=( \ + "nvidia-cuda-mps-control" \ + "nvidia-modprobe" \ + "nvidia-persistenced" \ + "nvidia-settings" \ + "nvidia-smi" \ + "nvidia-xconfig" \ + ) + + for i in lib*.so.$PKGVERSION; do + install -v -t ${D}${LIBDIR} "$i" + ln -sv "${LIBDIR}/$i" ${D}/usr/lib/ + if soname="$(soname "$i")"; then + #echo "$soname\n" + test -e "${D}${LIBDIR}/${soname}" || ln -sv "$i" "${D}${LIBDIR}/${soname}" + fi + done + + # libglxserver_nvidia.so should reside in /usr/lib/xorg/modules/extensions, + # here we cheat away and stay in line with the /node/usr_share_mxgfx mechanism. + # Additional note: don't put/link libglx.so into /usr/lib. + ln -sv libglxserver_nvidia.so.$PKGVERSION ${D}${LIBDIR}/libglxserver_nvidia.so + mkdir -vp ${D}/usr/lib/xorg/modules/extensions + + cd ${D}/usr/lib/xorg/modules/extensions + ln -sv /usr/share/mxgfx/lib/libglxserver_nvidia.so libglxserver_nvidia.so + cd $B + + echo "installing ${NVDRV} as drivers/$(basename ${NVDRV})"; + install -c -v ${NVDRV} ${D}${PREFIX}/drivers + + mkdir -pv ${D}/usr/share/man/man1 + + for i in ${NVBIN[@]} ; do + echo "installing ${i} as bin/${i}" + install -v -c -m 755 ${i} ${D}${BINDIR} + install -v -c -m 644 ${i}.1.gz ${D}${PREFIX}/man/man1 + done +} From ac4282b1071bac06ad22963f8d4795dee40addbf Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 8 Oct 2021 18:22:21 +0200 Subject: [PATCH 9/9] nvidia-mxlinks: tag GeForce GT 610 [10de:104a] as legacy This is rather cosmetic, since both existing cards are mounted in servers. So it is just reducing noise in the logs. --- nvidia-mxlinks.be0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvidia-mxlinks.be0 b/nvidia-mxlinks.be0 index b28d59282..7c943f6b6 100755 --- a/nvidia-mxlinks.be0 +++ b/nvidia-mxlinks.be0 @@ -1,6 +1,6 @@ #!/bin/env beesh -# BEE_VERSION nvidia-mxlinks-0.14-0 +# BEE_VERSION nvidia-mxlinks-0.14-1 EXCLUDE=("^/usr/lib/(X11|xorg)(|/modules(|/drivers))$") @@ -78,7 +78,7 @@ mee_install() { # 390.xx, but we didn't try to find out, at which branch that happened # exactly, because we no longer support these cards anyway. - for id in 0df8 107d;do + for id in 0df8 104a 107d;do ln -vs legacyX ${D}/usr/share/nvidia/pciidhints/10de:${id} done }