Re: netbsd : internals : bach book : good to start-off?
On Mon, 22 Apr 2019 11:17:39 -0700 "Greg A. Woods" wrote: > There is a actually a book that very nearly focuses on early NetBSD (and > FreeBSD, before they diverged so much), and that's McKusick, Bostic, > Karels, and Quarterman's "The Design and Implementation of the 4.4BSD > Operating System", published 1996 by Addison-Wesley. +1 for that book. I knew nothing about kernel programming before reading it; afterwards I ported a driver from OpenBSD to NetBSD without trouble. It "demystified" the kernel enough that source code and man pages were enough answer any remaining questions. -- Aaron B.
Re: netbsd : internals : bach book : good to start-off?
The second chapter of the above is available at https://download.freebsd.org/ftp/doc/en/books/design-44bsd/book.pdf . On Mon, 22 Apr 2019 at 19:18, Greg A. Woods wrote: > > At Mon, 22 Apr 2019 05:08:54 GMT, Mayuresh Kathe wrote: > Subject: Re: netbsd : internals : bach book : good to start-off? > > > > i have no knowledge of any operating system internals, leave alone unix. > > so, since bach's book is so light (in terms of page count) and affordable > > i thought it would be a good starting-off point into operating system > > internals. > > I think Bach's book is quite approachable for anyone who knows C, and it > is still a very good guide to the general principles of any Unix-like > monolithic kernel operating system. I like Bach's writing style, and he > gives many examples of how various system services are used, as well as > describing how they are implemented. Unfortunately it was written in > the middle of the Unix wars and at a time when the kernel in particular > was still mostly proprietary, so it doesn't include any actual code > examples from any Unix kernel and instead pseudo-code is presented to > describe kernel algorithms. > > There is a actually a book that very nearly focuses on early NetBSD (and > FreeBSD, before they diverged so much), and that's McKusick, Bostic, > Karels, and Quarterman's "The Design and Implementation of the 4.4BSD > Operating System", published 1996 by Addison-Wesley. ISBN: 0201549794 / > ISBN-13: 9780201549799. Used copies are available from Alibris.com for > a reasonable price. I've found this edition to be better than the newer > FreeBSD-specific editions, at least from a NetBSD perspective, though it > is also somewhat more dated. > > -- > Greg A. Woods > > +1 250 762-7675 RoboHack > Planix, Inc. Avoncote Farms --
Re: netbsd : internals : bach book : good to start-off?
At Mon, 22 Apr 2019 05:08:54 GMT, Mayuresh Kathe wrote: Subject: Re: netbsd : internals : bach book : good to start-off? > > i have no knowledge of any operating system internals, leave alone unix. > so, since bach's book is so light (in terms of page count) and affordable > i thought it would be a good starting-off point into operating system > internals. I think Bach's book is quite approachable for anyone who knows C, and it is still a very good guide to the general principles of any Unix-like monolithic kernel operating system. I like Bach's writing style, and he gives many examples of how various system services are used, as well as describing how they are implemented. Unfortunately it was written in the middle of the Unix wars and at a time when the kernel in particular was still mostly proprietary, so it doesn't include any actual code examples from any Unix kernel and instead pseudo-code is presented to describe kernel algorithms. There is a actually a book that very nearly focuses on early NetBSD (and FreeBSD, before they diverged so much), and that's McKusick, Bostic, Karels, and Quarterman's "The Design and Implementation of the 4.4BSD Operating System", published 1996 by Addison-Wesley. ISBN: 0201549794 / ISBN-13: 9780201549799. Used copies are available from Alibris.com for a reasonable price. I've found this edition to be better than the newer FreeBSD-specific editions, at least from a NetBSD perspective, though it is also somewhat more dated. -- Greg A. Woods +1 250 762-7675 RoboHack Planix, Inc. Avoncote Farms pgp6IT3My1szp.pgp Description: OpenPGP Digital Signature
Re: semaphores options
> > This should now be fixed in -current > > Pullups for netbsd-8 and -8-0 have been submitted. > Pullups are completed, so if you rebuild your -8 or -8-0 kernel you > should pick up the fix. > Sorry for making a mess. Thank you. There were no problem, that was quite easy to survive. -- Sincerely yours, Dima Veselov Physics R Establishment of Saint-Petersburg University
Re: why 2 mails every time?
On 22/04/2019 06:11, Mayuresh Kathe wrote: why do i get 2 emails every time there's a reply to any email by me or to me? earlier i thought it was my mail client (mailx) which was doing something crazy, but it isn't so, a simply reply to netbsd-users goes out and sends me 2 copies of that same mail. like clock-work. Because when people hit reply all the default behaviour in most clients is to send to both the author and the mailing list. So one is directly sent to you and the second copy then comes from the list. It can be useful if you want to cc someone not on the list but if I'm confident the user is on the list I tend to edit out the personal address (as I've done with this message. :) ). If check the full mail headers you will see that one hasn't gone via the NetBSD servers. Mike
Re: is netbsd actually a toolkit?
On 22.04.2019 06:16, Mayuresh Kathe wrote: > freebsd has an internal focus to become a good server operating system. > openbsd has an internal focus to become a highly secure operating system. > what is netbsd's internal focus? can't be just a highly portable operating > system! is it more to be a really good toolkit for people to build their > own operating systems for their desired hardware? > It's nothing wrong to treat NetBSD as a general purpose OS without adjectives. Is Linux for server? Embedded? Desktop? HPC? Research? For me NetBSD is the right answer of open-source OS for desktop. signature.asc Description: OpenPGP digital signature
KGDB on rpi
Hello, I would like to know if it is possible to use KGDB on RPI as TARGET. I think there should be a call to plcom_kgdb_attach somewhere but I can't find one. I am likely wrong. In that case, can you please tell me how do I prepare the TARGET? Thank you. yarl
Re: is netbsd actually a toolkit?
Hi Mayuresh, This explains everything about NetBSD http://netbsd.org/about/ hope that's what you are looking for. Regards, Jay On Mon 22 Apr, 2019, 9:46 AM Mayuresh Kathe, wrote: > freebsd has an internal focus to become a good server operating system. > openbsd has an internal focus to become a highly secure operating system. > what is netbsd's internal focus? can't be just a highly portable operating > system! is it more to be a really good toolkit for people to build their > own operating systems for their desired hardware? >