Monday, May 25, 2009

NIST Engineers Discover Fundamental Flaw in Transistor Theory

A reprint from The National Institute for Standards Tech Beat (May 20th, 2009):

There’s a newfound flaw in our understanding of transistor noise, a phenomenon affecting the electronic on-off switch that makes computer circuits possible. According to the engineers at the National Institute of Standards and Technology (NIST) who discovered the problem, it will soon stand in the way of creating more efficient, lower-powered devices like cell phones and pacemakers unless we solve it.

While exploring transistor behavior, the team found evidence that a widely accepted model explaining errors caused by electronic “noise” in the switches does not fit the facts. A transistor must be made from highly purified materials to function; defects in these materials, like rocks in a stream, can divert the flow of electricity and cause the device to malfunction. This, in turn, makes it appear to fluctuate erratically between “on” and “off” states. For decades, the engineering community has largely accepted a theoretical model that identifies these defects and helps guide designers’ efforts to mitigate them.

Those days are ending, says NIST’s Jason Campbell, who has studied the fluctuations between on-off states in progressively smaller transistors. The theory, known as the elastic tunneling model, predicts that as transistors shrink, the fluctuations should correspondingly increase in frequency.

However, Campbell’s group at NIST has shown that even in nanometer-sized transistors, the fluctuation frequency remains the same. “This implies that the theory explaining the effect must be wrong,” Campbell said. “The model was a good working theory when transistors were large, but our observations clearly indicate that it’s incorrect at the smaller nanoscale regimes where industry is headed.”

The findings have particular implications for the low-power transistors currently in demand in the latest high-tech consumer technology, such as laptop computers. Low-power transistors are coveted because using them on chips would allow devices to run longer on less power—think cell phones that can run for a week on a single charge or pacemakers that operate for a decade without changing the battery. But Campbell says that the fluctuations his group observed grow even more pronounced as the power decreased. “This is a real bottleneck in our development of transistors for low-power applications,” he says. “We have to understand the problem before we can fix it—and troublingly, we don’t know what’s actually happening.”

Campbell, who credits NIST colleague K.P. Cheung for first noticing the possibility of trouble with the theory, presented* some of the group’s findings at an industry conference on May 19, 2009, in Austin, Texas. Researchers from the University of Maryland College Park and Rutgers University also contributed to the study.


* J.P. Campbell, L.C. Yu, K.P. Cheung, J. Qin, J.S. Suehle, A. Oates, K. Sheng. Large Random Telegraph Noise in Sub-Threshold Operation of Nano-scale nMOSFETs. 2009 IEEE International Conference on Integrated Circuit Design and Technology. Austin, Texas. May 19, 2009; and Random Telegraph Noise in Highly Scaled nMOSFETs. 2009 IEEE International Reliability Physics Symposium, Montreal, Canada, April 29, 2009.

Friday, May 01, 2009

Microsoft Windows is *not* an Operating System

After recently contracting for an investment firm who insists on using Microsoft Windows for an 'operating system', and after having my/their developer box re-imaged several times because of the Win32.Polipos virus rampantly running across their network, it occurred to me that Micro$oft Windoze is NOT an operating system... it's a binary petri dish with the sole purpose is to create a multi-billion dollar business for the likes of Symantec and McAffe.

As for me... I'm thankful my personal computers and laptops are running FreeBSD. Long live the BSD Foundation!

Friday, December 05, 2008

Free Network Attached Storage - FreeNAS

I recently installed FreeNAS 0.69RC2 (Kralizec) on an HP Pavillion 7915. The install was the easiest server product I ever installed and worked flawlessly right out of the box. Here is what I did to add extra network attached storage for zero dollars.

Server specifications for the HP Pavillion 7915 are:
  • 1.1GHz Celeron processor
  • Intel 810 chipset
  • 128 Mb SDRAM
  • 40 GB HD

I burned the 0.69RC2 (Kralizec) ISO onto a CD and started the Pavillion.  The boot and install is very similar to a FreeBSD install (no surprise since FreeNAS is built on FreeBSD) so for those familiar with the FreeBSD installer this is a simple task.  Follow the prompts to install the minimal OS and network services.  Rebooting yields a server that boots in less than 16Mb of RAM.  Detailed installation instructions are here.

Why FreeNAS?
Well, as the name implies it is free.  Since the HP was donated to me by a coworker the server was free also (a real bonus).  Secondly the ability to repurpose old hardware and create a new use for it is always a plus.  Lastly the reasons to install FreeNAS include its ease of use and rock solid reliability and many more listed below.

What ships with FreeNAS?
FreeNAS is a free NAS (Network-Attached Storage) server, supporting: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI protocols, S.M.A.R.T., local user authentication, Software RAID (0,1,5) with a Full WEB configuration interface. FreeNAS takes less than 32MB once installed on Compact Flash, hard drive or USB key. The minimal FreeBSD distribution, Web interface, PHP scripts and documentation are based on M0n0wall.

















Will FreeNAS work with Windows based clients?
Absolutely!  FreeNAS ships with Samba server so Windows clients have no problem connecting, storing and retrieving data. See the snapshot below.

















