Month: April 2010

Playstation 3 version of the Street Fighter IV FightStick Tournament Edition works on a PC

I recently bought the Street Fighter IV FightStick Tournament Edition for the PS3. My friend asked if I tried to use in the PC because he can use his PS3 controller on the PC. I tried and the FightStick works on the PC.

Here is the official page on MadCatz FAQ that says the PC is not officially supported but won’t work on a computer that has an NVidia chipset.

Update: Does my Mad Catz Tournament Edition Arcade Stick for PS3 works on PC / PS4 / Street Fighter 5?

Solaris SVM – Metadevice in needs maintenance state. Invoke metareplace

On your Solaris server, a disk that is part of a mirror goes bad and needs replacement.

root@solaris:~ # metastat d50
d50: Mirror
Submirror 0: d51
State: Needs maintenance
Submirror 1: d52
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 32776896 blocks (15 GB)

d51: Submirror of d50
State: Needs maintenance
Invoke: metareplace d50 c0t0d0s5

Size: 32776896 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s5 0 No Maintenance Yes

d52: Submirror of d50
State: Okay
Size: 32776896 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s5 0 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c0t0d0 Yes id1,sd@n500000e013633ce0
c0t1d0 Yes id1,sd@n500000e013633810

After you physically replace the bad disk, the submirror will still show as needing maintenance. You need to invoke metareplace to sync the submirror

root@solaris:~ # metareplace -e d50 /dev/dsk/c0t0d0s5
d50: device c0t0d0s5 is enabled

root@solaris:~ # metastat d50
d50: Mirror
Submirror 0: d51
State: Resyncing
Submirror 1: d52
State: Okay
Resync in progress: 0 % done
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 32776896 blocks (15 GB)

d51: Submirror of d50
State: Resyncing
Size: 32776896 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s5 0 No Resyncing Yes

d52: Submirror of d50
State: Okay
Size: 32776896 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s5 0 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c0t0d0 Yes id1,sd@n500000e013633ce0
c0t1d0 Yes id1,sd@n500000e013633810

Repeat the process to all the remaining submirrors that were on that disk

Linux denying user access after reseting password

Depending of how you configured your Linux server, the Pluggable Authentication Module (PAM) won’t let you login.

To check the login attempts to see if it needs to be reset type faillog -u <username>

root@linux:~ # faillog -u username
Username Failures Maximum Latest
<username>       15        0

Reset the counter with the -r flag

root@linux:~ # /usr/bin/faillog -r username
Username Failures Maximum Latest
<username>        0        0

If you’re root but is not managing to become a user with su, you also need to reset the login counter

root@linuxserver ~ # su – username
su: incorrect password

root@linux:~ # /sbin/pam_tally —-user username —-reset
User <username> (685) had 36

root@linux:~ # su – username
username@linux:~ $

For RHEL 6, it uses pam_tally2

root@rhel64:~ # /sbin/pam_tally2 —-user username —-reset
Login Failures Latest failure From
username 9 02/13/14 09:22:10 /dev/pts/1

root@rhel64:~ # /sbin/pam_tally2 —-user username —-reset
Login Failures Latest failure From
username 0

CA Access Control sepass error message: Password was changed recently, cannot be changed again at this time

When you try to change the password of a user that recently changed its password and the server has the CA Access Control, the change will be denied.

root@solaris:/ # passwd username
CA Access Control sepass v12.0.1.1262 – Password replacement
Copyright (c) 2008 CA. All rights reserved.
Password was changed recently, cannot be changed again at this time.

To force the password change, type the command and change <username> and <password>to the values appropriate to your case

root@solaris:/ # /usr/seos/bin/selang -c “cu <username> pwasown (<password>)”
CA Access Control selang v12.0.1.1262 – CA Access Control command line interpreter
Copyright (c) 2008 CA. All rights reserved.

(localhost)
Successfully updated USER <username>
(localhost)
Native:
===
Successfully updated USER <username>

Removing dead paths on EMC PowerPath

Check the HBA paths with powermt display and check if there are any failed path.

root@solaris:~ # powermt display
Symmetrix logical device count=12
CLARiiON logical device count=24
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— I/O Paths —– —— Stats ——
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
2304 ssm@0,0/pci@1c,700000/pci@3/lpfc@4 failed 12 12 – 0 12
2305 ssm@0,0/pci@1c,700000/pci@3/lpfc@5 optimal 12 0 – 0 0
2306 ssm@0,0/pci@1c,600000/lpfc@1 failed 24 24 – 0 24
2307 ssm@0,0/pci@1d,700000/pci@1/lpfc@4 failed 12 12 – 0 12
2308 ssm@0,0/pci@1d,700000/pci@1/lpfc@5 optimal 12 0 – 0 0
2309 ssm@0,0/pci@1d,600000/lpfc@1 optimal 24 0 – 1 0

To remove the failed paths, run powermt check

root@solaris:~ # powermt check
Warning: Symmetrix device path c5t18d10s0 is currently dead.
Do you want to remove it (y/n/a/q)? a
Warning: Symmetrix device path c5t18d11s0 is currently dead.
Warning: Symmetrix device path c5t18d12s0 is currently dead.
Warning: Symmetrix device path c5t18d1s0 is currently dead.
Warning: Symmetrix device path c5t18d2s0 is currently dead.
Warning: Symmetrix device path c5t18d3s0 is currently dead.
Warning: Symmetrix device path c5t18d4s0 is currently dead.
Warning: Symmetrix device path c5t18d5s0 is currently dead.
Warning: Symmetrix device path c5t18d6s0 is currently dead.
Warning: Symmetrix device path c5t18d7s0 is currently dead.
Warning: Symmetrix device path c5t18d8s0 is currently dead.
Warning: Symmetrix device path c5t18d9s0 is currently dead.
Warning: Symmetrix device path c7t19d10s0 is currently dead.
Warning: Symmetrix device path c7t19d11s0 is currently dead.
Warning: Symmetrix device path c7t19d12s0 is currently dead.
Warning: Symmetrix device path c7t19d1s0 is currently dead.
Warning: Symmetrix device path c7t19d2s0 is currently dead.
Warning: Symmetrix device path c7t19d3s0 is currently dead.
Warning: Symmetrix device path c7t19d4s0 is currently dead.
Warning: Symmetrix device path c7t19d5s0 is currently dead.
Warning: Symmetrix device path c7t19d6s0 is currently dead.
Warning: Symmetrix device path c7t19d7s0 is currently dead.
Warning: Symmetrix device path c7t19d8s0 is currently dead.
Warning: Symmetrix device path c7t19d9s0 is currently dead.
Warning: CLARiiON device path c1t16d0s0 is currently dead.
Warning: CLARiiON device path c1t16d10s0 is currently dead.
Warning: CLARiiON device path c1t16d11s0 is currently dead.
Warning: CLARiiON device path c1t16d12s0 is currently dead.
Warning: CLARiiON device path c1t16d13s0 is currently dead.
Warning: CLARiiON device path c1t16d14s0 is currently dead.
Warning: CLARiiON device path c1t16d15s0 is currently dead.
Warning: CLARiiON device path c1t16d16s0 is currently dead.
Warning: CLARiiON device path c1t16d17s0 is currently dead.
Warning: CLARiiON device path c1t16d18s0 is currently dead.
Warning: CLARiiON device path c1t16d19s0 is currently dead.
Warning: CLARiiON device path c1t16d1s0 is currently dead.
Warning: CLARiiON device path c1t16d20s0 is currently dead.
Warning: CLARiiON device path c1t16d21s0 is currently dead.
Warning: CLARiiON device path c1t16d22s0 is currently dead.
Warning: CLARiiON device path c1t16d23s0 is currently dead.
Warning: CLARiiON device path c1t16d2s0 is currently dead.
Warning: CLARiiON device path c1t16d3s0 is currently dead.
Warning: CLARiiON device path c1t16d4s0 is currently dead.
Warning: CLARiiON device path c1t16d5s0 is currently dead.
Warning: CLARiiON device path c1t16d6s0 is currently dead.
Warning: CLARiiON device path c1t16d7s0 is currently dead.
Warning: CLARiiON device path c1t16d8s0 is currently dead.
Warning: CLARiiON device path c1t16d9s0 is currently dead.
Warning: CLARiiON device path c2t17d0s0 is currently dead.
Warning: CLARiiON device path c2t17d10s0 is currently dead.
Warning: CLARiiON device path c2t17d11s0 is currently dead.
Warning: CLARiiON device path c2t17d12s0 is currently dead.
Warning: CLARiiON device path c2t17d13s0 is currently dead.
Warning: CLARiiON device path c2t17d14s0 is currently dead.
Warning: CLARiiON device path c2t17d15s0 is currently dead.
Warning: CLARiiON device path c2t17d16s0 is currently dead.
Warning: CLARiiON device path c2t17d17s0 is currently dead.
Warning: CLARiiON device path c2t17d18s0 is currently dead.
Warning: CLARiiON device path c2t17d19s0 is currently dead.
Warning: CLARiiON device path c2t17d1s0 is currently dead.
Warning: CLARiiON device path c2t17d20s0 is currently dead.
Warning: CLARiiON device path c2t17d21s0 is currently dead.
Warning: CLARiiON device path c2t17d22s0 is currently dead.
Warning: CLARiiON device path c2t17d23s0 is currently dead.
Warning: CLARiiON device path c2t17d2s0 is currently dead.
Warning: CLARiiON device path c2t17d3s0 is currently dead.
Warning: CLARiiON device path c2t17d4s0 is currently dead.
Warning: CLARiiON device path c2t17d5s0 is currently dead.
Warning: CLARiiON device path c2t17d6s0 is currently dead.
Warning: CLARiiON device path c2t17d7s0 is currently dead.
Warning: CLARiiON device path c2t17d8s0 is currently dead.
Warning: CLARiiON device path c2t17d9s0 is currently dead.

After clearing the dead paths it will show only the active paths

root@solaris:~ # powermt display
Symmetrix logical device count=12
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— I/O Paths —– —— Stats ——
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
2305 ssm@0,0/pci@1c,700000/pci@3/lpfc@5 optimal 12 0 – 0 0
2308 ssm@0,0/pci@1d,700000/pci@1/lpfc@5 optimal 12 0 – 0 0