Repository : ssh://git@diktynna/doc
On branches: backup-redmine/2021-09-11,backup-redmine/2021-10-09,backup-redmine/2021-11-13,backup-redmine/2021-12-11,backup-redmine/2022-01-08,backup-redmine/2022-02-12,backup-redmine/2022-03-12,backup-redmine/2022-04-09,backup-redmine/2022-05-07,backup-redmine/2022-06-11,backup-redmine/2022-08-06,backup-redmine/2022-10-07,backup-redmine/2022-11-14,backup-redmine/2023-01-14,main
commit 6a8af2360c8fade355ffd86a0001ea0c366dbca9 Author: Sven Eckelmann sven@narfation.org Date: Sun Aug 15 11:30:52 2021 +0000
doc: open-mesh/Kernel_hacking_Debian_image: use merge_config.sh script to create base kernel config
6a8af2360c8fade355ffd86a0001ea0c366dbca9 open-mesh/Kernel_hacking_Debian_image.textile | 70 ++------------------------- 1 file changed, 4 insertions(+), 66 deletions(-)
diff --git a/open-mesh/Kernel_hacking_Debian_image.textile b/open-mesh/Kernel_hacking_Debian_image.textile index 07971f05..793f76ec 100644 --- a/open-mesh/Kernel_hacking_Debian_image.textile +++ b/open-mesh/Kernel_hacking_Debian_image.textile @@ -100,90 +100,38 @@ The kernel will be build to enhance the virtualization and debugging experience. git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git cd linux-next
-make allnoconfig -cat >> .config << EOF +cat > ./kernel/configs/debug_kernel.config << EOF
# small configuration CONFIG_SMP=y -CONFIG_EMBEDDED=n -# CONFIG_EXPERT is not set CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_64BIT=y -CONFIG_X86_VSYSCALL_EMULATION=n -CONFIG_IA32_EMULATION=n -CONFIG_VOP_BUS=y -CONFIG_VOP=y CONFIG_HW_RANDOM_VIRTIO=y -CONFIG_NET_9P_VIRTIO=y -CONFIG_VIRTIO_MENU=y -CONFIG_SCSI_VIRTIO=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_BLK=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_NET=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_PCI_LEGACY=y CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_BLK_SCSI=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_RPMSG_VIRTIO=y CONFIG_VSOCKETS=y CONFIG_VIRTIO_VSOCKETS=y -CONFIG_DRM=y -CONFIG_DRM_VIRTIO_GPU=y -CONFIG_CAIF=y -CONFIG_CAIF_VIRTIO=y -CONFIG_CRYPTO_DEV_VIRTIO=y -CONFIG_FUSE_FS=y -CONFIG_VIRTIO_FS=y CONFIG_IOMMU_SUPPORT=y CONFIG_VIRTIO_IOMMU=y -CONFIG_LIBNVDIMM=y -CONFIG_VIRTIO_PMEM=y CONFIG_CRC16=y CONFIG_LIBCRC32C=y -CONFIG_CRYPTO_SHA512=y -CONFIG_NET=y -CONFIG_INET=y CONFIG_DEBUG_FS=y CONFIG_IPV6=y CONFIG_BRIDGE=y CONFIG_VLAN_8021Q=y -CONFIG_WIRELESS=n -CONFIG_NET_9P=y -CONFIG_NETWORK_FILESYSTEMS=y -CONFIG_9P_FS=y CONFIG_9P_FS_POSIX_ACL=y CONFIG_9P_FS_SECURITY=y -CONFIG_BLOCK=y -CONFIG_BLK_DEV=y CONFIG_EXT4_FS=y -CONFIG_EXT4_USE_FOR_EXT23=y -CONFIG_TTY=y CONFIG_HW_RANDOM=y -CONFIG_VHOST_RING=y -CONFIG_GENERIC_ALLOCATOR=y -CONFIG_SCSI_LOWLEVEL=y CONFIG_SCSI=y -CONFIG_NETDEVICES=y -CONFIG_NET_CORE=y CONFIG_DEVTMPFS=y -CONFIG_HYPERVISOR_GUEST=y CONFIG_PVH=y -CONFIG_PARAVIRT=y CONFIG_PARAVIRT_TIME_ACCOUNTING=y CONFIG_PARAVIRT_SPINLOCKS=y -CONFIG_KVM_GUEST=y -CONFIG_BINFMT_ELF=y CONFIG_BINFMT_SCRIPT=y CONFIG_BINFMT_MISC=y -CONFIG_PCI=y CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y CONFIG_CROSS_MEMORY_ATTACH=y @@ -194,24 +142,19 @@ CONFIG_BLK_CGROUP=y CONFIG_CGROUP_CPUACCT=y CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_HUGETLB=y CONFIG_CGROUP_NET_CLASSID=y CONFIG_CGROUP_NET_PRIO=y CONFIG_CGROUP_PERF=y CONFIG_CGROUP_SCHED=y -CONFIG_DEVPTS_MULTIPLE_INSTANCES=y CONFIG_INOTIFY_USER=y -CONFIG_FHANDLE=y CONFIG_CFG80211=y CONFIG_DUMMY=y CONFIG_PACKET=y CONFIG_VETH=y CONFIG_IP_MULTICAST=y CONFIG_NET_IPGRE_DEMUX=y -CONFIG_NET_IP_TUNNEL=y CONFIG_NET_IPGRE=y CONFIG_NET_IPGRE_BROADCAST=y -# CONFIG_LEGACY_PTYS is not set CONFIG_NO_HZ_IDLE=y CONFIG_CPU_IDLE_GOV_HALTPOLL=y CONFIG_PVPANIC=y @@ -289,15 +232,10 @@ CONFIG_UBSAN=y CONFIG_KCSAN=y CONFIG_KFENCE=y EOF -make olddefconfig
-cat >> .config << EOF -# allow to use unsigned regdb with hwsim -CONFIG_EXPERT=y -CONFIG_CFG80211_CERTIFICATION_ONUS=y -# CONFIG_CFG80211_REQUIRE_SIGNED_REGDB is not set -EOF -make olddefconfig +make allnoconfig +make kvm_guest.config +make debug_kernel.config
make all -j$(nproc || echo 1) </code></pre>