unixwiz anything dealing with *NIX or what ever I want to write about

14Sep/06Off

Interesting Sun Ray problem

I got called the other night by our operations group because the keyboard and mouse would not work on their 3 head group of Sun Ray 150's. So I went in and killed their session and had them restart it, did not work. So I went looking in the log files and saw this:

Sep 11 17:53:41 [10.198.11.221.2.2] 0x0.0x1c392b7 0:3:ba:3c:1b:c1 USB: enable change: 2 lost enable state!
Sep 11 17:53:41 [10.198.11.221.2.2] 0x0.0x1c392b7 0:3:ba:3c:1b:c1 USB: enable change: 4 lost enable state!
Sep 11 20:28:44 [10.198.11.221.2.2] 0x0.0x2a1 0:3:ba:3c:1b:c1 USB: usb port 1 overcurrent
Sep 11 20:28:46 [10.198.11.221.2.2] 0x0.0x307 0:3:ba:3c:1b:c1 USB: usb port 2 overcurrent
Sep 11 20:28:46 [10.198.11.221.2.2] 0x0.0x36d 0:3:ba:3c:1b:c1 USB: usb port 3 overcurrent
Sep 11 20:28:47 [10.198.11.221.2.2] 0x0.0x3d3 0:3:ba:3c:1b:c1 USB: usb port 4 overcurrent
Sep 11 20:28:48 [10.198.11.221.2.2] 0x0.0x439 0:3:ba:3c:1b:c1 USB: usb port 5 overcurrent
Sep 11 20:45:34 [10.198.11.221.2.2] 0x0.0x291 0:3:ba:3c:1b:c1 USB: usb hub port 4 overcurrent!
Sep 11 20:45:35 [10.198.11.221.2.2] 0x0.0x2f9 0:3:ba:3c:1b:c1 USB: usb hub port 1 overcurrent!
Sep 11 20:45:36 [10.198.11.221.2.2] 0x0.0x35f 0:3:ba:3c:1b:c1 USB: usb hub port 2 overcurrent!
Sep 11 20:45:37 [10.198.11.221.2.2] 0x0.0x3c5 0:3:ba:3c:1b:c1 USB: usb hub port 3 overcurrent!
Sep 11 20:45:38 [10.198.11.221.2.2] 0x0.0x42b 0:3:ba:3c:1b:c1 USB: usb hub port 5 overcurrent!
Sep 11 20:46:21 [10.198.11.221.2.2] 0x0.0x304 0:3:ba:3c:1b:c1 USB: usb hub port 1 overcurrent!
Sep 11 20:46:22 [10.198.11.221.2.2] 0x0.0x36a 0:3:ba:3c:1b:c1 USB: usb hub port 2 overcurrent!
Sep 11 20:46:23 [10.198.11.221.2.2] 0x0.0x3d0 0:3:ba:3c:1b:c1 USB: usb hub port 3 overcurrent!
Sep 11 20:46:24 [10.198.11.221.2.2] 0x0.0x436 0:3:ba:3c:1b:c1 USB: usb hub port 4 overcurrent!
Sep 11 20:46:25 [10.198.11.221.2.2] 0x0.0x49c 0:3:ba:3c:1b:c1 USB: usb hub port 5 overcurrent!

Well that could not be good. So I ended up going in to the office. Tried unplugging the Sun Ray and plugging it back in. This is when I saw the 9 D error icon. Nice little icon with a picture of a USB connector and a yellow triangle. So I unplugged it and disconnected the keyboard and mouse and then plugged it back in. Still got the same error. The funny thing about the error is, it is listed as this in the docs:

This is an over current condition on the USB bus, i.e., the total number of devices draws too much current . Consider using a powered hub.

So now I ended up swaping it out with one that was in my office and rebuilding the multi-head group, and they were all set. The interesting thing about it is that the status LED stayed green, instead of turning amber. So the next morning I tried it on a different server (the original server it was attached to is running SRSS 2.0 still) that was running SRSS 3.1, this time nothing showed up in the log files, but the Sun Ray still showed the USB 9 icon and the keyboard and mouse did not work. So I ended up calling it in for replacement. It is nice that the Sun Ray's have a long warrenty period. This one was bought 2 or 3 years ago.

In an unrelated note, I have to go in early to get a power backplane replaced in one of our V890's because we have went through three power supplies in the PS0 slot in under a month. The bad part about this is the 890 has 11 zones on it and 1TB of disk, so we are going to have some services out while Sun replaces the backplane and power supply. Hopefully this will fix it though.

14Feb/06Off

IBM New “low cost” desktop

Thought this was intresting. If IBM wants people to use their PowerPC chips on the desktop then need to go a lot lower than $4,000 for a "desktop" workstation. I can get an entry level Sun Blade 150 machine for under $1,000. Granted it does not have the same specs as the IBM one does, but for some one starting out on a platform, I would much rather spend less money and get a slightly slower machine than a lot to find out that something does not work right. One thing that is not mentioned on that page, but on the IBM page is that it is really a "server". Which means this little desktop machine weighs in a 55 pounds. Now to compare this machine versus a Sun Ultra 45, just on specs from each vendors web site lets see both maxed out:

