Category: Hardware

Checking the hard drive model in an HP Smart Array

To discover the model of the hard drive that is in an HP Smart Array, type the following command

root@linux:~ # hpacucli ctrl all show config detail

Smart Array P400i in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
Serial Number:
Cache Serial Number: PA82C0H9SV5DJS
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Chassis Slot:
Hardware Revision: Rev D
Firmware Version: 7.22
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Post Prompt Timeout: 0 secs
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 100% Read / 0% Write
Drive Write Cache: Disabled
Total Cache Size: 256 MB
No-Battery Write Cache: Disabled
Battery/Capacitor Count: 0
SATA NCQ Supported: True

Array: A
Interface Type: SAS
Unused Space: 0 MB
Status: Failed

Logical Drive: 1
Size: 136.7 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 35132
Stripe Size: 128 KB
Status: Interim Recovery Mode
Array Accelerator: Enabled
Unique Identifier: 600508B100184839535635444A530004
Disk Name: /dev/cciss/c0d0
Mount Points: /boot 1.0 GB
Logical Drive Label: A01123B864C1
Mirror Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
Mirror Group 1:
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 0 MB, Failed)

physicaldrive 1I:1:1
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDC
Serial Number: 3NM7VLAB00009915WTN0
Model: HP DG146BB976
PHY Count: 2
PHY Transfer Rate: 3.0GBPS, Unknown
physicaldrive 1I:1:2
Port: 1I
Box: 1
Bay: 2
Status: Failed
Drive Type: Data Drive
Interface Type: SAS
Size: 0 MB
Firmware Revision: HPDC
Serial Number: READ_CAPACITY FAILED
Model: HP DG146BB976
PHY Count: 1
PHY Transfer Rate: Unknown

This will be handy when you have to replace a faulty disk

root@linux:~ # hpacucli ctrl all show config

Smart Array P400i in Slot 0 (Embedded) (sn: )

array A (SAS, Unused Space: 0 MB)

logicaldrive 1 (136.7 GB, RAID 1, Interim Recovery Mode)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 0 MB, Failed)

This can be of interest – HP/Compaq Hard Disk Drives – Hard Drive Model Number Matrix

Mac Compatibility for Ozone Onda 3HX

It is stated briefly on the manual that the Ozone Onda 3HX is compatible with the Mac. You just need to configure a few things in the System Preferences.

First, just connect the headset as if you were connecting the headset to the PC – Onda 3HX Quick Start Guide.

Open System Preferences and then on the hardware section choose Sound

In the Ouput tab, choose the USB Headphone Set that is appearing

And you do the same thing on the Input tab

Done. Now you can hear and talk through the headset with your Mac.

Ozone Onda 3HX Quick Start Guide

My old headset broke and while shopping I came across this one: Ozone Onda 3HX. It claims to be compatible with Xbox 360, PS3 and PC.

The company seems to be European and there is few reviews in English. I saw one from eTeknix and a few unboxing videos on Youtube and it seemed to be a well built headset.

I bought and liked.

If you saw 5.1 headsets and was wondering how to connect the headset to Xbox 360 and PS3, I scanned the quick start guide for you to take a look. No need to attach a Toslink cable to the soundcard. But you’ll need to use the composite cables with an adapter that comes with the headset and the Ozone Onda 3HX is not a 5.1 headset.

Check it out – Onda 3HX Quick Start Guide

Disassembling and reassembling the Sanwa JLF-TP-8Y-SK-W from the Mad Catz Tournament Edition – Photos and List of Parts

Removing the ball top, shaft cover and dustwasher @ 4m10s
Disconnecting the cable @ 5m50s


Remove the restrictor plate @ 5m53s
The PCB connector is pointed away from the buttons
Remove the Sanwa JLF-E “E-Clip”, Sanwa JLF-P-5 Actuator, Sanwa JLF-SP Spring

Reassemble

If you need to order the JFL parts from Lizard Lick, here is what’s used inside
Left column: Samwa LB-35 Ball Top, Sanwa JLF-CD Shaft Cover Kit. Center column: Sanwa JLF-P-4 Pivot Cylinder, Sanwa JL-PP1 Dustwasher. Right column: Sanwa JLF-MW Metal Washer, Sanwa JLF-P-6 Spring Cover, Sanwa JLF-SP Spring, Sanwa JLF-P-5 Actuator

Between the joystick and top panel

Between the joystick and top panel goes the pivot cilinder

Put another dustwasher between the joystick and top panel

Joystick

Joystick with Metal Washer

Joystick with Metal Washer and Spring Cover

Joystick with Metal Washer, Spring Cover, Spring and Actuator

When you connect the cable to the 5 pin connector, make sure that the rails are facing up (away from the top panel)

Disassemble a Mad Catz FightStick Tournament Edition

Here is some videos that shinjnSRK from shoryuken.com shows how to disassemble a Mad Catz FightStick Tournament Edition

How to open the case


Main Printed Circuit Board and Terminal Block

