Dariush Debian Diary
Diariusz Dariusza
, 06, 2004
On Myths ..This is a rant about 'common knowledge' and about how it hurts technology. You would think that what I'm talking here are wiki's...well.. maybe a bit. Wiki's posess one truly great ?thing? going on for them - they're not authoritary sources and it's very easy to correct them. And most importantly - you're generally encouraged to fix wiki articles. This results in very interesting pattern - often you'll find wiki article that describes something in great detail... and then goes on debunking previous claims by prividing correct definitions PLUS reasons for the not-totally-correct explanation that prevails. There is very well known and recurring pattern out there, small fact, like '2.4.x kernels won't compile with 3.x gcc', they are repeated few times by those that tested this, then the whole 'clergy' learns it by heart ( those that have no idea what they're talking about, but repeat what they heard/read from their 'guru'). By repeating their mantra, they enter 'inner circle' of their religion, they feel superior to the uninitiated, closer to their 'gods' etc... This are all well known ...
Last modified on
, 19, 2004
how about - squid configured with null cache, using only some memory, and oops attached to it as parent?
Last modified on
, 07, 2004
Todo fro simpad ( gpe )
Last modified on
, 17, 2004
Generic Scheduler - Design Patterns
As I'm slowly getting older, I encounter recurring problems , with perl and general practices being already decades old, one would think that there are well-tested and generic solutions.
One of those thingies is problem of generic hmm, message-scheduler or maybe switch.
You can see this in projects like alamin (sms gateway), varios MTAs, B2B solutions sending invoices, SNMP managent consoles etc..
One way of solving that is by using filesystem - aka spool directory.
Popular solution - shared space aka spool, multiple daemons handling messages - incoming, outgoing, processing...
Two mains choices - spool directory and sql table.
Requirements for spool:
Last modified on
, 08, 2004
To: mcetra@navynet.itCc: linux-kernel@vger.kernel.org Subject: Re: Production comparison between 2.4.27 and 2.6.8.1 From: rwhron@earthlink.net X-Mailing-List: linux-kernel@vger.kernel.org X-Spam: no; 0.00; comparison:01 i've:01 xfs:01 mount:01 oss:01 sgi:01 dev:01 kernel:01 linux-kernel:01 majordomo:01 vger:01 tux:01 lkml:01 faq:01 size:97 > What can I try to improve performance ? In benchmarks I've done, XFS was helped significantly by the mkfs/mount options in the XFS FAQ. (look for the dbench question). http://oss.sgi.com/projects/xfs/faq.html mkfs -t xfs -l size=32768b -f /dev/device mount -t xfs -o logbufs=8,logbsize=32768 /dev/device /mountpoint
Last modified on
, 30, 2004
Trasy Rowerowe Niedaleko Lublina
From: Piotr Kieracinski <pik@forumakad.pl> Newsgroups: pl.rec.rowery Subject: Re: TRASY ROWEROWE NIEDALEKO LUBLINA!!!!!!!!!! Piotr K. wrote: > czy znacie jakies fajne trasy na okolo 100 km moze byc troche wiecej, gdzies > szosa niedaleko lublina, jesli cos znacie to dajcie mi znac:) Proponuje na poludnie od Lublina, np. Zemborzycka do Prawidniek, dalej do Osmolic i wzdluz Bystrzycy spokojna szosa w strone Zakrzowka (unikac piwa w knajpce na rozdrozu, nie najdaje sie do picia) i dalej ku Roztoczu. W okolicach Batorza, Blizowa (tu juz dostepne znakomite lokalne janowskie piwo, warzone wg tradycyjnej receptury) mozna jechac przez Wole Galezowska w kierunku Bychawy, a stamtad przez Bychawke lokalna, wlasnie odnowiona na dluzszym odcinku szosa po lewej stronie rzeki do osmolic. Z Osmolic przez Kreznice do Lublina. Te trase mozna zrobic tez jadac za Zakrzowkiem do Modliborzyc. Ciekawe sa tez trasy w kierunku Wisly, czyli na zachod, ew. pd-zach. Mapa w garsc i do dziela! pik From: "Jacek tu_mam" <tu_mam@gazeta.SKASUJ-TO.pl> Newsgroups: pl.rec.rowery Subject: Re: TRASY ROWEROWE NIEDALEKO LUBLINA!!!!!!!!!! Piotr K. <interkas@poczta.onet.pl> napisał(a): > Siema!! > DO LUDZI Z LUBLINA!! > czy znacie jakies fajne trasy na okolo 100 km moze byc troche wiecej, gdzies > szosa niedaleko lublina, jesli cos znacie to dajcie mi znac:) Ja bym polecał trasę do Krzczonowa, czyli Krzczonowskiego parku krajobrazowego. Zeby wyszło 100km trzeba objechać kawałek tego parku, a nie tylko dojechać do tablicy z napisem "Park krajobrazowy. Można zawracać:)" Generalnie można pojechać w stronę zalewu i pojechać w stronę Prawiednik, min±ć i jechać w stronę Żabiej Woli. Potem skręcić w lewo najbliższ± wieksz± poln± drog±. Potem przez pola t± drog± można fajnie wyjechać aż do trasy Lublin - Czerniejów - Jabłonna - Piotrków i gdzie¶ koło Piotrkowa skręcić w lewo, potem lokalnymi asfaltami kierować się w stronę masztu Radia Puls, mieszkańcy okolic na pewno pomog± znaleĽć. Dalej cały czas prosto aż do skrzyżowania w jakiej¶ wsi. Tutaj w lokalnym geesie znajduje się bardzo miła pani, która sprzedaje bardzo dobre lody w przystępnej cenie nawet w niedzielę po południu. Na tym skrzyżowaniu odbija się w prawo na Krzczonów (jest tablica) i jedzie pro¶ciutko, pro¶ciutko aż do tablicy "Park Krajobrazowy". Do tego miejsca jest około 35 km, więc żeby było 100 km warto pojeĽdzić troche po okolicy.
Last modified on
, 27, 2004
Interesting Projects found on net...http://cvs.jodrell.net/index.php/gladegen Generator 'skeletal perl program' na podstawie pliku glade. http://0pointer.de/lennart/projects/seppl/ Szyfrowany IP, DUUZO prostsze od ipseckow itd itp.. np.. iptables .... -j CRYPT ... -j DECRYPT... http://www.gnu.org/software/ocrad/ocrad.html GNU OCR... http://www.olsr.org/ Optimized Link State Routing protocol ( ad-hoc networks based on IPv[46] ) http://avf.sf.net/ Filesystem in Userspace http://alexm.here.ru/transvn/ transvn - meta-patch manager ( ie, philosophy is not - you're working on a package, and then create patches from your work, but rather you're working directly on patches ) transvn
Last modified on
, 10, 2004
50 CENT (f/ Snoop Dogg, G-Unit) LYRICS P.I.M.P. (G-Unit Remix) [Chorus x2: 50 Cent] I don't know what you heard about me But a bitch can't get a dollar outta me No Cadillac, no perms, you can't see That I'm a motherfuckin' P-I-M-P [50 Cent] Now shorty, she in the club, she dancin' for dollars She got a thing for that Gucci, that Fendi, that Prada That BCBG, Burberry, Dolce & Gabbana She's feeding fools fantasies, they pay her cause they want her I spit a little G man and my game got her A hour later have that ass up in the Ramada Them trick niggaz in they ear sayin' they think about her I got the bitch by the bar tryin' to get a drink up out her She like my style, she like my smile, she like the way I talk She from the country, she like me cause I'm from New York I ain't that nigga trying to holla cause I want some head I'm that nigga tryin' to holla cause I want some bread I could care less how she perform when she in the bed Bitch hit the track, catch a date, and come pay the kid Look baby, this is simple you can't see You fuckin' with me you fuckin' with a P-I-M-P [Chorus x2: 50 Cent] [Bridge: Snoop Dogg] F-I-F-T-Y C-E-N-T and S-N double O-P Doggy style in ya mouth for the 2003 And y'all know I'm from the DPG F-I-F-T-Y C-E-N-T and S-N double O-P We internationally known and locally respected (And you know you're just a P.I.M.P) Now what you know about me [Snoop Dogg] Yeah bitch I got my Now and Later gators on I'm bout to show you how my pimp hand is way strong Your dead wrong if ya think that pimpin' gon' die Twelve piece with a hundred hoes by my side I'm down with that nigga Fifty like I down with blue Fuck cuz, nah nigga motherfuck you G-U-N-I-Tizzy, fuckin' with me and the D-P-Gizzy Niggaz in New York know how Doggy get down I got my niggaz in Queens, I got my bitches Uptown I got my business in Manhattan, I ain't fuckin' around I got some butter pecan, Puerto Ricans from the Boogie Down That's waitin' on me to return So they can snatch these braids out and put my shit in a perm, word They love it when I get to crippin' And spittin' this mag-ah-ni-ficent pimpin' [Chorus x2: 50 Cent] [Lloyd Banks] You need to switch over and ride with a star It'll get you far I'm a P-I-M-P G-A-N-G-S-T-E-R Yeah, I'm young, but I ain't dumb Got some tricks, but I ain't one I'm a guerrilla for scrilla, I trip you, you try to run I let em' do as they please, as long as they get my cheese Even if they gotta freeze, or if it's a hundred degrees I keep em' on they knees, take a look under my sleeve I ain't gotta give em' much, they happy with Mickey D's, PIMP [Young Buc] We keep it pimpin' in the South, you know how it go (Dirty, Dirty) We drive old school white walls with mink clothes I spin the G-Unit piece, and get em' dizzy Man cough up your love, or you're girl comin' with me When your neck and wrist glow, she already should know That money make the world go round, so lets get mo' Its time to show these playas how it should be done You got pimp protection, you're mic could be one, G-UNIT [Chorus x2: 50 Cent] [50 Cent speaking] In Hollywood, they say there no b'ness like show b'ness In the hood, they say, theres no b'ness like ho b'ness They say I talk a lil' fast, but if you listen a lil' faster I ain't got to slow down for you to catch up, BITCH [ www.LyricsTop.com ]
Last modified on
, 17, 2004
Cool Linux Game of The DayLast modified on
, 03, 2004
18:04 <@muppet> to compile perl extensions on windows 18:04 <@muppet> you need the same compiler that was used to build perl 18:04 <@muppet> with activestate's perl, that's msvc's cl.exe 18:04 <@muppet> there's a free non-optimizing version of msvc available from microsoft's website. 18:05 <@muppet> you'll need also to get the platform sdk, because perl.h wants windows.h (memory, threads, and process management) 18:05 < eyck> oh my, that's hours and hours of searching the net and downloading stuff, sounds like fun. 18:05 <@muppet> if you have that, and the libglade win32 binaries, and the development headers for all of the gtk+/glade stuff, compiling the Gtk2::GladeXML extension is really easy. 18:05 <@muppet> not that much, i found the links for whitewindow in about five minutes 18:06 <@muppet> i don't have a windows pc here to do it on for myself, though. 18:07 <@muppet> how to get the free msvc7 compiler, with examples of compiling a perl module: http://howtos.beaucox.com/win32-vc7-compiler.html 18:08 <@muppet> all-in-one installer for gtk+, glade, and libglade on win32: http://gladewin32.sourceforge.net/ 18:09 <@muppet> whitewindow's Gtk2-Perl binaries: http://lists.gnome.org/archives/gtk-perl-list/2004-June/msg00182.html
Last modified on
, 16, 2004
DropbearOn uwoo server runs dropbear 0.41:
ghost eyck 11:20 ~/ >time ssh uwoo echo ssh uwoo echo 0.03s user 0.00s system 18% cpu 0.161 total ghost eyck 11:20 ~/ >time ssh uwoo echo ssh uwoo echo 0.04s user 0.00s system 22% cpu 0.182 totalOn uwoo server runs openssh 3.4:
ghost eyck 11:20 ~/ >time ssh uwoo echo ssh uwoo echo 0.10s user 0.02s system 15% cpu 0.770 total ghost eyck 11:21 ~/ >time ssh uwoo echo ssh uwoo echo 0.12s user 0.01s system 21% cpu 0.597 totalglibc-based woody with dropbear 0.41:
ghost eyck 11:28 ~ >time ssh dev echo ssh dev echo 0.02s user 0.02s system 16% cpu 0.244 total ghost eyck 11:39 ~ >time ssh dev echo ssh dev echo 0.04s user 0.00s system 25% cpu 0.160 total ghost eyck 11:39 ~ >time ssh dev echo ssh dev echo 0.03s user 0.00s system 17% cpu 0.172 total ghost eyck 11:39 ~ >time ssh dev echo ssh dev echo 0.02s user 0.01s system 17% cpu 0.172 totalglibc-based woody with openssh 3.4:
ghost eyck 11:39 ~ >time ssh dev echo ssh dev echo 0.13s user 0.00s system 33% cpu 0.387 total ghost eyck 11:40 ~ >time ssh dev echo ssh dev echo 0.11s user 0.00s system 27% cpu 0.403 total ghost eyck 11:40 ~ >time ssh dev echo ssh dev echo 0.09s user 0.00s system 23% cpu 0.382 total ghost eyck 11:40 ~ >
Last modified on
, 09, 2004
# robots.txt for http://www.johnbokma.com/
User-agent: * Disallow:
Last modified on
, 05, 2004
BSD - Bastard patcheset for Linux kernel. 2.4.26-bsd21kWed Jun 2 20:37:54 CEST 2004 21k is now ready/in testing https://ghost.anime.pl/~eyck/Projects/bsd/21k/, contains
This time around I'll probably release debian kernel packages compiles with gcc : 2.95, 3.3.3, 3.4.0 with and without space-conserving optimisations (-Os)
NOTE: -Os brakes stuff, for example, usbcore no longer works
unresolved symbol memcmp
with 3.4.0 I still have those problems:
/lib/modules/2.4.26-bsd21k/kernel/fs/ocfs/ocfs.o: /lib/modules/2.4.26-bsd21k/kernel/fs/ocfs/ocfs.o: unresolved symbol ocfs_version /lib/modules/2.4.26-bsd21k/kernel/net/khttpd/khttpd.o: /lib/modules/2.4.26-bsd21k/kernel/net/khttpd/khttpd.o: unresolved symbol tcp_v4_md5_lookupTo be investigated...
Last modified on
Where am i? cd..
ghost eyck 23:43 . >pwd . ghost eyck 23:43 . > ghost eyck 23:44 . >bash eyck@ghost:/fs/dat/pub/incoming/hm$ exit ghost eyck 23:44 . >pwd . ghost eyck 23:44 . >bash eyck@ghost:/fs/dat/pub/incoming/hm$ exit ghost eyck 23:45 . >cd .. ghost eyck 23:45 . >ls eyck marcinm rawel ghost eyck 23:45 . >pwd . ghost eyck 23:45 . >cd .. ghost eyck 23:45 . >pwd . ghost eyck 23:45 . >ls eyck marcinm rawel ghost eyck 23:45 . >cd .. ghost eyck 23:45 . >ls eyck marcinm rawel ghost eyck 23:45 . > ghost eyck 23:46 . >pwd . ghost eyck 23:46 . >cd .. ghost eyck 23:46 . >pwd . ghost eyck 23:46 . >
eyck@ghost:.$ pwd . eyck@ghost:.$ pwd . eyck@ghost:.$ cd .. eyck@ghost:..$ pwd .. eyck@ghost:..$
ghost eyck 0:00 . >pwd . ghost eyck 0:00 . >cd .. ghost eyck 0:01 . >cd .. ghost eyck 0:01 . >cd .. ghost eyck 0:01 . >pwd . declare -x OLDPWD declare -x PATH="/home/eyck/bin:/home/eyck/bin:/home/eyck/bin:/home/eyck/bin:/home/eyck/bin:/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/usr/bin" declare -x PS1="\\u@\\h:\\w\\\$ " declare -x PWD="."
export OLDPWD="/tmp" eyck@ghost:..$ pwd .. eyck@ghost:..$ cd .. eyck@ghost:../..$ cd .. eyck@ghost:../../..$ pwd ../../.. eyck@ghost:../../..$ cd .. eyck@ghost:../../../..$ cd .. eyck@ghost:../../../../..$ cd .. eyck@ghost:../../../../../..$ cd .. eyck@ghost:../../../../../../..$ cd .. eyck@ghost:../../../../../../../..$ cd .. eyck@ghost:../../../../../../../../..$ cd .. eyck@ghost:../../../../../../../../../..$ cd .. eyck@ghost:../../../../../../../../../../..$ cd .. eyck@ghost:../../../../../../../../../../../..$ cd .. eyck@ghost:../../../../../../../../../../../../..$ cd .. eyck@ghost:../../../../../../../../../../../../../..$ cd .. eyck@ghost:../../../../../../../../../../../../../../..$
Last modified on
, 04, 2004
Where The F*k Am I:ghost eyck 23:42 . >pwd . ghost eyck 23:42 . >zsh ghost eyck 23:42 . >pwd . ghost eyck 23:42 . >zsh ghost eyck 23:42 . >pwd . ghost eyck 23:42 . > ghost eyck 23:43 . >bash eyck@ghost:.$ pwd . eyck@ghost:.$ zsh ghost eyck 23:43 . >pwd . ghost eyck 23:43 . >cd .. ghost eyck 23:43 . >pwd . ghost eyck 23:43 . >
Last modified on
, 26, 2004
Scotty Doesn't Know Lyrics
Artist: Lustra Lyrics Song: Scotty Doesn't Know Lyrics Scotty doesn't know that Fiona and me Do it in my van every Sunday. She tells him she's in church but she doesn't go Still she's on her knees and Scotty doesn't know! Oh Scotty doesn't know! So Don't Tell Scotty! Scotty doesn't know! Scotty doesn't know! So Don't Tell Scotty! Fiona says she's out shopping, But she's under me and I'm not stopping... Because Scotty doesn't know! Scotty doesn't know! (X3) So don't tell Scooty! Scotty doesn't know! I can't believe he's so trusting, While I'm right behind you thrusting. Fiona's got him on the phone, And she's trying not to moan. It's a three-way call and he knows nothing! nothing... Scotty doesn't know!(X3) So don't tell Scotty! because Scotty doesn't know! (Scotty doesn't know!X2) We'll put on a show! Everyone will go! Scotty doesn't know! Scotty doesn't know! the parking lot? Why not? It's so fun when you're on top! It's full on in the snow If it's a hunk(?) because Scotty doesn't know! We did it on his birthday... Scotty doesn't know!(X4) Scotty doesn't know! Scotty won't know! Scotty doesn't know! Scotty's gotta know! Gotta tell Scotty! Gotta tell him myself! Scotty doesn't know! (X10) [Chant] Scotty doesn't know! [Chant] Scotty's gotta go!
Last modified on
, 03, 2004
Why XFS
Motto: quoting xfs whitepaper from 1996 usenix conference: With today's 9 gigabyte disk drives it only takes 112 disk drives to surpass 1 terabyte of storage capacity (emphasis mine). http://oss.sgi.com/projects/xfs/papers/xfs_usenix/index.html
XFS: eXtended File System (SGI, Unix, Windows)
What are 'journaled filesystems': filesystems with journal.
data=journalLast modified on
GPRSLast modified on
, 02, 2004
Devices needed for vserver operation/dev/random ( needed for crypto, supposedly is safe to put inside vservers, because it can't be used to brake random pool, ie - you can update pool, but not in a way that could harm entrophy or sth..) /dev/tty ( used by lots of perly stuff and more ) /dev/null ( some stuff needs it, especially sh scripts )
Last modified on
, 20, 2004
http://aleron.dl.sourceforge.net/sourceforge/statifier/statifier-1.2.0.tar.gz packs dynamically-linked binary+libraries into single file,
Last modified on
, 14, 2004
BSD - Bastard patcheset for Linux kernel. 2.4.26-bsd21cWed Apr 14 21:42:00 CEST 2004 Todays release (21c), https://ghost.anime.pl/~eyck/Projects/bsd/21c/, is based on recently released 2.4.26 contains
In file included from gamma_drv.c:34: drmP.h:180: redefinition of `__cmpxchg' /home/eyck/bsd/patches/21b/work/linux-2.4.26/include/asm/system.h:245: `__cmpxchg' previously defined here make[4]: *** [gamma_drv.o] Error 1 make[4]: Leaving directory `/home/eyck/bsd/patches/21b/work/linux-2.4.26/drivers/char/drm
Also, together with patchset I prepare 'default' kernel, which configuration is based on debian kernels. This time around I added strangely missing pcmcia-support, and enabled advanced routing ( multipath ... )..
Last modified on
, 08, 2004
SQL> select table_name from sys.all_all_tables;
Last modified on
, 07, 2004
Moje bledy w ITP>Package: wnpp >Version: N/A; reported 2004-04-03 >Severity: wishlist > >* Package name : daemontools > Version : 0.76 > Upstream Author : Daniel J. Bernstein>* URL : http://cr.yp.to/daemontools.html >* License : Public Domain > Description : 'daemontools' is a collection of tools for starting, restarting, stopping, monitoring and logging *nix services. Don't include the name of the package in the short description. Also, this short description has more than 80 chars. This violates Debian's Policy. See [0]. Please retitle bug report #241936. See [1] for more information. Could you please post the extended description as well? At [2] you are asked to give more information about the package after the description line. [0] http://www.debian.org/doc/debian-policy/ch-binary.html#s-synopsis [1] http://www.debian.org/Bugs/server-control [2] http://www.debian.org/devel/wnpp/ >-- System Information >Debian Release: 3.0 >Architecture: i386 >Kernel: Linux ghost 2.4.25-bsd19b #1 Wed Mar 24 16:06:48 CET 2004 i686 >Locale: LANG=C, LC_CTYPE=pl_PL Anibal Monsalve Salazar -- .''`. Debian GNU/Linux | Building 28C : :' : Free Operating System | Monash University VIC 3800, Australia `. `' http://debian.org/ | http://www-personal.monash.edu/~anibal/ `- |
Last modified on
, 06, 2004
OpenSSL: AthlonXP (1500) 1800+ vs Celeron 2200 vs Celeron 2400I don't understand those results, both celerons should've wipe the floor with athlon. what's wrong?
Athlon XP 1800+, 256K l2:
OpenSSL 0.9.6c 21 dec 2001
built on: Tue Sep 30 23:23:28 UTC 2003
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx)
compiler: gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DNO_IDEA -DNO_MDC2 -DNO_RC5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall
The 'numbers' are in 1000s of bytes per second processed.
type 8 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
md2 1198.35k 3340.17k 4471.35k 4932.39k 5104.01k
mdc2 0.00 0.00 0.00 0.00 0.00
md4 19184.45k 103412.42k 207044.36k 278457.73k 310512.16k
md5 7463.02k 33011.00k 56534.50k 69522.13k 73994.52k
hmac(md5) 3291.38k 19433.39k 42972.79k 63515.93k 73229.72k
sha1 8527.84k 36694.99k 62432.31k 74854.76k 80491.23k
rmd160 6439.32k 28179.11k 47746.54k 57553.36k 61786.14k
rc4 74941.39k 87039.38k 88547.06k 88994.47k 89761.70k
des cbc 11486.46k 12486.61k 12597.53k 12559.02k 12637.12k
des ede3 4333.14k 4419.38k 4493.84k 4454.06k 4442.79k
idea cbc 0.00 0.00 0.00 0.00 0.00
rc2 cbc 12951.76k 13847.00k 14034.13k 13918.21k 12872.59k
rc5-32/12 cbc 0.00 0.00 0.00 0.00 0.00
blowfish cbc 35664.40k 45785.82k 45912.16k 46875.60k 47337.07k
cast cbc 21187.18k 23367.26k 22436.34k 24646.65k 25206.59k
sign verify sign/s verify/s
rsa 512 bits 0.0015s 0.0001s 648.4 8297.9
rsa 1024 bits 0.0082s 0.0004s 121.2 2531.7
rsa 2048 bits 0.0521s 0.0014s 19.2 728.9
rsa 4096 bits 0.3187s 0.0045s 3.1 222.8
sign verify sign/s verify/s
dsa 512 bits 0.0014s 0.0017s 703.8 579.0
dsa 1024 bits 0.0042s 0.0052s 240.4 193.2
dsa 2048 bits 0.0134s 0.0167s 74.6 59.9
Last modified on
, 04, 2004
Daemontools, On latest llug/guruhttp://guru.open-source.pl(linux/uxin users groups) meeting simon&mocart presented alternative dns servers. Of course one of them was djbdns, which uses daemontools. ...yada yada yada... http://freshmeat.net/projects/libowfat/
Last modified on
, 29, 2004
Modify Mouse Speed in Xfree86..xset m 6
Last modified on
, 19, 2004
BSD - Bastard patcheset for Linux kernelStable release (18a) http://eyck.forumakad.pl/Projects/bsd/18a/, is just 17j renamed, there were no issues found with 17j.
Last modified on
, 17, 2004
Subversion upgrade 0.33 -> 1.0.1( error message : "
(20014)Error string not specified yet: Expected version '3' of repository; found version '2' Could not fetch resource information. [500, #0] Could not open the requested SVN filesystem [500, #165005] (84)Invalid or incomplete multibyte or wide character: Could not open the requested SVN filesystem [500, #165005]" )
svnadmin-0.33.0-0.backports.org.1 dump /var/lib/svn/ > svn.0.33.dumpNow it's ideal time for:
cat svn.0.33.dump | svndumpfilter exclude diskspace.hogging.test.repository |gzip -1 > svn.0.33.dump.without.sht.gzAnd now, for the grand finale:
svnadmin create /var/lib/svn cat svn.0.33.dump | svnadmin load /var/lib/svn/
Last modified on
, 15, 2004
S/MIME in mutt,
smime_keys -init
Last modified on
, 14, 2004
Vserver related resourcesLast modified on
, 13, 2004
Filesystem for squid.For xfs, try this:
/dev/hde3 on /var/spool type xfs (rw,noexec,nosuid,noatime,osyncisdsync)But supposedly the best fs for squid is reiserfs, and you may like those options:
reiserfs (rw,noexec,nosuid,nodev,noatime,nodiratime,notail,block-allocator=noborder)Nice thing to remember is that squid is very HDD intensive application, so it's rather unwise to run in on anything slower then SCSI (like you can see above I'm running it ;) is asking for trouble... and dumb.
You should also consider oops instead of squid for following reasons:
oopsctl stat provides hot stats in nice format
Last modified on
, 10, 2004
BSD - Bastard patcheset for Linux kernelTodays release (17i), http://eyck.forumakad.pl/Projects/bsd/17i/ contains
Last modified on
BSD - Bastard patcheset for Linux kernelTodays release (17h), http://eyck.forumakad.pl/Projects/bsd/17h/ contains
Last modified on
BSD - Bastard patcheset for Linux kernelTodays release (17f), https://ghost.anime.pl/~eyck/Projects/bsd/17f/ contains
11:51 < Bertl> eyck: it seems that some parts of the netpoll api ahve sneaked in for the following cards: 11:52 < Bertl> net/8139cp.c, net/b44.c, e1000/e1000, net/gt64240eth.c, net/mv64340, net/tg3.cthus, you should be cautious with using this feature on those cards.
Last modified on
, 09, 2004
Timeout....
val {
local $SIG{ALRM} = sub { die "alarm timeout" };
local $SIG{__DIE__} = sub { alarm 0; die @_ };
alarm $timeout;
# operation you're waiting on which might die()
# in the grandparent post, this was
# $line=<$child>
alarm 0; # cancel the alarm
};
die $@ if $@ && $@ !~ /alarm timeout/;
if ($@) {
# Whatever you want on an alarm timeout
}
( from perlmonks post by fizbin ):w
Last modified on
, 08, 2004
BSD - Bastard patchset for Linux,Release (17e), https://ghost.anime.pl/~eyck/Projects/bsd/17e/ contains
Last modified on
, 04, 2004
Running Amavis on woody with exim3 and clamav/clamscandeb http://www.backports.org/debian woody amavis-ng deb http://www.backports.org/debian woody clamav #clamav: deb http://people.debian.org/~aurel32/BACKPORTS stable main
apt-get install amavisd-new clamavis-daemonFor exim.conf: trusted_users = mail:amavis . . . . amavis_smtp: driver = smtp hosts = localhost port = 10024 allow_localhost hosts_override end ###################################################################### # DIRECTORS CONFIGURATION # # Specifies how local addresses are handled # ###################################################################### # ORDER DOES MATTER # # A local address is passed to each in turn until it is accepted. # ###################################################################### amavis_director: condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}" driver = smartuser transport = amavis_smtp verify = false . . . . ###################################################################### # ROUTERS CONFIGURATION # # Specifies how remote addresses are handled # ###################################################################### # ORDER DOES MATTER # # A remote address is passed to each in turn until it is accepted. # ###################################################################### amavis_router: condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}" driver = domainlist transport = amavis_smtp verify = false route_list = * localhost byname self = send uncomment exim3 settings from amavisd-new, restart it.. optionally comment out spamassassin-disabling line..
Last modified on
, 02, 2004
Things missing from vserver... or sth like that
Last modified on
Zones in Solaris10
TODO: prepare similiar tools for vserver,
From: John Beck
Last modified on
, 01, 2004
Remote Filesysemts, Network filesystems
those include: nfs, webdav, sshfs, openafs, coda, etc etc...
Usefull stuff for nfs:
mount options: rsize=8192,wsize=8192 ( default is 1024 and makes nfs slow, but is required for old nfsv2 servers )
soft ( soft If an NFS file operation has a major timeout then report an I/O error to the calling program. The default is to continue retrying NFS file operations indefinitely.
), hard is very very very bad when your nfs server dies ( or if network dies )
intr If an NFS file operation has a major timeout and it is hard mounted, then allow signals to interupt the file operation and cause it to return EINTR to the calling program. The default is to not allow file operations
to be interrupted.
retry=n The number of minutes to retry an NFS mount operation in the foreground or background before giving up. The default value is 10000 minutes, which is roughly one week.
http://www.fs.net/
Last modified on
Filesystem Translucencyaka Stackable Filesystems.. aka ... exists in stable *BSDs for years as mount option.. http://www.almesberger.net/epfl/ifs.html
Last modified on
, 26, 2004
Using LVMALWAYS create your VGs with -i 32 ( 32M physical extents ), this allows for 2TB size arrays, with default you get only 256G.
Last modified on
, 23, 2004
Wonderfull world of redhats: apt-rpmlftp apt-rpm.tuxfamily.org:~/apt/redhat/9/en/i386/RPMS.extra> ls -rw-r--r-- 1 nobody nogroup 873124 Apr 16 2003 apt-0.5.5cnc5-fr2.i386.rpm -rw-r--r-- 1 nobody nogroup 527526 Apr 16 2003 apt-devel-0.5.5cnc5-fr2.i386.rpm
Last modified on
, 19, 2004
Nice HT cpu...
23:55:41 up 51 min, 6 users, load average: 1,89, 1,03, 0,41
64 processes: 63 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0,9% 0,0% 0,9% 0,0% 0,0% 97,5% 0,4%
cpu00 0,0% 0,0% 0,0% 0,0% 0,0% 99,0% 0,9%
cpu01 1,9% 0,0% 1,9% 0,0% 0,0% 96,0% 0,0%
Mem: 4898936k av, 2008884k used, 2890052k free, 0k shrd, 56324k buff
210656k active, 1694256k inactive
Swap: 2097096k av, 0k used, 2097096k free 1773252k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
1303 root 22 0 74724 72M 6344 D 1,4 1,5 0:42 1 yum
160 root 15 0 0 0 0 DW 0,4 0,0 0:00 1 kjournald
1 root 15 0 460 460 412 S 0,0 0,0 0:04 0 init
2 root RT 0 0 0 0 SW 0,0 0,0 0:00 0 migration/0
3 root RT 0 0 0 0 SW 0,0 0,0 0:00 1 migration/1
4 root 15 0 0 0 0 SW 0,0 0,0 0:00 1 keventd
5 root 34 19 0 0 0 SWN 0,0 0,0 0:00 0 ksoftirqd/0
6 root 34 19 0 0 0 SWN 0,0 0,0 0:00 1 ksoftirqd/1
9 root 25 0 0 0 0 SW 0,0 0,0 0:00 1 bdflush
7 root 15 0 0 0 0 SW 0,0 0,0 0:00 0 kswapd
8 root 15 0 0 0 0 SW 0,0 0,0 0:00 1 kscand
10 root 15 0 0 0 0 SW 0,0 0,0 0:00 0 kupdated
11 root 25 0 0 0 0 SW 0,0 0,0 0:00 0 mdrecoveryd
17 root 15 0 0 0 0 SW 0,0 0,0 0:00 1 ahc_dv_0
18 root 15 0 0 0 0 SW 0,0 0,0 0:00 0 ahc_dv_1
19 root 25 0 0 0 0 SW 0,0 0,0 0:00 0 scsi_eh_0
20 root 25 0 0 0 0 SW 0,0 0,0 0:00 0 scsi_eh_1
24 root 15 0 0 0 0 SW 0,0 0,0 0:00 1 kjournald
79 root 25 0 0 0 0 SW 0,0 0,0 0:00 1 khubd
156 root 15 0 0 0 0 SW 0,0 0,0 0:00 1 kjournald
157 root 15 0 0 0 0 SW 0,0 0,0 0:00 1 kjournald
158 root 15 0 0 0 0 SW 0,0 0,0 0:00 0 kjournald
159 root 15 0 0 0 0 SW 0,0 0,0 0:00 0 kjournald
834 root 15 0 612 612 532 S 0,0 0,0 0:00 1 syslogd
838 root 15 0 460 460 404 S 0,0 0,0 0:00 1 klogd
848 root 15 0 444 444 388 S 0,0 0,0 0:00 0 irqbalance
865 rpc 17 0 584 584 508 S 0,0 0,0 0:00 1 portmap
884 rpcuser 25 0 740 740 660 S 0,0 0,0 0:00 1 rpc.statd
1048 root 23 0 896 896 780 S 0,0 0,0 0:00 0 xinetd
1112 root 15 0 616 616 548 S 0,0 0,0 0:00 0 crond
1155 daemon 15 0 560 560 500 S 0,0 0,0 0:00 1 atd
1169 root 15 0 1004 1004 808 S 0,0 0,0 0:00 0 login
1170 root 15 0 1012 1012 808 S 0,0 0,0 0:00 0 login
1172 root 23 0 428 428 380 S 0,0 0,0 0:00 1 mingetty
1173 root 20 0 428 428 380 S 0,0 0,0 0:00 1 mingetty
1174 root 20 0 432 432 380 S 0,0 0,0 0:00 0 mingetty
1175 root 15 0 1360 1360 1152 S 0,0 0,0 0:00 1 bash
1244 root 17 0 1368 1368 1160 S 0,0 0,0 0:00 0 bash
1313 root 18 0 2016 2016 1668 S 0,0 0,0 0:00 0 sshd
1315 eyck 15 0 2500 2500 2112 S 0,0 0,0 0:00 0 sshd
1316 eyck 15 0 1344 1344 1140 S 0,0 0,0 0:00 1 bash
1419 root 19 0 964 964 792 S 0,0 0,0 0:00 1 su
1420 root 15 0 1364 1364 1156 S 0,0 0,0 0:00 0 bash
1730 root 16 0 428 428 380 S 0,0 0,0 0:00 1 mingetty
1732 root 15 0 976 976 800 S 0,0 0,0 0:00 1 su
1733 root 15 0 1368 1368 1160 S 0,0 0,0 0:00 1 bash
1967 root 15 0 2012 2012 1668 S 0,0 0,0 0:00 1 sshd
1969 sinica 15 0 2232 2232 1852 S 0,0 0,0 0:00 0 sshd
1970 sinica 24 0 1340 1340 1140 S 0,0 0,0 0:00 1 bash
2012 root 22 0 976 976 800 S 0,0 0,0 0:00 0 su
2013 root 15 0 1368 1368 1156 S 0,0 0,0 0:00 0 bash
2075 root 15 0 972 972 800 S 0,0 0,0 0:00 0 su
2076 root 15 0 1368 1368 1160 S 0,0 0,0 0:00 1 bash
2145 root 17 0 2016 2016 1668 S 0,0 0,0 0:00 0 sshd
2147 eyck 15 0 2476 2476 2084 S 0,0 0,0 0:00 1 sshd
2148 eyck 15 0 1340 1340 1140 S 0,0 0,0 0:00 1 bash
2216 root 15 0 1508 1508 1276 S 0,0 0,0 0:00 0 sshd
2256 root 18 0 2008 2008 1660 S 0,0 0,0 0:00 0 sshd
2263 sinica 15 0 2244 2244 1844 S 0,0 0,0 0:00 1 sshd
2264 sinica 24 0 1336 1336 1140 S 0,0 0,0 0:00 0 bash
2318 root 22 0 988 988 808 S 0,0 0,0 0:00 1 su
2364 root 24 0 1348 1348 1140 S 0,0 0,0 0:00 1 bash
2741 root 15 0 1120 1120 896 S 0,0 0,0 0:00 0 top
3336 eyck 20 0 1096 1096 888 R 0,0 0,0 0:00 0 top
[eyck@ora10 eyck]$
[eyck@ora10 eyck]$ ls
debootstrap-0.2.23-1.i386.rpm
[eyck@ora10 eyck]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 5
cpu MHz : 3056.609
cache size : 512 KB
physical id : 3
siblings : 2
runqueue : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 6094.84
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 5
cpu MHz : 3056.609
cache size : 512 KB
physical id : 3
siblings : 2
runqueue : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 6107.95
[eyck@ora10 eyck]$
ording to the ACPI table
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: COMPAQ Product ID: PROLIANT APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
I/O APIC #3 Version 17 at 0xFEC01000.
I/O APIC #4 Version 17 at 0xFEC02000.
I/O APIC #5 Version 17 at 0xFEC03000.
Processors: 2
xAPIC support is present
Enabling APIC mode: Flat. Using 4 I/O APICs
Kernel command line: ro root=LABEL=/
Initializing CPU#0
Detected 3056.609 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 6094.84 BogoMIPS
Memory: 4894152k/5242876k available (1683k kernel code, 81944k reserved, 1318k data, 224k init, 4063204k highmem)
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode cache hash table entries: 524288 (order: 10, 4194304 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 524288 (order: 9, 2097152 bytes)
Page-cache hash table entries: 1048576 (order: 10, 4194304 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: L3 cache: 1024K
CPU: Physical Processor ID: 3
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: L3 cache: 1024K
CPU: Physical Processor ID: 3
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU0: Intel(R) Xeon(TM) CPU 3.06GHz stepping 05
per-CPU timeslice cutoff: 1462.67 usecs.
task migration cache decay timeout: 10 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/7 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 6107.95 BogoMIPS
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: L3 cache: 1024K
CPU: Physical Processor ID: 3
Intel machine check reporting enabled on CPU#1.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU1: Intel(R) Xeon(TM) CPU 3.06GHz stepping 05
Total of 2 processors activated (12202.80 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
Setting 3 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 3 ... ok.
Setting 4 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 4 ... ok.
Setting 5 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 5 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 3-0, 3-1, 3-2, 3-3, 3-4, 3-5, 3-6, 3-7, 3-8, 3-9, 3-10, 3-11, 3-12, 3-13, 3-14, 3-15, 4-0, 4-1, 4-2, 4-3, 4-4, 4-5, 4-6, 4-7, 4-8, 4-9, 4-10, 4-11, 4-12, 4-13, 4-14, 4-15, 5-0, 5-1, 5-2, 5-3, 5-4, 5-5, 5-6, 5-7, 5-8, 5-9, 5-10, 5-11, 5-12,
5-13, 5-14, 5-15 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 16.
number of IO-APIC #2 registers: 16.
number of IO-APIC #3 registers: 16.
number of IO-APIC #4 registers: 16.
number of IO-APIC #5 registers: 16.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 02000000
....... : arbitration: 02
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 31
03 003 03 0 0 0 0 0 1 1 41
04 003 03 0 0 0 0 0 1 1 49
05 003 03 1 1 0 1 0 1 1 51
06 003 03 0 0 0 0 0 1 1 59
07 003 03 0 0 0 0 0 1 1 61
08 003 03 0 0 0 0 0 1 1 69
09 003 03 1 1 0 1 0 1 1 71
0a 003 03 1 1 0 1 0 1 1 79
0b 003 03 1 1 0 1 0 1 1 81
0c 003 03 0 0 0 0 0 1 1 89
0d 003 03 0 0 0 0 0 1 1 91
0e 003 03 0 0 0 0 0 1 1 99
0f 003 03 1 1 0 1 0 1 1 A1
IO APIC #3......
.... register #00: 03000000
....... : physical APIC id: 03
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 03000000
....... : arbitration: 03
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 000 00 1 0 0 0 0 0 0 00
02 000 00 1 0 0 0 0 0 0 00
03 000 00 1 0 0 0 0 0 0 00
04 000 00 1 0 0 0 0 0 0 00
05 000 00 1 0 0 0 0 0 0 00
06 000 00 1 0 0 0 0 0 0 00
07 000 00 1 0 0 0 0 0 0 00
08 000 00 1 0 0 0 0 0 0 00
09 000 00 1 0 0 0 0 0 0 00
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 000 00 1 0 0 0 0 0 0 00
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 1 0 0 0 0 0 0 00
0f 000 00 1 0 0 0 0 0 0 00
IO APIC #4......
.... register #00: 04000000
....... : physical APIC id: 04
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 04000000
....... : arbitration: 04
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 000 00 1 0 0 0 0 0 0 00
02 000 00 1 0 0 0 0 0 0 00
03 000 00 1 0 0 0 0 0 0 00
04 000 00 1 0 0 0 0 0 0 00
05 000 00 1 0 0 0 0 0 0 00
06 000 00 1 0 0 0 0 0 0 00
07 000 00 1 0 0 0 0 0 0 00
08 000 00 1 0 0 0 0 0 0 00
09 000 00 1 0 0 0 0 0 0 00
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 000 00 1 0 0 0 0 0 0 00
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 1 0 0 0 0 0 0 00
0f 000 00 1 0 0 0 0 0 0 00
IO APIC #5......
.... register #00: 05000000
....... : physical APIC id: 05
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 05000000
....... : arbitration: 05
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 000 00 1 0 0 0 0 0 0 00
02 000 00 1 0 0 0 0 0 0 00
03 000 00 1 0 0 0 0 0 0 00
04 000 00 1 0 0 0 0 0 0 00
05 000 00 1 0 0 0 0 0 0 00
06 000 00 1 0 0 0 0 0 0 00
07 000 00 1 0 0 0 0 0 0 00
08 000 00 1 0 0 0 0 0 0 00
09 000 00 1 0 0 0 0 0 0 00
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 000 00 1 0 0 0 0 0 0 00
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 1 0 0 0 0 0 0 00
0f 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 3056.5464 MHz.
..... host bus clock speed is 132.8931 MHz.
cpu: 0, clocks: 1328931, slice: 442977
CPU0
cpu: 1, clocks: 1328931, slice: 442977
CPU1
cpu_sibling_map[0] = 1
cpu_sibling_map[1] = 0
mapping CPU#0's runqueue to CPU#1's runqueue.
zapping low mappings.
Process timing init...done.
Starting migration thread for cpu 0
Starting migration thread for cpu 1
PCI: PCI BIOS revision 2.10 entry at 0xf0094, last bus=13
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 00:0f.1
PCI: Discovered peer bus 01
PCI: Discovered peer bus 02
PCI: Device 00:00 not found by BIOS
PCI: Device 00:01 not found by BIOS
PCI: Device 00:02 not found by BIOS
PCI: Device 00:78 not found by BIOS
PCI: Device 00:7b not found by BIOS
PCI: Device 00:80 not found by BIOS
PCI: Device 00:82 not found by BIOS
PCI: Device 00:88 not found by BIOS
PCI: Device 00:8a not found by BIOS
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS not found.
Total HugeTLB memory allocated, 0
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
aio_setup: num_physpages = 327679
aio_setup: sizeof(struct page) = 60
Hugetlbfs mounted.
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 256 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SvrWks CSB5: IDE controller at PCI slot 00:0f.1
SvrWks CSB5: chipset revision 147
SvrWks CSB5: not 100% native mode: will probe irqs later
SvrWks CSB5: simplex device: DMA forced
ide0: BM-DMA at 0x2000-0x2007, BIOS settings: hda:pio, hdb:pio
SvrWks CSB5: simplex device: DMA forced
ide1: BM-DMA at 0x2008-0x200f, BIOS settings: hdc:pio, hdd:pio
hda: COMPAQ CD-ROM SC-148C, ATAPI CD/DVD-ROM drive
hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hda: set_drive_speed_status: error=0x04
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide-floppy driver 0.99.newide
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 65536 buckets, 512Kbytes
TCP: Hash tables configured (established 524288 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
Initializing IPsec netlink socket
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 335k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
Starting timer : 0 0
blk: queue f7fc4a18, I/O limit 524287Mb (mask 0x7fffffffff)
Starting timer : 0 0
HP CISS Driver (v 2.4.47.RH1)
cciss: Device 0x46 has been found at bus 2 dev 1 func 0
blocks= 142253280 block_size= 512
heads= 255, sectors= 32, cylinders= 17433 RAID 1(0+1)
blk: queue c04f99a0, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
Partition check:
cciss/c0d0: p1 p2 p3 p4 < p5 p6 p7 p8 >
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 224k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xf88c4000, IRQ 11
usb-ohci.c: usb-00:0f.2, ServerWorks OSB4/CSB5 OHCI USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 4 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,1), internal journal
Adding Swap: 2097096k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
IA-32 Microcode Update Driver: v1.11
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
inserting floppy driver for 2.4.21-4.ELsmp
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
tg3.c:v2.2 (August 24, 2003)
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(NA) rev 1002 PHY(5703)] (PCI:66MHz:64-bit) 10/100/1000BaseT Ethernet 00:0e:7f:2e:d2:36
divert: freeing divert_blk for eth0
ip_tables: (C) 2000-2002 Netfilter core team
tg3.c:v2.2 (August 24, 2003)
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(NA) rev 1002 PHY(5703)] (PCI:66MHz:64-bit) 10/100/1000BaseT Ethernet 00:0e:7f:2e:d2:36
ip_tables: (C) 2000-2002 Netfilter core team
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
lp0: console ready
loop: loaded (max 8 devices)
Last modified on
, 17, 2004
Running with VPNs...
Last modified on
, 12, 2004
Installing Oracle Xi/10g on Woody
apt-get install make rpm binutils gcc
ln -s /usr/bin/awk /bin/awk
ln -s /usr/bin/rpm /bin/rpm
It's also nice to go and tasksel -> c/c++ development
root@ox $ cat > /etc/redhat-release
Red Hat Linux release 2.1 (drupal)
^D
eyck@ox $ sqlplus
Enter user-name: eyck@OX
Enter password:
Connected to:
Oracle Database 10g Release 10.1.0.2.0 - Production
Last modified on
Installing oracle 9i on woody,
I. DEBIAN GNU/LINUX ENVIRONMENT SETUP
Steps to perform as root for setting up Oracle installation environment:
a. Create oracle group, user and home directory.
b. Create links needed by Oracle installer.
addgroup dba
adduser --home /ora --no-create-home --ingroup dba oracle
chown oracle.dba /ora
mkdir /ora/9iR2
chown oracle.dba /ora/9iR2
c. Install mandatory packages.
ln -s /usr/bin/awk /bin/awk
ln -s /usr/bin/sort /bin/sort
ln -s /usr/bin/basename /bin/basename
apt-get install make binutils gcc libstdc++2.10-glibc2.2 libstdc++2.10-dev libstdc++2.9-glibc2.1
Last modified on
, 11, 2004
Converting Ext3 to Ext2
# debugfs -w /dev/sda4 debugfs 1.32 (09-Nov-2002) debugfs: features -needs_recovery -has_journal Filesystem features: dir_index filetype sparse_super debugfs: quit
Last modified on
, 08, 2004
Shagma lyrics...(speech) Depuis la Grand Cataclysme, les Arkadiens vivaient blottis au centre de la Terre. Ils avaient tout oublié de leur passé, ainsi l'avaient voulu leurs anc?tres. Jusqu'au jour o? leur soleil, le Shagma, tomba malade. Alors les enfants d'Arkadia os?rent entrer dans le musée interdit. Ils y retrouv?rent quelques traces du passé mais aucun plan du Shagma. Alors les enfants cré?rent puis envoy?rent vers la surface de la terre leur messag?re : Arkana.
Last modified on
Root filesystem images ( for vserver or UML ( or lluggix ) )http://web.tvnetwork.hu/~krichy/cfdev/ Compact Flash Linux, uClibc based, fits in 16MB CF. debian - debootstrap creates such barebone system. http://slimlinux.freezope.org/
Last modified on
, 07, 2004
Simplyfying Blosxom - Testing grounds...
e - anything
Test: code
Hello world
Hi againg
Last modified on
, 06, 2004
Setting up remote Subversion repository on debian (woody)First, you need some packages, using backports.org is probably the easiest route.., add this:
deb http://www.backports.org/ woody subversion deb http://www.backports.org/ woody apache2to your
/etc/apt/sources.list.
Subversion itself is also available at deb http://people.debian.org/~cjwatson/subversion-woody/ ./
# dav_svn.conf - Example Subversion/Apache configuration # # For details and further options see the Apache user manual. # <Location URL> ... </Location> # URL controls how the repository appears to the outside world. # In this example clients access the repository as http://hostname/svn/repos <Location /svn> # uncomment this to enable the repository DAV svn # set this to the path to your repository SVNPath /var/lib/svn # The following allows for basic http authentication. Basic authentication # should not be considered secure for any particularly rigorous definition of # secure. # to create a passwd file # # rm -f /etc/apache2/dav_svn.passwd # # htpasswd2 -c /etc/apache2/dav_svn.passwd dwhedon # New password: # Re-type new password: # Adding password for user dwhedon # # # Uncomment the following 3 lines to enable Basic Authentication AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/apache2/dav_svn.passwd # Uncomment the following line to enable Authz Authentication # AuthzSVNAccessFile /etc/apache2/dav_svn.authz # Uncomment the following three lines allow anonymous read, but make # committers authenticate themselves <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> </Location>
Last modified on
, 05, 2004
Internet Radio
Last modified on
, 02, 2004
Net::TLSFTP questI need perl module for accessing TLS-enabled ftp servers, unfortunately Net::FTP can't do that, and it's object model makes it painfull to implement that feature
Last modified on
Howto easily install stuff in your home directory ( without uid=0, root )
eyck@hostname:~$ wget -O- http://toastball.net/toast/toast|perl -x - arm toast(actually, you shouldn't do that. You should download the toast script, review it to make sure it realy does what is should, and then you can try running it)
eyck@hostname:~$ ln -s .toast/armed/bin/ .
eyck@hostname:~$ ln -s .toast/armed/man/ .Now add something like this to your .bash_profile:
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
# do the same with MANPATH
if [ -d ~/man ]; then
MANPATH=~/man:"${MANPATH}"
fi
And then load it:
eyck@hostname:~$ . .bash_profileYour PATH should look roughly like this: PATH=/home/eyck/bin:/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/usr/bin
eyck@hostname:~$ toast arm opensshAfter few lines of getting the package... and then compiling it... you should see the results:
eyck@hostname:~$ bin/ssh -V OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.6c 21 dec 2001
Congratulations! your toast is now ready to eat. You can now go berzerk:
eyck@hostname:~$ toast arm mplayer
eyck@hostname:~$ toast arm fluxbox
eyck@hostname:~$ toast arm screen
Last modified on
Instant Messaging/Instant Messanger Quest.
I'm in quest for 'asynchronous bi-directional' communication protocol.
Starting point are:
asynchronous bi-directional - the most important thing, and different from most of the "normal" protocols, is the fact that system must be able to sand AND receive message in any given moment. "Normal" protocols like FTP/SMTP/POP3 etc, work this way:
client -> request -> server client <- response <- serverso basicaly, on very low level of protocol - client can't receive anything from server until it asks for it. This something important in perl world - we've got Net::* clients, and many of those use object infrastructure of Net::CMD... this means that you're on your own if you want to create client for some IM...
Last modified on
Hello...
|
|
Last modified on
# Sensors configuration file used by 'libsensors'#------------------------------------------------
Last modified on
Neostrada na usbKopia strony by tokarz:
Last modified on
, 09, 2004
Raphael - Carla Bruni
Lyric Raphael Carla Bruni Quatre consonnes et trois voyelles C'est le prénom de Raphaël Je le murmure ? mon oreille Et chaque lettre m'émerveille C'est le tréma qui m'ensorcelle Dans le prénom de Raphaël Comme il se m?le au a au e, Comme il les entre-m?le au l Raphaël ? l'air d'un ange Mais c'est un diable de l'amour Du bout des hanches Et de son regard de velours Quand il se penche Quand il se penche mes nuits sont blanches Et pour toujours Hmm J'aime les notes au go?t de miel Dans le prénom de Raphaël Je les murmure ? mon réveil Entre les plumes du sommeil Et pour que la journée soit belle Je me parfume Raphaël Peau de chagrin pâtre éternel Archange étrange d'un autre ciel Pas de délice pas d'étincelle Pas de malice sans Raphaël Les jours sans lui deviennent ennui Et mes nuits s'ennuient de plus belle Pas d'inquiétude pas de prélude Pas de promesse ? l'éternel Juste le monde dans notre lit Juste nos vies en arc en ciel Raphaël a l'aire d'un sage Et ses paroles sont de velours De sa voix grave Et de son regard sans détour Quand il raconte Quand il invente je peux l'écouter Nuit et jour Hmm Quatre consonnes et trois voyelle C'est le prénom de Raphaël Je lui murmure ? son oreille Ca le fait rire comme un soleil
Last modified on
Installing grub on software raid disks...Look:
topik:/home/eyck# grub-install /dev/sda Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/hda (hd1) /dev/sda (hd2) /dev/sdb (hd3) /dev/sdc (hd4) /dev/sdd topik:/home/eyck# grub-install /dev/sdc Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/hda (hd1) /dev/sda (hd2) /dev/sdb (hd3) /dev/sdc (hd4) /dev/sddbut:
topik:/home/eyck# grub-install /dev/sdc /dev/md1 does not have any corresponding BIOS drive.( you need to edit your /etc/mtab and replace md1(root) with hmmm.. with anything - for examples sda1 )
Last modified on
Extending your filesystem
goliat:/fs/samba# vgextend share_vg /dev/hdd2
vgextend -- INFO: maximum logical volume size is 255.99 Gigabyte
vgextend -- doing automatic backup of volume group "share_vg"
vgextend -- volume group "share_vg" successfully extended
goliat:/fs/samba# lvextend /dev/share_vg/share_lv
lvextend -- please enter l or L option
goliat:/fs/samba# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hdc3" of VG "share_vg" [70.37 GB / 416 MB free]
pvscan -- ACTIVE PV "/dev/hdd2" of VG "share_vg" [74.41 GB / 74.41 GB free]
pvscan -- ACTIVE PV "/dev/hda2" of VG "home_vg" [992 MB / 0 free]
pvscan -- ACTIVE PV "/dev/hda3" of VG "share_vg" [69.64 GB / 0 free]
pvscan -- total: 4 [215.41 GB] / in use: 4 [215.41 GB] / in no VG: 0 [0]
goliat:/fs/samba# lvextend -L+74G /dev/share_vg/share_lv
lvextend -- extending logical volume "/dev/share_vg/share_lv" to 213.60 GB
lvextend -- doing automatic backup of volume group "share_vg"
lvextend -- logical volume "/dev/share_vg/share_lv" successfully extended
goliat:/fs/samba# lvextend -L+1G /dev/share_vg/share_lv
lvextend -- only 208 free physical extents in volume group "share_vg"
goliat:/fs/samba# lvextend -L+500M /dev/share_vg/share_lv
lvextend -- extending logical volume "/dev/share_vg/share_lv" to 214.09 GB
lvextend -- doing automatic backup of volume group "share_vg"
lvextend -- logical volume "/dev/share_vg/share_lv" successfully extended
goliat:/fs/samba# lvextend -L+500M /dev/share_vg/share_lv
lvextend -- only 83 free physical extents in volume group "share_vg"
goliat:/fs/samba# lvextend -L+50M /dev/share_vg/share_lv
lvextend -- rounding relative size up to physical extent boundary
lvextend -- extending logical volume "/dev/share_vg/share_lv" to 214.14 GB
lvextend -- doing automatic backup of volume group "share_vg"
lvextend -- logical volume "/dev/share_vg/share_lv" successfully extended
goliat:/fs/samba# xfs
xfs_admin xfs_check xfs_estimate xfs_fsr xfs_info xfs_mkfile xfs_repair xfsdq xfsinvutil xfsrq
xfs_bmap xfs_db xfs_freeze xfs_growfs xfs_logprint xfs_ncheck xfs_rtcp xfsdump xfsrestore
goliat:/fs/samba# xfs_growfs /dev/share_vg/share_lv
xfs_growfs: /dev/share_vg/share_lv is not a filesystem mount point, according to /etc/mtab
goliat:/fs/samba# xfs_growfs /fs/s
s2 samba
goliat:/fs/samba# xfs_growfs /fs/samba/Inne/
meta-data=/fs/samba/Inne isize=256 agcount=35, agsize=1048576 blks
data = bsize=4096 blocks=36595712, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=0
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=2227
realtime =none extsz=65536 blocks=0, rtextents=0
data blocks changed from 36595712 to 56135680
goliat:/fs/samba# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hde1 3.9G 919M 3.0G 23% /
/dev/home_vg/home_lv 987M 699M 289M 71% /home
/dev/share_vg/share_lv
214G 139G 75G 65% /fs/samba/Inne
goliat:/fs/samba#
Last modified on
Copyright ©1995-2004 Dariush Pietrzak. All content on this website, unless otherwise noted, is licensed under a Creative Commons License.
Using desktop theme, version 0.5. Check the Blosxom site for the latest copy.