Skip to content

CDE on AIX

Common Desktop Environment aka CDE on Advanced Interactive eXecutive aka AIX,

CDE on AIX

CDE on AIX, got Firefox some more

CDE on AIX

CDE on AIX, locking the screen

Comment(s) via Facebook

Tagged ,

Enlightenment on RHEL 6

It’s been a while since my last experience with Enlightenment, I don’t even remember when the last time was. So, here I present…Enlightenment on RHEL 6.

OS version: RHEL 6.5
Enlightenment version: 0.16.999.050
Machine: Lenovo Thinkpad T420

Enlightenment on RHEL 6

Comment(s) via Facebook

AIX SysAdmin In The Making

Yes, generally I’m a Unix SysAdmin but I never focus myself to become AIX (or HP-UX / Solaris) SysAdmin. Reason is simple, I’m more a Linux guy. But suddenly I was chosen by the boss to become AIX SME via Master Blue Program; although my boss told me it’s ok if I want to say ‘NO’ to the program, I guess I’m very stupid if I reject the “offer”.

So, here I am: my very first real study of AIX…

IBM-AIX

and I have several months (or maybe a year) to learn everything until I can become a real Master. I don’t know whether I will be able to achieve the target but it seems that’s my path at the moment, at least while I’m still in IBM :)

Comment(s) via Facebook

Tagged

zLinux: Add & Configure New Disk

Objective: New disks are added to the machine. I need to configure and integrate them into existing LVM partition.

OS: RHEL 5.9
Kernel: 2.6.18-274.el5
Related Documentation: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-s390info-addDASD.html

The mainframe administrator has assigned me 6 disks and the disk name are ’205′ – ’20e’. So, I need to find out the associated device name with the assigned disk,

[root@zlinux ~]# ls -l /sys/bus/ccw/drivers/dasd-eckd/0.0.0205/
total 0
-r--r--r-- 1 root root 4096 Apr  4 12:41 alias
-r--r--r-- 1 root root 4096 Apr  4 12:43 availability
lrwxrwxrwx 1 root root    0 Apr  4 12:41 block:dasdf -> ../../../../block/dasdf
lrwxrwxrwx 1 root root    0 Apr  4 12:43 bus -> ../../../../bus/ccw
-rw-r--r-- 1 root root 4096 Apr  4 12:43 cmb_enable
-r--r--r-- 1 root root 4096 Apr  4 12:43 cutype
-r--r--r-- 1 root root 4096 Apr  4 12:43 devtype
-r--r--r-- 1 root root 4096 Apr  4 12:41 discipline
lrwxrwxrwx 1 root root    0 Apr  4 12:41 driver -> ../../../../bus/ccw/drivers/dasd-eckd
-rw-r--r-- 1 root root 4096 Apr  4 12:43 eer_enabled
-rw-r--r-- 1 root root 4096 Apr  4 12:43 erplog
-rw-r--r-- 1 root root 4096 Apr  4 12:43 failfast
-rw-r--r-- 1 root root 4096 Apr  4 12:43 last_known_reservation_state
-r--r--r-- 1 root root 4096 Apr  4 12:43 modalias
-rw-r--r-- 1 root root 4096 Apr  4 12:41 online
-rw-r--r-- 1 root root 4096 Apr  4 12:41 readonly
-rw-r--r-- 1 root root 4096 Apr  4 12:43 reservation_policy
-r--r--r-- 1 root root 4096 Apr  4 12:43 status
lrwxrwxrwx 1 root root    0 Apr  4 12:43 subsystem -> ../../../../bus/ccw
--w------- 1 root root 4096 Apr  4 12:43 uevent
-r--r--r-- 1 root root 4096 Apr  4 12:41 uid
-rw-r--r-- 1 root root 4096 Apr  4 12:43 use_diag
-r--r--r-- 1 root root 4096 Apr  4 12:43 vendor

To check in reverse,

[root@zlinux ~]# ls -l /sys/block/dasdf
total 0
drwxr-xr-x 3 root root    0 Apr  4 13:57 dasdf1
-r--r--r-- 1 root root 4096 Apr  4 12:41 dev
lrwxrwxrwx 1 root root    0 Apr  4 12:54 device -> ../../devices/css0/0.0.0018/0.0.0205
drwxr-xr-x 2 root root    0 Apr  2 09:37 holders
drwxr-xr-x 3 root root    0 Apr  2 09:37 queue
-r--r--r-- 1 root root 4096 Apr  4 13:58 range
-r--r--r-- 1 root root 4096 Apr  4 13:58 removable
-r--r--r-- 1 root root 4096 Apr  4 12:41 size
drwxr-xr-x 2 root root    0 Apr  2 09:37 slaves
-r--r--r-- 1 root root 4096 Apr  4 13:58 stat
lrwxrwxrwx 1 root root    0 Apr  4 13:58 subsystem -> ../../block
--w------- 1 root root 4096 Apr  4 13:58 uevent

Check the disk status, make sure it is online & active.