Other Solutions:
To be fair, there are other NAS solutions, for a price, but why pay when that old family computer is begging for a second life.  There are other open source based NAS solutions (NASLite,   Openfiler,  and a host of others), but for the ease of install, web-based interface and works out of the box simplicity of FreeNAS, you owe it to yourself to download and install the very stable and full functioning NAS from FreeNAS.org (FreeNAS blog).

Sunday, November 09, 2008

Morris Worm - two decades later - little has changed

It was November 1988 and I was an undergrad at Colorado State University when the Morris Worm started hitting computers on campus.  I remember the excitement in the Physics lounge as we started to discuss and reverse engineer the virus.

The worm infected BSD based operating systems by exploiting buffer overruns using the gets function call in the utilities fingerd and sendmail.  The worm collected host, network and user information and then, in turn, used this information to infect other servers using TCP or SMTP and the buffer overrun defects in sendmail and/or fingerd.

The detection of the virus started with strange files showing up in /usr/tmp directories, strange entries in /var/log/ files, but most notably was the vast number of processes running when one issued a top command.

Shortly after discovery,  UC Berkley had created a patch for sendmail and made suggestions to limit the spread of the Morris Worm.  Oddly enough the Morris Worm exploited a debug option (e.g. -d) in sendmail, used by many system admins (and users) to test mail configurations.

So here we are twenty years later and I am still disappointed to find my colleagues using unbounded string copy functions like gets, strcpy, strcat, etc.  I recently worked with a networking group to close a security exploit in one of their communications libraries that, you guessed it did a blind copy of a buffer passed in from the user (doh!) and caused the daemons using the library to crash and dump the stack.

Therefore I have written on the whiteboard by my desk:
Use of the function strcpy is a clear indication to anyone reading your code that you are willing to walk forever to find nothing (e.g. a NULL).
As a footnote:  Whatever happened to that Morris guy who created the Morris Worm?  Well, Robert T. Morris was represented by the law firm Bonnor and O'Connell; tried and convicted of violating the 1986 Computer Fraud and Abuse act and eventually sentenced to three years probation and fined 10,000 USD.  Shed no tears, R. T. Morris is an associate professor at MIT (the exact same university where he created the worm).

Wednesday, October 22, 2008

Breaking the century mark

No, this post is not to celebrate my turning 100, though at times I do feel a hundred years old.  No, this post is to celebrate the 1o1st country to join the viewing ranks of the kengell chronicles.

Ranked by number of page views, the top ten countries to visit the kengell chronicles are:
  1. United States
  2. Canada
  3. United Kingdom
  4. Norway
  5. Spain
  6. Austria
  7. Germany
  8. Netherlands
  9. Denmark
  10. Finland
The 101st country to join the kengell chronicle ranks is Malawi.  Thanks to all who have read the chronicles.

Ranked by page views the continents are:

  1. North America
  2. South America
  3. Europe
  4. Asia
  5. Oceania
  6. Africa
I just need one person in Antarctica to read this blog and the continent list will be complete.

Friday, October 17, 2008

Surfing the Green Wave in Copenhagen

In Chicago we have what's known as the "Chicago Pace" (not to be confused with the PACE buses).  Simply put, if you walk at the right pace you can cruise from intersection to intersection without stopping (not that jaywalking is unknown among Chicagoans).  I've been able to walk from my office on the corner of Wacker and Adams to the Art Institute (Michigan Ave and Adams) in under ten minutes; a distance of about 1 km. The same applies when walking up Wacker Drive from the Sears Tower to the Wrigley Building on Michigan Avenue.

In Copenhagen they use the term "Green Wave". If you cycle (Danes cycle everywhere) into Copenhagen on certain high traffic streets (Nørrebrogade being one of them) and maintain a ~20 km/hr pace you will be into city center in no time at all. Colville Andersen has produced a neat little video capturing the 'green wave' in action. Have a look at and treat yourself to a little Danish 'bicycle' rock; Iben's Jeg savner min blå cykel - (I miss my blue blue bicycle) and Tue West's Sæt dig bag på min cykel - (Sit up on the back of my bike).


The Green Wave in Copenhagen from Colville Andersen on Vimeo.

Notice, in the video, the street lights changing to green in the upper right hand corner.  Also take note how the Danes have separated the main street (lowest level), the bike path (cyclevej) on the next level up from the foot path (highest level).

Monday, October 13, 2008

PC-BSD on a USB memory stick

My goal was simple: create a bootable USB memory stick and copy the install image of PC-BSD onto the USB memory stick.

This was achieved w/o much trouble using my FreeBSD server at work. I performed the following operations logged in as root.

The USB image was downloaded from the PC-BSD website


Assumption: the USB memory stick is plugged into the server at /dev/da0

# fdisk -BI /dev/da0
# bsdlabel -w -B /dev/da0s1
# newfs /dev/da0
# dd if=/usr/home/kengell/PCBSD7-x86-USB.img of=/dev/da0 bs=1m