System Option Sun Ultra45 IBM pSeries 185 Express Advantage
Memory (Max) 16GB 8GB Ultra45
Processor Speed 2 x 1.6GHz UltraIIIi 2 x 2.5GHZ PPC 970 (not the real G5's) Ultra45
L2 Cache 1MB/Processor 1MB/Processor Tie
Network Dual Onboard Gig Dual Onboard Gig Tie
USB 6 USB 2.0 4 USB (does not mention whether 2.0 or not) Ultra45
Disk Drives 4 x 146GB 15K SAS 3 x Ultra320 SCSI Ultra45
Optical DVDRW/CDRW DVD-ROM or DVDRAM Ultra45
Weight 58 Pounds Fully loaded 55 Pounds empty Ultra45
OS Solaris 10, Free AIX 5.3, $300 Ultra45
OS Support 3 Years, $648 3 Years, $1,614 Ultra 45
Hardware Warrenty (default) 90 days 3 Years pSeries 185

All in all, you may end up paying a little more for a Ultra45, but then again, it is a way better machine than the pSeries 185. It also runs Solaris which I feel is far superior to AIX. AIX is cool and all, but has too many quirks that just does not make to much sense. There are things in Solaris that are done so much easier and faster than in AIX that just make me laugh when I have to answer how to do something in AIX vs Solaris.

Here are some of my pet quirks about AIX:

  1. Disk numbering scheme: all disks in AIX are named in the form of hdisk#. To find out exactly where they are at you have to do either a "lsdev -Cc disk" or "lsattr -El hdisk#" to find the actual controller and slot it is connected to.
  2. ODM: Seems too much like the windows registry to me. Screw it up, and your machine does not boot right
  3. The "dumbing" of Sysadmins by their dependence on SMIT. Take a AIX admin and put them in front of Solaris/Linux/etc and have them try to do any administrative tasks, and it is a complete loss with out smit. But take a Solaris/Linux/etc admin and put them on AIX, and they can accomplish most of the same administrative tasks with out touching SMIT
  4. NIM, Nim is AIX's equivelant of Jumpstart on Solaris. Jumpstart can be setup in probably under 10 minutes and be booting and installing machines. Nim on the other hand is an all day affair. I kid you not, I spent 8+ hours one day configuring an NIM environment to boot 1 machine. And even then, it did not install all the needed software. It also takes forever to copy 8 CD's of AIX install media, plus the "Linux ToolKit", Plus the expansion pack just to get SSH installed on AIX when NIM is used to install a system. If I could only get AIX to boot from a jumpstart server I would be set.
  5. Missing core software that should be installed no matter what type of install you do. For example SSH. What operating system besides Microsoft Windows now days does not come installed with SSH? AIX, yup, you have to have 3 different cd's to install it, and you better be using the OpenSSH supplied by IBM, or they will refuse to talk to you about any problems. (Yes they actually had me verify every part of the version of SSH before they would talk to me.
  6. Root allowed to log in remotely. By default when you install AIX, root can log in remotely. MMM Bad Mkay.....
  7. Default Open Relay: Last time I checked Sendmail on AIX is still configured by default to be an open relay.
  8. Syslog: AIX likes to put stuff in its proprietory errpt. Which means to get the information to log to a central syslog server, you have to modify the ODM to run a script to grab output from the errpt command to send to syslog. Why can't it send to syslog by default?

And the list could go on for ever, but right now it is time to go to bed.

22Jan/06Off

Quest for a laptop

So I am continuing my quest for a new laptop. So far from the looks of it the new Apple MacBook Pro will only boot OSX. Which I sort of don't like, since I want to be able to run Solaris on my laptop as well. I did a couple quick searchs through the opensolaris code base and bug database and did not really see anything about booting from EFI as opposed to a BIOS. So I may be holding off buying a new laptop until I see if some one can actually get a third party os to run on the new intel based mac's.

7Jan/06Off

The hunt for a new laptop

Well I am on the hunt for a new laptop to replace my 4 year old IBM ThinkPad A22p.. I am currently running Solaris 11 (express) and Windows XP on it. So my next one needs to run at least both of those OS' (which is not hard for Windows XP, Solaris used to be a little harder but not that much any more.)

Right now it is a toss up between a IBM ThinkPad T Series, Acer Ferrari, and a Apple Powerbook (which does not meet the above requirements at the moment, but I could suffice with it). I am going to wait and see what is announced at MacWorld San Francisco.. Rumors have it that there may be an Intel based laptop announced. IF they do announce it, I will more than likly get one as I would like to have MacOSX on a laptop. Also since it is Intel based, I could run Solaris and maybe Windows on it, but more than likly I would not run Windows on it, as I like OSX much better than Windows. The only reason I haven't gotten a Mac for home yet is the cost. I have one at the office (Dual G4 Running OSX 10.4 Server which is great).

Currently my only real need for Windows on my laptop is my wireless card and Microsoft Project/Visio. Other than those I could stay in Solaris all the time. I have been using StarOffice since version 5.2, and just find it better than MS Office, not to mention I have it on my Solaris X86 and Sparc machines as well.

So what does everyone else use for laptops? I am looking for one that has at least a 15inch monitor and does at least 1400x1000, at least a 60gb harddrive, gig of ram, built in ethernet and wireless ethernet, and dvd/cd burner. I really like the ThinkPads, ever since I saw one fall off of a 6 foot high rack in a data center, bust apart on the floor with the keyboard flying one direction, the harddrive going another, and a hole poked through the back of the lcd cover. We put the laptop back together and held it together with some rubber bands and what do you know, it booted and ran like nothing ever happened.