Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

May 28, 2015

Я могу покрыть это только матом (с)

Or "FC22 has just been released".
Enlightenmen has been successfully broken  after update.
Fedora, have you ever tried to start it? It crashes even after clean install. Always.

Wayland support breaks enlightenment.
I dont currently see any reasons for wayland, so I've just recompiled enlightenment and necessary deps w/o wayland support.

  1. efl - recompile w/o --enable-wayland
  2. elementary - recompile with --disable-ecore-wayland
  3. enlightenment - recompile w/o --enable-wayland-clients
rpms're here:
www.rat.ru/astarta/enlightenment/efl-1.13.2-2.fc22.x86_64.rpm
www.rat.ru/astarta/enlightenment/efl-devel-1.13.2-2.fc22.x86_64.rpm
www.rat.ru/astarta/enlightenment/elementary-1.13.2-1.fc22.x86_64.rpm
www.rat.ru/astarta/enlightenment/elementary-devel-1.13.2-1.fc22.x86_64.rpm
www.rat.ru/astarta/enlightenment/enlightenment-0.19.4-1.fc22.x86_64.rpm
www.rat.ru/astarta/enlightenment/enlightenment-data-0.19.4-1.fc22.noarch.rpm

btw,  konsole misses packages dependencies. So if you do not have whole KDE and want to use  konsole, you'll have to find out and install missing packages :)


Apr 22, 2010

understanding sendmail better

One and a half day I've beed fighting with sendmail.
The issue is like the following:
I've have mail server on google (google app) for my domain (lets call it domain.ru) and I've have a dedicated server for that domain, that runs site/forum. Let the server name be domain.ru. Forum sends messages to it's users (notifications and like). Most of users have mails on external mail servers (mail.ru, gmail.com and like) and a few users have mails on my domain.ru server.
MX records point to google.
Sendmail that runs on domain.ru server thinks mails for user_name@domain.ru as local and do not send them to google (!), other mails are sent OK.
Playing with MAIL_HUB/LOCAL_RELAY/stickyhost gave no luck. All the mails sent to user_name@domain.ru were put into /var/spool/mail instead of sending to google :(
/etc/hosts of the server has the record pointing that its external IP XX.XXX.XXX.XXX is domain.ru what is a real true :)
That's why when sendmail got mail like user_name@domain.ru it treat it like local.
Changing name of XX.XXX.XXX.XXX in /etc/hosts from "domain.ru" to "domain" brought no luck: mails sent to user_name@domain.ru started to be sent to google, but it appeared that some other mail servers like pochta.ru check the name of the sender and reject the mail if sender name cant be resolved ("domain" points to nowhere).
What's the next? Googling doesnt help: some advices are not acceptable, some other do not work at all :(

The solution appeared to be straight and simple.
I've changed the name where points XX.XXX.XXX.XXX in /etc/hosts to "www.domain.ru". Now when sendmail gets mail like user_name@domain.ru it doesnt think it to be local (for sendmail local mail should be user_name@www.domain.ru now!) and sends mails to google. External mail servers (like pochta.ru) can now resolve "www.domain.ru" host!
I've won!

mood: thinking
music: Depeche Mode

May 4, 2009

Just thinking...

Looking on this, I see fields of superblock structures...
Am I getting crazy...? o_O


00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00010000 de 11 de 11 81 9d f2 d2 4c 53 49 20 20 20 20 20 |........LSI |
00010010 10 00 00 55 00 00 00 00 37 27 7c 30 37 27 90 54 |...U....7'|07'.T|
00010020 30 31 2e 30 30 2e 30 30 00 00 00 a7 37 29 b4 bf |01.00.00....7)..|
00010030 00 00 01 ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00010040 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00010060 00 00 00 00 08 8b 19 e5 00 00 00 00 08 8a 79 f5 |..............y.|
00010070 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00010080 00 0f 00 0f 00 08 00 02 00 10 ff ff ff ff ff ff |................|
00010090 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000100c0 00 00 00 01 00 00 00 01 00 00 00 02 00 00 00 02 |................|
000100d0 00 00 00 04 00 00 00 02 00 00 00 06 00 00 00 12 |................|
000100e0 00 00 00 18 00 00 00 01 00 00 00 19 00 00 00 08 |................|
000100f0 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 |................|
00010100 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00010200



mood: "I want this device!" :)
music: "Angra"

Feb 23, 2009

Games in Linux

Spent most part of today's evening playing game via local network. Despite the game was too fast and active for me (I'd actually prefer turn-based games, when if I beat someone, noone beats me in the same time :-D ) and my partner was much more experienced than me in this game and did'nt allow me to win (he-he, I'll surely will find the way to revenge him :), I get pleasure spending the time in a such way. I know, I'm among of these people who can spend hours and days playing computers games :( I know this, and I usually do not allow myself to be the addict of an computer game. Thanks for my using Linux as a desktop OS, there is not much tempt for this and not many really good Linux games exists.
Anyway, my top favourite are:
1. TuxRacer - tuxracer.sourceforge.net/
2. SuperTux - http://supertux.lethargik.org
3. SuperTuxKart - http://supertuxkart.sourceforge.net
/* oh, no more 'tuxes', Astarta, no more! */
4. RatSpears
5. Wesnoth - www.wesnoth.org
6. Heroes 3 (Linux port :-) or via wine). Actually, it's almost the only reason for having windoze on my system, to play in heroes, version 5 can't be run on Linux :(
7. The game I've been playing today: BattleTanks - http://btanks.sourceforge.net .

Feb 19, 2009

Stupid mistakes

Hello, my far friend :)
Do you remember, we talked of funny mistakes, like when adding firewall rules, we forget to add own IP, to be able to access the system, like running 'reboot' command in the wrong terminal window?
So today, I've made the funniest the most stupid mistake I've ever done :)
I was adding some functionality to our program, that besides other things should remove certain directories. The names of these directories were partly hardcoded into array (like /etc/, /usr/lib/ ...), the last part of the directory name should be added later in code (forming names like /etc/OurCompamyName,/usr/lib/OurCompanyName and like ). Very easy task. The code was written, the program compiled, checked -- everything is working as expected, no problem. Then, I've made small changes in the program logic, recompiled and run it once again. The program run and looked like it was finished ok. Then I mentioned that the system behaves in rather strange way - it doesnt accept new connections via ssh, some commands do not work and complain for libraries... Can you imagine my wonder, when I discovered that /etc/, /usr/lib and some other directories no longer exist! :)))
I've simply forgotten to add the lines of code that add the last and the most important part to the directory names, that should be recursively deleted, so instead of removing /etc/OutCompanyName, the software removed /etc/ ...
Tomorrow, I'll have to reinstall the OS ...
For my luck it was the test system :)

mood: lol
music: Manticora

Feb 16, 2009

[Fedora10] KDE4.2 is out!

Congrats to everyone using Fedora10 &KDE!
FC has updated KDE just today, now we can enjoy 4.2 version.
I even noticed that a few my bugs were fixed, licq can now dock normally, hurray! That was really annoying bug for me.
konqueror doesn't fail browsing samba anymore, even more annoying bug :-)

Get more info here.

RH you're the best :)

mood: happy :-)
music: The mill

Jan 9, 2009

Fedora 10 или "Пилите, Шура, пилите"(с).

Доставила она мне свою долю маленьких радостей :)
Фрустрируют некоторые особенности в ней, откровенно говоря. Удивило отсутствие xorg.conf по умолчанию, новый метод графической загрузки по началу напугал - сине-белая полоса внизу на черном фоне, я аж решила, что с графикой какие-то беды :) Нет, ничего, так и задумано:) в ставшем уже родным /etc/sysconfig/init отсутствует привычный "GRAPHICAL=", так что этот графический уж0c пришлось выключать убираением rhgb из параметров ядра.
xine при запуске радостно упал в кору. o_O Ну что-ж, бывает, не удалось ему подружиться с pulseaudio, благо, запуск xine'а с alsa проблему решает.
На xmms2 (точнее его графический фронтент) лучше даже не смотреть, работать-то оно работает, но выглядит уж больно страшно.
Несомненно порадовало наличие 64-битного флеш плагина для firefox. Работает, сразу, без каких-либо нареканий.
Окончательно убрали мой любимый kuickshow :( Замена нашлась -- после соответствующей настройки Gwenview начинает откликаться на привычные хоткеи.
kde4 уже на пути к состоянию, которое можно назвать "работает", периодчисески что-то падает, но так редко, что этого можно не замечать.
Огорчила samba, в консоле все монтируется отлично, файлы на удаленной шаре доступны, но ... если браузить удаленную машину в konqueror/dolphin, то нам мило сообщают, что smb <что-то там> died unexpectedly :)
Так что, по первым ощущениям, федоре 10 -- твердая тройка :)

Jan 7, 2009

This is not a software problem!

To start a brave fight with the NY loneliness, I've decided to upgrade my old FC7 to the most recent 10-th version today and as a experienced Linux user, my first step was to backup everything useful I have -- data, configuration files, that were written by myself to avoid re-reading tons of documentations once again. That's always the good idea to make a backup before SW changes :)
In brief, my setup is like the following: 2 HD (one 200 GB IDE, second 500 GB SATA) attached to internal controller handled by pata_amd and sata_nv driver each. IDE HD contains mainly Windows and some data, SATA -- Linux and much data (music, video and etc), so my goal was to backup two partitions on the SATA drive with / and /home, just in case I'd forget smth and need to retrieve old data.
To make things clear, I'm working for a software company that produces a proprietary software for backup, so I used our software to achieve my goal. Run backup and left for a while. When I came back, I've seen a nice picture: completely stuck system with blinking num lock. kernel panic, I guessed:) Rebooted, set proper printk level and start backup one more in a clean shell (w/o involving X-server), haha, that's what I've seen a while later:


tried to change sata port the drive is attached to, play with BIOS options, driver parameters with no success :) Reading this with dd produces the same problem. For my luck I have silicon 3114 controller on the m/b, but in tries to set RAID mode by default, that makes me think that it could erase data on the attached hard drive, which is completely not what I want...
I currently see several options:
One is to purchase one more HD (anyway I do not have enough space to store all the data) and attach it to Silicon controller, install Fedora10 on it, then put old SATA to the same controller.
The second is to look for some external storage (SATA, USB2 or FW), transfer all the data to this storage, replace nvidia controller with silicon and reinstall Fedora.

Thinking....

mood: ...
music: Cathedral

Nov 28, 2008

Как немного, порой, человеку для счастья надо :)


# /bin/hexdump -C -s 117220760k /dev/sda > /tmp/sda.txt
# cat /tmp/sda.txt

1bf2966000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
1bf2975e00 4a 4d 01 00 5e 8c 00 00 00 00 00 00 00 00 00 00 |JM..^...........|
1bf2975e10 20 dc 4e 4a 00 00 00 00 f9 0d 00 00 00 00 00 00 | .NJ............|
1bf2975e20 4a 52 41 49 44 20 20 20 20 20 20 20 20 20 20 20 |JRAID |
1bf2975e30 01 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
1bf2975e40 20 dc 4e 4a a0 47 6f 27 00 00 00 00 00 00 00 00 | .NJ.Go'........|
1bf2975e50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
1bf2976000


music: Cinderella "Nobody's fool"
mood: Happy

Nov 21, 2008

[Fedora Core 9] still a little buggy :-)

Everyone, who ever spoke with me about linux, knows my loyalty to Fedora Core distribution line.
I do agree, that I'm some kind of guinea pig for distribution makers for testing different (usually not very stable) software.
I do agree, that sometimes I'm forced to be one of the first who has to learn new features, differences in configuration files and ways for the software and spend time with learning this. Truly speaking, I like this and actually having to deal with configs/options is that I like in Linux.
I do agree, that I have to test kernel, which sometimes brings surprises (later about this), but in the same time, new kernels give me ability to have new (which doesn't mean "better" :-P ) hardware and play with drivers. Please, do not tell me, that it's stupid time-spending, this is my choice and smth that gives me some pleasure, and actually sometimes it can help me in my work, where it's important for me to stay in touch with kernel/software news.
And of cause, I do agree, that for many features I have to pay with system resources :-) This the way how the software industry develops, and smth we can't change :)
Being agree with all the above, I have FC9 on almost all my computers, including the one I mainly using during work-hours, with the later I seen a few fun facts.
Fist of all (and the ones, that upsets me much), kde4 (included to FC9 by default) can't work with dual-monitor systems. kde4 simply doesnt start on the second monitor (X-server starts, kde4 -- not). KDE3.5 -- works, gnome, fxce from FC9 -- works, KDE4 -- not :) According to some info, found in google, this seems to be a known kde4 bug, so I can nothing to do, but wait for fixing and using xfce :)
Second and the most finniest -- 2.6.27.5-41 kernel (the latest for today) oopses immediately after I plug my SonyEricsson w380i phone in and choose "phone mode" option to allow the phone to charge from USB :) FC9 kernel has new driver called cdc_wdm and it's probe functions fails with null-pointer difference which causes the crash :) Sometimes, I've to reboot this system, so I've added lots of printouts to the probe function cdc_wdm and already localized the crashing code, so the fix is coming very soon (till the next time I'll have to reboot my comp and a few more reboots to test ) :-)

Sep 21, 2008

Acer Aspire One

Made myself a present yesterday - yet another one device running Linux.
Played a bit with it this morning. Actually if you look closer at Linpus OS installed on Acer Aspire One, you'll see that it's just rebuilt FC8 with a lot of patches. It's being fast (boots ~ 5 sec), easy to customize (unfortunately in order to be able to work normally on Aspire One you've to modify a rather large amount of config files to remove Acer's customization, that's clearly has been made to be the OS Windows-like, which is completely not our choise :) ).
Despite Acer Aspire One is a new, there're many articles and howtos on how to hack it, I'm not going to write a new one, just sharing my thoughts on this notebook.
As for howtos, I like this one most. The only thing I'd like to add currently is: after you change russian UTF locale to the english one (in /etc/syconfig/i18n), there is no way to switch keyboard layout to russian, modifying xorg.conf is useless (it's being rewritten on every system startup), GUI tools do not bring much success: it's possible to change switch layouts now, but:
a) with ctrl+space (I guess this is easy fixable)
b) russian layout is _not_ QWERTY ! (do not see a quick way to fix this).
To solve the described issue I had to look to init scripts and find the reason of overwriting xorg.conf. Found. Linpus has xkb_plugin_set_xorg.sh script in /usr/bin, which is changes xorg on every bootup (do not ask me why!), so I saved original xkb_plugin_set_xorg.sh for backup purposes and erased the script, modified xorg.conf and rebooted (there is no way just to restart X, I'll fix it on the next step :) ). Now I can type in russian as well as in English :)
TODO:
a) Increase RAM size. Currently it has 512Mb, but it's possible to install one more module (one is not removable), so will buy and install 1GB module.
b) Change internal flash card to a real hard driver bigger size, think it should be possible.
c) will see....

Sep 18, 2008

My new device. Part2.

It was a quick game, but anyway, it was an interesting game.
I mean, today I've fixed HP server. It's funny, I'd to change just one line and it started to work more than 3 times faster :)
It's a kind of magic, when you have to spend hours to find the reason of a abnormal behavior, but fix takes just minutes :)
Such a nice feeling...
But... what makes me upset, now I have to return the device, but I liked it so much already:) Oh, If I could leave it :) I'd already have a good collection of a different hardware :) /* dreaming */ lol

Sep 16, 2008

My new device

I'm fond of computers, not really, I love them :-)
If you want to make me happy like a child, give me a new computer that runs Linux or that have problems with running Linux :)
Today looked like a usual work day without you (oh, if you ever know how much I miss you, how much I want to see you besides me), I was doing my regular tasks, until one of the managers brought me this:



this is HP Proliant DL360G5 - nice and noisy device which should bring me a lot of fun for the next few days :)

Jun 17, 2008

Fedora 9 & kde 4


Just a bunch of bugs.

Not, really, it looks very nice. Black screen,many widgets, transparency working by default, default mouse control support... but... too slow on ICH5 with 2 GB of RAM machine, where FC3 worked like a charm.
First of all (proud smile), I made Fedora installer came to the endless loop while checking installation media. :)

Second, had to disable RAID to make the system bootable after installation, cause while enabled RAID (but not used at all! the system is on non-raid disk, attached even to a different controller!) init failed somewhere in libdevmapper. Disabling RAID device helped. Will try to enable RAID volumes a bit later.

Setting left handed mouse was a real challenge - first tried to find KDE control center (Yes! sometimes I use standard GUI utilities ;) ) - no luck, KDE control center does not exist anymore! Moreover, there no standard KDE menu, for me it reminds MAC interface with it's finder, which is very-very inconvenient for a KDE user. So, I had to come to usual xmodmap - no wonder, it works, made sh script with setting xmodmap and added it to kde autostart, and what do you think? Now KDE crashes at startup with signal 15 :) Removed the script - all is working again :)
Finally found analogue of ControlCenter, now it's called SystemSettings and reminds GNOME, finally was able to make my mouse left handed :)

Anyway... It's nice ... O-)