beagyazva

Tegnap megjott Japanbol a ket SuperH-board, amit egy japan foszer rovidebb mailezgetes utan megvett es elkuldott nekem – nem, nem dumaltunk regebben, nem, nem elore fizettem, sot, meg mindig azon megy a dumalas, h hogyan uszom meg legolcsobban az atutalast, le a kalappal a japcsik elott…
Szoval megjottek, egy SHmin (T-SH7706LAN, SH3/7706 procival szerelt) es egy IO-DATA USL-5P (SH4/7751R, 5x USB2, RTC, buzzer, korrekt darab), a toolchain mindkettohoz kesz van, csak epp kibaszottul broken a mainline sh arch, a kovetkezo par nap valszin azzal fog telni h a linuxsh-2.6-git treebol nekiallok atramolni az updateket, hatha sikerul osszekalapalni…
Amugy ujabb bizonyitekot talaltam arra, h a japcsik nem normalisak, google://sh3 session alatt szembejott egy URL, ahol leirta egy foszer, h fogta ezt az SHmin boardot, es a kivezetett GPIO-kra szerelt egy LCD-t – aztan nekiallt Doomot futtatni rajta…
Egyeduli dolog, ami nem tetszik, h egy fos RTL8019AS van az SHmin-en, de ezzel meg talan egyutt lehet elni, cserebe viszont ottvan a ket tonna GPIO rajta 🙂

Hja, hetvege amugy jol telt, voltunk allatkertben fotozni zasszonnyal meg par ismerossel, csak ugye a szokasos erzes, h na most akkor ki van a faro^Wracs melyik oldalan. Kepek majd lesznek, ha talalok egy kisebb timeslotot arra, h buzeralgassam meg atkonvertaljam oket RAW-bol.

NOTE: kezd amugy visszarazodni a normalisba zasszonnyal a kapcsolatunk, egyre kevesebbet baszogatjuk egymast, legalabbis verbalisan 😛 Es ez jo – a kisebb baromsagainkat leszamitva. Tombolnak a hormonok, vagy WTF? 🙂

EDIT: A big thank you and bottle of sake goes to Nobuhiro Iwamatsu for his efforts for getting these boards for me. 🙂

promise, WHAT?

E-Support Online

e-Support Request Form
This form needs Microsoft Internet Explorer 5.1 or later version. You are using a browser that is not currently supported by this form. Please close this window and access the form using Microsoft Internet Explorer 5.1 or later version.

Someone should tell me HOW THE FUCK DOES PROMISE THINK THIS?

Canon EF 24-85mm f/3.5-4.5 USM

FIlozok azon, h vegyek egy ilyet, lecserelni a gagyi alap 18-55-ost. Egyreszt az 55mm es a 90mm kozt – ahol a teleobjektivem tartomanya kezdodik – eleg nagy a res, pedig jol hasznalhato tartomanynak tunik, masreszt 18mm-nel tul durva hordoeffektust general…

ez nem tul meggyozo
ez mar inkabb
ez meg meginkabb
ez meg vegkepp

Szerzek majd valahonnan tesztre egyet, aztan valszin majus vegen meglepem magam eggyel 😛

EDIT: itt is jokat irnak

Moving from apache2 to nginx

If you want to use nginx as a reverse proxy, be aware that the default log format is not the same as apache’s default combined log, so it might screw up any log analyzers (like awstats), which will show the incorrect log entries as corrupted records.

If you were not aware of this, use the following sed command:

cat FUBAR.log | sed -e ‘s/(.* – – [.*]) (.* .* .*) “(.*)” (.* “.*” “.*”) “.*”/1 “2” 3 4/’ > /tmp/not-FUBAR.log

nginx config the ubuntu way

./configure –sbin-path=/sbin/nginx –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –pid-path=/var/run/nginx/nginx.pid –with-cpu-opt=athlon –http-log-path=/var/log/nginx/access.log –http-proxy-temp-path=/var/spool/nginx/proxy_temp –http-client-body-temp-path=/var/spool/nginx/client_body_temp –http-fastcgi-temp-path=/var/spool/nginx/fastcgi_temp –without-http_rewrite_module

