2007-10-12

Bucky-Moire Posted

Well here it is, the 4:3 version re-rendered and posted to YouTube!

2007-10-06

Bucky Moire Revisited Wide (16:9)

Tried to re-render my Bucky Moire project, and found that the MPEG files were making Powerdirector crash. Investigating, I decided to re-render in 16:9, with better aspect-ratio management.


- so rendering in 720x480, with an explicit aspect ratio in pov files:
camera{ .. right x*1.778 ..} does the trick (implicitly 4:3 is the default.)
-That makes the png picture distorted (when viewing with sqaure pixels.)
- I also removed the -f dvd flag from the ffmpeg line
- old vs new ffmpeg, is the one that I built in the dome directory vs the one from rpmforge under centos5
- so the MPEG file needs to be told about the aspect ratio: e.g.
/home/daniel/dome/ffmpeg/ffmpeg/ffmpeg -r 30 -i work/buckyMoireF2427-%03d.png -aspect 1.778 -b 9000 -y oldffmpeg-nodvd-aspect169-nonsquare.mpg

This is what it looks like on the DVD after rescaling to 16:9.


I must also redo the intro storyboard with the same mods.

Moved all scripts into svn:
svn checkout https://snookr.googlecode.com/svn/trunk/buckyMoire buckyMoire --username daniel.lauzon

-Parts, there are now three top level scripts.
all scripts run for both 1.778 (16:9), and 1.333 (4:3) aspect ratios)
doStory.sh   : story board animation
doMesh.sh    : creates 24...48x24..48 sequences
doAnnotate.sh: creates longer seamless animations
-combine the 9 styoryBoard parts (with repeats into one sequence)
as in 1,1,1,2,3,3,3,4,5,5,5,6,7,7,7,8,9,9,9
-combines all mesh animations for one constant outter frequency
and adds freq pair anotation to bottom of image.


2007-09-28

Gmail transfer

Setup pop server on boole.

netstat -anop --tcp :to find open ports. 993/995 are listening
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 3260/xinetd off (0.00/0/0)
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 3260/xinetd off (0.00/0/0)

map hole in firewall to 995 (pop3s), say rd:8995 -> 201:995
load up the mailboxes one by one, in /var/mail/spool/catherine, and let it rip
Sometimes have problems with mbox locks...
kill the ipop process and restarting xinet seem to help.

2007-07-24

Using Virtual Ethernet Adapters in Promiscuous Mode on a Linux Host

Reference from vmware:
http://www.vmware.com/support/ws5/doc/ws_net_advanced_linux_vadapter_promiscuous.html

change permissions on /dev/vmnet[018] to specific group or all
before:
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw------- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw------- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw------- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8
after:
[root@euler ~]# chmod go+rw /dev/vmnet[018]
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw-rw-rw- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw-rw-rw- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw-rw-rw- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8

and back:
[root@euler ~]# chmod go-rw /dev/vmnet[018]
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw------- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw------- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw------- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8

2007-06-29

Restoring Cantor after disk failure

Well, after much effort, (spinrite 6.0) could not repair the failed system disk for cantor; Conclusion use raid1 for /boot and put / on raid5 volume!
The plan is to do that when cantor is moved the the new Core2 box.

-Gbe went smoothly under CentOS-5.0 for the DLink DGE-530T
-restoring the VG1 LVM volume (raid5) went smoothly after I vgscann'ed, pvscann'ed my way home, to enable the volumes however I had to lvchange -ay /dev/VG1/LVx for x in 0,1,2,3.

now for basic software installs; rpmforge:
google'd for rpmforge-release dag
wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
VMWare: got version 5.5.4: 6.0 soon...
Java:
installed from rhes5 supplementary, by loop mounting iso:
mount -o loop /archive/iso/rhes5/rhel-5-server-supplementary-i386-disc1.iso /mnt/coco
adding keys, then yum localinstall jaba*ibm*rpm
This setsup plugina appropriately: config with alternatives --config libjavaplugin.so
also installed jdk 1.5, and 1.6 from sun.
for java6: turned off magical execution with:
chkconfig --level 0123456 jexec off
Acrobat: installed from rhel5 suppl.: yum localinstall acroread-*.rpm
Flash: installed from rhel5 suppl.: rpm -Uvh flash-plugin-*.rpm
Groovy: already had groovy .tar.gz in downloads.
Grails: groovy home 0.4 already in /home/daniel/grails-0.4

iSCSI on axial blades/filers

Just added these for autostart..
on filer1: 192.168.3.62:
chkconfig --add iscsi-target
chkconfig --level 345 iscsi-target on
chkconfig --list iscsi-target
and on blade02:192.168.3.114 service was aloready set to run..
chkconfig --list iscsi

Just grep'ed history on blade02: 192.168.3.114
iscsiadm -m discovery
iscsiadm -m discovery -p 192.168.3.62
iscsiadm -m discovery -t st -p 192.168.3.62
/etc/init.d/iscsi restart
fdisk -l /dev/sdb
mke2fs /dev/sdb1
/etc/init.d/vmware stop
mv vmware vmware.local.old
time scp -rp ../../vmware.local.old/Virtual\ Machines/c44-64 .
time scp -rp ../../vmware.local.old/Virtual\ Machines/w2k3-ent-x64 .
mount /dev/sdb1 /var/lib/vmware
/etc/init.d/vmware start
and on filer1: 192.168.3.62
/etc/init.d/iscsi-target restart
config in /etc/ietd.conf

2007-06-28

Gigabit Ethernet on Cantor: D-Link DGE-530T

Under Centos4.4 my notes indicate that the SKGE module was the right one...

Installing the Gigabit Ethernet Controller under RHEL5 was without issue, and produced the following /etc/modprobe.conf:
[root@cantor ~]# more /etc/modprobe.conf
alias eth0 r8169
alias eth1 forcedeth
...
This is what lspci had to say:
[root@cantor ~]# lspci
01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)