Readit News logoReadit News
Not_Oles · 3 years ago
Hello!

I have an antique server with qemu set up to run Xv6.[1] I wanted somebody to go through the course with me.[2] So far nobody has come aboard, and I haven't really started. If anyone here might be interested, please feel free to get in touch: notoles@metalvps.com. It would be super great to have a few friends along! Thank you!

Best wishes and kindest regards,

Tom

[1] https://lowendbox.com/blog/how-to-compile-the-3-items-needed...

[2] https://lowendbox.com/blog/invitation-to-join-me-for-mits-fr...

Not_Oles · 3 years ago
Earlier today I sent our first Xv6 Study Group email blast to the 15 people who have signed up. Also, I started a simple website for the group:

https://metalvps.com/Xv6/

I wasn't expecting such a big response! Thank you to all the guys who joined! Thank you HN!

Not_Oles · 3 years ago
Hello again!

Already have one person for our Xv6 study circle! Thank you HN! Anybody else?

I'm going to sleep now, but if anybody emails me, I will for sure reply in the morning.

Best!

Tom

Deleted Comment

Not_Oles · 3 years ago
So far, ten people have emailed expressing interest in joining our Xv6 study group. Plus three more said hello.

My idea is to start on the course itself tomorrow or the next day. I expect to invest at least an hour a day in the course itself. I also expect to post my notes and progress somewhere.

We can fill in the group structure as we go along. Maybe we all can keep in touch via email, irc, Jitsi, an HN thread, or set up our own Xv6 study group forum?

I am delighted to be in contact with so many other students! We have room for a few more if anyone else wants to join. Thank you all so much!

Not_Oles · 3 years ago
Oops! I just checked my email! There seem to be several more responses. I will get back to everyone ASAP.

We might even have room for even a few more!

Thanks guys! Thank you HN <3

markus_zhang · 3 years ago
Really wish I could join but I'm not there yet, need more work to get there. Good luck and have fun!
Not_Oles · 3 years ago
Hi Markus!

Thanks for your kind words.

I read your comment[1] which explains what you are doing and suggests by implication why you might think you are insufficiently prepared.

However, no law requires perfect preparedness. Why not take a few small bites of delicious dessert and see how they taste?

Best wishes and kindest regards,

Tom

[1] https://news.ycombinator.com/item?id=32314583

Galanwe · 3 years ago
For those interested in a slightly more readable code and modern build system, shameless plug of my attempt at some xv6 modernization: https://github.com/NewbiZ/xv6
rdpintqogeogsaa · 3 years ago
Is this a fork of xv6? Did you get permission to remove the LICENSE file?
eesmith · 3 years ago
I checked. It's definitely a fork. Eg, compare https://github.com/NewbiZ/xv6/blob/master/fs/fs.c to https://github.com/mit-pdos/xv6-public/blob/master/fs.c .

I didn't find a mention of the original copyright.

azhenley · 3 years ago
My favorite OS tutorial that I recommend to students, which uses Rust to target RISC-V: https://osblog.stephenmarz.com/
ode · 3 years ago
Why the downvotes?
nix23 · 3 years ago
I don't get it...GP, thanks for the link.
ch33zer · 3 years ago
One of my favorite classes in college was Operating Systems, taught by Peter Fröhlich at Johns Hopkins. We modified and built new xv6 features. Here's the course webpage, with the excellent and fun assignments:

https://www.cs.jhu.edu/~phf/2016/fall/cs318/

plutaniano · 3 years ago
I'm working my way through this[1] operating systems book and a few of the exercises[2] require customizing and compiling Xv6. It's so cool to code your own scheduler or syscall and see it working on a actual OS.

[1] https://pages.cs.wisc.edu/~remzi/OSTEP/ [2] https://github.com/remzi-arpacidusseau/ostep-projects

garren · 3 years ago
Also, XINU, “ Operating System Design - The Xinu Approach”[0]

The book isn’t free, but I’ve found it to be fun to work through. The projects are centered around building and running on small boards like beaglebone, Galileo, and more recently raspi (although this isn’t covered in the book.)

[0] https://xinu.cs.purdue.edu/

wsc981 · 3 years ago
I just scanned the Xv6 book [0] and it seems the book's exercises aren't really to build an OS from scratch, but modify an existing bare-bones OS.

When looking at the Xinu book index, it's not clear to me if the Xinu book is different. Does the Xinu book show how to write an OS from scratch or is the book also about making small changes to an existing OS?

---

[0]: https://pdos.csail.mit.edu/6.828/2021/xv6/book-riscv-rev2.pd...

Jakobeha · 3 years ago
It's another bare-bones OS.

I've taken the class at Purdue. The way the class works it was divided into 4 "projects" where you had to add features to Xinu. In my semester those were: a more advanced scheduler, locks, process permissions, and a file-system.

dang · 3 years ago
Related:

Running a Unix-like OS on a home-built CPU with a home-built C compiler - https://news.ycombinator.com/item?id=24680109 - Oct 2020 (69 comments)

Xv6, a simple Unix-like teaching operating system - https://news.ycombinator.com/item?id=24567993 - Sept 2020 (21 comments)

Xv6, a simple Unix-like teaching operating system - https://news.ycombinator.com/item?id=22511569 - March 2020 (32 comments)

Xv6 for RISC-V - https://news.ycombinator.com/item?id=21040057 - Sept 2019 (8 comments)

Xv6, a simple Unix-like teaching operating system - https://news.ycombinator.com/item?id=17592560 - July 2018 (79 comments)

Xv6, a simple Unix-like teaching operating system - https://news.ycombinator.com/item?id=10798523 - Dec 2015 (14 comments)

Xv6 - https://news.ycombinator.com/item?id=10566312 - Nov 2015 (47 comments)

Ask HN: What are the best resources for learning Operating Systems with xv6? - https://news.ycombinator.com/item?id=8877714 - Jan 2015 (1 comment)

Xv6 – A Simple Unix-Like Teaching Operating System - https://news.ycombinator.com/item?id=8620589 - Nov 2014 (28 comments)

Xv6 - https://news.ycombinator.com/item?id=7558081 - April 2014 (36 comments)

Xv6, a simple Unix-like teaching operating system - https://news.ycombinator.com/item?id=6971127 - Dec 2013 (78 comments)

Xv6 - Unix V6 rewritten in modern, ANSI C for MIT 6.828 - https://news.ycombinator.com/item?id=3753216 - March 2012 (14 comments)

Unix v6 Ported to ANSI C - https://news.ycombinator.com/item?id=3212515 - Nov 2011 (50 comments)

Xv6, a simple Unix-like teaching operating system - https://news.ycombinator.com/item?id=2335824 - March 2011 (4 comments)

markus_zhang · 3 years ago
Excellent. I'm working on a local undergraduate class chain to reach Compiler, Operating System and Computer Graphics. The school is peanut comparing to MIT so we don't have difficult labs as in MIT or Berkeley's courses. I'll take MIT's after I get the basics from my university. Hopefully this can smooth the cliff a bit.
apengwin · 3 years ago
go bears