feisty upgrade

Note: ez majd folyamatosan fog frissulni, ahogy kiderulnek az ujabb es ujabb baromsagai.

[ 4.104000] scsi 0:0:0:0: Direct-Access ATA FUJITSU MHV2080A 0083 PQ: 0 ANSI: 5
[ 4.104000] scsi 0:0:1:0: CD-ROM MATSHITA DVD-RAM UJ-832S 1.02 PQ: 0 ANSI: 5
[ 4.116000] SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)

Furcsa dolgok ezek, edgy alatt meg hda-kent latta a diszkemet. Nem mintha zavarna, de nem tudtam, h ez csak SCSISZEMUVEG kerdese…

Amugy maga az upgrade csont nelkul lement – most azt ne szamoljuk bele, hogy elotte ket napig vakaroztam, hogy hogyan csinaljak eleg helyet a ketszer megpupozott 4g-s rootfs-en, hogy az 500akarhany meganyi dotdeb lejojjon, valamint hogy ebbe beletartozott nehany oranyi partition magic(tm) rugdosas, mert az a fospumpa nem volt hajlando egyaltalan elindulni, valamint hogy a vegen a gordiuszi csomot atvagva bedaraltam ket particiot es csinaltam egy uj /home-ot magamnak, hogy elferjen a szentem -, mindossze a gdm-et kellett nullara purgeolni, majd ujra felrakni, h elinduljon. Viszont megjavult a ‘greeting app’, most mar nem crashel el indulaskor, csak a human-theme-t hianyolta egy darabig. Megoldva. Eljen.

Erzesre amugy gyorsabb, Ugyanez volt edgy upgradenel is, ott is gyorsabbnak tunt, nem derult ki, h az ezereves libc6 upgradelese miatt, vagy csak mert az elvezeti ertek. miszerint ‘juhe, vegre megint frissebb a zdisztribem’, is beleszamitott…

UPDATE: arra meg nem jottek ra, hogy hogyan lehet egy docked app-ot figyelni, peldaul az amarok-ot (ne rohogjel, az egyetlen hasznalhato lejatszo, igaz h kde-s, en meg gnome-ot hasznalok, de a gtk-s cuccok lejaccok a fasorba sincsenek, az oskovulet xmms-t hagyjuk, az egauile-t, vagy hogyafaszomba irjak, szinten meghagyom masnak, egyszer eleg volt felrakni, kurvagyorsan le is kerult), szoval hogy csak egy peldanyban induljon el, es a vicces juzernek ne legyen otven amarok ikonja a taszkbarban. Majd a kovetkezo rilizben.

UPDATE: kopete persze beszart menetkozben, majd remove-purge-install komboval megoldom. Tiszta vindoz.

UPDATE: es telleg.

How to migrate proxying from Apache2 to nginx

# for i in `ls /store/chroot/proxy/etc/apache2/sites-available/`; do
hostname=`echo $i |cut -d – -f 2`;
count=`echo $i |cut -d – -f 1`;
cat template.conf |sed -e “s/{hostname}/${hostname}/” > vhosts/${count}-${hostname}.conf ;
echo “include conf/vhosts/${count}-${hostname}.conf” >> vhosts.conf;
done

The only thing left is to set the servername aliases in the config files by hand.

bcw(4) licensing issues?

I think it’s fair enough for the whole subject to read a few mails, the following ones:

Michael Buesch’s initial mail

Reply to Theo’s reply 1

Reply to Theo’s reply 2

Theo’s seems to be frantically trying to defend the indefendable, by counter-attacking Michael and trying to undermine what a licensing issue is… /me laughes hard at their mad way to defend BSD licensing…

Finally Pavel Roskin about MadWifi and OpenBSD