[root@zlinux ~]# cat /sys/bus/ccw/drivers/dasd-eckd/0.0.0205/online
1
[root@zlinux ~]# lsdasd
Bus-ID     Status      Name      Device  Type  BlkSz  Size      Blocks
==============================================================================
0.0.0200   active      dasda     94:0    ECKD  4096   23033MB   5896620
0.0.0201   active      dasdb     94:4    ECKD  4096   23033MB   5896620
0.0.0202   active      dasdc     94:8    ECKD  4096   23033MB   5896620
0.0.0203   active      dasdd     94:12   ECKD  4096   23033MB   5896620
0.0.0204   active      dasde     94:16   ECKD  4096   23033MB   5896620
0.0.0205   active      dasdf     94:20   ECKD  4096   23033MB   5896620
0.0.0206   active      dasdg     94:24   ECKD  4096   23033MB   5896620
0.0.0207   active      dasdh     94:28   ECKD  4096   23033MB   5896620
0.0.0208   active      dasdi     94:32   ECKD  4096   23033MB   5896620
0.0.0209   active      dasdj     94:36   ECKD  4096   23033MB   5896620
0.0.020a   active      dasdk     94:40   ECKD  4096   23033MB   5896620

In this situation the newly added disks are ‘dasdf’ – ‘dasdk’.

Format the disk,

[root@zlinux ~]# dasdfmt -b 4096 -d cdl -f /dev/dasdf -l LX4B2E -p -y -v
Retrieving disk geometry...
Drive Geometry: 32759 Cylinders * 15 Heads =  491385 Tracks

I am going to format the device /dev/dasdg in the following way:
   Device number of device : 0x206
   Labelling device        : yes
   Disk label              : VOL1
   Disk identifier         : LX4B2E
   Extent start (trk no)   : 0
   Extent end (trk no)     : 491384
   Compatible Disk Layout  : yes
   Blocksize               : 4096
Formatting the device. This may take a while (get yourself a coffee).
Detaching the device...
Invalidate first track...

cyl 32759 of 32759 |##################################################| 100%

formatting tracks complete...
Revalidate first track...
Re-accessing the device...
Finished formatting the device.
Retrieving dasd information... ok
Writing empty bootstrap...
Writing label...
Writing VTOC... ok
Rereading the partition table... ok

Create Partition,

[root@zlinux ~]# fdasd -a /dev/dasdf
reading volume label ..: VOL1
reading vtoc ..........: ok

auto-creating one partition for the whole disk...
writing volume label...
writing VTOC...
rereading partition table...

If disk is not correctly formatted, we might stumble upon error message as below.

  • [root@zlinux ~]# fdasd -a /dev/dasdf
    
    fdasd error:  seek error
    Could not seek device '/dev/dasdf'.
    
  • [root@zlinux ~]# fdasd -a /dev/dasdg
    
    fdasd error:  Unsupported disk format
    /dev/dasdg is not formatted with z/OS compatible disk layout!
    

Since this is a repetitive task, I use 1-liner command for the rest of the disks.

for disk in {g..k}; do dasdfmt -b 4096 -d cdl -f /dev/dasd$disk -l LX4B2E -p -y -v; done
for disk in {f..k}; do fdasd -a /dev/dasd$disk; done

Create physical volume,

[root@zlinux ~]# for disk in {f..k}; do pvcreate /dev/dasd"$disk"1; done
  Writing physical volume data to disk "/dev/dasdf1"
  Physical volume "/dev/dasdf1" successfully created
  Writing physical volume data to disk "/dev/dasdg1"
  Physical volume "/dev/dasdg1" successfully created
  Writing physical volume data to disk "/dev/dasdh1"
  Physical volume "/dev/dasdh1" successfully created
  Writing physical volume data to disk "/dev/dasdi1"
  Physical volume "/dev/dasdi1" successfully created
  Writing physical volume data to disk "/dev/dasdj1"
  Physical volume "/dev/dasdj1" successfully created
  Writing physical volume data to disk "/dev/dasdk1"
  Physical volume "/dev/dasdk1" successfully created

The rest of the work (vgextend, lvextend, resize4fs) should be similar with normal x86 Linux.

Comment(s) via Facebook

Tagged ,

My First Time Story: Playing Around With Oracle Linux

After a hiatus, it seems I’m back to Linux. I was asked by management to attend Oracle Linux System Administration training next month, so I guess I need to be prepared. So, this is it….my first time story of installing and play around with Oracle Linux. In this case, I’m installing Oracle Linux 6.5 on top of my RHEL desktop via KVM.

Oracle Linux 6, booting up the ISO image

Oracle Linux 6, booting up the ISO image

Oracle Linux 6, finishing the installation

Oracle Linux 6, finishing the installation

Oracle Linux 6, post-installation configuration

Oracle Linux 6, post-installation configuration

Oracle Linux 6, GNOME Display Manager

Oracle Linux 6, GNOME Display Manager

Oracle Linux 6, the desktop

Oracle Linux 6, the desktop

Comment(s) via Facebook

Tagged ,

Pengalaman Membeli Rumah Sub-Sale

Info Rumah
Lokasi: Cyberjaya
Jenis rumah: Townhouse
Harga: Rahsia (kalau nak tau, kena jumpa secara peribadi/in-person)
Tuan punya rumah: Takamal Jaya Sdn Bhd, anak syarikat Emkay Sdn Bhd

