Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to old kernel #18

Open
Tracked by #12
AndrewFasano opened this issue Apr 22, 2024 · 12 comments
Open
Tracked by #12

Port to old kernel #18

AndrewFasano opened this issue Apr 22, 2024 · 12 comments
Assignees
Milestone

Comments

@AndrewFasano
Copy link

No description provided.

@AndrewFasano AndrewFasano changed the title Port to old kernel - probably 2.6? Port to old kernel Apr 22, 2024
@AndrewFasano
Copy link
Author

@lacraig2 started working on this: https://github.com/rehosting/linux/tree/min_2.6
That patch series is slightly older than the ones we applied on main_4.10 (that branch was recently rebased to add default values for the kernel params which might matter)

@AndrewFasano AndrewFasano added this to the jun24 milestone Jun 5, 2024
@AndrewFasano AndrewFasano assigned coolkingcole and unassigned lacraig2 Jun 5, 2024
@AndrewFasano
Copy link
Author

Cole is fighting with compiling old kernels with modern toolchains. Got a base kernel to build with his container setup. Got min_2.6 branch to build - now need to compare diffs to figure out what's missing.

@AndrewFasano
Copy link
Author

OSI is a bit broken because it's an older kernel. But we can just do without OSI

@AndrewFasano
Copy link
Author

Cole is having difficulties building a kernel that works + runs with PANDA.

Trying to build vanilla kernels and get them running under PANDA

@AndrewFasano
Copy link
Author

Cole has a kernel building that runs and we can interact with!

But all our patches are leading to crashes - something in do_sys_open (customized) broke as well as in other places - debugging

@AndrewFasano
Copy link
Author

Can directly run initramfs with panda - but not working with full penguin setup

@AndrewFasano
Copy link
Author

We'll deprioritize this task for the next sprint and re-evaluate in September

@AndrewFasano
Copy link
Author

@alibobi focusing on 3.X kernels now instead of 2.6

@AndrewFasano
Copy link
Author

Running into issues with root filesystem mounts.

I think @coolkingcole is also interested in a 5.X kernel - might be worth exploring in parallel or together

@AndrewFasano
Copy link
Author

Ali is making progress on a 3.14 kernel - got it to see /dev/vda now need it to boot

@AndrewFasano
Copy link
Author

Kernel runs, boots, there's a shell and a filesystem - but weird Illegal Instruction errors (arm guest) at the end of running any command - and then init dies.

@zestrada
Copy link

zestrada commented Nov 4, 2024

Kernel is running, next steps port changes

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

No branches or pull requests

5 participants