You can read the whole thread here.

x4100 ilom upgrade

Take care with upgrading ILOM 1.0 to 1.1.1, it does not keep the original settings – like its fixed IP address – resulting in the service processor to acquire its address via DHCP… Not so lucky in a co-location environment 😛

freedos netboot

The master plan’s reason was that I have some boxes in Moscow and in the country, and their BIOS and SAS/SCSI/lofasz controller firmware update was timely.

The master plan was to get freedos booting via pxeboot from a local gateway – or bring up its interface via a bridged openvpn to my notebook in a very perverse way -, then provide an environment containing the flasher tools, the firmware images, and so on.

The master plan succeeded.

Creating a PXE environment was an easy job, install a dhcp3-server and a tftpd. Add a similar entry into your dhcpd.conf:

host shg2pxe {
hardware ethernet 00:02:b3:51:15:82;
fixed-address 10.1.1.100;
next-server 10.1.1.254;
filename “pxelinux.0”;
}

hardware ethernet is self explanatory, fixed-address also, next-server is the IP address of your TFTP server, filename is the PXE stage 1 loader, which you have to put into your tftpboot directory (/tftpboot or /var/lib/tftpboot in most of the cases, I will use the first one now.)

Then put memdisk and freedos.img into /tftpboot , and create a /tftpboot/pxelinux.cfg/default with this content:

DEFAULT freedos
LABEL freedos
kernel /memdisk
append initrd=/freedos.img

The freedos.img is a gzipped VFAT image, into which you can add files (flasher tools, firmware images, just as the original idea required) after gunzipping and mounting it with:

mount -o loop /tmp/freedos.img /mnt

Don’t forget that this is currently a 1.44Mb floppy image, so you have to fit in that. Also don’t forget to gzip it after playing around with it.

You can create an autoexec.bat on the disk image also, to run the flasher tool immediately after boot, and also add some kind of a reboot tool, to allow the box to boot up after the update.

Pinky: What are we going to do tomorrow night, Brain?
Brain: The same thing we do every night, Pinky.
Pinky: What’s that?
Brain: …I have no idea.
Pinky: Poit.
Brain: Narf.

csak hogy tudjatok h mivel szopok

