неделя, 21 юни 2009 г.

ati 9.6 kernel 2.6.30 testing

Success:

Upgrade X to current
See the picture and make changes, recompile kernel...
http://forum.ubuntu.org.cn/download/file.php?id=29624&mode=view/Screenshot-4.png
make menuconfig
...
Patch from here:
http://forum.ubuntu.org.cn/viewtopic.php?f=42&p=1329973
http://forum.ubuntu.org.cn/download/file.php?id=68780&sid=3b5c9a64a3d77c9f34a47330b7654885
I think any patch will do thing... for 2.6.30 or 2.6.29

This may need too:
patches from: http://bugs.gentoo.org/show_bug.cgi?id=266819
config_x86_32.patch

./ati-installer.sh 8.62 --buildpkg Slackware/All

go to: common/lib/modules/fglrx/build_mod/
copy fglrx.ko on hand to /lib/modules/2.6.30/external/
depmod -a
try load it.

In
cd packages/Slackware/x_pkg/
You must have all files need to copy in /usr/lib/ and /etc/ati ... it is full path tree just copy
- watch for module dir it will not copy because is link ot missing in Slack!
- just copy -r modules/* /usr/lib/xorg/modules/
see that all is copied right.

try to start X

"[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0xb5b01000,handle:0xd0000000"
This will stay on dmesg but GL will work.


OLD:
Not working after startX and try openg X crash...

Reading long howto compile 9-6 Ati driver wth 2.6.30 i do this mess, that succeed for my only:

patches from: http://bugs.gentoo.org/show_bug.cgi?id=266819
config_x86_32.patch
flush_tlb_page-94.patch

from ARCH linux page: http://dev.archlinux.org/~eduardo/pkgs/
2.6.30.diff
fglrx.diff



cd /usr/src/ati/;rm -r 9.6; sh ati-driver-installer-9-6-x86.x86_64.run --extract 9.6; cd /usr/src/ati/9.6
patch -p0 < ../config_x86_32.patch
patch -p0 < ../flush_tlb_page-94.patch

cd common/lib/modules/fglrx/build_mod
patch -p0 < /usr/src/ati/2.6.30.diff
cp 2.6.x/Makefile .
cp ../../../../../arch/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 .
make -C /lib/modules/2.6.30/build SUBDIRS="`pwd`" ARCH=i386 modules

неделя, 14 юни 2009 г.

sendmail dspam

wget http://download.softpedia.ro/dl/c0f5caa13850ef0c849d535a2934cbc4/4a327a61/500005125/linux/dspam-3.8.0.tar.gz
Sorry GIT is more comftable late i will get him. now wget is simple.

dspam install - like in: http://dspamwiki.expass.de/Installation/Sendmail

after that change : chmod 2777 /vard/spam
dsapm works perfect wit little addon's.

неделя, 17 май 2009 г.

Slackware Upgrade to txz package's use

download from any mirror from current in "a" are left .tgz packages that is neded:

I use this mirror "http://mirrors.unixsol.org/slackware/slackware-current/slackware/a/"
Step by step - it is important to maintain this steps,

upgradepkg slackware/ap/slackpkg-2.71.2-noarch-1.tgz - custum
upgradepkg --install-new slackware/a/xz-4.999.8beta-i486-1.tgz
upgradepkg --install-new slackware/a/gzip-1.3.12-i486-1.tgz
upgradepkg --install-new slackware/a/tar-1.22-i486-2.tgz
upgradepkg --install-new slackware/a/pkgtools-12.34567890-noarch-5.tgz

That s all.

понеделник, 30 март 2009 г.

2.6.29 no init found short

For my this was new function in kernel:

Security option->Root Plug Support->Disable

make
...
And all was OK

Now ATI 4870 wait for new drivers
ATI are fast now 9.3 was Out - no luck 2.6.29 incompatible !

събота, 28 февруари 2009 г.

KDE4 - GTK Font Fix Error was: "Gtk-WARNING **: Default font does not have a positive size"

Simply:

Must have: "Control the style and fonts used by GTK applications" in other words this: "gtk-kde4" - 74689-gtk-kde4v0.8.tar.gz

killall xfce-mcs-manager
killall gnome-settings-daemon

System Properties - System Panel - Fonts -> Choose Some Fonts NOW!. - important.
System Properties - System Panel - Use my KDE style in GTK Applications and Use my KDE Fonts
Can try different things.
RESTART APP.
If not help Repeat First step and restart again.

Cant use this for fine control: "gtk-chtheme"
Restart GTK app.

неделя, 15 февруари 2009 г.

acpi acpid and power menagement Slackware

Unfinished but if Power management troubles You it works now!

http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling# - Read This

If hardly want to Read
http://www.acpica.org/downloads/index.php
http://www.lesswatts.org/projects/acpi/faq.php - can read it but it seems old

In kernel src
make menuconfig
Power management select all acpi options even is marked as depreciated

recompile restart with new kernel

acpid must be happy and started if not look at /etc/rc.d/rc.acpid and make it runnable +x

get "speedfreq" and compile

See the source below load all acpi modules
"speedstep_lib 6212 0
acpi_cpufreq 9676 0
cpufreq_userspace 3716 1
cpufreq_stats 4996 0
cpufreq_powersave 1792 0
cpufreq_ondemand 6988 0
freq_table 5376 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 6088 0
wmi 6568 0
video 16848 0
output 2880 1 video
rfkill 10828 0
input_polldev 3848 0
sbs 10568 0
sbshc 5312 1 sbs
pci_slot 4488 0
fan 4356 0
container 3392 0
battery 10052 0
ac "
This is what i load more of them are not need!

Here is mine bash function src :

### ACPI CPU
function acpi_cpu {

# ACPI & CPU modules
#
modules=`ls -q /lib/modules/2.6.28/kernel/drivers/acpi/; \
ls -q /lib/modules/2.6.28/kernel/drivers/cpufreq/; \
ls -q /lib/modules/2.6.28/kernel/arch/x86/kernel/cpu/cpufreq/;`;
for i in $modules; do
modprobe $(echo "$i"|cut -d"." -f 1);
done;
[ -x /usr/sbin/speedfreqd ] || { echo "/usr/sbin/speedfreqd - not found, exiting "; return; }
### [ "$?" -eq 0 ] && success $"$base startup" || failure $"$base startup"
speedfreqd -u # -u user can mod

echo "$? ACPI CPU FREQ Modules loaded. SpeedFreq Started";

} ### ACPI CPU END

P.S>
cpufreq - is not recommended yet - after start crash.

On most motherboards APM not work with Dual Core and etc processors if work he disable one of the cores!

see that file: /etc/acpi/acpi_handler.sh - it is ACPID default action you can change and add some functionalities.

And Now power button must PowerOff your computer.

неделя, 1 февруари 2009 г.

hunspell howto

install firefox ext dict for Your country or get dict's
find dict's.
in dir like "/home/YOURHOME/.mozilla/firefox/w8yjrjmg.default/extensions/bg-BG@dictionaries.addons.mozilla.org/dictionaries/"

become root and
copy *.aff .dic to -> /usr/share/myspell/dicts/
that's all

if see "error - iconv_open: UTF-8 -> microsoft-cp1251" after start hunspell!!!

change bg_BG.aff first line to something appropriate for iconv.
in my case:
SET windows-1251 - work fine
SET microsoft-cp1251 - don't work