Package Details: linux-ck 6.5.4-2

Git Clone URL: (read-only, click to copy)
Package Base: linux-ck
Description: The Linux kernel and modules with ck's hrtimer patches
Upstream URL:
Licenses: GPL2
Replaces: virtualbox-guest-modules-arch, wireguard-arch
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 456
Popularity: 1.63
First Submitted: 2011-07-22 14:51 (UTC)
Last Updated: 2023-09-21 16:54 (UTC)

Required by (6)

Sources (16)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 304 Next › Last »

glitsj16 commented on 2023-03-24 08:31 (UTC)

@graysky I'm doing a rebuild of 6.2.8 using your rebased patches right now. My earlier build didn't have the 0002-bpf-x86-Fix-IP-after-emitting-call-depth-accounting.patch, so I included that too. Will post the results here asap. Thanks for your work!

graysky commented on 2023-03-24 07:59 (UTC)

Thanks @glitsj16

I applied it and rebased. In doing so I found that I had to change 0004-hrtimer-Replace-all-schedule-timeout-1-with-schedule.patch ... can you take a look at that and let me know if I did it correctly? Building 6.2.8 was successful.

glitsj16 commented on 2023-03-22 22:01 (UTC)

I am getting a similar error. I need some help rebasing 6.2 into the patches.

@graysky Here's my attempt at fixing the rebase: - tested with 6.2.7 (6.2.8 is building right now).

BS86 commented on 2023-03-02 18:10 (UTC)

Unfortunately my skill levels are far too low for that and my time currently is too limited to acquire those skills. I can edit PKGBUILD's just fine, but everything else is way above me.

graysky commented on 2023-02-22 19:38 (UTC)

I am getting a similar error. I need some help rebasing 6.2 into the patches.

  CC [M]  arch/x86/kvm/x86.o
  CC      crypto/aes_generic.o
kernel/sysctl.c:1666:35: error: ‘sysctl_numa_balancing’ undeclared here (not in a function); did you mean ‘sysctl_numa_balancing_mode’?
 1666 |                 .proc_handler   = sysctl_numa_balancing,
      |                                   ^~~~~~~~~~~~~~~~~~~~~
      |                                   sysctl_numa_balancing_mode
  CC      kernel/time/tick-sched.o
  CC [M]  arch/x86/kvm/emulate.o
  CC      lib/zstd/zstd_common_module.o
kernel/sysctl.c:1672:36: error: ‘sysctl_numa_balancing_promote_rate_limit’ undeclared here (not in a function)
 1672 |                 .data           = &sysctl_numa_balancing_promote_rate_limit,
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/pinctrl/intel/pinctrl-emmitsburg.o
make[2]: *** [scripts/ kernel/sysctl.o] Error 1

BS86 commented on 2023-02-22 16:20 (UTC) (edited on 2023-02-22 16:55 (UTC) by BS86)

I am getting the following error when trying to build the update to 6.2 (coming from 6.1.12). I already tried a clean build as well as manually removing the build folder (rm -rf ~/.cache/yay/linux-ck/) Never had any issues with this package, using it since 4.something on different machines.

  CC [M]  drivers/iio/adc/sd_adc_modulator.o
  CC [M]  drivers/iio/light/tsl4531.o
  CC [M]  drivers/iio/light/us5182d.o
  CC [M]  drivers/iio/light/vcnl4000.o
  CC [M]  drivers/iio/light/vcnl4035.o
  CC [M]  drivers/iio/light/veml6030.o
  CC [M]  drivers/iio/light/veml6070.o
  CC [M]  drivers/iio/light/vl6180.o
  CC [M]  drivers/iio/light/zopt2201.o
  LD [M]  drivers/iio/adc/xilinx-xadc.o
  LD [M]  drivers/infiniband/hw/hfi1/hfi1.o
make: *** [Makefile:2021: .] Error 2
==> ERROR: A failure occurred in build().
 -> error making: linux-ck (linux-ck linux-ck-headers)

I am using the 39 (x86_64v4) build option. Any ideas on what is going wrong and how to fix it?

Edit: The same error happens when using the default 36 option.

jnnk commented on 2023-02-19 20:40 (UTC)

I think bison should be specified as make dependency:

Hunk #1 succeeded at 95 (offset 3 lines).
Hunk #2 succeeded at 1639 (offset 3 lines).
patching file kernel/time/clockevents.c
patching file kernel/time/hrtimer.c
  YACC    scripts/kconfig/[ch]
/bin/sh: line 1: bison: command not found
make[1]: *** [scripts/ scripts/kconfig/] Error 127
make: *** [Makefile:697: olddefconfig] Error 2
==> ERROR: A failure occurred in prepare().

VGrol commented on 2022-12-05 03:43 (UTC)

I've been tinkering with some custom patches for this package, but what would be the best way to automate the build process, in particular; How do I prevent the half a dozen prompts for drivers, like (GPIO_BT8XX)?

I'm a bit of a novice when it comes to this, so some help would be appreciated!

brunomiguel commented on 2022-12-04 22:16 (UTC)

I appreciate your feedback, and I'll look into the snippet you shared so I can integrate it into my build system. Thank you!! 😊

graysky commented on 2022-12-04 21:17 (UTC)

What you're proposing is too non-standard for most other users IMO. If you can tweak your build script that would be preferable for your edge use case.

For my build script, the strategy is to first make the set of PKGBUILD files needed for the 4 subarches then copy them into a working dir to build. You might try something like that.

makework() {
  if [[ ! -d "$TODO" ]]; then
    mkdir -p "$TODO" || exit 1

  cp "$pkg_source/PKGBUILD" "$TODO" || exit 1

  for i in "${buildem[@]}"; do
    if [[ "$i" = "generic" ]]; then
      # generic setup where 36 is the default
      # this hit both instances of 'make oldconfig' for they are in an if statement so doesnt matter
      sed -e s/"#groups=('ck-generic')"/"groups=('ck-generic')"/ \
        -e "s/_subarch=/_subarch=36/" <"$TODO/PKGBUILD" >"$TODO/PKGBUILD.$i"
        #-e "s/make oldconfig/yes $num | make oldconfig/g" <"$TODO/PKGBUILD" >"$TODO/PKGBUILD.$i"
              # not generic so everything else
              # num refers to the number added by my gcc patch assuming x86_64's list
              case $i in
                *) exit 0

              sed -e s"/#groups=('ck-generic')"/"groups=('ck-generic')"/ \
                -e "/^pkgbase=/ s,linux-ck,linux-ck-$i," \
                -e "/depends=('linux-ck'/ s,ck,ck-$i," \
                -e "s/groups=('ck-generic')"/"groups=('ck-$i')"/ \
                -e "s/_subarch=/_subarch=$num/" \
                <"$TODO/PKGBUILD" >"$TODO/PKGBUILD.$i"

  # only work with
  rm -f "$TODO/PKGBUILD"