Wednesday, June 15, 2005

Solaris Engineering - huge amount of technical stuff

As promised - Solaris engineers just have overhemled us with technical postings on their blogs! There's really huge amount of technical data posted just after the launch. Below are some links I collected (it will take a lot of time to read thru all of this) - I haven't catched all of them - you have to find them yourself.

update: Thanks to Liane Praza and Bryan Cantrill you can find more ordered list of some of the links below - here and here.

Solaris Devfs
Solaris x86, device DMA and DDI
NFS4 client's recovery messages
Privelege enabling set-id programs
Making getenv() scale
Bootin Solaris x86 at Fry's
SNMP in Solaris
Hardware interrupts for Solaris x86
Solaris ACLs
Solaris IPoIB
Library bindings
How an IP Tunnel Interface Dynamically Adjusts its Link MTU
Trussing Java
SVM: sms_oban_and_mt_ioctls
NIS to LDAP
NFS clients problem - fix
New Boot Architecture
User Credentials
Raid 10 vs Raid 01 in SVM
dsvclockd(1M): Using Doors to Implement Inter-Process Readers/Writer
Problem with aduit daemon - fix
Increasing UNIX group membership - fix
Link editors - a source tour
GCC support in Open Solaris
Adding command-line editing/history to an application
Adding your own performance statistics to Solaris
Init daemon problem - fix
Inside the Zones Console: a Tour of Comments, and Bugs
SVM and the B_FAILFAST flag
How to add a system call to OpenSolaris
Debugging Solaris Scheduling Problems, and Other Fun Party Tricks
Locale in Open Solaris
Bryan Cantrill's Open Solaris Tour
4314534: NFS cannot be controlled by SRM - fix
4278156: sendmail cores - fix
DTrace to identify memory leaks
cfgadm(1M) overview
FireWire scsa1394(7D) bug - fix
How do Solaris Filesystems Update Statistics Without Intimate Knowledge of the cpu Structure?
ATA on Solaris x86
Socket optins processing
Solaris Standards Conformance
Using libdtrace
Jim Mauro: New Solaris Internals
Kernel Address Space Layout on x86/x64
Solaris AppCrash - update
4028137: close hangs on serial ports - fix
Building Open Solaris as non-root
DTrace as a Stream debugger
Open Solaris: a tester's perspective
Predictive Self-Healing/EFT Overview
Magic ndd(1M) tunables
CMT and Solaris Performance
Dynamic segkp for 32bit x86 systems
x86 32 bit virtual address space - the "small" frontier...
Open Solaris: header files
Dave Miner - DHCP server tour
How to use crypto API in Solaris kernel code
Understanding Memory Allocation and File System Caching in OpenSolaris
SPARC system calls
6266961: long time mallocs on Opteron - fix
Solaris TCP Window Update
Solaris UFS lockfs protocol
Simplified Psuedo-Filesystem Implementation
Using MDB macros
David Comay - Booting Zones Tour
Configuring Solaris ACPI at boot-time
Alexander Kolbasov - Putnext and stack overflows Tour
Privilege Enabling Set-ID Programs: Part 2
Devfs and the Devid Cache
x86 syscall primer
4699850: Compiler reordering problem - fix
5017148: Dispatcher locks and Bug - fix
PCI device identification and driver binding in Solaris
4830628: mpstat sys time incorrect - fix
thread_nomigrate(): Environmentally friendly prevention of kernel thread migration
Paul Lovvik - Solaris goodies
libavl
Open Solaris - finding source for a binary
SCF: Meta Slot
Kerberos' Incremental Propagation and System Credentials
SVM: Diskset Import - An Introduction to the source
MDB: the implementation of ::findleaks
SVM: default interlace and resync buffer values
OpenSolaris Source Browser
Binding processes to Resource Pools
Using lint to find security vulnerabilities
Using Cfgadm with InfiniBand
a brief introduction to inband interrupts - Message Signaled Interrupts
Diagnose networking problems on Solaris
libuutil and designing for debuggability
Runtime Dynamic Linker Performance
5047967 ufs_itrunc does not account for pagesize < blocksize - fix
4765332: Solaris boot perf can be improved by enhancing kernel's vm data structure init - fix
Debug a Large Scale and Complex Solaris Application with Sun Studio
Small logic error, Big Trouble
Playing with Solaris memory debuggers
Open Solaris: a source code workspace management tool, wx
4530367: After retry timeout - nss_search() no longer retries lookups - fix
Solaris USB Architecture (USBA)
Solaris 10 on x64 Processors: Part 4 - Userland
Debugging cross calls on OpenSolaris
SVM: Disk relocation
Fire Engine - introduction
Open Solaris - IPsec
Page Fault Handling in Solaris
OpenSolaris - The 1394 Software Framework
ACPI user options
SVM: Resync Regions and Optimized Resyncs
the error handling portions of the I/O subsystem
Debugging on Sparc
SVM: Multi-Owner Diskset
A one-liner fix for a bug - and how Solaris's built-in debugging facility helped to track it down
5105724: kernel heap corruption due to cv_signal on freed door cv - fix

