logoalt Hacker News

ignoramousyesterday at 12:51 PM1 replyview on HN

> I've got a not production ready at all hobby OS

Do you usually publish your hobby code publicly? If not, consider this an appeal to do so (:

> Modern NICs tend to be fairly similar in interface, so if the manufacturer provides documentation, it shouldn't take too long to add support at least once you've got one driver ... For storage, you can probably get by with two drivers

I take that there aren't any pluggable drivers for NICs like there's for nvme/sata disks?


Replies

toast0yesterday at 3:44 PM

> Do you usually publish your hobby code publicly? If not, consider this an appeal to do so (:

Yes; https://github.com/russor/crazierl/ and there's an in browser demo as well https://crazierl.org/demo.html (thanks to v86! https://github.com/copy/v86 ) Supports virtio-net and realtek 8168.

> I take that there aren't any pluggable drivers for NICs like there's for nvme/sata disks?

I mean, there is NDIS / NDISWrapper. Or, I think it wouldn't be too hard to run netbsd drivers... but I'm crazy and want my drivers in userland, in Erlang, so none of that applies. :)

As a fair warning, there's some concurrency errors in the kernel which I haven't tracked down that results in sometimes getting stuck before the shell prompt comes up, the tcp stack is just ok enough to mostly work, and the dhcp client only works if everything goes right.

show 1 reply