Saturday, January 22, 2011

Ubuntu 10.10 kernel update (fix ips power exceeded issue)

So, after new install and updates of the Qosmio, I noticed my sysmessage log being spammed with the following message about every 5 seconds:

Jan 22 06:17:59 wrex-Qosmio-X505 kernel: [ 1198.323814] intel ips 0000:00:1f.6: MCP power or thermal limit exceeded

Annoying. No relevant fix as after a quick Google search, it appears to be a bug and quite common amongst several Laptop vendors (Again, annoying. Ubuntu devs needs to fix that sh*t).

So, updating my current kernel (2.6.35-24-generic) should fix, according to some.

Here's the process (files found at: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-natty/):

1. Download Generic kernel headers package:
linux-headers-2.6.37-020637_2.6.37-020637.201101050908_all.deb
2. Download Arch Headers:
- I386: linux-headers-2.6.37-020637-generic_2.6.37-020637.201101050908_i386.deb
- AMD64: linux-headers-2.6.37-020637-generic_2.6.37-020637.201101050908_amd64.deb
3. Download compiled kernel:
- I386: linux-image-2.6.37-020637-generic_2.6.37-020637.201101050908_i386.deb
- AMD64: linux-image-2.6.37-020637-generic_2.6.37-020637.201101050908_amd64.deb
4. Install the files in the same order (If you do them out of order, you will be sad).
5. Open a terminal window and run:
sudo update-grub
6. Reboot and select the kernel from the bootloader menu
If it`s not there check your steps.
7. Check to ensure new kernel has been applied:
root@wrex-Qosmio-X505:~# uname -r
2.6.37-020637-generic


That seems to have fixed the issue as I am not getting the message, any more, but now...

I'm getting this:

Jan 22 06:44:23 wrex-Qosmio-X505 kernel: [ 585.007396] NVRM: os_raise_smp_barrier(), invalid context!

Lol!!!!

I'm sure it's my (OMG_I_HATE_THIS_POS_VIDEO_CHIPSET_FRAK_NVIDIA!!!!) Nvidia. I'll post the fix after this, once I hammer it out. Ugh.

Thursday, January 20, 2011

Stoopid Nvidia (Toshiba Qosmio 505 Linux Install)

Everyone always hails Nvidia as being so great. I've always had issue with their chipsets and it seems today is no different.

Went to install Ubuntu (Yeah, I know) on my Qosmio 505 and I get scrambled video on the Live CD of 10.10.

nomodeset did the trick.

This also happened with the OpenSuSE 11.3 live CD and CentOS 5.5 Live CD. Meh. Fedora was no issue. Go figure that.

In case you need it, here's what you should do:

1. boot computer with livecd
2. when you see it get to the actual booting hit f6
3. select language
4. hit f6 again
5. select nomodeset
6. hit esc
7. install Ubuntu as usual and reboot
8. when you get to the grub boot menu make sure to hit e so you can edit the kernel commands
9. add nomodeset to the kernel args again
10. cntrl X to boot
11. sudo apt-get update && sudo apt-get upgrade
12. reboot
13. Repeat 8-10 again
14. start the restricted drivers program
15. install the restricted driver for the 360m
16. reboot

Tuesday, January 18, 2011

You can use a remote drive in Windows 7 Home Premium

MS and their wisdom of removing features from past releases of their OS, never ceases to amaze me and file them under the WTF where they thinking files. Well, I guess I do know: They're greedy bastards.

Anyway, if you want to ba able to backup your Win 7 system remotely, I found a nice howto, here:
http://www.roflxd.com/index.php?q=node/3

I'm copying it from there and posting here, in case the directions should ever go away:

Backing Up Windows 7 Home Premium to a Network Share

Well many people are complaining that Microsoft decided that allowing people to perform backups on their Windows 7 Home Premium to a Network share should be a paid Feature.

Well Uncle Bill was unaware that his little elves gave us something called Virtual Hard Drives on Windows 7 Home Premium.

To perform a system backup to a network drive you simply do the following.

First Asses the location of your Network Backup.

Second Make sure you can map the Drive using an UNC name Share, I/E \\ComputerName\Folder.

Third Create a Local Drive by Mapping the Network Location using the UNC to said drive so that the machine can remember the login information to the network share thus aiding in authenticating you whenever the machine is connected to the network share.

Fourth Open your Computer Management Panel and Select Actions>>Create VHD.
Here you have two options to map the new VHD.
A)Enter the UNC Path in the Location Box as \\ComputerName\Folder or B)Use the Drive letter to the newly mapped network share drive you just created.

Next Select the Virtual Hard Drive Size and the designated allocation information MB - Mega Bytes, GB - Giga Bytes or TB - Terabytes.

The window suggests to use a Fixed size drive but Since I know how these drives work in the Hyper-V server (and yes it’s the same type of drive) setting it to dynamically expanding will allow you to make the drive Up to the size requested but if you backup only takes half the space, your virtual drive will not exceed the amount allotted. All in all this is your choice and I recommend familiarizing yourself with the technicalities if you wish to make a different decision.

Once the options are entered click ok on Create and Attach Virtual Hard Disk
Window.

The new drive is created.

Now right click on the drive on the left side of the pane where the Disk Designation is on the window. Since I only had one physical drive my new VHD was called DISK 1.
Select Initialize Volume from the menu options.
Once the init is complete, right click on the drive and select to create a simple volume. Some options will come up, you can choose the defaults all the way, or choose whatever settings make you happy, including a label for the volume and the drive letter.

Once the configuration is complete the drive will be automatically formatted and mounted. A message stating that the drive has now been successfully mounted will come up.

After this you will be prompted with a menu that will contain an option to use this newly created VHD as a backup disk. This will in turn open the backup wizard and allow you to perform your backup of your user files, settings and more importantly a recovery image.

Once your backup is completed, make sure to create a recovery disk form the menu option on the left side of the backup page. This disk will allow you to boot to it since it is created as a CD that is bootable. It will also allow you to restore the system and or any missing files that you may want to recover.

And Viola! You now have Network Backup once more in Windows 7 Home Premium.

And this my friends is the ROFL of the day Courtesy of ROFLXD!

Making fun of technology foibles!
Aren’t I a Stoinker?

PlasmaFlow

Tuesday, October 05, 2010

Simple HA for Oracle OpsCenter Using ZFS

So we're testing out Oracle's OpsCenter (Enterprise Manager...whatever) to see how useful it will be in our environment. Anything to help maintain the numerous zones, is welcome, right?

We downloaded the trial software (Finally, you can see before you buy!) and began installing and configuring. First thing I was curious about: How easily can we move this to another server, should the primary fail?

As they would have it, it's a fairly simple task, if you do some work, early on to prepare for it.

Visit http://wikis.sun.com/display/OC2dot5/About+High+Availability for a heads-up, though I have some caveats to ad to their doc.

When you unmount and export your dataset and zfs pool from node a to install packages to node b, be sure that once it's on node b, to run the uninstall script (http://wikis.sun.com/display/OC2dot5/Uninstalling+Ops+Center+Software). If you don't, the install will fail on node b, at where it tries to install/configure postgress. Do not do this, until after you've mount your xvm directory onto node b. Then run through the install as you did on node a, patch, etc. and it should be easily moveable between both nodes.

Also, note that the install makes several entries in your /etc/vfstab:
/var/opt/sun/xvm/uce/etc.opt - /etc/opt/SUNWuce lofs - yes -
/var/opt/sun/xvm/uce/var.opt - /var/opt/SUNWuce lofs - yes -
/var/opt/sun/xvm/uce/opt - /opt/SUNWuce lofs - yes -

Be sure to comment those out, when you move the services off of the node and onto the other, and remount them on the other server, before attempting to start OpsCenter on the other node. Directions for shutting down OpsCenter, are here:




Saturday, September 18, 2010

Surfing at noon-thirty PST. Oh yeah.

Here's hoping a shark doesn't eat me, lol.

I'll be surfing a few blocks from my new home, in Pacifica CA. The beach is Linda Mar beach, otherwise known as Pacifica State Beach. From my abbreviated research, I've discovered that it's supposed to be one of the better areas to surf, in the region. Multiple breaks that cater to all classes of surfers, a "friendly" surfing beach, etc.

Some nice pics and vids of the area:

http://maps.google.com/maps/place?cid=2945361755479732446&q=linda+mar+beach,+pacifica+ca&hl=en&cd=1&cad=src:pplink&ei=pumUTOjvFITmiAPe8unMAQ

Thursday, July 01, 2010

Monday, May 24, 2010

ZFS on Ubuntu 10.04 - Oh Hellz Yeah!!!!

sudo apt-get install fuse-utils
sudo apt-get install libfuse2
sudo apt-get install libfuse-dev

Have fun!

Package: zfs-fuse (0.6.0-1) [universe]


ZFS on FUSE

ZFS is an advanced filesystem from Sun Microsystems, originally developed for solaris. It provides a number of advanced features, such as live integrity checks, atomic updates, atomic snapshots and clones, compression, and much more.

This package provides an implementation of Sun's ZFS filesystem in userspace, using FUSE.

Sunday, May 23, 2010

Ubuntu 10.04 on Motion Computing M1400 Tablet PC

So, a friend of mine donated a few M1400 Motion Computing tablets to my collection a few months ago and I've finally got around to playing with them. I think they're more of a boutique item (Pen tablet PCs), rather than "really" something useful, but playing with them may prove interesting.

First off, these things are a bear to boot anything off USB cdrom or USB hard/flash drive. After a minimal search via Google, the consensus looks to be that booting off a firewire drive to be the easiest, so I dug out my old-trusted FW CD drive and plopped an Ubuntu 10.04 Live CD into it.

It booted fine and selected the Try option, rather than install. After a few moments, video blanked out and no more CDROM activity. Lol.

Guessing it's a video driver fubar, I Googled some more and found the following boot option will get you going: i915.modeset=1
by the way, if you are using other video chipsets, here's a brief common list of what you can use:
* Older Intel video card: i915.modeset=1 or i915.modeset=0
* nVidia: nomodeset
* Generic: xforcevesa


Just add this to your list of boot options at the end and you'll get the lovely Gnome Desktop (Or KDE for those running Kubuntu - Which I prefer, myself).

After install, I'll add it to my /etc/default/grub and will run: update-grub

I let you know my mileage on this laptop, after installation is complete and I've played with it, a bit.

By the way: The pen actually worked while booted on the live cd, without any modification or manual loading of Wacom drivers. Sweet.

Thursday, April 22, 2010

Dear Jane letter to Sun E6900



Dear Sun Microsystems E6900,

I'm terribly sorry I had to do this through a letter, this didn't need to be done, but I wanted to..

This note will be the last memory you'll ever have of me, I'm done with you because I decided to be with someone new, exciting and 1/4 the weight. Yes, she's a "sexy new-younger model" and is way more interesting.

I should have been honest from the start of this relationship and admitted that you where really too tall for my tastes, anyway. My bad.

Don't let it get you all upset inside, It was completely your fault, no doubt about it. It is because of your history of dragging your ass, taking too much of my personal space and your high maintenance issues, that keep me from being even remotely interested in continuing this relationship with you.

I will be particularly found of the memories of having to hold you late at night, while you wept about not having enough resources, or the numerous times that your thieving nephew, Oracle, would steal your personal space away from you. Why you can't learn from your past mistakes, is beyond me. I'll remember how you would "forget" to do the tasks we agreed upon, and blame it on your failing-aging memory.

You'd be much better off finding someone that can deal with the wonderful way that you make constant promises that you never intended on keeping. I'm not one to "kiss and tell", but I might miss certain things about you, such as your constant nagging for attention. No. It isn't ALL about you, dear. There are others in this family, to consider. What about your poor little sun, V1280? Have you considered his needs? Your brothers and sisters: V490, 280R and let's not forget the black sheep of your family: V120 and his half-inbred daughter V100. They all have needs too and your narcissism is hurting them, so much.

I'm glad this is done and we're going separate directions for good. I think you'll find someone to tend to your constant needs for attention, who doesn't mind carelessly spending their money on your "upkeep" (yes. You ARE one "high Maintenance" lady) and hopefully, we will be incredibly far away.

Forever Truly Yours,
Wrex

Thursday, January 28, 2010

Resistance Is Futile....

So the acquisition of Sun by Oracle is complete and today, they've changed Sun's homepage to re-direct to Oracle's. Good luck finding Sun specific products, rofl.

The customer is always last. They should have at least announced an impending change to the site. It's not like we didn't all expect one.

My Unix beginnings are all due to Sun Microsystems. I am a touch saddened by the buy-out.

The end of an era. Here's hoping for the best.

Friday, January 22, 2010

I'm officially a "twit" now, lol

Yup. On Twitter now. Joy.

You can follow me, here:

https://twitter.com/wrexallen

Sunday, December 13, 2009

New project (Hummer HMMWV H1 project)



So I discovered a little company that makes H1 kits called the Urban Gorilla. A kit-car of sorts, for trucks, transforming them into HMMWV (Hummer) look-a-likes. How kewl is that?

Check them out: http://www.4x4bodies.com/

I've just acquired the donor vehicle. A 1986 Chevy Silverado. Good times ahead! It's already lifted a bit and in great condition. See pic.



I am planning on starting this project early spring 2010. Hoping around late March or Early April. My goal is a close-to-military spec in appearance.

I've created a blog, specifically for this project. Check it out.

Tuesday, December 01, 2009

Some quick Solaris 10 Fault Manager Daemon notes

fmd - fault manager daemon commands:

# Display current faults:
fmdump faulty

# View fault files:
fmdump

# View error log files:
fmdump -e

# View previous log file:
fmdump /var/fmd/fmd/errlog.1

# Rotate log files - you may have to stop and start fmd if the process is
# too busy to rotate the files. This could be a catch 22, the fmd process
# must be running to rotate the files.

# Rotate error log files:
fmadm rotate errlog

# Rotate fault log files:
fmadm rotate fltlog

# Log files:
/var/fm/fmd
root@yourbox# ll
root sys 3 dir rwx------ 512 16:32:06 06/25/2009 ckpt
root root 1 file rw-r--r-- 44,427,432 12:55:28 11/18/2009 errlog
root root 1 file rw-r--r-- 1,774,698 12:05:24 11/18/2009 fltlog
root sys 2 dir rwx------ 512 12:05:24 11/18/2009 rsrc
root sys 2 dir rwx------ 512 09:24:38 06/24/2008 xprt
There are 5 items and 46.20MB (46,203,666 bytes) in /var/fm/fmd

# View fmd processes:
root@yourbox# ps -ef | grep fmd
root 9042 1 0 12:03:30 ? 2:25 /usr/lib/fm/fmd/fmd
root 25435 25261 0 12:54:51 pts/1 0:00 grep fmd

# Stop and start fmd:
svcadm disable svc:/system/fmd:default
svcadm enable svc:/system/fmd:default

Monday, November 30, 2009

Just a quick note about mounting ZFS resource in a non-global zone...

This is in response to a question that was posted in the SUN Solaris Experts group on LinkedIn:

I keep running into people who think that you have to reboot a non-global zone to add a ZFS mountpoint. Not true.

After you add the zfs resource to your zone.xml (use zonecfg, if you follow recomendation, heh) you perform the following on the Global Zone (not within the non-global zone). Be sure to define the type as "legacy":

root@global-zone# mount -F zfs your_zpool/your_filesystem_name /zones/non_global_zonename/root/your_mountpoint

Log into your zone and you should now see the new filesystem (DF or whatever).

Wednesday, November 18, 2009

Gzip with ZFS pools and Datasets..Mmmm. Tasty!

In case you weren't aware, Gzip compression is now available (has been, for a bit now) with ZFS Datasets in Solaris 10. Yay!

To set:

Identify the existing pool/dataset you want to enable the compression on:
root@Yourbox-> zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
adminpool 980G 81K 980G 0% ONLINE -
rpool 29.8G 20.7G 9.09G 69% ONLINE -

root@Yourbox-> zpool status adminpool
pool: adminpool
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
adminpool ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
c1t4d0 ONLINE 0 0 0

errors: No known data errors

root@Yourbox-> zfs get compression adminpool
NAME PROPERTY VALUE SOURCE
adminpool compression on local

Turn on or change compression algorithm:
root@Yourbox-> zfs set compression=gzip-9 adminpool

Check if set:
root@Yourbox-> zfs get compression adminpool
NAME PROPERTY VALUE SOURCE
adminpool compression gzip-9 local

You can also set at dataset creation time (See example, further below).



You can also choose the level of Gzip compression (1-9). Default is level 6, basically, where 1 is fastest and 9 is most compressed.

You don't have to set the whole pool and rely on inheritance (datasets under the pool) for subsequent datasets, adn the pool's level can differ from the child dataset: You can specify for each dataset, under the pool, specifically. This is useful where you may have several datasets maintained under the same pool, and one may need more compression, whereas another may need better performance.


root@Yourbox-> zfs create -o compression=gzip adminpool/yourdata

root@Yourbox-> zfs get compression adminpool/yourdata
NAME PROPERTY VALUE SOURCE
adminpool/yourdata compression gzip local

root@Yourbox-> zfs get compression adminpool
NAME PROPERTY VALUE SOURCE
adminpool compression gzip-9 local


Compression in ZFS improves I/O.

There are a ton of articles and comparisons out there now, so just google for it.

One thing to note is that the default lzjb may be better suited for run-time apps, whereas Gzip may be better suited for archival. There's some debate on this, out there. Try it out and you can make the determination, for yourself, after some testing.

Have fun!

Tuesday, November 17, 2009

Puppy dog tales...

So last Friday, the GF brought home a stray she found. She (The dog) was wondering around a busy parking lot, at Hobby Lobby.

I am a HUGE animal lover, especially when it comes to dogs, but we already have a large-breed (Rhodesian Ridgeback) spoiled-rotten-and-much-loved furry son and taking on another dog, another large-breed (she's def has Lab in her), at that, doesn't make for a happy Wrex.

So, I am trying to give her away to a good home. It's hard. I totally understand why she rescued the dog and I am actually happy that the dog is safe. I just don't want to get sucked-in, into wanting to keep her. She's so damn cute and adorable!

I've got to get rid of her soon, else I won't be able to part with her, lol.

Alright, don't take my man-card away. Just look at her and see what I mean.

Monday, November 02, 2009

ZFS Deduplication Is In!

If you've been waiting (as I have) for Dedup capability in ZFS, then the wait is close to over. See Jeff Bonwick's blog: http://blogs.sun.com/bonwick/en_US/entry/zfs_dedup

I can't wait to test it, as soon as I can find out how to get my hands on it, lol. It's not in Sol10 update 8, nor is it in the most recent snapshot of OpenSolaris, but I suspect it will be out soon.

Edit:

Seems my rss feed is slow. It's currently in OpenSolaris, as of last night!
http://mail.opensolaris.org/pipermail/onnv-notify/2009-November/010683.html