« May 2006 | Main | July 2006 »

June 9, 2006

Flakey Fedora Installer Issues

The following tip goes out to Kenneth Burgener.

Don't assume that your installation issues are the installer's fault. You may have bad hardware. I've seen this sort of problem triggered by bad RAM or an overheating system. Installation excercises the machine more that most normal usage, and unlike most programs rpm does regular checksums of its data. As a reesult, the installer is more likely to detect hardware problems. My money is on bad RAM. Grab a copy of memtest86 and let it run for a few hours. If I remember correctly, the first Fedora install disk includes it as a boot option.

June 6, 2006

OHCI / UHCI / EHCI

This post is a cop out. The first three sentences were added just to increase the ratio of content actually written by me. Nonetheless, I'm pretty sure someone else will find it useful.

Several times now I've wondered about the difference between the Linux ohci_hcd, uhci_hcd and ehci_hcd drivers. Well, at long last I looked it up.

The hardware that contains the host controller and the root hub has an interface toward the programmer which is called Host Controller Device (HCD) and is defined by the hardware implementer. In practice, these are hardware registers (ports) in the computer.

At version 1.0 and 1.1 there were two competing HCD implementations. Compaq's Open Host Controller Interface (OHCI) was adopted as the standard by the USB-IF. However, Intel subsequently created a specification they called the Universal Host Controller Interface (UHCI) and insisted other implementers pay to license and implement UHCI. VIA Technologies licensed the UHCI standard from Intel; all other chipset implementers use OHCI. The main difference between OHCI and UHCI is the fact that UHCI is more software-driven than OHCI is, making UHCI slightly more processor-intensive but cheaper to implement (excluding the license fees). The dueling implementations forced operating system vendors and hardware vendors to develop and test on both implementations which increased cost. During the design phase of USB 2.0 the USB-IF insisted on only one implementation. The USB 2.0 HCD implementation is called the Extended Host Controller Interface (EHCI). Only EHCI can support high-speed transfers. Each EHCI controller contains four virtual HCD implementations to support Full Speed and Low Speed devices. The virtual HCD on Intel and Via EHCI controllers are UHCI. All other vendors use virtual OHCI controllers.

-- http://en.wikipedia.org/wiki/Universal_Serial_Bus#Technical_details

June 5, 2006

So, Uhm, Yeah...

After class last Friday, while waiting for the instructor PC to be re-installed, I decided to do a little cleaning. Which leads me to a couple of questions: What does it mean when a student brings a box of NoDoz to class? What if the box was never opened?

June 1, 2006

Quick Screen Locking

Want to lock your screen quickly before walking away from your computer? About a week ago I accidentally discovered that pressing Ctrl-Alt-L locks the screen in Gnome on Fedora Core 5.

Frankly, that's almost everything I know at the moment. I think this is a relatively new feature. It doesn't seem to work in RHEL4, and I don't have easy access to any other distributions at the moment.