01:49 wigyori> akkor most jatszunk kicsit a dualxeonos cumoval amit hazahoztam
01:57 i`yyy> minek az neked?
01:57 i`yyy> persze, a dualxeon az igen
01:57 i`yyy> de kave, az nem kell!!
01:58 wigyori> a dualxeon azert kerult hozzam, edesbogyom, mert hostingban nagyon csunyan fagyogatott, valamint kb. a tizedet hozta xenes kernellel annak a teljesitmenynek, amit egy dualxeontol elvarna az ember

02:05 wigyori> ilyet en meg nem szoptam
02:05 i`yyy> na!
02:05 wigyori> acpi=off-fal hozza a megfelelo teljesitmenyt
02:05 i`yyy> o’!
02:05 wigyori> hat szopjon faszon a xen
02:05 i`yyy> meg a linux, meg a hardver gyartoja is
02:05 wigyori> intel shg2 lap
02:05 wigyori> 😀
02:05 i`yyy> ez
02:06 i`yyy> nem latszik ellentmondasban levonek az eszrevetelemmel
02:06 wigyori> 🙂
02:06 wigyori> jo
02:06 wigyori> csak errol igy feltetelezne az ember, hogy valami igenyesebb cucc
02:06 wigyori> aztan a nagy budos lofaszt
02:06 i`yyy> vagy fospumpa a linux acpiimplementacioja

02:12 wigyori> nincs ennek a telibebaszott gepnek semmi baja
02:13 wigyori> radugtam egy gagyi 300w-os tapra
02:13 wigyori> olyan vigan viszi a ket radiator xeon a -j10-es kernelforgatast meg kozben a 10 szalon iperfezest h orom nezni
02:13 wigyori> najo, egyelore, de mar legalabb 10 perce
02:14 wigyori> es miutan bent rebutolt 2 perc utan (najo, ez taphiba lesz), meg nulla teljesitmennyel agonizalt (ez meg acpi), ez nem is rossz kezdetnek!

tinydns2powerdns (trash-djbdns)

Small shellscript to migrate from tinydns to powerdns. Requires the original datafile and the zones contained in it up and running, outputs an sqldump to import into a powerdns mysql database. (DIdn’t had the time and the will to take care of every bit of tinydns’s data format.)

Script link

ethernet-over-power

*edit*
16:23 wigyori> wehehehehe
16:23 * wigyori powerlineon at kommunikal eppen
16:25 wigyori> nna, az egyszeru powerline teszt sikerult
16:25 wigyori> kineztem ket helyet a lakasban, nem torodve azzal, h van-e hosszabbito, melyik fazison van, stb
16:25 wigyori> bedugtam a ket cuccot, megtalaltak egymast, igy 340kbyte jon at
16:26 wigyori> ugyan messze van a hirdetett 250mbittol, 3mbitnek is sok, de kezdesnek nem rossz
16:27 andrej__> az nem tul sok
16:28 wigyori> valoban nem
16:28 wigyori> de ahhoz kepest, hogy az egyszeru usert emulaltam, akit kurvara nem erdekel, h miujsag az elektromos halozattal, nem rossz

flashbanner

16:52 dd`work> azer nagyon szar? 😀
16:52 dd`work> a papirtol kezdve mindent en rajzoltam rajta 😀
16:52 wigyori> nemtom
16:52 wigyori> igazabol a grafikusokat mindig tudtam ertekelni, mert ennyi kreativitas max egy kernelforrast latva van bennem

hello x11

bprov02-new:/store/trunk/build_mipsel/libX11-X11R7.1-1.0.1/ipkg-install/usr/lib#
ls -l libX11.so.6.2.0
-rwxr-xr-x 1 root root 367118 2007-01-28 12:17 libX11.so.6.2.0

bprov02-new:/store/trunk/build_mipsel/libX11-X11R7.1-1.0.1/ipkg-install/usr/lib#
file libX11.so.6.2.0
libX11.so.6.2.0: ELF 32-bit LSB shared object, MIPS, MIPS-I version 1 (SYSV), corrupted section header size

Valamire megiscsak jo egy kora reggeli ebredes 😛

hetvege

Amig fordul az uj buildrootom, van egy kis idom par osszeszedetlen gondolatra 😛

Temetes, zulles, vita, balhe, cimszavakban, avagy kb. minden up and downt sikerult besuriteni ket napba.
Indult egy temetessel penteken, osztalytarsnot temettunk. Azt, hogy mi jart a fejemben, nem reszletezem, majd mindenki szepen belegondol, hogy milyen az, amikor allsz a temetesen, ott az egesz osztaly, ismerosok, haverok, ellensegek 4-6-8 evig, es az a valaki, aki hianyzik, ottvan kozepen ket gyertya mellett.
Meglepo volt amugy, h a tarsasagbol hanyan tudtak pontosan egy temetes konkret menetet es szoveget, sok emberrol a hatteret ismerve nem felteteleztem volna.

Folytatodott egy ‘tuz fal palinka’ felkialtassal megcsinalt tuzfalkonfig utani szervezesbol szuletett palinkazassal, kis zenelessel, porkoltfozessel, kint Monoron a halal fasza utan ket kilometerrel egy vikendhazban. Csapatepitesnek kivalo volt, a sok kotelezo szarsag nelkul, meg amugy is kellett mar egy kis zulles – ja, meg reggel az a kurvajo langos a monori piacon. 😀

*kurvahosszu bekezdes baratnorol*
Volt egy hosszabb ‘mindent-megbeszelunk’ vitaestunk… ;p

Na gyerunk xorg-ot forditani, delutan meg Feszkesfehervarra a Wyse-omert 😛