Saturday Sep 19, 2009

New SDRAM modules have been installed in the AMD Duron 1.3GHz system which now has the max. RAM for the board (1.5G). With only this change:


* OpenSolaris boots up, but it doesn't configure the Zyxel G302 wireless card or the onboard AC97 audio.
* Ubuntu hangs with a black screen and a white mouse pointer in the middle. The mouse pointer is frozen, but the keyboard has worked fine up until that point.

For a sanity check, trying my Toshiba Laptop with a 2.0 Pentium M chip and 1G of RAM. Another family member is using this system Monday thru Friday, so I can't take it over:
* OpenSolaris starts to boot, but hangs on a blue screen with the "OpenSolaris" logo in the lower right corner.
* Ubuntu just works! Wireless is configured, sound is configured. I plug in my Lexmark X4530 and it can't find a driver, but offers a screen to select a PPD file: I didn't have to do anything but plug it in.

Conclusion: Everything is a project. Since the goal is a Linux desktop at home, I'm trying for the path of least resistance. There is a wiki for debugging live cd and other Ubuntu boot problems, so I'll start there.

Monday Sep 07, 2009

My daughter is off to college this Fall and now has a nice Toshiba laptop to use at home and school. This means that I now have a machine to install OpenSolaris (and other OS') on! But, alas, the system lacks the necessary memory for OpenSolaris and won't run the live CD. (The system won't run the Ubuntu 9.04 release either) There were also errors about the USB buses not responding and being taken offline ("No SOF interrupts have been received. This USB UHCI host controller is unusable.") I'm hoping that a memory boost may help. If not, well, that could be a problem.

A quick check of SDRAM prices shows that it will be about $100 to update this machine. Which is an AMD Duron 1.3GHz on a K7T Turbo2 ATX MB with (currently) 256MB of RAM. State of the art for 2002, but plenty of horsepower for non-Windows machines. Well, once I update the RAM to the max, which looks like it will have to be 3 new 512MB DIMMS. Will have to shop around a bit and see how low I can get decent RAM.

Then the adventure can continue . . . .

Tuesday Jul 22, 2008

This is a virtualization config example utilizing Windows XP as the Host OS and OpenSolaris 2008.05 as the Guest OS. This is also my 1st hands on with virtualization. The concept of virtualization is simple to grasp, it's just another sort of multitasking for computers, something they already excel at.

Virtualization has the potential for enormous growth if it can live up to expectations around energy savings through computer consolidation and smaller data centers and real or perceived performance issues. In my world, this provides us with a way to wring out all the cycles and resources out of the lab equipment we have available to us.

In specific "geek" terms, this is example of a Hosted or Type 2 hypervisor environment. The hosted OS, OpenSolaris, is running 3 levels above the Intel x86 hardware. In comparison, a Bare-metal or Type 1 hypervisor environment runs on the hardware directly. The Guest OS runs at the second level above the hardware. Bare Metal/Type 1 is the virtualization you get with the T1000 and T2000 servers and Logical Domains (LDOMS).

The Hypervisor is the software that implements the VMM (Virtual Machine Monitor), which allows multiple OS' to run on the same machine simultaneously.

Different hypervisor implementations use different methods to provide the Virtualization Layer. Differences include whether the guest OS is aware of the hypervisor or not; whether the hypervisor translates OS instructions on the fly or provides hypercalls to the virtualization layer hypervisor; or if HVM (Hardware Assisted Virtualization) will be used. There are varying degrees of performance among these different approaches.

HARDWARE
===========
One Toshiba Satellite model A105 - S361 Intel laptop with the following stats:

Centrino Pentium M 2.0 GHz
1 GB of RAM
120GB HD
SOFTWARE
========
Windows XP home version 2002 SP2

Sun xVM VirtualBox 1.6.2 for Windows (x86), Multi-language, 22.53 MB

OpenSolaris 2008.05 ISO

VirtualBox user guide

PROCEDURE:
++++++++++++
Part One
Install VirtualBox on laptop. This requires 44MB on the hard drive, while the subfeatures require 164KB. These subfeatures consist of VirtualBox USB support (100KB) and VirtualBox network adapter driver.

As the product documentation notes, the VirtualBox setup program "has not passed windows Logo testing to verify its compatibility with Windows XP".

Part Two
Run VirtualBox and create an OpenSolaris virtual machine allocating the recommended base memory size of 512MB. Select a hard disk image. I click NEW and use the default file location and name (OpenSolaris 2008.05 and .VirtualBox\VDI\OpenSolaris 2008.05.vdi under the xp user root's documents and settings. 16GB VHDD to reported to the Guest OS). The final summary is displayed and hit finish to create the HDD image

Now the Virtual Hard Disk box is redisplayed and there is now a item in the dropdown list under "Boot Hard Disk (Primary Master)". With that selected, hit next. [noted that the finish dialog box indicated that the settings of any created virtual machine can be changed at any time using "the 'settings' dialog accessible through the menu of the main window".

Start of my new VM that is now displayed in the main window. A box is displayed regarding using the right control key. It reads:

"You have the Auto capture Keyboards option turned on. This will cause the VM to automatically capture the keyboard every time the VM windows is activated and make it unavailable to the other apps running on your host machine: when the keyboard is captured, al keystrokes (including systems ones like alt-tab) will be directed to the VM. You can press the host key at any time to uncapture the keyboard and mouse if it is captured and return them to normal operation. The currently assigned host key is shows on the status bar at the bottom of the Virtual Machine windows, next the (down arrow) icon. This icon, together with the mouse icon placed nearby, indicate the current keyboard and mouse capture state. The host key is currently defined as Right Ctrl. [Do not show this message again]". I find that my laptop keyboard has no right control key (only a left and that doesn't work for that purpose, so I use the windows "three finger salute" (control=alt=delete), close the task manager that opens and I'm back to my host OS.

Part Three
now I can add the opensolaris ISO to the list. A twist: I am adding this ISO from the shared documents folder on my desktop PC, so that the path to the bootable ISO is \\cora\shareddocuments\os200805.iso. Meaning that I'm pulling in the ISO info over the windows CIFS network.

Now OpenSolaris is found and will startup within the virtual machine. I'm now looking at the GRUB menu. Entering the OpenSolaris option; now there are dots going slowly across the screen and the little "hdd" icon at the bottom of the VM window is blinking away. Now the "preparing live iage for use" displays the keyboard and language choices. I am prompted to change the 24 bit color mode of the XP host OS to 32 bit, but that's what I'm already doing. Restarting after changing XP to 16 bit video does the trick.

After another warning about how the Auto Capture Keyboards feature works (time to shut that off now), I'm looking at an Opensolaris desktop running in the VirtualBox VM. There is currently a dialog box telling me that e1000g0 is up with address 10.0.2.15. I can't get to the defaultrouter on my internal network (a netgear router) and am unable to add a defaultroute (Network is Unreachable). Back to the user guide and now I understand that the VM has configured NAT for me and sure enough, I can get to www.sun.com.

That completes my 1st attempt at virtualization and 2nd attempt to run OpenSolaris. The next config to try is to re-partition the hard drive and configure OpenSolaris as a dual boot with Windows XP. Or I can just have fun with my OpenSolaris Virtual Machine and save the trouble. Or I can run virtualbox on Solaris and create some Windows VMs. Or Linux VMs. I hate the cliche about "endless possibilities", but it fits here and fits virtualization in general.

Sunday May 25, 2008

I started over on my install project and received some unexpected, but welcome assistance to explain the problems I've been having with missing packages AND a method to overcome them.

Now I have a jumpstart version of Solaris 10 8/07 up and running on sunny with everything included. I'll need to upgrade the antique OBP firmware in my antique Ultra 5 in order to get around the can't read the CD issues I had with install disk #2. This is faster and allows me to move on.

But even though it's a fresh install I still have some little bugaboos to deal with.

Switched from dhcp to static. I decided I don't like dhcp always overwriting everything, I'm too used to having control. I guess I should have listened to Dennis Clarke.

GNOME won't work unless add FQHN to /etc/hosts (thought I did that, but perhaps left remnants of dhcp around, although I did remove the /etc/hostname.dhcp0 file)

JDS: The U5 doesn't have enough horsepower or decent graphics capability to run JDS; graphics very poor, but not going to be using them. It's a good thing because it takes all the Xscreensaver problem; errors on JDS start, etc. items off the list. I can use network neighborhood to view shared docs file from my laptop after providing windows username and password of the account I'm signed into.

nmbd doesn't start at boot on s10 u4. I had heard about that and will have to look into it.

Good stuff:

ttya console works great with a CablesToGo USB to serial DB25 adapter and a Belkin DB25F/DB25M null modem block. That little addition was about $40, but worth it to be able to get rid of a monitor I don't have space for anyway.

A non-network console is always a nice item for watching or logging console messages and upgrades.
**********************************
I ordered a free copy of Opensolaris from the "Get Free Media - OpenSolaris CD" link at opensolaris.com/get. It arrived a few days ago and I had the 1st opportunity to boot it up yesterday. I have a "white box" system (actually the case is a cool black) from apexnh.com: Intel Core2 Duo 2.33 GHz with 2GB of RAM, 160GB hard drive, 2 - DVD/CD-ROM/RAM drives and a Turtle Beach sound card. Before I can install it, I have to create another partition on my drive. Luckily, there is a nice tutorial here. You can find that link and others off the OpenSolaris Knowledge Center page .

In the meantime, I'm booting up the Live CD and finding the experience very Ubuntu-like. Live CD like Ubuntu: check. Simple desktop with the menu bar at the top: check. Pleasing blue-black screen: there's a change! Found my Canon Pixma IP3000 printer (to be expected as this model is several years old). The default user for the Live CD is "jack" with a default password of "jack". The root password is opensolaris, which is also the default hostname in this mode. I couldn't figure out how to use Rhythmbox to play an mp3 from my WD USB drive. Either the app is not intuitive or there is something wrong. I thought perhaps not all the abilities are enabled in Live CD mode, but that's speculation on my part. I'm not going to waste cycles on it until I get it installed for real.

Next up: Continue picking away at the S10 U4 annoyances as needed. Boot up the Live CD on my 2 year old Toshiba laptop and see how it works there (especially the wireless capabilities). Start organizing the desktop PC to be backed up and repartition the disk (plan A). Have Windows CD and all drivers at the ready in case the partitioning goes all wrong and a reload is needed (plan B).

This blog copyright 2009 by swas