Bringing back old laptop with fresh look and feel is awesome.

This Dell Inspiron 910 was belong to my kids’s aunt. She said, this 910 was 5 years buried in her electronic garbage box.

She took 910 and made it clean for my daughter, Kanaya, as a gift. Well somehow, kids very happy to play alphabet on keyboard.

I was checking this 910, its SSD 16GB chip is broken and battery is fail.

Instead of replace with new SSD chip, I remove this part and plug tiny 4GB USB drive stick as its default storage.

The question is, which OS that lightweght, friendly, and efficient with this 910 condition.
After doing little research, Lubuntu is the most suitable.

No special recipe to bringing up 910 with Lubuntu. I use rufus to make Lubuntu ISO bootable to USB drive and later install the Lubuntu from this USB drive to 4GB USB drive. But there is wireless function issue.

Thanks to linuxmintforum , this is a magic trick to fix the issue, I call it unfair awesomeness hahahaha πŸ™‚

Everything works perfect and I put GCompris for my kids.
I think GCompris is good educational games for small children.

Advertisements

So what’s the plan? Nice to start install Funtoo with epro minimal under VMware.

I have no plans yet to explore it more, but somehow it’s gonna be fun. Yeah old school, maybe I need back to basic to start learn lsof and sort of it.

Funtoo Version

Any suggestion or idea?

Regarding to Oracle Security alert CVE list, we need to apply Solaris Recommended Bundle patch instead of apply one by one patch. But we have to make sure backup everything include create ZFS snapshot and splitting ZFS mirror for rollback plan.

Here a notes for Solaris 10 patching update that can be used as reference and I hope it is useful (:

 										
	Darke console login: root									
	Password:									
	Sep 10 17:51:19 Darke login: ROOT LOGIN /dev/console									
	Last login: Thu Sep 10 16:13:34 on console									
	Oracle Corporation      SunOS 5.10      Generic Patch   January 2005									
	Sourcing /root/root/.profile-EIS.....									
	Darke[root]/root/root>									
	Darke[root]/root/root> . /root/root/.profile-EIS									
	root@Darke # bash									
	root@Darke # export TERM=vt100									
	root@Darke #									
	root@Darke #									
	root@Darke # zpool list									
	NAME      SIZE  ALLOC   FREE  CAP  HEALTH  ALTROOT									
	rpool     278G  86.0G   192G  30%  ONLINE  -									
	root@Darke # zpool status									
	  pool: rpool									
	 state: ONLINE									
	 scan: none requested									
	config:									
										
	        NAME                         STATE     READ WRITE CKSUM									
	        rpool                        ONLINE       0     0     0									
	          mirror-0                   ONLINE       0     0     0									
	            c9t5000CCA0546DA579d0s0  ONLINE       0     0     0									PRIMARY
	            c5t5000CCA0546E64E1d0s0  ONLINE       0     0     0									SECONDARY / NEWRPOOL
										
	errors: No known data errors									
	root@Darke #									
	root@Darke # eeprom|grep root									
	boot-device=rootdisk0 rootdisk1									
	nvramrc=devalias rootdisk1 /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@w5000cca0546e64e1,0:a									
	devalias rootdisk0 /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@w5000cca0546da579,0:a									
	root@Darke #									
	root@Darke # zpool split rpool newrpool c5t5000CCA0546E64E1d0s0									
	root@Darke # zpool status									
	  pool: rpool									
	 state: ONLINE									
	 scan: none requested									
	config:									
										
	        NAME                       STATE     READ WRITE CKSUM									
	        rpool                      ONLINE       0     0     0									
	          c9t5000CCA0546DA579d0s0  ONLINE       0     0     0									
										
	errors: No known data errors									
	root@Darke #									
	root@Darke # mkdir /newrpool									
	root@Darke # zpool import -N -R /newrpool newrpool									
	root@Darke # zfs list -r newrpool									
	NAME                              USED  AVAIL  REFER  MOUNTPOINT									
	newrpool                         87.0G   187G   106K  /newrpool/rpool									
	newrpool/ROOT                    44.8G   187G    31K  legacy									
	newrpool/ROOT/s10_dev      44.8G   187G  13.5G  /newrpool									
	newrpool/ROOT/s10_dev/var  31.3G   187G  31.3G  /newrpool/var									
	newrpool/TCM                     2.46M  4.00G  2.46M  /newrpool/TCM									
	newrpool/dump                    8.02G   187G  8.00G  -									
	newrpool/export                   280M   187G    33K  /newrpool/export									
	newrpool/export/home              280M   187G   280M  /newrpool/export/home									
	newrpool/optBMC                   822M  4.20G   822M  /newrpool/opt/BMC									
	newrpool/swap                    33.0G   188G  32.0G  -									
	newrpool/syslv                   79.7M   187G  79.7M  /newrpool/syslv									
	root@Darke #									
	root@Darke # zfs mount -vO -o mountpoint=/newrpool newrpool									
	root@Darke # cd /newrpool/boot									
	root@Darke # ls -l									
	total 2									
	-rw-r--r--   1 root     root          52 Mar 16 12:41 menu.lst									
	root@Darke # cp menu.lst menu.lst.orig									
	root@Darke # cat menu.lst									
	title s10_dev									
	bootfs rpool/ROOT/s10_dev									
	root@Darke # export TERM=vt100									
	root@Darke # vi menu.lst									
	root@Darke #									
	root@Darke # zfs mount -vO -o mountpoint=/newrpool newrpool/ROOT/s10_dev									
	root@Darke # cd /newrpool/									
	root@Darke # rm /newrpool/etc/zfs/zpool.cache									
	root@Darke # grep rpool /newrpool/etc/vfstab									
	/dev/zvol/dsk/rpool/swap        -       -       swap    -       no      -									
	root@Darke # cp /newrpool/etc/vfstab /newrpool/etc/vfstab.orig
	root@Darke # vi /newrpool/etc/vfstab	

Editing vfstab

 								
	root@Darke #									
	root@Darke # grep rpool /newrpool/etc/vfstab									
	/dev/zvol/dsk/newrpool/swap     -       -       swap    -       no      -									
	root@Darke # bootadm update-archive -v -R /newrpool									
	cannot find: /newrpool/etc/cluster/nodeid: No such file or directory									
	cannot find: /newrpool/etc/mach: No such file or directory									
	root@Darke #									
	root@Darke #									
	root@Darke #									
	root@Darke # cd /									
	root@Darke # zfs unmount /newrpool									
	root@Darke # umount /newrpool									
	root@Darke # zpool export newrpool									
	root@Darke # zfs snapshot -r rpool@backup									
	root@Darke # zfs list | grep backup									
	rpool@backup                             0      -   106K  -									
	rpool/ROOT@backup                        0      -    31K  -									
	rpool/ROOT/s10_dev@backup          0      -  13.5G  -									
	rpool/ROOT/s10_dev/var@backup      0      -  31.3G  -									
	rpool/TCM@backup                         0      -  2.46M  -									
	rpool/dump@backup                        0      -  8.00G  -									
	rpool/export@backup                      0      -    33K  -									
	rpool/export/home@backup                 0      -   280M  -									
	rpool/optBMC@backup                      0      -   823M  -									
	rpool/swap@backup                        0      -  32.0G  -									
	rpool/syslv@backup                       0      -  79.7M  -									
	root@Darke #									
	root@Darke # ls -lh /root/root/Patch/									
	total 9478277									
	-rw-r--r--   1 moon   earth      4.1K Sep  9 18:11 V77079-01.zip									
	-rw-r--r--   1 moon   earth      548M Sep  9 18:12 V77080-01.zip									
	-rw-r--r--   1 moon   earth      2.1G Sep  9 18:11 V77081-01.zip									
	-rw-r--r--   1 moon   earth      807M Sep  9 18:12 V77084-01.zip									
	-rw-r--r--   1 moon   earth       52M Sep  9 18:12 V77086-01.zip									
	-rw-r--r--   1 moon   earth      1.0G Sep  9 18:11 V77087-01.zip									
	root@Darke #									
	root@Darke # init 0									
	root@Darke # svc.startd: The system is coming down.  Please wait.									
	svc.startd: 75 system services are now being stopped.									
	syncing file systems... done									
	Program terminated									
	NOTICE: Entering OpenBoot.									
	NOTICE: Fetching Guest MD from HV.									
	NOTICE: Starting additional cpus.									
	NOTICE: Initializing LDC services.									
	ChassisSerialNumber AK00277203									
	NOTICE: Probing PCI devices.									
	NOTICE: Finished PCI probing.									
										
										
	SPARC T4-1, No Keyboard									
	Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.									
	OpenBoot 4.36.2, 31.5000 GB memory available, Serial #108038382.									
	Ethernet address 0:10:e0:70:88:ee, Host ID: 867088ee.									
										
										
										
	{0} ok boot -s									
	Boot device: /pci@400/pci@2/pci@0/pci@4/scsi@0/disk@w5000cca0546da579,0:a  File and args: -s									
	SunOS Release 5.10 Version Generic_150400-23 64-bit									
	Copyright (c) 1983, 2015, Oracle and/or its affiliates. All rights reserved.									
	Booting to milestone "milestone/single-user:default".									
	Hostname: Darke									
	Loading smf(5) service descriptions: 1/1									
	Requesting System Maintenance Mode									
	SINGLE USER MODE									
										
	Root password for system maintenance (control-d to bypass):									
	single-user privilege assigned to /dev/console.									
	Entering System Maintenance Mode									
										
	Sep 10 18:05:23 su: 'su root' succeeded for root on /dev/console									
	Oracle Corporation      SunOS 5.10      Generic Patch   January 2005									
	Sourcing /root/root/.profile-EIS.....									
	Darke[root]/root/root> . /root/root/.profile-EIS									
	root@Darke # cd /root/root									
	root@Darke # ls									
	Patch									
	root@Darke # bash									
	root@Darke # cd Patch/									
	root@Darke # ls									
	V77079-01.zip  V77081-01.zip  V77086-01.zip									
	V77080-01.zip  V77084-01.zip  V77087-01.zip									
	root@Darke # ls -lh									
	total 9478277									
	-rw-r--r--   1 moon   earth      4.1K Sep  9 18:11 V77079-01.zip									
	-rw-r--r--   1 moon   earth      548M Sep  9 18:12 V77080-01.zip									
	-rw-r--r--   1 moon   earth      2.1G Sep  9 18:11 V77081-01.zip									
	-rw-r--r--   1 moon   earth      807M Sep  9 18:12 V77084-01.zip									
	-rw-r--r--   1 moon   earth       52M Sep  9 18:12 V77086-01.zip									
	-rw-r--r--   1 moon   earth      1.0G Sep  9 18:11 V77087-01.zip									
	root@Darke #									
	root@Darke # unzip -q V77081-01.zip									
	root@Darke # ls									
	README-15JUL15  V77080-01.zip   V77084-01.zip   V77087-01.zip									
	V77079-01.zip   V77081-01.zip   V77086-01.zip   sun									
	root@Darke # cd sun									
	root@Darke # cd patch									
	root@Darke # cd 10									
	root@Darke # ls									
	10_Recommended.README   README                  install_all_patches									
	10_Recommended.tar.bz2  info.txt									
	root@Darke # pwd									
	/root/root/Patch/sun/patch/10									
	root@Darke #									
	root@Darke # unpack-patches -q -r									
										
										
	Cleaning out /tmp/10...									
										
	Unpacking Recommended OS Patchset - will take some time...									
	10_Recommended.tar.bz2									
		
		
	Installation of patch set complete. PLEASE REBOOT THE SYSTEM.									
										
	Install log files written :									
	  /var/sadm/install_data/s10s_rec_patchset_short_2015.09.10_18.17.38.log									
	  /var/sadm/install_data/s10s_rec_patchset_verbose_2015.09.10_18.17.38.log									
										
										
	Clearing directory /tmp/10...									
	root@Darke # init 6									
	Creating boot_archive for /var/run/.patch_root_loopbackmnt									
	updating /var/run/.patch_root_loopbackmnt/platform/sun4v/boot_archive									
	root@Darke # Sep 10 18:59:47 su: 'su troya' succeeded for root on /dev/???									
	svc.startd: The system is coming down.  Please wait.									
	svc.startd: 24 system services are now being stopped.									
	syncing file systems... done									
	Program terminated									

Desire Z, QuadraSense 1.0

November 19, 2012

HTC Desire Z, smartphone lawas yang sangat berguna buat kerja nih bisa remote sana sini. ROM sudah rooted pakai Andromadus QuadraSense 1.0, turunan Cyanogen yang lite.

Ehm … yang kurang dari QuadraSense nih volume terlalu kecil meski dengan tools tambahan seperti volume rocker.

Hey, we may know how to kill process in unix environment especially the zombie process. All we need is process ID information (PID) and execute ‘kill -9 PID’. But what if those zombie process are hard to be killed & removed? How if we can’t mount a partition and found message “mount: /dev/hdb1 already mounted or /lad/cdma/ busy”

I tried some trick to troubleshoot when found a directory ‘/lad/cdma’ from /dev/hdb1 partition known as read only mode. I already checked /etc/fstab and everything is normal that means no read only mode written in this file configuration. This ‘/lad/cdma’ can’t be remounted.

At last, it can be solved by using this steps,

1. Stop application & database that related to ‘/lad/cdma’
2. Check, kill & trace all process that related to ‘/dev/hdb1’ partition

sh> fuser -m /dev/hdb1
sh> kill -9 PID
sh> strace -p PID

3. Check, kill & trace all process that related to ‘/lad/cdma’

sh>kill -9 PID
sh>strace -p PID

3. Unmount ‘/lad/cdma’

sh> unmount /lad/cdma

4. Remount ‘/lad/cdma’

sh> mount /lad/cdma

Hmm good πŸ™‚

5. Done

It’s a bit confusing when we setup MPXIO storage multipath using old method in Solaris 10 8/11 , and I found panic message and auto rebooted server. Server is only going fine while FC cable was unplugged, it means multipath is failed.

Below I post nice step using new method (it’s too late for me). I hope it can help when we need, especially at critical moment.

Firstly, create backup file

sh> cp /kernel/drv/mpt.conf /kernel/drv/mpt.conf.ori
sh> cp /kernel/drv/fp.conf /kernel/drv/fp.conf.ori
sh> cp /kernel/drv/scsi_vhci.conf /kernel/drv/scsi_vhci.conf.ori


In next step, we must disable internal drive multipath

sh> stmsboot -D mpt -d


We need to check the result,

sh> stmsboot -L
sh> mpathadm list lu


We also have to make sure connected HBA,

sh> luxadm -e port
/devices/pci@0,60/pci@8/SUNW,qlc@0/fp@0,0:devctl         CONNECTED
/devices/pci@1,70/pci@0/SUNW,qlc@0/fp@0,0:devctl         CONNECTED


For example below I use HDS storage. We insert additional line into “/kernel/drv/fp.conf” file,

name="fp" parent="/pci@0,60/pci@8/SUNW,qlc@0" port=0 mpxio-disable="no";
name="fp" parent="/pci@1,70/pci@0/SUNW,qlc@0" port=0 mpxio-disable="no";


Meanwhile, we also have to edit some information line at “/kernel/drv/scsi_vhci.conf” file,

device-type-scsi-options-list="HITACHI DF600F",
"symmetric-option";
symmetric-option = 0x1000000;


Spare 5 minutes or more to review it by your self or ask your friend to do it. After all complete and confirmed, we move to next command to execute the magic command,

sh> stmsboot -e

Have a good day πŸ™‚

Sebelumnya tidak pernah terjadi problem instalasi via jumpstart seperti ini, “Begin script install_begin execution completed” . Proses instalasi stuck dan tak ada clue penyebabnya. Sehingga problem ini cukup merepotkan, sederhana tapi rumit.

Setelah mencoba beberapa kemungkinan-kemungkinan solusi, akhirnya kita sampai pada kesimpulan bahwa penyebab utamanya adalah disk internal yang contain previous Solaris OS.

Sehingga langkah yang diperlukan sebagai solusinya adalah seperti ini,

1. Boot network to single user mode
“boot net -s”

2. Mengubah layout vtoc internal disk
“format”

3. Execute Solaris installation script
“/sbin/install-solaris”

Dan proses instalasi jumpstart berjalan normal πŸ™‚

%d bloggers like this: