Showing posts with label firmware. Show all posts
Showing posts with label firmware. Show all posts

Wednesday, October 22, 2008

Optical Drives, explained

Here is one of those hardware posts I warned you about -- but there's method to my madness (or is it madness to my method?). I bring up this subject because most commercial software comes on CD-ROM or DVD-ROM discs -- and I often distribute free-software compilations on CDs that I write myself (I write the discs, not the software). Live-Linux CDs and DVDs are another related item.

In June of 1985 I was at the Consumer Electronics Show in Chicago. Atari introduced its new Atari ST series -- but the item that most interested me was the CD-ROM drive add-on that was being shown with it. The only demonstration CD they had at that time was the first edition of Grolier's Encyclopedia. When I discovered that a CD-ROM disc could hold 640 megabytes (MB) of data, I was amazed (then-current small business/consumer-grade hard drives at the time maxed out at about 40 MB). I knew that big changes were coming at last (I had discussed the possibilities of CD and LaserDisc data storage with an engineer about 6 years earlier).

All the drives and discs I will be talking about share the same form factors (standardized size and shape) and are backward-compatible with earlier types; this means that a Blu-Ray burner will read (and write) CDs and DVDs as well. With the right software, media discs (audio and movies) can be played on the attached PC. There are different drive form factors for desktop and laptop PCs; within each class the drives are usually interchangeable. Due to physical (size) limitations, laptop drives read and write discs at a somewhat slower rate than desktop drives. For this reason, and to reduce wear-and-tear on the internal drive, I often use an external USB-connected drive with a laptop.

Each generation of discs and drives has held more data than the previous generation. CD capacity is 640 MB to 700 MB (depending on discs). DVD capacity is 4.7 gigabytes (GB) for a single-layer disc, 8.5 GB for a dual-layer disc. Blu-ray discs hold 25 GB on a single-layer disc, 50 GB on a dual-layer disc. There are indications that a next-generation Blu-ray disc may hold as much as 200 GB on a single CD-sized platter.

Typical 50-100 quantity prices for writable media range from about 15 cents for a blank CD-R, to 25-50 cents for a single-layer blank DVD, $1.50-$2 for a dual-layer blank DVD, up to $8-$15 for a single-layer Blu-Ray BD-R disc, and $25-$30 for a dual-layer BD-R disc (1-25 quantity). I expect the BD-R media prices will come down over time when the volume ramps up -- when I first got my CD burner, 4x blanks were about $1.50 each. There may be more about the optical media itself in a future installment.

The first iteration was the CD-ROM drive. Starting out at a read-rate of 1x (the same speed as an audio CD, about 150 kilobits-per-second), speeds soon ramped up. Microsoft's MS-DOS soon had an add-on that allowed DOS to read the CD file system, as did most other computer operating systems at the time. Current desktop optical ROM drives read (transfer data from) CDs at a 48x-52x rate -- but very few (if any) CD-ROM-only drives are currently being manufactured.
Compatibility
: CDs (older drives -- those manufactured prior to 1998 -- will probably not be able to read CD-R or CD-RW discs).


Next was the DVD-ROM drive, introduced in 1997. Starting out at a read-rate of 1x (the same speed as a DVD movie, which is about 4x faster than a 1x audio CD) it, too, quickly ramped up in speed. Current optical ROM drives read DVDs at a 16x-20x rate.
Compatibility: CDs & DVDs (older drives manufactured prior to 1998 may not be able to read writable media: CD-R, CD-RW, DVD-R/RW, or DVD+R/RW discs). A new DVD-ROM drive will set you back about $20-25.


At about the same time as the DVD-ROM was introduced came the CD "burner" (writer) drive. As CD write speeds ramped up above about 8X, a problem became evident -- the computer could not always transfer data to the drive consistently and the data interruption (known as buffer underrun) led to write failures. Sanyo developed what is now referred to as buffer underrun protection (sometimes called BURN-proof) -- all current writable drives (and the software for them) keep track of where they are on the disc during the write process and can pick up where they left off if the buffer (internal temporary storage memory) empties during a write cycle. Current optical ROM drives write (transfer data to) CDs at up to a 48x-52x rate.
Compatibility: read/write all CDs. A new CD-writer drive will cost about $20 -- I paid nearly $300 for my first 4x CD writer in 1999. Note: all older drives will require a
firmware update to write some current discs.

It was not long before a DVD-ROM drive was combined with a CD writer to make what is now called a combo drive, with all the features of both. These have mostly been superseded by full-featured DVD writers.
Compatibility
: read/write all CDs and read all DVDs. Note: all older drives will require a firmware update to write some current discs.


Next came the DVD burner. First-generation drives wrote DVD+R/RW and CD-R/RW only; DVD-R/RW drives and discs soon followed from a different industry consortium and could burn CDs as well. In general, the + and - drives could read (but not write) each others' discs. Current DVD writers are +/- write-compatible, but check the front-panel markings on a particular drive to ensure it will write the discs you feed it. Current desktop DVD-writer drives write single-layer discs at 16x-20x; Current laptop DVD-writer drives write single-layer discs at 6x-8x. Dual-layer discs are written at 4-8x depending on the type of drive and the media used.
Compatibility: read/write all CDs and read all DVDs. DVD write-compatibility varies with the drive; newer drives (since about 2004) write all types. Note: all older drives will require a firmware update to write some current discs.


The newest optical-disc formats are HD-DVD and Blu-ray, though the HD-DVD format has already fallen by the wayside (much to the chagrin of Microsoft). There are Blu-ray combo drives that add Blu-ray ROM and movie-reading capabilities to a DVD-burner drive.

The pinnacle of the optical-drive heap is the Blu-ray writer drive. Current Blu-ray writers can write BD-R media at up to 8x, which is a whopping 288 megabits (Mb) per second -- a nearly 2000 times faster data-transfer rate than a 1x CD at 150 kilobits (kb) per second.Compatibility: read/write all CDs, DVDs, and Blu-ray media.

Tuesday, September 9, 2008

Windows Vista is an Internet dropout

While this post is a bit outside my "normal" range for this blog, I have posted it because someone might find it in a search and it might save them the hours of searching that finally turned up this information: Microsoft Windows Vista is an Internet dropout.

A friend called me with a problem. Her new Sony VAIO laptop with Microsoft Windows Vista Home Premium would randomly disconnect from the Internet for no obvious reason. The cause turned out to be a simple (and stupid) problem.

Microsoft added networking support to Windows in version 3.11 -- a cobbled-up networking stack lifted (quite legally) from BSD code; the BSD license allows the free use of code if attribution is given. Essentially the same code was carried forward right up to WinXP, but the code was so old and crufty that the BSD distributions no longer used it; hence one of the major changes in WinVista vis-a-vis WinXP is in the networking stack. While some of these changes were much-needed, some just seem arbitrary and counter-productive. One of these changes was the source of her problem.

As far as I can figure, WinVista sends one of its new-fangled packets or messages to an older router or modem, the device says, "Huh?" and WinVista chokes. After hours of research — and booting from a live-booting Knoppix DVD so I could access the Internet to do it — I had WOW (the cable provider) remotely update the firmware in the cable modem and all was well. The same issue may crop up in older routers as well. I realize that many users don't even know what firmware is or are unable to figure out what firmware version a particular device has, let alone be able to update it -- but this knowledge has just been made more important than ever.

I found this tool from Microsoft, but I don't know if it is useful in this context:
Internet Connectivity Evaluation Tool
[This utility] checks your Internet router to see if it supports certain technologies. You can use this tool on a PC running either the Windows Vista or Windows XP operating system. If you're planning to run Windows Vista, this tool can verify whether your existing Internet router supports advanced features, such as improved download speeds and face-to-face collaboration using Windows Meeting Space.

Another related link of interest: Microsoft DHCP bugs make Windows lose networking.
Numerous perplexed Windows users have discovered that attempting to connect their PCs (especially Vista) to their existing networks or Wi-Fi hotspots results in flaky or nonexistent connections.


The solution was not obvious; it took a lot of searching and between-the-lines reading to find this information, but it was worth it -- and I'm glad to share.


A short time later, I ran into a similar problem on a Dell laptop running WinXP. A friend stated that she started having DSL connection problems about 2 weeks earlier; this was confirmed when I couldn't even ping the modem within about 5 minutes after a reboot. I updated her from Service Pack 2 to Service Pack 3 and updated the Ethernet card drivers to the latest version -- no joy. There were no problems with a Linux-DVD boot. Remembering my earlier WinVista firmware issues, I then found, downloaded, and installed a firmware update to her SpeedStream 5100 DSL modem from Siemens; fortunately, the update process was OS-agnostic since it ran from the modem itself, simply looking for the firmware image file on the system. After a reboot her connection was restored under Windows.