Visit Our UNIX and Linux User Community

UniX internals Material

Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Answers to Frequently Asked Questions New to Unix. Which books should I read? UniX internals Material
# 8  
Old 02-01-2002
There is not much to know about controlling a process. Stevens' book covered it all, so you are already there. I don't even know what "job control" is supposed to mean...process groups perhaps? Again Stevens' covered it all. Since you plan to take up threads and rpc, I can see that you're actually aiming at application programming. I have found that extensive kernel knowledge confers two benefits on the application programmer: performance tuning and system security. And very fast code will be noticed by your boss, very secure code won't.

Most vendors have driver writing manuals on the net. But that is the only real kernel internals info that I have ever found on the net. I have found a few good books. I hesitate to share them with you because I loved Stevens' book. I have never found any of his books to be boring. But for what it's worth, here are my top picks:

Kernel Descriptions:

The Design and Implementation of the 4.3BSD Operating System by Leffler, McKusick, Karels, and Quarterman ISBN 0-201-06196-1

The Design of the Unix Operating System by Bach ISBN 0-13-201799-7

The 4.3 book is the better of the two and not simply because it is describing a better kernel. But it was useful to read both books and compare the two approaches. The 4.3 book is out-of-print, but there is a 4.4 book out and it's high on my want list.

Solaris Internals -- Core Kernel Architecture by Mauro and McDougall ISBN 0-13-022496-0

This is not as good as the first two, but it sheds a lot of light on an important kernel.

Driver Writing

There is a problem here. I have never read a great book on driver writing. As I said, most vendors will have driver writing manuals and you should start with these. But here are a couple of driver writing books that were at least somewhat helpful. But they both have a System V focus.

Writing UNIX Device Drivers by Pajari ISBN 0-201-52374-4

While this is the worst of the two, it's not a bad place to start. It first describes a psuedo driver that just returns test data like today's /dev/zero. This is the smallest driver that can be written and it serves the same purpose as the "Hello world" program in K&R's C book. But after you have your first pseudo driver installed in a kernel, drop this book and move on.

Writing a Unix Device Driver by Egan and Teixeira ISBN 0-471-62859-X

A bit more advanced than the first book and much more accurate. It also has a reference section that is better than nothing if you don't have your vendor's manuals.


UNIX Systems for Modern Architectures....Symmetric Multiprocessing and Caching for Kernel Programmers by Schimmel ISBN 0-201-63338-8

This book first describes hardware concepts like n-way set associative caches, fully associative caches, memory management units and symmetric multiprocessing. Then it describes the software concepts needed to make it work like spin-locks, preemption, sequencers, etc. The focus is on SMP thoughout the book.

IA-64 and Elementary Functions by Markstein ISBN 0-13-0018348-2

This is a description of the new chip being developed by HP and Intel. There is no real unix specific information here, but the book delves in detail about writing software for the chip. The emphasis throughout the book is on performance and it is really aimed at the compiler writer. Most of the book is devoted to floating point arithmetic starting with hardware issues like precision and fused multiply-add. And the second half of the book describes in detail the suggested implementation of elementary functions from square root to the inverse hyperbolics. And it's not just the code, but the algorithms that lead to the development of the code. All in all, this is best book on computer arithmetic that I have ever seen.

Panic! Unix Crash Dump Analysis by Drake and Brown ISBN 0-13-149386-4

This is Solaris/Sparc based. It has the most complete description of adb that I have found. Also lots of info about assembler and kernel structures.
This User Gave Thanks to Perderabo For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #179
Difficulty: Easy
The Apple I first went on sale in July 1976 and sold for $666 USD.
True or False?

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

How to switch from SVR4/BSD internals to Linux internals?

Hello, Long-time Unix hacker here - I've worked on four variants of the kernel prior to the introduction of Linux. In my spare time, I've written Linux (Ubuntu) device drivers, kernel modules, cross-compiled, and built the kernel. I'd like to do Linux internals/device drivers as a day job,... (1 Reply)
Discussion started by: OriginalVersion
1 Replies

2. UNIX for Dummies Questions & Answers

UNIX Study Material

Hi , Can anyone suggest me any UNIX Study material and UNIX Certification specific for TELECOM-DOMAIN. Best Regards, Om Prakash. (14 Replies)
Discussion started by: omprakash1986
14 Replies

3. UNIX for Dummies Questions & Answers

Unix mail command internals

Hi all , I wanted to know how does a 'mail' command works in unix. Does it use an smtp server internally ? How and where it is configured then ? I am trying to google out the same , but not getting much help. Any suggestions with be of great help. - Andy (5 Replies)
Discussion started by: anindyabecs
5 Replies

4. What is on Your Mind?

UNIX Admin (Papers and study material)

Hi, I want to prepare and then appear for Unix admin certification. Please guide me for the study material and Exams that are required to be taken for UNIX certifcation. Thanks in advance. (11 Replies)
Discussion started by: raman1605
11 Replies

5. UNIX for Dummies Questions & Answers

Any study material for begineers for UNIX please??

Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies

6. Windows & DOS: Issues & Discussions

Unix Material

Hi, Can anyone provide the UNIX material. Thanks. (1 Reply)
Discussion started by: biyyanimv
1 Replies

7. Programming

Good Unix Online Study Material

HI Friends, I wanted to start this thread inorder to keep all the Unix starters to easily find useful material through this thread...I request you all to provide with the URL address of any gud material you know... thanks and regards... (2 Replies)
Discussion started by: rahul3894singh
2 Replies

8. Programming

UNIX Internals, Help required...

I know UNIX user level commands, shell scripts. But i have no idea about kernel level programming and networking. I know the terms semaphore,IPC,socket programming. But i don't know in details what are these. I need to know the following. 1. Unix kernel level programming. 2. Unix Internals. 3.... (4 Replies)
Discussion started by: digdarshan
4 Replies

9. UNIX for Dummies Questions & Answers

question on UNIX material

I am currently a student at Bergen Community College. My major is Networking Administration. I am having a tough time with INF-254 (UNIX). I need some help! What is "README bit" I am having trouble understanding certain concepts: For Example, what does it mean to set SUID, or SGID? ... (1 Reply)
Discussion started by: nelson ele
1 Replies

10. Filesystems, Disks and Memory

on unix internals

will anybody tell me how can i access all the fields of process table .if there is any structure and a system call please specify . (1 Reply)
Discussion started by: vish_shan
1 Replies

Featured Tech Videos