Control Module and USB cable compartment

Top control panel

Removing the Sanwa snap-in buttons and replacing with Seimitsu, Sanwa screw-in buttons

Semitsu LS-32-01 (Semitsu SS mounting plate) and Sanwa JLF-P1 flat mounting plate

How to fit a Happ/iL pushbutton and joystick

Summary

Mad Catz FightStick LockSwitch++ Mod

Solderless Tricks & Tips for QDs and Ribbon Connectors

iPod Nano previously used on a Windows computer doesn’t work on a Mac

If your iPod previously used on a Windows computer isn’t syncing with a Mac, you need to check the Disk Format on your iPod.

On iTunes, go to Devices and click on the iPod. It will display the Name, Capacity, Software Version, Serial Number and Format. The format can be PC or Macintosh and needs to be equal to the computer you’re using.

To change the Disk Format on your iPod, click on the button Restore

Share videos from your Synology DiskStation and watch them on your Android phone

Once you checked the box “Enable DLNA/UPnP media server” on your Synology DiskStation’s Control Panel it will create three folders: music, photos and video

Put your videos on the folder called video (preferred videos encoded as MPEG4 – they have the extension ended in .mp4 or .m4v)

To watch your videos on your Android phone, you should use two programs (actually, you can use just one if you use MPEG4 videos)

To browse your DLNA server, install BubbleUPnP

You can also install the MX Player, a video player that opens almost all videos available.

Open BubbleUPnP and click on Library then select your DiskStation and browse the folders that are shared. Once you find an item that you would like to play, click on it and BubbleUPnP will ask you which video player do you want to use. You can choose MX Player.

Upgrading RAM on a Mac Mini late 2010 model – Memory beeping

On the manual of a Mac Mini late 2010 model, Apple recommends using a 1066MHz DDR3 SODIMM memory to upgrade the memory.

I’ve tried using a Kingston KVR KVR1333D3S9/4G but it ended up beeping whenever I tried to put the top memory stick.

I tried using Markvision BMD34096M1333C9-1121 and it worked perfectly as you can see below

hpacucli – Error: Another instance of ACU is already running (possibly a service)

If you receive this error message

root@linux:~ # /usr/sbin/hpacucli
HP Array Configuration Utility CLI 8.70-8.0
Detecting Controllers…

Error: Another instance of ACU is already running (possibly a service). Please
terminate the ACU application before running the ACU CLI. Press ENTER to
exit.

But there is no process running

root@linux:~ # ps -ef | grep -i acu
root 4805 32086 0 10:00 pts/0 00:00:00 grep -i acu

Delete all files on /opt/compaq/cpqacuxe/bld/locks to solve this problem

root@linux:/opt/compaq/cpqacuxe/bld/locks # ls
. .. CPQACU_MUTEX

In another occasion, solved this problem by deleting file /dev/shm/sem.hpacu.appLock on a RHEL 5

root@linux:~ # ls -l /dev/shm/sem.hpacu.appLock
-rw-r–r– 1 root root 32 Aug 16 05:21 /dev/shm/sem.hpacu.appLock

