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 whose 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).

Friday, November 28, 2008

Acer Aspire One - painless tsclient/rdesktop install

I recently installed Terminal Server Client (tsclient) and Remote Desktop (rdesktop) on my Acer Aspire One. Here's a little background on what I did to get remote access to the Microsoft Windows servers in my data-center from my Acer Aspire One netbook.


The complete installation information is at this Google Site. 





Background:

tsclient - Terminal Services Client is a front end for rdesktop and other remote desktop tools.

rdesktop - remote desktop is an open source client for Microsoft's proprietary Remote Desktop Protocol (RDP).

The Install in Brief:
  • Install rdesktop using yum
  • Download tsclient-0.150-5.fc8.i386.rpm from rpmfind.net
  • Install tsclient using rpm

Once installed the AA1 desktop is modified to display the Terminal Services Client icon for ease of use.

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).

Monday, October 27, 2008

Acer Aspire One boot time less than 30 seconds

Another reason to buy an Acer Aspire One is the quick boot time. In a recent New York Times Technical article: In a New Age of Impatience, Cutting Computer Start Time It is the black hole of the digital age — the three minutes it can take for your computer to boot up, when there is nothing to do but wait, and wait, and wait some more before you can log on and begin multitasking at hyper-speed.

PC manufacturers Dell, Lenova and HP will introduce a new generation of quick start computers. 

Why wait for the next generation?  The Acer Aspire One boots in under 30 seconds, if running the Linpus OS and booting off the 8GB solid state hard drive.  

Even Microsoft, whose bloated Windows software is often blamed for sluggish start times, has pledged to do its part in the next version of the operating system, saying on a company blog that “a very good system is one that boots in under 15 seconds.” Today only 35 percent of machines running the latest version of Windows, called Vista, boot in 30 seconds or less, the blog notes.  (Apple Macintoshes tend to boot more quickly than comparable Windows machines but still feel glacially slow to most users.)

The  NY Times article continues with a quote from UCLA professor Gary Small,

Gary Small, a professor at the Semel Institute for Neuroscience and Human Behavior at the University of California, Los Angeles. “Our brains have become impatient with the boot-up process,” Dr. Small said. “We have been spoiled by the hand-held devices.”

USB Mouse on Acer Aspire One

I recently tested the functionality of a USB mouse attached to my Acer Aspire One (AA1). I attached a Microsoft Optical Mouse Blue USB and PS/2 Compatible mouse and started the AA1 without issue. Both the left and right mouse buttons worked as did the scroll wheel and center mouse mouse button (scroll wheel).

The output from from dmesg is:


ALC INIT<6>usbcore: registered new interface driver hiddev
input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input8
input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.0-2



Unplugging the mouse and reattaching while the AA1 is running again was no problem and produces a dmesg output of:



usb 2-2: USB disconnect, address 2
usb 2-2: new low speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input9
input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.0-2