Kronologi

  • 02-Disember-2013: Contact ejen dan minta buat appointment untuk tengok rumah
  • 03-Disember-2013: Berjumpa dengan salesman dan tengok rumah. Borak-borak apa yang patut dan tanya pasal rumah
  • 04-Disember-2013: Contact salesman dan minta beberapa penjelasan, salesman suruh hantar LOI (letter of intent).
    • 3.19pm hantar email untuk mintak quotation
    • 5.20pm dah dapat jawapan.
    • 5.59pm reply email, mintak bagi diskaun lagi & turunkan harga. Dalam emel ni, saya nyatakan beberapa point kenapa perlu diberikan lebih diskaun
  • 05-Disember-2013: Dapat so-called harga tawaran terakhir
  • 06-Disember-2013 Buat lawatan ke rumah sebenar. Mula-mula sampai takde orang, so pergilah lepak minum dengan salesman ni dulu. Dalam 6.30pm, barulah dapat tengok rumah.
  • 12-Disember-2013: Hantar emel lagi, minta harga tawaran diturunkan.
  • 17-Disember-2013: Salesman follow-up, tanya berapa harga yang saya mahu.
  • 18-Disember-2013: Salesman bagitau yang boss dia tak approve dengan harga yang saya nak.
  • 19-Disember-2013: Ejen asal telefon tanya tentang status. Saya beritahu yang saya belum keputusan kerana nak berfikir lebih lanjut.
  • 23-Disember-2013: Beritahu salesman yang saya bersetuju dengan harga tawaran terakhir
  • 24-Disember-2013: Terima offer letter dan buat pembayaran deposit 2%
  • 26-Disember-2013: Pegawai Bank follow-up tanya bila boleh bagi dokumen. Saya bagitau yang dokumen yang dipinta tu saya boleh bagi on the spot tapi perlukan lebih masa untuk isi application form. Yang best nya, pegawai ni offer untuk tolong isikan. Dia call dan tanya beberapa detail. Saya cuma perlu hantar mukasurat terakhir iaitu bahagian yang saya kene turunkan tandatangan
  • 27-Disember-2013: Hantar application form ke Bank Muamalat cawangan Jalan Tunku Abdul Rahman. Petang tu call sorang lagi lawyer, tanya pasal SPA – dapatlah quotation secara lisan

Comment(s) via Facebook

Kesyahduan

Stumbled upon a very “syahdu” picture at KLCC LRT station,

Mengejar Cinta

Mengejar Cinta

Comment(s) via Facebook

Tagged ,

Installing mplayer on RHEL 6

Objective:
To install mplayer on RHEL 6

