- My Satellite Setup
- Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
- My Location
This seems to be a problem with media_build.@deeptho
Hi deeptho, My building of the kernel has come to a halt, seemingly stopping where it applies patches to the existing kernel, 5.4.0-26-generic.
I've no idea what hunks are, too deep down in Linux language for me.
I'm using Linux Mint 20 on an HP Envy laptop. Any ideas what the problem could be?
david@david-HP-ENVY-dv6-Notebook-PC:~/deeptho-tbsdriver/media_build$ sudo -s [sudo] password for david: root@david-HP-ENVY-dv6-Notebook-PC:/home/david/deeptho-tbsdriver/media_build# make dir DIR=../media make -C linux/ dir DIR="../../media" make: Entering directory '/home/david/deeptho-tbsdriver/media_build/linux' rm -rf drivers include sound mm .patches_applied .linked_dir .git_log.md5 git_log kernel_version.h Searching in ../../media/Makefile for kernel version. ./use_dir.pl ../../media sync file: include/uapi/linux/uvcvideo.h sync file: include/trace/events/pwc.h sync file: include/uapi/linux/smiapp.h sync file: include/linux/of_graph.h sync file: include/uapi/linux/v4l2-common.h sync file: include/uapi/linux/cec.h sync file: include/trace/events/v4l2.h sync file: include/uapi/linux/max2175.h sync file: include/uapi/linux/ivtvfb.h sync file: include/uapi/linux/v4l2-mediabus.h sync file: include/uapi/linux/media.h sync file: include/linux/via-core.h sync file: include/linux/pci_ids.h sync file: include/linux/overflow.h sync file: include/uapi/linux/media-bus-format.h sync file: include/trace/events/vb2.h sync file: include/linux/dma/xilinx_dma.h sync file: include/uapi/linux/cec-funcs.h sync file: include/linux/dma-fence.h sync file: include/linux/dma-buf.h sync file: include/uapi/linux/v4l2-dv-timings.h sync file: include/uapi/linux/xilinx-v4l2-controls.h sync file: include/linux/mmc/sdio_ids.h sync file: include/uapi/linux/meye.h sync file: include/uapi/linux/videodev2.h sync file: include/uapi/linux/v4l2-subdev.h sync file: include/linux/kconfig.h sync file: sound/pci/bt87x.c sync file: include/sound/aci.h sync file: include/uapi/linux/v4l2-controls.h sync file: include/linux/ti_wilink_st.h sync file: include/uapi/linux/ivtv.h sync file: include/linux/hdmi.h sync file: include/uapi/linux/lirc.h sync file: include/linux/fixp-arith.h sync file: include/misc/altera.h sync file: include/uapi/linux/usb/video.h sync dir: drivers/staging/media/ sync dir: include/uapi/linux/dvb/ sync dir: drivers/media/ sync dir: drivers/misc/altera-stapl/ sync dir: include/linux/platform_data/media/ sync dir: include/media/ sync dir: include/dt-bindings/media/ make: Leaving directory '/home/david/deeptho-tbsdriver/media_build/linux' root@david-HP-ENVY-dv6-Notebook-PC:/home/david/deeptho-tbsdriver/media_build# make allyesconfig make -C /home/david/deeptho-tbsdriver/media_build/v4l allyesconfig make: Entering directory '/home/david/deeptho-tbsdriver/media_build/v4l' make: Entering directory '/home/david/deeptho-tbsdriver/media_build/linux' Syncing with dir ../../media Applying patches for kernel 5.4.0-26-generic patch -s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch patch -s -f -N -p1 LeavingLeaving-i ../backports/debug.patch patch -s -f -N -p1 -i ../backports/drx39xxj.patch patch -s -f -N -p1 -i ../backports/v5.7_mmap_read_lock.patch 1 out of 1 hunk FAILED 1 out of 1 hunk FAILED 1 out of 1 hunk FAILED 2 out of 2 hunks FAILED 2 out of 2 hunks FAILED 3 out of 3 hunks FAILED 1 out of 1 hunk FAILED The text leading up to this was: -------------------------- |diff --git a/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c b/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c |index 4fb9bfdd2f4c..76d6e52b7af9 100644 |--- a/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c |+++ b/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored make: *** [Makefile:133: apply_patches] Error 1 make: Leaving directory '/home/david/deeptho-tbsdriver/media_build/linux' make: *** [Makefile:387: allyesconfig] Error 2 make: Leaving directory '/home/david/deeptho-tbsdriver/media_build/v4l' make: *** [Makefile:26: allyesconfig] Error 2 root@david-HP-ENVY-dv6-Notebook-PC:/home/david/deeptho-tbsdriver/media_build#
There are two things you can try:
* make sure that you did a "make distclean" before building. No .o and .ko files should be present; also
make sure that you have the mst recent media_build
*It could be some unneeded driver. If you can find which one, you can disable it.
I suspect the problem also occurs when building the tbs media_tree. It is then also kernel dependent.
Switching to a slightly older linux kernel version may help.
media_build is quite complicated. I don't understand all the details either...