Tuesday, June 14, 2005

Something wonderful has just happened!

Finally Open Solaris is up!

You can download sources and compile them yourself! And it works! Several Pilot members, including me, have been doing that for some time. It's quite simple.

I've been involved with Open Solaris for several months now, as many other folks. It took a lot of time to open Solaris but they (we?) did it!

Solaris engineers prepared a little suprise on their blogs - so go to Sun's blog or better to Planet Sun which is a blog aggregator of Sun's blogs. I belive you would find there a lot of really interesting and technical staff about Solaris in a moment.

ps. I really love Source Browser - just try it!


OpenSolaris Enthusiast

Something's going to happen... Something wonderful...


I understand how you feel.

You see, it's all very clear to me now.

The whole thing.

It's wonderful.


-- Dave Bowman

Adding new disks to Solaris

How to configure just newly added disks in Solaris 10? It's really simple.



// first show all attached targets

bash-3.00# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t1d0 disk connected configured unknown
c0::dsk/c0t6d0 CD-ROM connected configured unknown
c1 fc-fabric connected configured unknown
c1::200500a0b8169d18 disk connected configured unknown
c1::5006016008065109 disk connected configured unknown
c2 fc-fabric connected configured unknown
c2::200400a0b8169d18 disk connected configured unknown
c2::5006016108065109 disk connected unconfigured unknown
c2::5006016908065109 disk connected configured unknown
c2::500604843d489c84 disk connected configured unknown
c3 scsi-bus connected unconfigured unknown
bash-3.00#

// now I attached SCSI JBOD to c3 - let's configure them

bash-3.00# cfgadm -c configure c3
bash-3.00# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t1d0 disk connected configured unknown
c0::dsk/c0t6d0 CD-ROM connected configured unknown
c1 fc-fabric connected configured unknown
c1::200500a0b8169d18 disk connected configured unknown
c1::5006016008065109 disk connected configured unknown
c2 fc-fabric connected configured unknown
c2::200400a0b8169d18 disk connected configured unknown
c2::5006016108065109 disk connected unconfigured unknown
c2::5006016908065109 disk connected configured unknown
c2::500604843d489c84 disk connected configured unknown
c3 scsi-bus connected configured unknown
c3::dsk/c3t8d0 disk connected configured unknown
c3::dsk/c3t9d0 disk connected configured unknown
c3::dsk/c3t10d0 disk connected configured unknown
c3::dsk/c3t11d0 disk connected configured unknown
c3::dsk/c3t12d0 disk connected configured unknown
c3::dsk/c3t13d0 disk connected configured unknown
c3::dsk/c3t14d0 disk connected configured unknown
bash-3.00#

// that's it
// simple and easy!

Solaris SX build 16

I installed last night o my laptop latest Solaris Express which is based on Nevada build 16, so it includes new booting architecture on x86/x64 platforms. Here are screenshots (sorry for bad quality of these pictures).


Something's going to happen... Something wonderful...

I understand how you feel. You see, it's all very clear to me now. The whole thing. It's wonderful.
-- Dave Bowman

Monday, June 13, 2005

Own Cluster Agents

Some overview on developing own cluster agents.

Voices of Open Solaris

"Most operating system reviews and developer interviews rely on technical points to explain what a project is about and what benefits users might derive from it. We rarely hear from the people responsible for the lion's share of the work in the open source software world. So here's a less technical interview with some members of the OpenSolaris development team."

Full interview here.

Thursday, June 09, 2005

New build of Open Solaris

I've just BFU'ed my system to Nevada build 16 of Open Solaris!


Sun Microsystems Inc. SunOS 5.11 milek-b16 October 2007
bfu'ed from /tmp/nightly-nd/ on 2005-06-10
#


btw: Open Solaris is coming really soon now!

Monday, June 06, 2005

Solaris Security Toolkit 4.1

Formerly known as JASS. From System News:

"Designed to simplify and automate the process of securing Solaris Operating Systems, this toolkit is based on proven security best practices and practical customer site experience. It can be used to secure SPARCR-based and x86-based systems."

It's available for free here and documentation is here.

Friday, June 03, 2005

Monitor!

This is cool!

Messaging Server with SpamAssassin and ClamAV

I've just added support for ClamAV to spam_master.

What is spam_master? It's a small C program which allows Messaging Server to use SpamAssassin and ClamAV. It's not a clean code - but it works. You can download it here.

NVIDIA drivers for Solaris x86/x64

NVIDIA just released drivers for its video cards for Solaris X86. You have to modify /etc/driver_aliases to get it working with vide adapters which are not officially supported by Sun. And yes, it supports OpenGL!

Thursday, June 02, 2005

Compare by hash

Really interesting paper comparing hash functions efficiency with compression and diffs. Definitely worth reading even for sys admins (you can find there some interesting remarks abour RSYNC).

btw: I have a little bit different version of the document with some minor differences when Val Henson was working for Sun.
And it looks like you can find more interestig papers on her page.