root@linux:~ # rm /dev/shm/sem.hpacu.appLock
rm: remove regular file `/dev/shm/sem.hpacu.appLock’? y

Checking LUN status in a HP Smart Array

To check a LUN that was created in a HP Proliant with Smart Array you need to have a package called hpacucli installed

root@linux:~ # rpm -qi hpacucli
Name        : hpacucli                     Relocations: (not relocatable)
Version     : 8.70                              Vendor: Hewlett-Packard Company
Release     : 8.0                           Build Date: Thu Dec  2 00:43:51 2010
Install date: Wed May 11 10:34:58 2011      Build Host: Prowl
Group       : Applications/System           Source RPM: hpacucli-8.70-8.0.src.rpm
Size        : 17788857                         License: See hpacucli.license
Signature   : (none)
Packager    : Hewlett-Packard Company
URL         : http://www.hp.com/linux
Summary     : HP Command Line Array Configuration Utility
Description :
The HP Command Line Array Configuration Utility is the disk
array configuration program for Array Controllers.
Distribution: (none)

Check which version you’re running

root@linux:~ # cat /etc/*release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3

Download it on this link: http://h18000.www1.hp.com/products/servers/proliantstorage/software-management/acumatrix/index.html

Install the package

root@linux:~ # rpm -ivh hpacucli-8.70-8.0.noarch.rpm
Preparing…                ########################################### [100%]
1:hpacucli               ########################################### [100%]

And run hpacucli

root@linux:~ # hpacucli ctrl all show config
Smart Array 642 in Slot 3                 (sn: P92260YXQT80I8)
array A (Parallel SCSI, Unused Space: 0 MB)
logicaldrive 1 (279.4 GB, RAID 1, OK)
physicaldrive 2:0   (port 2:id 0 , Parallel SCSI, 300 GB, OK)
physicaldrive 2:1   (port 2:id 1 , Parallel SCSI, 300 GB, OK)

Checking status of all controllers

root@linux:~ # hpacucli ctrl all show status
Smart Array 6i in Slot 0 (Embedded)
Controller Status: OK
Cache Status: OK

root@linux:~ # hpacucli ctrl all show config detail

Smart Array E200 in Slot 3
Bus Interface: PCI
Slot: 3
Serial Number: PA6C9%%BFTTEZI
Cache Serial Number: P9A3A0B9SUB9YB
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Chassis Slot:
Hardware Revision: Rev A
Firmware Version: 1.82
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 3 secs
Post Prompt Timeout: 15 secs
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 50% Read / 50% Write
Drive Write Cache: Disabled
Total Cache Size: 128 MB
Battery Pack Count: 1
Battery Status: OK
SATA NCQ Supported: False

Array: A
Interface Type: SAS
Unused Space: 0 MB
Status: OK

Logical Drive: 1
Size: 410.1 GB
Fault Tolerance: RAID 5
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Stripe Size: 64 KB
Status: OK
Array Accelerator: Enabled
Parity Initialization Status: Initialization Completed
Unique Identifier: 600508B100102542465454455A490012
Disk Name: /dev/cciss/c0d0
Mount Points: / 10.0 GB, swap 5.0 GB, /boot 513 MB
Logical Drive Label: A03C5226PA6C9%%BFTTEZI6260

physicaldrive 1I:1:1
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPD6
Serial Number: BS05P880BW8H0834
Model: HP DG146BABCF
PHY Count: 2
PHY Transfer Rate: 3.0GBPS, Unknown
physicaldrive 1I:1:2
Port: 1I
Box: 1
Bay: 2
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDD
Serial Number: 3NM4P21D0000983193YT
Model: HP DG146ABAB4
PHY Count: 1
PHY Transfer Rate: 3.0GBPS
physicaldrive 1I:1:3
Port: 1I
Box: 1
Bay: 3
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPD6
Serial Number: PCY2S4AE
Model: HP DG0146FARVU
PHY Count: 2
PHY Transfer Rate: 3.0GBPS, Unknown
physicaldrive 1I:1:4
Port: 1I
Box: 1
Bay: 4
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDD
Serial Number: 3NM4LJ4Y00009831MEQU
Model: HP DG146ABAB4
PHY Count: 1
PHY Transfer Rate: 3.0GBPS


Quick cheat sheet on how to use the hpacucli taken from http://www.datadisk.co.uk/html_docs/redhat/hpacucli.htm

Utility Keyword abbreviations

Abbreviations chassisname = ch
controller = ctrl
logicaldrive = ld
physicaldrive = pd
drivewritecache = dwc

hpacucli utility

hpacucli # hpacucli# hpacucli helpNote: you can use the hpacucli command in a script

Controller Commands

Display (detailed) hpacucli> ctrl all show config
hpacucli> ctrl all show config detail
Status hpacucli> ctrl all show status
Cache hpacucli> ctrl slot=0 modify dwc=disable
hpacucli> ctrl slot=0 modify dwc=enable
Rescan hpacucli> rescanNote: detects newly added devices since the last rescan

Physical Drive Commands

Display (detailed) hpacucli> ctrl slot=0 pd all show
hpacucli> ctrl slot=0 pd 2:3 show detailNote: you can obtain the slot number by displaying the controller configuration (see above)
Status hpacucli> ctrl slot=0 pd all show status
hpacucli> ctrl slot=0 pd 2:3 show status
Erase hpacucli> ctrl slot=0 pd 2:3 modify erase
Blink disk LED hpacucli> ctrl slot=0 pd 2:3 modify led=on
hpacucli> ctrl slot=0 pd 2:3 modify led=off

Logical Drive Commands

Display (detailed) hpacucli> ctrl slot=0 ld all show [detail]
hpacucli> ctrl slot=0 ld 4 show [detail]
Status hpacucli> ctrl slot=0 ld all show status
hpacucli> ctrl slot=0 ld 4 show status
Blink disk LED hpacucli> ctrl slot=0 ld 4 modify led=on
hpacucli> ctrl slot=0 ld 4 modify led=off
re-enabling failed drive hpacucli> ctrl slot=0 ld 4 modify reenable forced
Create # logical drive – one disk
hpacucli> ctrl slot=0 create type=ld drives=1:12 raid=0# logical drive – mirrored
hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14 size=300 raid=1# logical drive – raid 5
hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14,1:15,1:16,1:17 raid=5Note:
drives – specific drives, all drives or unassigned drives
size – size of the logical drive in MB
raid – type of raid 0, 1 , 1+0 and 5
Remove hpacucli> ctrl slot=0 ld 4 delete
Expanding hpacucli> ctrl slot=0 ld 4 add drives=2:3
Extending hpacucli> ctrl slot=0 ld 4 modify size=500 forced
Spare hpacucli> ctrl slot=0 array all add spares=1:5,1:7