Skip to content

add TUN, GRE, VTI, IKCONFIG, to all targets - #131

Open
rminnich wants to merge 1 commit into
hugelgupf:mainfrom
rminnich:kernel-config-additions-for-testing
Open

add TUN, GRE, VTI, IKCONFIG, to all targets#131
rminnich wants to merge 1 commit into
hugelgupf:mainfrom
rminnich:kernel-config-additions-for-testing

Conversation

@rminnich

Copy link
Copy Markdown

Necessary for testing with githb.com/u-root/cpu/vm.

Although I'm still puzzled how the vmscript tests
passed, since none of this was enabled.

The IKCONFIG is so, in future, users of these kernels can more easily see what's enabled. The kernels
are included as binaries in the github.com/cpu/vm
package, to avoid any issues accessing ghcr.io, so it's good to have /proc/config.gz there.

Necessary for testing with githb.com/u-root/cpu/vm.

Although I'm still puzzled how the vmscript tests
passed, since none of this was enabled.

The IKCONFIG is so, in future, users of these kernels
can more easily see what's enabled. The kernels
are included as binaries in the github.com/cpu/vm
package, to avoid any issues accessing ghcr.io.

Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
@hugelgupf

Copy link
Copy Markdown
Owner

@rminnich build failure in the amd64 kernel?

@rminnich

Copy link
Copy Markdown
Author
#12 9.104 In file included from ./include/uapi/linux/posix_types.h:5,
#12 9.104                  from ./include/uapi/linux/types.h:14,
#12 9.104                  from ./include/linux/types.h:6,
#12 9.104                  from arch/x86/realmode/rm/wakeup.h:11,
#12 9.104                  from arch/x86/realmode/rm/wakemain.c:2:
#12 9.104 ./include/linux/stddef.h:11:9: error: cannot use keyword 'false' as enumeration constant
#12 9.104    11 |         false   = 0,
#12 9.104       |         ^~~~~
#12 9.104 ./include/linux/stddef.h:11:9: note: 'false' is a keyword with '-std=c23' onwards
#12 9.107 ./include/linux/types.h:30:33: error: 'bool' cannot be defined via 'typedef'
#12 9.107    30 | typedef _Bool                   bool;
#12 9.107       |                                 ^~~~
#12 9.108 ./include/linux/types.h:30:33: note: 'bool' is a keyword with '-std=c23' onwards
#12 9.109 ./include/linux/types.h:30:1: warning: useless type name in empty declaration
#12 9.109    30 | typedef _Bool                   bool;
#12 9.109       | ^~~~~~~
#12 9.125 make[3]: *** [scripts/Makefile.build:249: arch/x86/realmode/rm/wakemain.o] Error 1
#12 9.126 make[2]: *** [arch/x86/realmode/Makefile:22: arch/x86/realmode/rm/realmode.bin] Error 2
#12 9.126 make[2]: *** Waiting for unfinished jobs....

oh ffs here we go with bool again. Do we need a newer compiler? Why did this work on my machine?

@hugelgupf

Copy link
Copy Markdown
Owner

It's compiled using a docker image, with the dockerfile in that directory. you can update that

@hugelgupf

Copy link
Copy Markdown
Owner

the docker file uses ubuntu:rolling as the base, so it should be as up to date as ubuntu...

@hugelgupf

Copy link
Copy Markdown
Owner

in which case it's probably that the compiler is too new for the kernel version pinned there. wanna update that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants