unsupported sector size 520

so i picked up a batch of these 146gb (Vendor: IBM Model: IC35L146 CLAR146 Rev: R58A) FC-AL drives from a fire sale. i pop it into the machine when i notice this in dmesg: [ 86.717949] Vendor: IBM Model: IC35L146 CLAR146 Rev: R58A [ 86.717970] Type: Direct-Access ANSI SCSI revision: 03 [ 86.720959] sdb : … Read More

sun blade 2000 specs

here are some numbers for the sun blade 2k: # cat /proc/cpuinfo cpu : TI UltraSparc III+ (Cheetah+) fpu : UltraSparc III+ integrated FPU promlib : Version 3 Revision 5 prom : 4.5.21 type : sun4u ncpus probed : 2 ncpus active : 2 D$ parity tl1 : 0 I$ parity tl1 : 0 Cpu0Bogo … Read More

gentoo + sun blade 2000 = first dmesg

# dmesg [ 0.000000] PROMLIB: Sun IEEE Boot Prom 4.5.21 2003/02/24 17:23 [ 0.000000] Linux version 2.6.16.60 (root@livecd) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1)) #2 Fri Dec 26 01:06:42 EST 2008 [ 0.000000] ARCH: SUN4U [ 0.000000] Ethernet address: 00:03:ba:36:12:53 [ 0.000000] On node 0 totalpages: 1047627 [ 0.000000] DMA zone: 1047627 pages, LIFO batch:15 … Read More

kernel compile issues on sparc64 in gentoo

weird error: error: -m64 is not supported by this configuration during a: make image modules_install on a kernel. all this on sparc64 gentoo. easy fix: instead of make && make image modules_install use : make CROSS_COMPILE=sparc64-unknown-linux-gnu- && CROSS_COMPILE=sparc64-unknown-linux-gnu- make image modules_install fixed it for me

sun blade 2000 + gentoo = kernel work

# uname -a Linux venus 2.6.16.60 #3 SMP PREEMPT Sun Dec 28 23:49:18 EST 2008 sparc64 sun4u TI UltraSparc III+ (Cheetah+) GNU/Linux i have not yet gone to a newer kernel since i wanted to refine this one first. this one is =vanilla-sources-2.6.16.60 here is the .config file in text mode. i will post all … Read More

little mass list rename script

quick and dirty script to rename *.jpg in one folder to poa_xxx.jpg numerically yes there is a way to do this in a shorter and cleaner matter. but i was tired and just wanted to get it done. #/bin/bash n=1 for f in *.jpg do if [ $n -le 9 ]; then mv “$f” “poa_000$n.jpg” … Read More

openoffice menu & font resize

here is a simple way to shrink down the sizes of your fonts and menus in openoffice3: fonts: echo “Xft.dpi: 80” > ~/.Xdefaults change the 80 to a size that fits you best edit 20-nov-2008: this will obviously override .gtkrc & .gtkrc-2.0 menus: open any oo program tools —> options —-> OpenOffice.org —-> view change … Read More

show a progress bar while copying

i did this more for the fact that sometimes it want to know what progress really large files are at. this method does cause some overhead and is not as fast as just a regular cp, but who cares. user $ pv ../test500M | dd of=../test/test500M 500MB 0:00:13 [36.6MB/s] [==============================================>] 100% 1024000+0 records in 1024000+0 … Read More

minimalist desktop .xinitrc

here is a copy of my .xinitrc its a bit light since my machine is started from slim: [ -f $HOME/.Xdefaults ] && xrdb $HOME/.Xdefaults xsetroot -solid \#000000 xsetroot -cursor_name crosshair /usr/bin/evilwm -snap 10 & xv -quit -root -rmode 5 -max ~/.e16/backgrounds/3d\ smilies_1920x1200-474974.jpeg & exec xclock -digital -padding 2 -g -0+0 xbindkeys & exec sleep … Read More

scp speeds

so i was scp’ing some files across my network when i realized that there is / was something wronf with the speeds at which the transfers were occuring. here is what i learned we will create a test file to copy around the network (not to big or it will take forever but not to … Read More