Modus Operand:

  • Install RPM Fusion repo based on info from http://rpmfusion.org/Configuration,
    1. [root@oc0210762185 ~]# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
    2. Loaded plugins: ibm-check-lotus-updates, ibm-repository, refresh-packagekit, security
    3. Setting up Local Package Process
    4. rpmfusion-free-release-6-1.noarch.rpm                                                        | 5.9 kB     00:00    
    5. Examining /var/tmp/yum-root-tgXTeY/rpmfusion-free-release-6-1.noarch.rpm: rpmfusion-free-release-6-1.noarch
    6. Marking /var/tmp/yum-root-tgXTeY/rpmfusion-free-release-6-1.noarch.rpm to be installed
    7. rpmfusion-nonfree-release-6-1.noarch.rpm                                                     | 6.0 kB     00:00    
    8. Examining /var/tmp/yum-root-tgXTeY/rpmfusion-nonfree-release-6-1.noarch.rpm: rpmfusion-nonfree-release-6-1.noarch
    9. Marking /var/tmp/yum-root-tgXTeY/rpmfusion-nonfree-release-6-1.noarch.rpm to be installed
    10. Resolving Dependencies
    11. --> Running transaction check
    12. ---> Package rpmfusion-free-release.noarch 0:6-1 will be installed
    13. ---> Package rpmfusion-nonfree-release.noarch 0:6-1 will be installed
    14. --> Finished Dependency Resolution
    15.  
    16. Dependencies Resolved
    17.  
    18. ====================================================================================================================
    19.  Package                           Arch           Version       Repository                                     Size
    20. ====================================================================================================================
    21. Installing:
    22.  rpmfusion-free-release            noarch         6-1           /rpmfusion-free-release-6-1.noarch            3.7 k
    23.  rpmfusion-nonfree-release         noarch         6-1           /rpmfusion-nonfree-release-6-1.noarch         3.8 k
    24.  
    25. Transaction Summary
    26. ====================================================================================================================
    27. Install       2 Package(s)
    28.  
    29. Total size: 7.5 k
    30. Installed size: 7.5 k
    31. Is this ok [y/N]: y
    32. Downloading Packages:
    33. Running rpm_check_debug
    34. Running Transaction Test
    35. Transaction Test Succeeded
    36. Running Transaction
    37.   Installing : rpmfusion-free-release-6-1.noarch                                                                1/2
    38.   Installing : rpmfusion-nonfree-release-6-1.noarch                                                             2/2
    39.   Verifying  : rpmfusion-nonfree-release-6-1.noarch                                                             1/2
    40.   Verifying  : rpmfusion-free-release-6-1.noarch                                                                2/2
    41.  
    42. Installed:
    43.   rpmfusion-free-release.noarch 0:6-1                     rpmfusion-nonfree-release.noarch 0:6-1                    
    44.  
    45. Complete!
  • Let’s search for mplayer package
    1. [root@oc0210762185 ~]# yum search mplayer
    2. Loaded plugins: ibm-check-lotus-updates, ibm-repository, refresh-packagekit, security
    3. rpmfusion-free-updates                                                                       | 2.7 kB     00:00    
    4. rpmfusion-free-updates/primary_db                                                            | 214 kB     00:09    
    5. rpmfusion-nonfree-updates                                                                    | 2.2 kB     00:00    
    6. rpmfusion-nonfree-updates/primary_db                                                         |  40 kB     00:00    
    7. =============================================== N/S Matched: mplayer ===============================================
    8. kmplayer.x86_64 : A simple front-end for MPlayer/FFMpeg/Phonon
    9. mplayer-common.x86_64 : MPlayer common files
    10. mplayer-doc.x86_64 : MPlayer documentation in various languages
    11. mplayer-gui.x86_64 : GUI for MPlayer
    12. mplayer-tools.x86_64 : Useful scripts for MPlayer
    13. mencoder.x86_64 : MPlayer movie encoder
    14. mplayer.x86_64 : Movie player playing most video formats and DVDs
    15.  
    16.   Name and summary matches only, use "search all" for everything.

    Found, yay!

  • Install the damn packages,
    1. [root@oc0210762185 ~]# yum -y install mplayer
    2. Loaded plugins: ibm-check-lotus-updates, ibm-repository, refresh-packagekit, security
    3. Setting up Install Process
    4. Resolving Dependencies
    5. --> Running transaction check
    6. ---> Package mplayer.x86_64 0:1.0-0.140.20120205svn.el6.1 will be installed
    7. --> Processing Dependency: mplayer-common = 1.0-0.140.20120205svn.el6.1 for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    8. --> Processing Dependency: faad2-libs >= 1:2.6.1 for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    9. --> Processing Dependency: libavformat.so.53(LIBAVFORMAT_53)(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    10. --> Processing Dependency: libpostproc.so.52(LIBPOSTPROC_52)(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    11. --> Processing Dependency: libavutil.so.51(LIBAVUTIL_51)(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    12. --> Processing Dependency: libavcodec.so.53(LIBAVCODEC_53)(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    13. --> Processing Dependency: libswscale.so.2(LIBSWSCALE_2)(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    14. --> Processing Dependency: liblirc_client.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    15. --> Processing Dependency: libmp3lame.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    16. --> Processing Dependency: libavcodec.so.53()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    17. --> Processing Dependency: libfribidi.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    18. --> Processing Dependency: libdvdnav.so.4()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    19. --> Processing Dependency: libmpeg2.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    20. --> Processing Dependency: libenca.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    21. --> Processing Dependency: libswscale.so.2()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    22. --> Processing Dependency: libaa.so.1()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    23. --> Processing Dependency: libx264.so.120()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    24. --> Processing Dependency: libdvdread.so.4()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    25. --> Processing Dependency: libmpg123.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    26. --> Processing Dependency: libbluray.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    27. --> Processing Dependency: libvdpau.so.1()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    28. --> Processing Dependency: libpostproc.so.52()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    29. --> Processing Dependency: libcaca.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    30. --> Processing Dependency: libxvidcore.so.4()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    31. --> Processing Dependency: libass.so.4()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    32. --> Processing Dependency: libavutil.so.51()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    33. --> Processing Dependency: liba52.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    34. --> Processing Dependency: libfaad.so.2()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    35. --> Processing Dependency: librtmp.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    36. --> Processing Dependency: libdca.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    37. --> Processing Dependency: libbs2b.so.0()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    38. --> Processing Dependency: libavformat.so.53()(64bit) for package: mplayer-1.0-0.140.20120205svn.el6.1.x86_64
    39. --> Running transaction check
    40. ---> Package a52dec.x86_64 0:0.7.4-15.el6.3 will be installed
    41. ---> Package aalib-libs.x86_64 0:1.4.0-0.18.rc5.el6.1 will be installed
    42. ---> Package enca.x86_64 0:1.13-1.el6 will be installed
    43. ---> Package faad2-libs.x86_64 1:2.7-2.el6.3 will be installed
    44. ---> Package ffmpeg-libs.x86_64 0:0.10.5-1.el6 will be installed
    45. --> Processing Dependency: libdc1394.so.22()(64bit) for package: ffmpeg-libs-0.10.5-1.el6.x86_64
    46. --> Processing Dependency: libva.so.1()(64bit) for package: ffmpeg-libs-0.10.5-1.el6.x86_64
    47. --> Processing Dependency: libschroedinger-1.0.so.0()(64bit) for package: ffmpeg-libs-0.10.5-1.el6.x86_64
    48. ---> Package fribidi.x86_64 0:0.19.2-2.el6 will be installed
    49. ---> Package lame-libs.x86_64 0:3.99.5-1.el6 will be installed
    50. ---> Package libass.x86_64 0:0.10.0-1.el6 will be installed
    51. ---> Package libbluray.x86_64 0:0.2-0.6.20110710git51d7d60a96d06.el6 will be installed
    52. ---> Package libbs2b.x86_64 0:3.1.0-2.el6 will be installed
    53. ---> Package libcaca.x86_64 0:0.99-0.9.beta16.el6 will be installed
    54. --> Processing Dependency: libglut.so.3()(64bit) for package: libcaca-0.99-0.9.beta16.el6.x86_64
    55. ---> Package libdca.x86_64 0:0.0.5-6.el6 will be installed
    56. ---> Package libdvdnav.x86_64 0:4.1.4-0.1.svn1184.el6 will be installed
    57. ---> Package libdvdread.x86_64 0:4.1.4-0.2.svn1183.el6 will be installed
    58. ---> Package libmpeg2.x86_64 0:0.5.1-9.el6 will be installed
    59. ---> Package libmpg123.x86_64 0:1.13.8-1.el6 will be installed
    60. ---> Package librtmp.x86_64 0:2.3-3.el6 will be installed
    61. ---> Package libvdpau.x86_64 0:0.5-1.el6 will be installed
    62. ---> Package lirc-libs.x86_64 0:0.9.0-8.el6 will be installed
    63. ---> Package mplayer-common.x86_64 0:1.0-0.140.20120205svn.el6.1 will be installed
    64. ---> Package x264-libs.x86_64 0:0.120-5.20120303.el6 will be installed
    65. ---> Package xvidcore.x86_64 0:1.3.2-3.el6 will be installed
    66. --> Running transaction check
    67. ---> Package freeglut.x86_64 0:2.6.0-1.el6 will be installed
    68. ---> Package libdc1394.x86_64 0:2.1.2-3.4.el6 will be installed
    69. ---> Package libva.x86_64 0:1.0.15-1.el6 will be installed
    70. ---> Package schroedinger.x86_64 0:1.0.8-4.el6 will be installed
    71. --> Finished Dependency Resolution
    72.  
    73. Dependencies Resolved
    74.  
    75. ====================================================================================================================
    76.  Package              Arch         Version                                       Repository                    Size
    77. ====================================================================================================================
    78. Installing:
    79.  mplayer              x86_64       1.0-0.140.20120205svn.el6.1                   rpmfusion-free-updates       1.1 M
    80. Installing for dependencies:
    81.  a52dec               x86_64       0.7.4-15.el6.3                                rpmfusion-free-updates        50 k
    82.  aalib-libs           x86_64       1.4.0-0.18.rc5.el6.1                          epel                          63 k
    83.  enca                 x86_64       1.13-1.el6                                    epel                         103 k
    84.  faad2-libs           x86_64       1:2.7-2.el6.3                                 rpmfusion-free-updates       145 k
    85.  ffmpeg-libs          x86_64       0.10.5-1.el6                                  rpmfusion-free-updates       3.6 M
    86.  freeglut             x86_64       2.6.0-1.el6                                   RHEL-63-x86_64               172 k
    87.  fribidi              x86_64       0.19.2-2.el6                                  epel                          50 k
    88.  lame-libs            x86_64       3.99.5-1.el6                                  rpmfusion-free-updates       339 k
    89.  libass               x86_64       0.10.0-1.el6                                  epel                          56 k
    90.  libbluray            x86_64       0.2-0.6.20110710git51d7d60a96d06.el6          epel                         123 k
    91.  libbs2b              x86_64       3.1.0-2.el6                                   epel                          19 k
    92.  libcaca              x86_64       0.99-0.9.beta16.el6                           epel                         183 k
    93.  libdc1394            x86_64       2.1.2-3.4.el6                                 RHEL-63-x86_64               117 k
    94.  libdca               x86_64       0.0.5-6.el6                                   rpmfusion-free-updates       100 k
    95.  libdvdnav            x86_64       4.1.4-0.1.svn1184.el6                         epel                          51 k
    96.  libdvdread           x86_64       4.1.4-0.2.svn1183.el6                         RHEL-63-x86_64                63 k
    97.  libmpeg2             x86_64       0.5.1-9.el6                                   rpmfusion-free-updates        64 k
    98.  libmpg123            x86_64       1.13.8-1.el6                                  rpmfusion-free-updates       154 k
    99.  librtmp              x86_64       2.3-3.el6                                     rpmfusion-free-updates        54 k
    100.  libva                x86_64       1.0.15-1.el6                                  epel                          53 k
    101.  libvdpau             x86_64       0.5-1.el6                                     epel                          28 k
    102.  lirc-libs            x86_64       0.9.0-8.el6                                   epel                          33 k
    103.  mplayer-common       x86_64       1.0-0.140.20120205svn.el6.1                   rpmfusion-free-updates       1.2 M
    104.  schroedinger         x86_64       1.0.8-4.el6                                   epel                         213 k
    105.  x264-libs            x86_64       0.120-5.20120303.el6                          rpmfusion-free-updates       286 k
    106.  xvidcore             x86_64       1.3.2-3.el6                                   rpmfusion-free-updates       257 k
    107.  
    108. Transaction Summary
    109. ====================================================================================================================
    110. Install      27 Package(s)
    111.  
    112. Total download size: 8.6 M
    113. Installed size: 22 M
    114. Downloading Packages:
    115. (1/27): a52dec-0.7.4-15.el6.3.x86_64.rpm                                                     |  50 kB     00:03    
    116. (2/27): aalib-libs-1.4.0-0.18.rc5.el6.1.x86_64.rpm                                           |  63 kB     00:00    
    117. (3/27): enca-1.13-1.el6.x86_64.rpm                                                           | 103 kB     00:02    
    118. (4/27): faad2-libs-2.7-2.el6.3.x86_64.rpm                                                    | 145 kB     00:09    
    119. (5/27): ffmpeg-libs-0.10.5-1.el6.x86_64.rpm                                                  | 3.6 MB     02:51    
    120. (6/27): freeglut-2.6.0-1.el6.x86_64.rpm                                                      | 172 kB     00:00    
    121. (7/27): fribidi-0.19.2-2.el6.x86_64.rpm                                                      |  50 kB     00:00    
    122. (8/27): lame-libs-3.99.5-1.el6.x86_64.rpm                                                    | 339 kB     00:11    
    123. (9/27): libass-0.10.0-1.el6.x86_64.rpm                                                       |  56 kB     00:00    
    124. (10/27): libbluray-0.2-0.6.20110710git51d7d60a96d06.el6.x86_64.rpm                           | 123 kB     00:04    
    125. (11/27): libbs2b-3.1.0-2.el6.x86_64.rpm                                                      |  19 kB     00:00    
    126. (12/27): libcaca-0.99-0.9.beta16.el6.x86_64.rpm                                              | 183 kB     00:02    
    127. (13/27): libdc1394-2.1.2-3.4.el6.x86_64.rpm                                                  | 117 kB     00:00    
    128. (14/27): libdca-0.0.5-6.el6.x86_64.rpm                                                       | 100 kB     00:01    
    129. (15/27): libdvdnav-4.1.4-0.1.svn1184.el6.x86_64.rpm                                          |  51 kB     00:02    
    130. (16/27): libdvdread-4.1.4-0.2.svn1183.el6.x86_64.rpm                                         |  63 kB     00:00    
    131. (17/27): libmpeg2-0.5.1-9.el6.x86_64.rpm                                                     |  64 kB     00:01    
    132. (18/27): libmpg123-1.13.8-1.el6.x86_64.rpm                                                   | 154 kB     00:06    
    133. (19/27): librtmp-2.3-3.el6.x86_64.rpm                                                        |  54 kB     00:00    
    134. (20/27): libva-1.0.15-1.el6.x86_64.rpm                                                       |  53 kB     00:01    
    135. (21/27): libvdpau-0.5-1.el6.x86_64.rpm                                                       |  28 kB     00:00    
    136. (22/27): lirc-libs-0.9.0-8.el6.x86_64.rpm                                                    |  33 kB     00:00    
    137. (23/27): mplayer-1.0-0.140.20120205svn.el6.1.x86_64.rpm                                      | 1.1 MB     01:02    
    138. (24/27): mplayer-common-1.0-0.140.20120205svn.el6.1.x86_64.rpm                               | 1.2 MB     01:32    
    139. (25/27): schroedinger-1.0.8-4.el6.x86_64.rpm                                                 | 213 kB     00:09    
    140. (26/27): x264-libs-0.120-5.20120303.el6.x86_64.rpm                                           | 286 kB     00:19    
    141. (27/27): xvidcore-1.3.2-3.el6.x86_64.rpm                                                     | 257 kB     00:14    
    142. --------------------------------------------------------------------------------------------------------------------
    143. Total                                                                                18 kB/s | 8.6 MB     08:06    
    144. warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 849c449f: NOKEY
    145. Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-6
    146. Importing GPG key 0x849C449F:
    147.  Userid : RPM Fusion free repository for EL (6) <rpmfusion-buildsys@lists.rpmfusion.org>
    148.  Package: rpmfusion-free-release-6-1.noarch (@/rpmfusion-free-release-6-1.noarch)
    149.  From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-6
    150. Running rpm_check_debug
    151. Running Transaction Test
    152. Transaction Test Succeeded
    153. Running Transaction
    154.   Installing : libdvdread-4.1.4-0.2.svn1183.el6.x86_64                                                         1/27
    155.   Installing : lame-libs-3.99.5-1.el6.x86_64                                                                   2/27
    156.   Installing : x264-libs-0.120-5.20120303.el6.x86_64                                                           3/27
    157.   Installing : librtmp-2.3-3.el6.x86_64                                                                        4/27
    158.   Installing : xvidcore-1.3.2-3.el6.x86_64                                                                     5/27
    159.   Installing : fribidi-0.19.2-2.el6.x86_64                                                                     6/27
    160.   Installing : enca-1.13-1.el6.x86_64                                                                          7/27
    161.   Installing : libass-0.10.0-1.el6.x86_64                                                                      8/27
    162.   Installing : libdvdnav-4.1.4-0.1.svn1184.el6.x86_64                                                          9/27
    163.   Installing : libbluray-0.2-0.6.20110710git51d7d60a96d06.el6.x86_64                                          10/27
    164.   Installing : lirc-libs-0.9.0-8.el6.x86_64                                                                   11/27
    165.   Installing : aalib-libs-1.4.0-0.18.rc5.el6.1.x86_64                                                         12/27
    166.   Installing : libmpeg2-0.5.1-9.el6.x86_64                                                                    13/27
    167.   Installing : libvdpau-0.5-1.el6.x86_64                                                                      14/27
    168.   Installing : 1:faad2-libs-2.7-2.el6.3.x86_64                                                                15/27
    169.   Installing : libmpg123-1.13.8-1.el6.x86_64                                                                  16/27
    170.   Installing : a52dec-0.7.4-15.el6.3.x86_64                                                                   17/27
    171.   Installing : libdc1394-2.1.2-3.4.el6.x86_64                                                                 18/27
    172.   Installing : libva-1.0.15-1.el6.x86_64                                                                      19/27
    173.   Installing : freeglut-2.6.0-1.el6.x86_64                                                                    20/27
    174.   Installing : libcaca-0.99-0.9.beta16.el6.x86_64                                                             21/27
    175.   Installing : libbs2b-3.1.0-2.el6.x86_64                                                                     22/27
    176.   Installing : mplayer-common-1.0-0.140.20120205svn.el6.1.x86_64                                              23/27
    177.   Installing : schroedinger-1.0.8-4.el6.x86_64                                                                24/27
    178.   Installing : ffmpeg-libs-0.10.5-1.el6.x86_64                                                                25/27
    179.   Installing : libdca-0.0.5-6.el6.x86_64                                                                      26/27
    180.   Installing : mplayer-1.0-0.140.20120205svn.el6.1.x86_64                                                     27/27
    181.   Verifying  : enca-1.13-1.el6.x86_64                                                                          1/27
    182.   Verifying  : libass-0.10.0-1.el6.x86_64                                                                      2/27
    183.   Verifying  : libcaca-0.99-0.9.beta16.el6.x86_64                                                              3/27
    184.   Verifying  : libdca-0.0.5-6.el6.x86_64                                                                       4/27
    185.   Verifying  : schroedinger-1.0.8-4.el6.x86_64                                                                 5/27
    186.   Verifying  : libdvdnav-4.1.4-0.1.svn1184.el6.x86_64                                                          6/27
    187.   Verifying  : mplayer-common-1.0-0.140.20120205svn.el6.1.x86_64                                               7/27
    188.   Verifying  : fribidi-0.19.2-2.el6.x86_64                                                                     8/27
    189.   Verifying  : libbs2b-3.1.0-2.el6.x86_64                                                                      9/27
    190.   Verifying  : mplayer-1.0-0.140.20120205svn.el6.1.x86_64                                                     10/27
    191.   Verifying  : freeglut-2.6.0-1.el6.x86_64                                                                    11/27
    192.   Verifying  : xvidcore-1.3.2-3.el6.x86_64                                                                    12/27
    193.   Verifying  : librtmp-2.3-3.el6.x86_64                                                                       13/27
    194.   Verifying  : libva-1.0.15-1.el6.x86_64                                                                      14/27
    195.   Verifying  : libdc1394-2.1.2-3.4.el6.x86_64                                                                 15/27
    196.   Verifying  : a52dec-0.7.4-15.el6.3.x86_64                                                                   16/27
    197.   Verifying  : libmpg123-1.13.8-1.el6.x86_64                                                                  17/27
    198.   Verifying  : x264-libs-0.120-5.20120303.el6.x86_64                                                          18/27
    199.   Verifying  : 1:faad2-libs-2.7-2.el6.3.x86_64                                                                19/27
    200.   Verifying  : libvdpau-0.5-1.el6.x86_64                                                                      20/27
    201.   Verifying  : libmpeg2-0.5.1-9.el6.x86_64                                                                    21/27
    202.   Verifying  : lame-libs-3.99.5-1.el6.x86_64                                                                  22/27
    203.   Verifying  : aalib-libs-1.4.0-0.18.rc5.el6.1.x86_64                                                         23/27
    204.   Verifying  : lirc-libs-0.9.0-8.el6.x86_64                                                                   24/27
    205.   Verifying  : libdvdread-4.1.4-0.2.svn1183.el6.x86_64                                                        25/27
    206.   Verifying  : libbluray-0.2-0.6.20110710git51d7d60a96d06.el6.x86_64                                          26/27
    207.   Verifying  : ffmpeg-libs-0.10.5-1.el6.x86_64                                                                27/27
    208.  
    209. Installed:
    210.   mplayer.x86_64 0:1.0-0.140.20120205svn.el6.1                                                                      
    211.  
    212. Dependency Installed:
    213.   a52dec.x86_64 0:0.7.4-15.el6.3                         aalib-libs.x86_64 0:1.4.0-0.18.rc5.el6.1                  
    214.   enca.x86_64 0:1.13-1.el6                               faad2-libs.x86_64 1:2.7-2.el6.3                          
    215.   ffmpeg-libs.x86_64 0:0.10.5-1.el6                      freeglut.x86_64 0:2.6.0-1.el6                            
    216.   fribidi.x86_64 0:0.19.2-2.el6                          lame-libs.x86_64 0:3.99.5-1.el6                          
    217.   libass.x86_64 0:0.10.0-1.el6                           libbluray.x86_64 0:0.2-0.6.20110710git51d7d60a96d06.el6  
    218.   libbs2b.x86_64 0:3.1.0-2.el6                           libcaca.x86_64 0:0.99-0.9.beta16.el6                      
    219.   libdc1394.x86_64 0:2.1.2-3.4.el6                       libdca.x86_64 0:0.0.5-6.el6                              
    220.   libdvdnav.x86_64 0:4.1.4-0.1.svn1184.el6               libdvdread.x86_64 0:4.1.4-0.2.svn1183.el6                
    221.   libmpeg2.x86_64 0:0.5.1-9.el6                          libmpg123.x86_64 0:1.13.8-1.el6                          
    222.   librtmp.x86_64 0:2.3-3.el6                             libva.x86_64 0:1.0.15-1.el6                              
    223.   libvdpau.x86_64 0:0.5-1.el6                            lirc-libs.x86_64 0:0.9.0-8.el6                            
    224.   mplayer-common.x86_64 0:1.0-0.140.20120205svn.el6.1    schroedinger.x86_64 0:1.0.8-4.el6                        
    225.   x264-libs.x86_64 0:0.120-5.20120303.el6                xvidcore.x86_64 0:1.3.2-3.el6                            
    226.  
    227. Complete!

    Done.

Comment(s) via Facebook

Tagged

Officially A Vespa Rider

Yes, finally I owned a Vespa. I choose LX150, a modern Vespa.

White Vespa LX150 & White Helmet

White Vespa LX150 & White Helmet

Givi – Italian accessories for Italian scooter.

Givi bike cover, Givi air mask, Givi cable lock. Free 2013 Givi calendar.

Givi bike cover, Givi air mask, Givi cable lock. Free 2013 Givi calendar.

Comment(s) via Facebook

Tagged

Solaris: Configuring Virtual Network with LDOM

Objective
To add a virtual network device to guest domain

Current network resource,

root@maxis70 # ldm list -o network
NAME             
primary          

MAC
    00:21:28:b3:36:a0

VSW
    NAME             MAC               NET-DEV   ID   DEVICE     LINKPROP   DEFAULT-VLAN-ID PVID VID                  MTU   MODE  
    primary-vsw0     00:14:4f:f9:da:3e igb0      0    switch@0              1               1                         1500        
    primary-vsw1     00:14:4f:fb:6c:90 igb1      1    switch@1              1               1                         1500        
    primary-vsw2     00:14:4f:fb:4f:94 igb2      2    switch@2              1               1                         1500        
    primary-vsw3     00:14:4f:f9:c6:fa igb3      3    switch@3              1               1                         1500        

------------------------------------------------------------------------------
NAME             
ldom1            

MAC
    00:14:4f:fb:44:a5

NETWORK
    NAME             SERVICE                     ID   DEVICE     MAC               MODE   PVID VID                  MTU   LINKPROP  
    vnet0            primary-vsw0@primary        0    network@0  00:14:4f:fb:ef:68        1                         1500  phys-state
    vnet1            primary-vsw1@primary        1    network@1  00:14:4f:f9:aa:98        1                         1500  phys-state
    vnet2            primary-vsw2@primary        2    network@2  00:14:4f:fb:56:21        1                         1500  phys-state

Current virtual network device on guest domain,

root@maxis71 # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
vnet0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.200.51.122 netmask ffffff00 broadcast 10.200.51.255
        ether 0:14:4f:fb:ef:68 
vnet1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.100.32.234 netmask fffffc00 broadcast 10.90.35.255
        ether 0:14:4f:f9:aa:98 
vnet2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 10.10.32.234 netmask fffffc00 broadcast 10.90.35.255
        ether 0:14:4f:fb:56:21

Add virtual network device to the guest domain,

root@maxis70 # ldm add-vnet pvid=1 vnet3 primary-vsw3 ldom1

Network resources after adding new virtual network device,

root@maxis70 # ldm list -o network
NAME             
primary          

MAC
    00:21:28:b3:36:a0

VSW
    NAME             MAC               NET-DEV   ID   DEVICE     LINKPROP   DEFAULT-VLAN-ID PVID VID                  MTU   MODE  
    primary-vsw0     00:14:4f:f9:da:3e igb0      0    switch@0              1               1                         1500        
    primary-vsw1     00:14:4f:fb:6c:90 igb1      1    switch@1              1               1                         1500        
    primary-vsw2     00:14:4f:fb:4f:94 igb2      2    switch@2              1               1                         1500        
    primary-vsw3     00:14:4f:f9:c6:fa igb3      3    switch@3              1               1                         1500        

------------------------------------------------------------------------------
NAME             
ldom1            

MAC
    00:14:4f:fb:44:a5

NETWORK
    NAME             SERVICE                     ID   DEVICE     MAC               MODE   PVID VID                  MTU   LINKPROP  
    vnet0            primary-vsw0@primary        0    network@0  00:14:4f:fb:ef:68        1                         1500  phys-state
    vnet1            primary-vsw1@primary        1    network@1  00:14:4f:f9:aa:98        1                         1500  phys-state
    vnet2            primary-vsw2@primary        2    network@2  00:14:4f:fb:56:21        1                         1500  phys-state
    vnet3            primary-vsw3@primary        3    network@3  00:14:4f:fb:0b:f7        1                         1500

Checking link status on the guest domain,

root@maxis71 # dladm show-dev
vnet0           link: up        speed: 0     Mbps       duplex: unknown
vnet1           link: up        speed: 0     Mbps       duplex: unknown
vnet2           link: up        speed: 0     Mbps       duplex: unknown
vnet3           link: unknown   speed: 0     Mbps       duplex: unknown

Plumb the interface,

root@maxis71 # ifconfig vnet3 plumb

Now, link for vnet3 is up. Yay!

root@maxis71 # dladm show-dev
vnet0           link: up        speed: 0     Mbps       duplex: unknown
vnet1           link: up        speed: 0     Mbps       duplex: unknown
vnet2           link: up        speed: 0     Mbps       duplex: unknown
vnet3           link: up        speed: 0     Mbps       duplex: unknown

Tadaaa, we can configure vnet3.

Reference,

Comment(s) via Facebook

Tagged ,