ksmserver doesn't start after updating KDE to 4.3

2009-10-07 Thread Anton Liaukevich

I'm using squeeze, full-upgrading it constantly.

I have installed Debian formely in August. Current version of KDE in
testing was 4.2 then and KDE was work normally.

At the beginning of the last week I have full-upgraded the distribution.
KDE has been updated to 4.3 correspondingly. Then (after KDM logon 
desktop) KDE ceases to start :-(.


After 1st logon attempt it throws out to logon desktop. After 2nd 
attempt and next a box Cound not start ksmserver. Check your 
installation appears.


When I try to start ksmserver manually from console segmentation fault 
occurs.


Some information about my system:

distribution: squeeze, uptodate
kernel: package linux-image-2.6-686, ver. 2.6.30+20
x: package xserver-xorg, ver. 1:7.4+4
kde: version of kdebase-workspace-bin package is 4:4.3.1-1

There is my /home/ directory on a separate patition on NTFS! I'm using 
ntfs-3g drivers but not from distribution and not even official from 
www.ntfs-3g.org or www.tuxera.com sites. I'm using unofficial advanced 
branch from http://www.tuxera.com/community/ntfs-3g-advanced/, release 
2009.4.4AR.16 in order to _access_permissions_ will work (it is 
implemented using user mapping (windows - linux)). Can this partition 
(which store user's profiles  data) cause some problems with KDE?
ntfs-3g drivers use FUSE. Can FUSE cause some problems with KDE? 
Formelly I was having bugs with FAM because of the FUSE. I have escaped 
to Gamin by reason of this.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Permanent problems with KDE

2009-01-10 Thread Anton Liaukevich

EXCUSE ME for message in russian to this list (mistaken by accident).

I use Lenny, full-upgrade distribution almost every day.

Formely (may be in August) I reinstalled Debian and save at the same
time KDE settings (~/.kde directory).

Plenty of time I have been plagued with KDE and its applications:

1) Every time, after I have being working for 30-40 minutes, KDE
applications (konquerror, krusader, kate, kile, kpdf, kdvi) ceases to 
boot or opens after 10-15 min. since launching of them. Usually, there 
is icon on the panel showing that application is booting, next the icon 
disappears, but application stay in the process list (ps -A). After 
killing the same repeats.


This problem pertains to only KDE applications, other gui applications 
(iceweasel, icedove, codeblocks, acroread, openoffice.org) starts normally.


However, right after system  KDE rebooting KDE's applications starts 
normally too.


2) Issue with login/logout in KDE.

Sometimes it occurs that after some working in KDE  logout X-server is 
killed but not been resotored. Therefore I need to login at console (and 
reboot the machine).


Sometimes it occurs that it is not able for the seconds user to login at 
KDE (when the first one has already logged in and locked): KDE booting 
stops at the 2nd stage. But for all that the second user can always 
login to Gnome successfully.


3) Sometimes (after very long activities) Krusader buzzes.


Some information about my system:

distribution: Lenny, uptodate
kernel: package linux-image-2.6-686, ver. 2.6.26+17
x: package xserver-xorg, ver. 1:7.3+18, I use commercial nvidia drivers 
(built from nvidia-kernel-legacy-96xx-source package)

kde: version of kdebase packages is 4:3.5.9.dfsg.1-6

There is my /home/ directory on a separate patition on NTFS! I'm using 
ntfs-3g drivers but not from distribution and not even official from 
www.ntfs-3g.org site. I'm using unofficial advanced branch from 
http://pagesperso-orange.fr/b.andre/advanced-ntfs-3g.html, release 
1.5130AR.1 (it is considered stable there) in order to 
_access_permissions_ will work (it is implemented using user mapping 
(windows - linux)). Can this partition (which store user's profiles  
data) causes some problems with KDE?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Долгие мучения с KDE

2009-01-09 Thread Anton Liaukevich

Пользусь lenny, каждый день обновляя дистрибутив.

Где-то в августе переставлял Debian, сохранив при этом настройки KDE 
(директорий ~/.kde).


Уже много месяцев мучаюсь с KDE и его приложениями:

1) После того как поработаю 30-40 мин. KDE-шные приложения (konquerror, 
krusader, kate, kile, kpdf, kdvi) перестают загружатся или открываются 
через 10-15 мин. после их запуска. Обычно на панели видно, что 
приложение грузится, затем иконка исчезает, но списке процессов (ps -A) 
это приложение есть. После убиения повторяется тоже самое.


Эта штука относиться только к KDE-шным приложениям, другие гуёвые 
(iceweasel, icedove, codeblocks, acroread, openoffice.org) запускаются 
нормально.


Тем не менне, сразу после загрузки системы и KDE, эти приложения 
запускаются нормально.


2) Проблемы с login/logout в KDE.

Бывает, поработаешь в KDE, а затем, после logout, X-ы убиваются, и можно 
логиниться только в консоли (приходится перегружать машину).


Бывает, что не получается залогиниться второму юзеру в KDE (кагда первый 
уже загружен (и заблокирован)): загрузка KDE стопорится на 2-й стадии. 
При этом второй юзер может всегда успешно загрузиться в GNOME.


3) Иногда (после долгой работы) зависает Krusader.


Немного информации о своей системе:

дистрибутив: lenny, uptodate
ядро: пакет linux-image-2.6-686, 2.6.26+17
x: пакет xserver-xorg, 1:7.3+18; использую коммерческие дрова nvidia
kde: версия пакета kdebase - 4:3.5.9.dfsg.1-6

Директорий /home/ у меня в отдельном разделе. на NTFS! Использую дрова 
ntfs-3g, но не из дистрибутива (в нём даже в experimental - версия 
1.2918), и даже не официальные с сайта www.ntfs-3g.org. A использую с 
неофициальной advanced-ветки 
http://pagesperso-orange.fr/b.andre/advanced-ntfs-3g.html
релиз 1.5130AR.1 (там он считается stable) ради того, чтобы работали 
права доступа (реализуется с помощью маппинга пользователей windows - 
linux).
Может быть этот раздел (на котором храняться настройки пользователей и 
данные) создаёт какие-то проблемы?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Home partition shared between Debian MS WinXP

2008-08-13 Thread Anton Liaukevich
I have Debian Lenny  MS Windows XP SP2 installed on different 
partitions of my hdd.


There are my partitions today:
device:mount point:   fs type: options:
/dev/hda3  /  reiserfs (rw,notail)// for Debian system
/dev/hda8  /home/ ext3 (rw,usrquota,grpquota) // for users' 
own files (user1/), shared files (docs, websites, music, films)

/dev/hda4  /usr/local/ext3 (rw)
/dev/hda1  /mnt/win/  ntfs (rw,nls=utf8)
/dev/hda5  /mnt/winhome/  ntfs (rw,nls=utf8)
/dev/hda6  /mnt/buffer/   vfat (rw)

I use /home/ partition for users' own files (on /home/anthony/, 
/home/galina/, /home/victor/ subdirectories) and shared files (docs, 
websites, music, films) on /home/pub/ subdirectory. Last can be 
potentially shared to other computers in the network using ftp/http/smb.


Regrettably, for some reasons, I need to use MS Windows sometimes. 
Moreover, some users of my computer don't like Unix.


For reliability, I put My Documents folders of MS Windows filesystem 
on a separate partition (mounted to /mnt/winhome/ on Debian). There is 
how I have done that:
/dev/hda5 partition (/mnt/winhome/ in Debian) is mounted to c:\home in 
Windows. It has c:\home\mydoc subdir that has anthony, galina  
victor subdirs. C:\Documents and Settings\anthony\My Documents is a 
junction point (symlink) to c:\home\mydoc\anthony, similarly for other 
users.


But it is very inconvenient (in multi-OS system) because:
1) I need to have 2 copies of files (on Linux  Windows home partitions).
2) I need to synchronize data between OSes.
3) Only root has access to /mnt/winhome/ partition (NTFS's native 
permissions aren't used under Debian).


I want to share /home/ partition between both OSes. For example, my 
projects will be in /home/anthony/projects/ dir which will be symlinked 
to C:\Documents and Settings\anthony\My Documents\projects folder. 
What is the most right way to do that?


[solution 1] /home/ partition is Ext3. All Ext3-drivers for Windows 
don't support access rights so that all files from /home/ partitions 
will be accessible to all users under Windows (or to administrators 
only). Moreover, such drivers don't support journaling and symlinks. 
Additionally I will need to use drive letters (such as c:, d:, e: etc.) 
but I hate them.


[solution 2] /home/ partition is NTFS. www.ntfs-3g.org says that ntfs-3g 
Linux read/write driver supports ownership/permissions under Linux 
(using mapping of users). Unfortunately (as I know) Debian-Installer 
doesn't support ntfs-partition mounting (to /home/). Additionally I will 
need to configure user mappings after D-I in order to access users' file 
by ordinary user). Also I'm afraid of law speed of this ntfs-3g driver. 
Do I need to install ntfs-3g package and change ntfs type to 
ntfs-3g in order to use this driver (my current driver also supports 
read/write)? What is www.linux-ntfs.org project and how it pertains to 
ntfs-3g?


What solution is better or are there any other good solutions?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: SOLVED: DMA is turned off on my HDD

2008-08-04 Thread Anton Liaukevich

Florian Kulzer wrote:

On Tue, Jul 29, 2008 at 21:57:56 +0300, Anton Liaukevich wrote:
I have read some docs in the inet. I have understood what is initrd, how  
to use initramfs-tools debian package (in particular, update-initramfs  
command and /etc/initramfs-tools/modules file). I have being intended  
to add blacklist ide-generic string to /etc/initramfs-tools/modules  
file  to run initramfs-tools -k $(uname -r) -u command but when I  
opened this file I was shocked. That is I have seen:


# Added by Debian Installer
ide-generic

I decided simply delete this string from modules file (and update  
initrd then). And it has solved the problem!


I am glad to hear that you have DMA working now. 

Nevertheless, I don't understand why Debian Installer add this  
ill-started module to /etc/initramfs-tools/modules file. Seems the bug  
to be Debian-specific.


If the information on the Debian driver check page is correct, i.e. if
you really need kernel 2.6.25 for the amd74xx module to work with your
controller, then it may be reasonable to add ide_generic to /etc/modules
to reduce the risk of the system not booting at all. (The installer has
kernel 2.6.24.) However that may be, please send an installation report
to the Debian installer team, describing your problems.


Now I'm intended to update initrd for all my kernels ;).


Watch out, the 2.6.24 kernel might need ide_generic to use the
controller at all.


I have ventured to update initrd for all my kernels and the result is
good! But I have one more question. There is list of my kernels:

leva:/home/anthony# awk '{if ($1==kernel  $NF!=single) print $2}' 
/boot/grub/menu.lst

/boot/vmlinuz-2.6.25-2-686
/boot/vmlinuz-2.6.24-1-686
/boot/vmlinuz-2.6.24-1-486

468-kernel is needed for me in case I will change my cpu to 
686-incompatible :) or I will transport my hdd to old computer and boot 
Debian from it.


But can I boot at least one of my kernels if I simply change my 
motherboard to one with non-nVidia chipset (that don't use amd74xx 
module) (after updating initrd for all kernels)?


ide-generic module seem to be not-loaded:

[EMAIL PROTECTED]:~$ lsmod | grep 'ide'
video  19728  0
output  3712  1 video
ide_cd_mod 32864  0
cdrom  31872  1 ide_cd_mod
ide_disk   13952  8
ide_pci_generic 4228  0 [permanent]
ide_core  100312  4 ide_cd_mod,ide_disk,ide_pci_generic,amd74xx

But it is included in initrd:

[EMAIL PROTECTED]:~$ zcat /boot/initrd.img-$(uname -r) | cpio --quiet -t | 
grep -E '(ide|ata|amd)[^/]*\.ko'

lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_sil.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_sis.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_sx4.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_svw.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_uli.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_via.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_vsc.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/pata_artop.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_mv.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_nv.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_sil24.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/ata_generic.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_promise.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/pata_sis.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_qstor.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/pata_marvell.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/ata_piix.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_inic162x.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/libata.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/pci/amd74xx.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/pci/ide-pci-generic.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/ide-core.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/ide-pnp.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/ide-disk.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/ide-cd_mod.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/ide-tape.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/legacy/ide-cs.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/ide-generic.ko
lib/modules/2.6.25-2-686/kernel/drivers/ide/ide-floppy.ko
lib/modules/2.6.25-2-686/kernel/drivers/scsi/eata.ko
lib/modules/2.6.25-2-686/kernel/drivers/block/paride/paride.ko

Similarly for other kernels:

[EMAIL PROTECTED]:~$ zcat /boot/initrd.img-2.6.24-1-686 | cpio --quiet -t | 
grep 'ide-generic'

lib/modules/2.6.24-1-686/kernel/drivers/ide/ide-generic.ko
[EMAIL PROTECTED]:~$ zcat /boot/initrd.img-2.6.24-1-486 | cpio --quiet -t | 
grep 'ide-generic'

lib/modules/2.6.24-1-486/kernel/drivers/ide/ide-generic.ko


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Installing Canon LBP2900 printer on Lenny

2008-08-04 Thread Anton Liaukevich

I have Canon i-SENSYS LBP2900 laser printer. It works good under WinXP SP2.

Today I decided to configure it under Debian Lenny. On Canon's website I 
have found necessary drivers:

http://software.canon-europe.com/software/0028622.asp?model=
From there you can download CAPTDRV160.tar.gz archive which has readme, 
manual and driver itself in .rpm  .deb formats.

There are packages for Debian:
cndrvcups-common_1.60-1_i386.deb, cndrvcups-capt_1.60-1_i386.deb

I was following the detailed installation instructions (from Canon), 
which is in doc/guide-capt-1.6xe.tar.gz file of total archive.


First of all I installed cups package (with dependencies), 
ghostscript package had been already installed. Then I installed two 
afore-mentioned .deb-packages from Canon. Next I restarted CUPS using # 
/etc/init.d/cups restart command. Then I registered printer as 
canon2900 using /usr/sbin/lpadmin -p canon2900 -m 
CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E command (as I 
understood it simply copies .ppd-file for concrete printer model from 
/usr/share/cups/model/ to /etc/cups/ppd/). Next I registered my printer 
in ccpd-daemon's config file using /usr/sbin/ccpdadmin -p canon2900 -o 
/dev/usb/lp0 command (as I understood printer's driver must connect to 
concrete usb-interface there). Then I started ccpd-daemon using # 
/etc/init.d/ccpd start command and hoped that printer will become to work.


Canon gives cngplp utility to configure printer and to print from 
file. $ cngplp -p temp/1.ps command produced (in KDE) window for page 
range indication, paper settings etc (similarly as under MS Windows) and 
after I pressed Print button in this window it was ought to print but 
I got the following error:


cngplp: Fatal IO error 11 (Resource temporarily unavailable) on X server 
:0.0.


During all these procedures printer itself has given no visible signal!

Then I tried to use printer installation instruction from
https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/CanonPrinters/Canon_LBP_2900.

Many things from it has already become unnecessary because Canon gives 
.deb-packages now.
In particular, I have replaced /etc/init.d/ccpd script to one given on 
this website (in Step 5). I have also used update-rc.d ccpd
defaults 20 command for automatically start of ccpd-daemon while system 
booting.


After OS rebooting nothing changed. But I tried $ captstatusui -P 
canon2900 . It opened a window (print monitor) and select 
Options/Cleaning menu item. Then printer responded! (for the first 
time). It began to slowly press in lines (without toner) on the paper. 
But $ cngplp -p temp/1.ps command produces such error as before.


My hardware:
 mb: 8RDA3I rev 3.3
 northbridge: nForce 2 Ultra
 southbridge: MCP
 cpu: Sempron 2200 (k7)
 printer: Canon i-SENSYS LBP2900 (interface: usb)

My software:
 Debian Lenny
 kernel: Linux 2.6.25-2-686
 x11: xserver-xorg 1:7.3+14
 kde 3.5: kde-core 5:48
 cups 1.3.7-9
 canon drivers: 1.60-1


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: what's the best IDE for C programming in Debian?

2008-08-01 Thread Anton Liaukevich

Star Liu wrote:

When I develop in windows, I use visual studio.net 2008 as my IDE, if
I want to develop in Debian, what's the best the IDE for C
programming?
thanks!


I'm novice at Debian but I also want to express my opinion. I haven't
still tried Visual Studion .NET 2008. When I began to study C++ (in 2003
year) I have seen that it is very flexible and powerful language but ...
most the majority of compilers don't correctly support these C++
possibilities. Moreover, the majority of C++ libraries are very crooked.

I have fallen in love with templates and generic programming. Then I was
using MS Visual Studio 6.0 as my compiler and IDE (it was the most
popular in my university) but I have seen that it doesn't support fairly
simple C++ possibilities connected with templates. I was forced to use
Service Pack 5 for VS6.0 but even it couldn't solve the problem. Then I
had tried Borland C++ Builder and I hasn't also liked it.

Then I had downloaded GCC 3.4 and have seen that it (with its
implementation of STL) almost fully support ISO 14882 c++ standard.
Regrettably, I hadn't IDE for it under Windows. After I had heard about
Boost libraries I have being trying to build it under Windows (using
various compilers) but it was very ... very! difficult. Furthermore I 
would like to develop cross-platform libs and apps.


My friends advised me GNU/Linux to be more comfortable for C++ development.

After a very long pause in my developer's life I had even so dared to
install GNU/Linux. I have chosen Debian as a largest distribution with
APT  Debconf and installed it (testing: Lenny).

In Debian I have seen Boost libraries split into a great number of
packages with non-fully-templated libraries precompiled (for 12
architectures). I also in distribution I have found several good C++
libraries for unit-testing, gui, network, xml parsing, database, 
algorithmic, graph theory and other (which is updated constantly if you 
have an access to a Debian mirror).


Firstly, I tried Eclipse together with CDT plugin (included in Debian
distribution). I liked it for it large versatility and independence of
programming language, compiler. Eclipse is very plugingable and has very 
savvy editor (good code-compleption, symbol-browser, error solver). 
However, in practice, it's a very good IDE for Java but when I had being 
trying to develop in C++ (widely using templates) with Eclipse I have 
seen it's not very suitable for C++ development.


Earlier I tried to use Anjuta (a big GNOME C/C++ IDE) but it's has too 
complex build system (using automake, autoconf). Also I tried KDevelop 
(a big KDE universal IDE) (in 2006 year) but I had big troubles with 
debugging.


I want to say that I like to heavily structurize my project's directory 
tree. It looks like that:

project-name
bin
build
ide-compiler-1
 [compiler--ide-specific project files]
ide-compiler-2
 [compiler--ide-specific project files]
...
include
[.h files]
obj
Debug
src
[object files]
Release
src
[object files]
src
[.cpp files]
tests
test1
[nested (complete) project]
test2
[nested (complete) project]
...

Finally, I heared of Code::Blocks IDE. It hasn't included in Debian 
(WHY???) but you can download .deb-package (for i386  amd64 
architectures) from http://www.codeblocks.org/downloads/5.
It is free  open-source (GPL 3.0). It has been developed using 
wxWidgets 2.8 (linux-ports uses Gtk+ as backend) therefore it is fully 
cross-platform (there are releases under Windows including variants for 
use with MinGW).


Code::Blocks has given me pretty good code-completion (such 
code-completion as used for Java in Eclipse is impossible for C++ 
because of templates). It uses good compiler (g++, you can indicate gcc 
version yourself using symlink), frontend for GDB as debugger. 
Code::Blocks has its own build system (doesn't use 
configure/automake/autoconf and creates only one intermediate file 
project.depend) which is very convenient for me. But you can indicate 
your own makefile if you like it. It is very convenient while using such 
distribution as Debian. Such IDE gives me a possibility to create 
project's directory structure I like. Code::Blocks also has plugin 
system but I haven't tried any 3rd party plugin yet.


P.S. Now I'm using C++ (and IDE for it, of course) for implementation 
algorithms (from matrix, graph theories) in generic way and 
Code::Blocks is very suitable for me. I think it will be also very 
suitable for rapid development using wxWidgets etc.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sometimes only 1 desktop and no window border in KDE

2008-07-30 Thread Anton Liaukevich

Mumia W.. wrote:

On 07/29/2008 05:41 AM, Anton Liaukevich wrote:
Thank you. Actually problem is in kwin. When KDE works good pgrep 
kwin outputs process IDs of loaded kwins, otherwise 'pgrep kwin' 
outputs nothing. After I run kwin  command KDE begins to work good 
(4 destops and border of the windows appears).


Nevertheless, I want to correct this bug on my machine so that kwin 
never dye. Prompt me, please, how to do this.


Must I report this bug? Where?




Enable corefiles by setting the appropriate ulimit before entering 
KDE; read man ulimit; when you enter KDE, perform a killall kwin and 
then do kwin  from within an X-terminal. That should allow messages 
from kwin to be displayed on the terminal.


When kwin crashes, it might display a stacktrace on the terminal, and 
you can mail both the stacktrace and corefile to the maintainers. The 
authors and maintainers for kwin can be found from apt-get show kwin 
and the file /usr/share/doc/kwin/copyright.


Good luck.

PS.
It would be better to post the corefile on your web-site and e-mail a 
link to it to the maintainers/developers since corefiles can be big.



Sorry. I'm novice at Linux. Please, explain how to use ulimit correctly 
and what is corefiles.


I have run killall kwin command in konsole x-terminal but:

[EMAIL PROTECTED]:~$ killall kwin
kwin: no process killed

Then I haven't seen any message from kwin on my terminal (after running 
kwin  command).




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sometimes only 1 desktop and no window border in KDE

2008-07-30 Thread Anton Liaukevich

Anton Liaukevich wrote:

Mumia W.. wrote:

On 07/29/2008 05:41 AM, Anton Liaukevich wrote:
Thank you. Actually problem is in kwin. When KDE works good pgrep 
kwin outputs process IDs of loaded kwins, otherwise 'pgrep kwin' 
outputs nothing. After I run kwin  command KDE begins to work good 
(4 destops and border of the windows appears).


Nevertheless, I want to correct this bug on my machine so that kwin 
never dye. Prompt me, please, how to do this.


Must I report this bug? Where?




Enable corefiles by setting the appropriate ulimit before entering 
KDE; read man ulimit; when you enter KDE, perform a killall kwin 
and then do kwin  from within an X-terminal. That should allow 
messages from kwin to be displayed on the terminal.


When kwin crashes, it might display a stacktrace on the terminal, and 
you can mail both the stacktrace and corefile to the maintainers. The 
authors and maintainers for kwin can be found from apt-get show kwin 
and the file /usr/share/doc/kwin/copyright.


Good luck.

PS.
It would be better to post the corefile on your web-site and e-mail a 
link to it to the maintainers/developers since corefiles can be big.



Sorry. I'm novice at Linux. Please, explain how to use ulimit correctly 
and what is corefiles.


I have run killall kwin command in konsole x-terminal but:

[EMAIL PROTECTED]:~$ killall kwin
kwin: no process killed

Then I haven't seen any message from kwin on my terminal (after running 
kwin  command).



Now I have seen strange message in konsole:

[EMAIL PROTECTED]:~$ kwin: X_SetInputFocus(0x1e0057c): BadMatch (invalid 
parameter attributes)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sometimes only 1 desktop and no window border in KDE

2008-07-29 Thread Anton Liaukevich

Mumia W.. wrote:

On 07/27/2008 10:33 AM, Anton Liaukevich wrote:

I have been using Lenny for several weeks yet (with KDE 3.5).

For first two week all was Ok but then such a bug appeared:
1) In the KDE panel only one desktop available (but I have 4 desktops).
2) All windows I open have no border!
[...]


It sounds like your window manager, kwin, is dying spontaneously. Keep a 
terminal window open at all times, and when the bug occurs, type pgrep 
kwin; if nothing is listed, kwin has gone. However, you can start it up 
again from the terminal by typing kwin 


Thank you. Actually problem is in kwin. When KDE works good pgrep kwin 
outputs process IDs of loaded kwins, otherwise 'pgrep kwin' outputs 
nothing. After I run kwin  command KDE begins to work good (4 destops 
and border of the windows appears).


Nevertheless, I want to correct this bug on my machine so that kwin 
never dye. Prompt me, please, how to do this.


Must I report this bug? Where?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-29 Thread Anton Liaukevich

Florian Kulzer wrote:

On Mon, Jul 28, 2008 at 17:48:42 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 23:05:15 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 16:57:19 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Wed, Jul 23, 2008 at 20:59:09 +0300, Anton Liaukevich wrote:

Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my 
HDD (fsck  sayed it while Debian booting). Please, help me 
turn on DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

[...]

Today I upgraded my linux kernel to 2.6.25-2-686, but problem 
hasn't  been solved yet.

[...]

I installed hdparm long ago and it says that dma if off, moreover 
hdparm  can't turn it on:


leva:/home/anthony/admin# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma =  0 (off)

[...]

Hopefully there will be an error message somewhere that clears this up a
little. Try to reboot and then run:

dmesg | grep grep -Ei 'ata|ide|amd74xx'

Furthermore, there could be relevant messages very early in the boot
process; you might have to use ScrollLock plus pen and paper to catch
them (or set up logging to a serial console).

I have tried command dmesg | grep -Ei 'ata|ide|amd74xx', suggested by  
you (after rebooting and logging in console (nor kdm that I use 
usually)).

Please read output in the attachment. Thank you for help.


[...]


[1.642452] Uniform Multi-Platform E-IDE driver


OK, that seems to come from ide_core.


[1.642530] ide: Assuming 33MHz system bus speed for PIO modes; override 
with idebus=xx
[1.643173] Probing IDE interface ide0...
[2.058474] hda: WDC WD1200JB-00EVA0, ATA DISK drive
[2.730008] Probing IDE interface ide1...
[3.592777] hdc: SONY CD-RW CRX320E, ATAPI CD/DVD-ROM drive
[4.264276] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[4.264276] ide1 at 0x170-0x177,0x376 on irq 15
[   13.612015] hdc: ATAPI 52X DVD-ROM CD-R/RW drive, 2048kB Cache


Some driver (ide_generic?) takes control of the devices before libata is
loaded. Check the output of cat /proc/interrupts to see which module
has IRQs 14 and 15.


[   14.218581] libata version 3.00 loaded.
[   14.740018] NFORCE2: IDE controller (0x10de:0x0065 rev 0xa2) at  PCI slot 
:00:09.0
[   14.740306] NFORCE2: port 0x01f0 already claimed by ide0
[   14.740378] NFORCE2: port 0x0170 already claimed by ide1


The nforce2 driver cannot take ove rthe devices = no DMA.

I can think of a few more things to try, but I don't know how safe
they are:

- put amd74xx as the first non-comment line into /etc/modules

- boot with blacklist=ide_generic appended to the kernel command line

- likewise, try libata.dma=3 at boot (may be dangerous)

- check the kernel documentation for libata.force=... (can be really
  dangerous)

- check if the amd74xx module is included in your initrd:
  zcat /boot/initrd.img-$(uname -r) | cpio --quiet -t | grep -E 
'(ide|ata|amd)[^/]*\.ko'

- build your own kernel with amd74xx compiled in

I have already tried first three things you had given me higher 
(/etc/modules; blacklist=ide_generic or libata.dma=3 in the kernel 
command line). But none of them have solved me problem.


Now, my /etc/modules file looks:

[EMAIL PROTECTED]:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with # are ignored.
# Parameters can be specified after the module name.

amd74xx
loop

My main boot record (that I usually use) in /boot/grub/menu.lst looks:

title   Debian GNU/Linux, kernel 2.6.25-2-686
root(hd0,2)
kernel  /boot/vmlinuz-2.6.25-2-686 
root=UUID=683f90cf-5af5-4946-b90d-c69541f15966 libata.dma=3 ro

initrd  /boot/initrd.img-2.6.25-2-686
savedefault

Please, correct me if I have done something wrong.

amd74xx module seems to be included in my initrd:

[EMAIL PROTECTED]:~$ zcat /boot/initrd.img-$(uname -r) | cpio --quiet -t | 
grep -E '(ide|ata|amd)[^/]*\.ko'

lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_sil.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_sis.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_sx4.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_svw.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_uli.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_via.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_vsc.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/pata_artop.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_mv.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_nv.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_sil24.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/ata_generic.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata/sata_promise.ko
lib/modules/2.6.25-2-686/kernel/drivers/ata

Re: DMA is turned off on my HDD

2008-07-29 Thread Anton Liaukevich

Anton Liaukevich wrote:

Florian Kulzer wrote:

On Mon, Jul 28, 2008 at 17:48:42 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 23:05:15 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 16:57:19 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Wed, Jul 23, 2008 at 20:59:09 +0300, Anton Liaukevich wrote:

Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my HDD 
(fsck  sayed it while Debian booting). Please, help me turn on 
DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

[...]



I have tried command dmesg | grep -Ei 'ata|ide|amd74xx', suggested 
by  you (after rebooting and logging in console (nor kdm that I use 
usually)).

Please read output in the attachment. Thank you for help.


[...]


[1.642452] Uniform Multi-Platform E-IDE driver


OK, that seems to come from ide_core.

[1.642530] ide: Assuming 33MHz system bus speed for PIO modes; 
override with idebus=xx

[1.643173] Probing IDE interface ide0...
[2.058474] hda: WDC WD1200JB-00EVA0, ATA DISK drive
[2.730008] Probing IDE interface ide1...
[3.592777] hdc: SONY CD-RW CRX320E, ATAPI CD/DVD-ROM drive
[4.264276] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[4.264276] ide1 at 0x170-0x177,0x376 on irq 15
[   13.612015] hdc: ATAPI 52X DVD-ROM CD-R/RW drive, 2048kB Cache


Some driver (ide_generic?) takes control of the devices before libata is
loaded. Check the output of cat /proc/interrupts to see which module
has IRQs 14 and 15.


[   14.218581] libata version 3.00 loaded.
[   14.740018] NFORCE2: IDE controller (0x10de:0x0065 rev 0xa2) at  
PCI slot :00:09.0

[   14.740306] NFORCE2: port 0x01f0 already claimed by ide0
[   14.740378] NFORCE2: port 0x0170 already claimed by ide1


The nforce2 driver cannot take ove rthe devices = no DMA.

I can think of a few more things to try, but I don't know how safe
they are:

- put amd74xx as the first non-comment line into /etc/modules

- boot with blacklist=ide_generic appended to the kernel command line

- likewise, try libata.dma=3 at boot (may be dangerous)

- check the kernel documentation for libata.force=... (can be really
  dangerous)

- check if the amd74xx module is included in your initrd:
  zcat /boot/initrd.img-$(uname -r) | cpio --quiet -t | grep -E 
'(ide|ata|amd)[^/]*\.ko'


- build your own kernel with amd74xx compiled in


I'm giving you contents of '/proc/interrupts' file:

[EMAIL PROTECTED]:~$ cat /proc/interrupts
   CPU0
  0: 66   IO-APIC-edge  timer
  1:   2570   IO-APIC-edge  i8042
  3:  2   IO-APIC-edge
  4:  2   IO-APIC-edge
  6:  5   IO-APIC-edge  floppy
  7:  0   IO-APIC-edge  parport0
  8:  2   IO-APIC-edge  rtc0
  9:  0   IO-APIC-fasteoi   acpi
 10:  0   IO-APIC-edge  MPU401 UART
 12: 100951   IO-APIC-edge  i8042
 14: 604231   IO-APIC-edge  ide0
 15:  20161   IO-APIC-edge  ide1
 17:742   IO-APIC-fasteoi   eth1
 20:  0   IO-APIC-fasteoi   ohci_hcd:usb2
 21:   4317   IO-APIC-fasteoi   ehci_hcd:usb1, NVidia nForce2
 22:  0   IO-APIC-fasteoi   ohci_hcd:usb3
NMI:  0   Non-maskable interrupts
LOC: 117665   Local timer interrupts
RES:  0   Rescheduling interrupts
CAL:  0   function call interrupts
TLB:  0   TLB shootdowns
TRM:  0   Thermal event interrupts
SPU:  0   Spurious interrupts
ERR:  0
MIS:  0

I'm novice in Linux and I don't know how to see which module
has IRQs 14 and 15. Commands lsmod | grep '604231|20161'  ps -A | 
grep '604231|20161' output nothing. Moreover I have noticed that 
numbers in the second column of 'cat /proc/interrupts' output sometimes 
changes (I have been running it several times). Unfortunately, I haven't 
found in man any documentation about '/proc/interrupts' file format.


After a little googling I have understand that numbers in the second 
column are simply count of interrupt attached to given IRQs but I want 
to know how to see which module has given IRQ.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: SOLVED: DMA is turned off on my HDD

2008-07-29 Thread Anton Liaukevich

Andrei Popescu wrote:

amd74xx module seems to be included in my initrd:


[...]


lib/modules/2.6.25-2-686/kernel/drivers/ide/ide-generic.ko


And so is ide-generic. You could try to rebuild the initrd without it, 
BUT:


1. I don't know how to do it
2. You might end up with an unbootable system

For 1. it might be enough to just rebuild the initrd with the 
blacklisted module. Otherwise you will have to unpack it, remove the 
module and repack it. You should be able to find instructions on the net 
for this procedure.


To avoid 2. it would be best to keep the current initrds and create a 
backup stanza in grub to use it.


Regards,
Andrei


Great thanks to Ron Johnson, Pavlos Parissis, Bob Cox, Florian Kulzer, 
Chris Bannister  Andrei Popescu.


I have read some docs in the inet. I have understood what is initrd, how 
to use initramfs-tools debian package (in particular, update-initramfs 
command and /etc/initramfs-tools/modules file). I have being intended 
to add blacklist ide-generic string to /etc/initramfs-tools/modules 
file  to run initramfs-tools -k $(uname -r) -u command but when I 
opened this file I was shocked. That is I have seen:


# Added by Debian Installer
ide-generic

I decided simply delete this string from modules file (and update 
initrd then). And it has solved the problem!
While rebooting I haven't being seen warning message from fsck (about 
turned off dma mode). And after reboot I was convinced that DMA is on:


leva:/home/anthony/admin# hdparm /dev/hda

/dev/hda:
 multcount =  0 (off)
 IO_support=  1 (32-bit)
 unmaskirq =  1 (on)
 using_dma =  1 (on)
 keepsettings  =  0 (off)
 readonly  =  0 (off)
 readahead = 256 (on)
 geometry  = 16383/255/63, sectors = 234441648, start = 0

Moreover my system became much faster and Debian boot time (from Grub to 
X11) (which I can see in the new 2.6.25 kernel) has reduced from 90 
seconds to 30 seconds!


Now I suppose that 2nd Florian's solution (booting with 
blacklist=ide_generic appended to the kernel command line) hasn't 
helped me because ill-started module was ide-generic (nor 
ide_generic (minus instead of underscope)). If I make mistakes please 
correct me.


Nevertheless, I don't understand why Debian Installer add this 
ill-started module to /etc/initramfs-tools/modules file. Seems the bug 
to be Debian-specific.
For information: I was install Lenny from netinst 7.3MB mini.iso (Lenny, 
i386, built before 2008-07-02) (downloaded from 
ftp://ftp.mgts.by/pub/debian-cd/ mirror). I use ftp.mgts.by/debian/ 
Debian mirror.


Now I'm intended to update initrd for all my kernels ;).


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-28 Thread Anton Liaukevich

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 23:05:15 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 16:57:19 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Wed, Jul 23, 2008 at 20:59:09 +0300, Anton Liaukevich wrote:

Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my HDD 
(fsck  sayed it while Debian booting). Please, help me turn on 
DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

[...]

Today I upgraded my linux kernel to 2.6.25-2-686, but problem 
hasn't  been solved yet.

[...]

I installed hdparm long ago and it says that dma if off, moreover 
hdparm  can't turn it on:


leva:/home/anthony/admin# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma =  0 (off)


[...]

Hopefully there will be an error message somewhere that clears this up a
little. Try to reboot and then run:

dmesg | grep grep -Ei 'ata|ide|amd74xx'

Furthermore, there could be relevant messages very early in the boot
process; you might have to use ScrollLock plus pen and paper to catch
them (or set up logging to a serial console).

I have tried command dmesg | grep -Ei 'ata|ide|amd74xx', suggested by 
you (after rebooting and logging in console (nor kdm that I use usually)).

Please read output in the attachment. Thank you for help.
[0.00] BIOS-provided physical RAM map:
[0.00]  BIOS-e820: 1fff3000 - 2000 (ACPI data)
[0.00] Nvidia board detected. Ignoring ACPI timer override.
[0.00] If you got timer trouble try acpi_use_timer_override
[0.00] ACPI: BIOS IRQ0 pin2 override ignored.
[0.00] ACPI: IRQ9 used by override.
[0.004000] Memory: 509384k/524224k available (1753k kernel code, 14196k 
reserved, 728k data, 252k init, 0k highmem)
[0.004000]   .data : 0xc02b649a - 0xc036c640   ( 728 kB)
[0.340286] ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 6 7 10 11 12 14 15) 
*0, disabled.
[1.173383] pci :02:00.0: Boot video device
[1.642452] Uniform Multi-Platform E-IDE driver
[1.642530] ide: Assuming 33MHz system bus speed for PIO modes; override 
with idebus=xx
[1.643173] Probing IDE interface ide0...
[2.058474] hda: WDC WD1200JB-00EVA0, ATA DISK drive
[2.730008] Probing IDE interface ide1...
[3.592777] hdc: SONY CD-RW CRX320E, ATAPI CD/DVD-ROM drive
[4.264276] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[4.264276] ide1 at 0x170-0x177,0x376 on irq 15
[   13.612015] hdc: ATAPI 52X DVD-ROM CD-R/RW drive, 2048kB Cache
[   14.218581] libata version 3.00 loaded.
[   14.737649] eth1:  Identified 8139 chip type 'RTL-8100B/8139D'
[   14.740018] NFORCE2: IDE controller (0x10de:0x0065 rev 0xa2) at  PCI slot 
:00:09.0
[   14.740306] NFORCE2: port 0x01f0 already claimed by ide0
[   14.740378] NFORCE2: port 0x0170 already claimed by ide1
[   16.348551] ReiserFS: hda3: using ordered data mode
[   37.049754] EXT3-fs: mounted filesystem with ordered data mode.
[   37.342833] EXT3-fs: mounted filesystem with ordered data mode.


Re: DMA is turned off on my HDD

2008-07-28 Thread Anton Liaukevich

Florian Kulzer wrote:

On Mon, Jul 28, 2008 at 17:48:42 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 23:05:15 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 16:57:19 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Wed, Jul 23, 2008 at 20:59:09 +0300, Anton Liaukevich wrote:

Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my 
HDD (fsck  sayed it while Debian booting). Please, help me 
turn on DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

[...]



I have tried command dmesg | grep -Ei 'ata|ide|amd74xx', suggested by  
you (after rebooting and logging in console (nor kdm that I use 
usually)).

Please read output in the attachment. Thank you for help.


[...]


[1.642452] Uniform Multi-Platform E-IDE driver


OK, that seems to come from ide_core.


[1.642530] ide: Assuming 33MHz system bus speed for PIO modes; override 
with idebus=xx
[1.643173] Probing IDE interface ide0...
[2.058474] hda: WDC WD1200JB-00EVA0, ATA DISK drive
[2.730008] Probing IDE interface ide1...
[3.592777] hdc: SONY CD-RW CRX320E, ATAPI CD/DVD-ROM drive
[4.264276] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[4.264276] ide1 at 0x170-0x177,0x376 on irq 15
[   13.612015] hdc: ATAPI 52X DVD-ROM CD-R/RW drive, 2048kB Cache


Some driver (ide_generic?) takes control of the devices before libata is
loaded. Check the output of cat /proc/interrupts to see which module
has IRQs 14 and 15.


[   14.218581] libata version 3.00 loaded.
[   14.740018] NFORCE2: IDE controller (0x10de:0x0065 rev 0xa2) at  PCI slot 
:00:09.0
[   14.740306] NFORCE2: port 0x01f0 already claimed by ide0
[   14.740378] NFORCE2: port 0x0170 already claimed by ide1


The nforce2 driver cannot take ove rthe devices = no DMA.

I can think of a few more things to try, but I don't know how safe
they are:

- put amd74xx as the first non-comment line into /etc/modules

- boot with blacklist=ide_generic appended to the kernel command line

- likewise, try libata.dma=3 at boot (may be dangerous)

- check the kernel documentation for libata.force=... (can be really
  dangerous)

- check if the amd74xx module is included in your initrd:
  zcat /boot/initrd.img-$(uname -r) | cpio --quiet -t | grep -E 
'(ide|ata|amd)[^/]*\.ko'

- build your own kernel with amd74xx compiled in


I'm giving you contents of '/proc/interrupts' file:

[EMAIL PROTECTED]:~$ cat /proc/interrupts
   CPU0
  0: 66   IO-APIC-edge  timer
  1:   2570   IO-APIC-edge  i8042
  3:  2   IO-APIC-edge
  4:  2   IO-APIC-edge
  6:  5   IO-APIC-edge  floppy
  7:  0   IO-APIC-edge  parport0
  8:  2   IO-APIC-edge  rtc0
  9:  0   IO-APIC-fasteoi   acpi
 10:  0   IO-APIC-edge  MPU401 UART
 12: 100951   IO-APIC-edge  i8042
 14: 604231   IO-APIC-edge  ide0
 15:  20161   IO-APIC-edge  ide1
 17:742   IO-APIC-fasteoi   eth1
 20:  0   IO-APIC-fasteoi   ohci_hcd:usb2
 21:   4317   IO-APIC-fasteoi   ehci_hcd:usb1, NVidia nForce2
 22:  0   IO-APIC-fasteoi   ohci_hcd:usb3
NMI:  0   Non-maskable interrupts
LOC: 117665   Local timer interrupts
RES:  0   Rescheduling interrupts
CAL:  0   function call interrupts
TLB:  0   TLB shootdowns
TRM:  0   Thermal event interrupts
SPU:  0   Spurious interrupts
ERR:  0
MIS:  0

I'm novice in Linux and I don't know how to see which module
has IRQs 14 and 15. Commands lsmod | grep '604231|20161'  ps -A | 
grep '604231|20161' output nothing. Moreover I have noticed that 
numbers in the second column of 'cat /proc/interrupts' output sometimes 
changes (I have been running it several times). Unfortunately, I haven't 
found in man any documentation about '/proc/interrupts' file format.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-27 Thread Anton Liaukevich

Chris Bannister wrote:

On Wed, Jul 23, 2008 at 08:59:09PM +0300, Anton Liaukevich wrote:

Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my HDD (fsck  
sayed it while Debian booting). Please, help me turn on DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

My software:
Debian lenny
kernel: linux 2.6.24-1-686
bootloader: grub 0.97-41


Today I upgraded my linux kernel to 2.6.25-2-686, but problem hasn't  
been solved yet.


All I can suggest is:

In the file /boot/grub/menu.lst, edit the line:
# kopt=root=/dev/hda1 ro

to read:
# kopt=root=/dev/hda1 dma=on ro

of course make sure that /dev/hda1 is correct for your setup. If you
only have one HDD installed then it probably is already correct.

Then run update-grub

Install hdparm:
aptitude install hdparm

reboot

then run:
hdparm /dev/hda

and see if dma is turned on, e.g:

[EMAIL PROTECTED]:~# hdparm /dev/hda
[..]
 using_dma=  1 (on)
[..]

If instead, it outputs using_dma=  0 (off) then I'm sorry, but I
am unable to help further. You may want to run the hdparm command BEFORE
you edit your menu.lst to ensure that the dma is actually off and you
are not being deceived in some way. :-)


[Sorry, I have at first sent message to your address]

I have changed /boot/grub/menu.lst as you said:

# kopt=root=UUID=683f90cf-5af5-4946-b90d-c69541f15966 dma=on ro

Now, after update-grub command, all my boot stanzas have 'dma=on'
options. For example:

title   Debian GNU/Linux, kernel 2.6.25-2-686
root(hd0,2)
kernel  /boot/vmlinuz-2.6.25-2-686
root=UUID=683f90cf-5af5-4946-b90d-c69541f15966 dma=on ro
initrd  /boot/initrd.img-2.6.25-2-686
savedefault

Unfortunately, DMA hasn't turned on after system reboot (I has checked
it using hdparm).

Additionally, I give you full menu.lst file in attachment.

# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default saved

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#  password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
password --md5 $1$kLE2a$kaeh1q3GPQC38zBZB3IG7.

#
# examples
#
# title Windows 95/98/NT/2000
# root  (hd0,0)
# makeactive
# chainloader   +1
#
# title Linux
# root  (hd0,1)
# kernel/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##  kopt_2_6_8=root=/dev/hdc1 ro
##  kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=683f90cf-5af5-4946-b90d-c69541f15966 dma=on ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##  alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##  lockalternative=false
# lockalternative=true

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##  lockold=true
# lockold=true

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##  altoptions

Re: DMA is turned off on my HDD

2008-07-27 Thread Anton Liaukevich

Florian Kulzer wrote:

On Wed, Jul 23, 2008 at 20:59:09 +0300, Anton Liaukevich wrote:

Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my HDD (fsck  
sayed it while Debian booting). Please, help me turn on DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

My software:
Debian lenny
kernel: linux 2.6.24-1-686
bootloader: grub 0.97-41


Today I upgraded my linux kernel to 2.6.25-2-686, but problem hasn't  
been solved yet.


 
This is important information: the vendorID (10de NVIDIA) and the

deviceID (0065 NVIDIA_NFORCE2_IDE). You will get the same information by
running lspci -nn on the command line; it will be listed as
[10de:0065]. This IDE controller seems to be supported by the amd74xx
driver in kernel 2.6.25 (according to the Debian driver check page at
http://kmuto.jp/debian/hcl/).

The first thing to check is if your kernel loaded the correct modules;
please post the output of this command:

lsmod | grep -E 'amd74xx|ata|\bide'

Also, install the hdparm package if you don't have it already and run
hdparm /dev/hda as root. What response do you get? You can also try to
turn on DMA yourself with hdparm -d1 /dev/hda; maybe you will receive
a helpful error message.

I installed hdparm long ago and it says that dma if off, moreover hdparm 
can't turn it on:


leva:/home/anthony/admin# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma =  0 (off)


Trying to check if my kernel has loaded the correct modules:

leva:/home/anthony/admin# lsmod | grep -E 'amd74xx|ata|\bide'
ide_pci_generic 4228  0 [permanent]
amd74xx 8136  0 [permanent]
ata_generic 8004  0
libata142288  1 ata_generic
scsi_mod  138668  1 libata
dock   10448  1 libata
ide_cd_mod 32864  0
cdrom  31872  1 ide_cd_mod
ide_disk   13952  8
ide_generic 1376  0 [permanent]
ide_core  100312  5 
ide_pci_generic,amd74xx,ide_cd_mod,ide_disk,ide_generic



Also I'm giving you output of 'lspci -nn' command:

leva:/home/anthony/admin# lspci -nn
00:00.0 Host bridge [0600]: nVidia Corporation nForce2 IGP2 [10de:01e0] 
(rev c1)
00:00.1 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller 
1 [10de:01eb] (rev c1)
00:00.2 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller 
4 [10de:01ee] (rev c1)
00:00.3 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller 
3 [10de:01ed] (rev c1)
00:00.4 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller 
2 [10de:01ec] (rev c1)
00:00.5 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller 
5 [10de:01ef] (rev c1)
00:01.0 ISA bridge [0601]: nVidia Corporation nForce2 ISA Bridge 
[10de:0060] (rev a4)
00:01.1 SMBus [0c05]: nVidia Corporation nForce2 SMBus (MCP) [10de:0064] 
(rev a2)
00:02.0 USB Controller [0c03]: nVidia Corporation nForce2 USB Controller 
[10de:0067] (rev a4)
00:02.1 USB Controller [0c03]: nVidia Corporation nForce2 USB Controller 
[10de:0067] (rev a4)
00:02.2 USB Controller [0c03]: nVidia Corporation nForce2 USB Controller 
[10de:0068] (rev a4)
00:04.0 Ethernet controller [0200]: nVidia Corporation nForce2 Ethernet 
Controller [10de:0066] (rev a1)
00:06.0 Multimedia audio controller [0401]: nVidia Corporation nForce2 
AC97 Audio Controler (MCP) [10de:006a] (rev a1)
00:08.0 PCI bridge [0604]: nVidia Corporation nForce2 External PCI 
Bridge [10de:006c] (rev a3)
00:09.0 IDE interface [0101]: nVidia Corporation nForce2 IDE [10de:0065] 
(rev a2)
00:1e.0 PCI bridge [0604]: nVidia Corporation nForce2 AGP [10de:01e8] 
(rev c1)
01:09.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
02:00.0 VGA compatible controller [0300]: nVidia Corporation NV18 
[GeForce4 MX 440 AGP 8x] [10de:0181] (rev c1)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Sometimes only 1 desktop and no window border in KDE

2008-07-27 Thread Anton Liaukevich

I have been using Lenny for several weeks yet (with KDE 3.5).

For first two week all was Ok but then such a bug appeared:
1) In the KDE panel only one desktop available (but I have 4 desktops).
2) All windows I open have no border!

This bug appeared after I (or another user of my computer) log on first 
time (after OS boot). If I log out and log on once again KDE begins to 
work normally.


My software (Debian Lenny uptodate)
 kernel: Linux 2.6.25-2-686
 video drivers: legacy Nvidia commercial driver installed from 
NVIDIA-Linux-x86-96.43.05-pkg1.run

 x11: xserver-xorg 1:7.3+14
 kde: kde-core 5:48
 logon manager: kdm 4:3.5.9.dfsg.1-2+b1
 panel: kicker 4:3.5.9.dfsg.1-2+b

I only use kdm (don't login at console).

P.S. There are 3 real users of my system and often we use switch user 
feature. Perhaps this influence on this situation.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Switching localization in Iceweasel Icedove

2008-07-27 Thread Anton Liaukevich
I use Debian Lenny. I had installed iceweasel  icedove packages with 
corresponding localization packages for russian and belarussian 
languages (iceweasel-l10n-ru, iceweasel-l10n-be, icedove-l10n-ru, 
icedove-l10n-be).


Both languages are visible in Add-ons windows of Iceweasel  Icedove. 
But I don't know how to select language that I want to Iceweasel  
Icedove have. Help me, please.


My software:
kde-core: 5:48
iceweasel: 3.0.1-1
iceweasel-l10n-ru: 1:3.0.1+debian-1
iceweasel-l10n-be: 1:3.0.1+debian-1
icedove: 2.0.0.14-1
icedove-l10n-ru: 1:2.0.0.14+debian-1
icedove-l10n-be: 1:2.0.0.14+debian-1


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-27 Thread Anton Liaukevich

Florian Kulzer wrote:

On Sun, Jul 27, 2008 at 16:57:19 +0300, Anton Liaukevich wrote:

Florian Kulzer wrote:

On Wed, Jul 23, 2008 at 20:59:09 +0300, Anton Liaukevich wrote:

Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my HDD (fsck 
 sayed it while Debian booting). Please, help me turn on DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)


[...]

Today I upgraded my linux kernel to 2.6.25-2-686, but problem hasn't  
been solved yet.


[...]

I installed hdparm long ago and it says that dma if off, moreover hdparm  
can't turn it on:


leva:/home/anthony/admin# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma =  0 (off)


Maybe your system is using the wrong driver.


Trying to check if my kernel has loaded the correct modules:

leva:/home/anthony/admin# lsmod | grep -E 'amd74xx|ata|\bide'
ide_pci_generic 4228  0 [permanent]
amd74xx 8136  0 [permanent]
ata_generic 8004  0
libata142288  1 ata_generic


I was expecting to see amd74xx listed here in addition to ata_generic.


scsi_mod  138668  1 libata
dock   10448  1 libata
ide_cd_mod 32864  0
cdrom  31872  1 ide_cd_mod
ide_disk   13952  8
ide_generic 1376  0 [permanent]


Hmm, maybe you system uses ide_generic, which would explain why it
cannot turn on DMA.

ide_core  100312  5  
ide_pci_generic,amd74xx,ide_cd_mod,ide_disk,ide_generic



Also I'm giving you output of 'lspci -nn' command:

leva:/home/anthony/admin# lspci -nn


[...]


00:09.0 IDE interface [0101]: nVidia Corporation nForce2 IDE [10de:0065] (rev 
a2)


This is as expected; I checked the 2.6.25 kernel sources and this
controller should be supported.

I would be interested to see the output of

udevadm info -a --name /dev/hda

to check which drivers are used.


[Sorry for sending to your own mail address]

I have installed 'udev' packages from Sid because 'udev' package from
Lenny hasn't 'udevadm' command (I could do that because I have mixed
etch/lenny/sid distro with Lenny as default suite).

Now I'm giving you output you are interested to see:

leva:/home/anthony# udevadm info -a --name /dev/hda

Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/block/hda':
KERNEL==hda
SUBSYSTEM==block
DRIVER==
ATTR{range}==64
ATTR{removable}==0
ATTR{size}==234441648
ATTR{capability}==10
ATTR{stat}==   2686715550   978587   59089236637   169067
 1645804 182425440   716028 18833136

  looking at parent device '/devices/ide0/0.0':
KERNELS==0.0
SUBSYSTEMS==ide
DRIVERS==ide-disk
ATTRS{media}==disk
ATTRS{drivename}==hda
ATTRS{modalias}==ide:m-disk
ATTRS{model}==WDC WD1200JB-00EVA0
ATTRS{firmware}==15.05R15WDC WD1200JB-00EVA0
ATTRS{serial}==WD-WMAEK3428625

  looking at parent device '/devices/ide0':
KERNELS==ide0
SUBSYSTEMS==
DRIVERS==



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-23 Thread Anton Liaukevich

Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my HDD (fsck 
sayed it while Debian booting). Please, help me turn on DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

My software:
Debian lenny
kernel: linux 2.6.24-1-686
bootloader: grub 0.97-41


Today I upgraded my linux kernel to 2.6.25-2-686, but problem hasn't 
been solved yet.


I'm giving you some lines about DMA from '/var/log/syslog' file. 
Perhaps, this will help you to solve my problem:


Jul 23 19:19:08 leva kernel: [0.00] Zone PFN ranges:
Jul 23 19:19:08 leva kernel: [0.00]   DMA 0 - 4096
Jul 23 19:19:08 leva kernel: [0.00]   Normal   4096 -   131056
Jul 23 19:19:08 leva kernel: [0.00]   HighMem131056 -   131056
...
Jul 23 19:19:08 leva kernel: [0.00] On node 0 totalpages: 131056
Jul 23 19:19:08 leva kernel: [0.00]   DMA zone: 32 pages used 
for memmap

Jul 23 19:19:08 leva kernel: [0.00]   DMA zone: 0 pages reserved
Jul 23 19:19:08 leva kernel: [0.00]   DMA zone: 4064 pages, LIFO 
batch:0

...
Jul 23 19:19:08 leva kernel: [1.641566] Uniform Multi-Platform E-IDE 
driver
Jul 23 19:19:08 leva kernel: [1.641645] ide: Assuming 33MHz system 
bus speed for PIO modes; override with idebus=xx

Jul 23 19:19:08 leva kernel: [1.642286] Probing IDE interface ide0...
Jul 23 19:19:08 leva kernel: [2.057740] hda: WDC WD1200JB-00EVA0, 
ATA DISK drive

Jul 23 19:19:08 leva kernel: [2.729277] Probing IDE interface ide1...
Jul 23 19:19:08 leva kernel: [3.592048] hdc: SONY CD-RW CRX320E, 
ATAPI CD/DVD-ROM drive
Jul 23 19:19:08 leva kernel: [4.263546] ide0 at 0x1f0-0x1f7,0x3f6 on 
irq 14
Jul 23 19:19:08 leva kernel: [4.263546] ide1 at 0x170-0x177,0x376 on 
irq 15

...
Jul 23 19:19:08 leva kernel: [5.859859] NFORCE2: :00:09.0 (rev 
a2) UDMA133 controller
Jul 23 19:19:08 leva kernel: [5.859938] NFORCE2: IDE controller 
(0x10de:0x0065 rev 0xa2) at  PCI slot :00:09.0
Jul 23 19:19:08 leva kernel: [5.860054] NFORCE2: not 100% native 
mode: will probe irqs later
Jul 23 19:19:08 leva kernel: [5.860129] NFORCE2: BIOS didn't set 
cable bits correctly. Enabling workaround.
Jul 23 19:19:08 leva kernel: [5.860224] NFORCE2: port 0x01f0 already 
claimed by ide0
Jul 23 19:19:08 leva kernel: [5.860296] NFORCE2: port 0x0170 already 
claimed by ide1


Excuse me if I gave you something not very useful because I'm novice at 
Debian.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Switching keyboard language with Ctrl+Shift in the KDE

2008-07-19 Thread Anton Liaukevich

Andrei Popescu wrote:

On Fri,18.Jul.08, 21:14:54, Anton Liaukevich wrote:

Andrei Popescu wrote:



Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us

--

Try changing this to us,ru. You can also to it with dpkg-reconfigure 
(the question about layouts to use).


Regards,
Andrei


Thanks to Andrei Popescu  Cedric Boutillier!

Unfortunately, Andrei's solution with xorg.conf (XkbLayout  XkbOptions 
options) hasn't helped me.


Therefore I have returned my old solution. I selected only Russian 
layout but turned on the checkbox Include lation layout so that 
command for xkb became:
setxkbmap -model pc104 -layout ru,us and turned on the checkbox 
Ctrl+Shift change layout in 'Xkb Options' tab.


But I have founded option 'ScrollLock LED shows alternative layout' in
'Xkb Options' tab and turned it on (command became setxkbmap -option 
grp_led:scroll,grp:ctrl_shift_toggle). Now ScrollLock LED is on when 
current language is Russian and is off when current language is English.

Such solution suits me.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sound doesn't work on my system (lenny)

2008-07-18 Thread Anton Liaukevich

Anton Liaukevich wrote:
Sound doesn't work on my system. Neither system sounds in KDE, nor 
music123, nor vlc utter sound.


My hardware:
Sound is integrated (AC'97)
motherboard: Epox 8RDA3I rev 3.3
northbridge: nForce 2 Ultra
southbridge: MCP
AC'97 codec: from Realtek

My software:
Debian lenny
kernel: linux 2.6.24-1-686


Hello, Ron Johnson  Nigel Henry  Andrei Popescu  Star Liu. Thank you 
very much for sound that has begun to work yet.


I have include myself to 'audio' group, install 'alsa-utils' package 
(with dependencies and recommends) (while configuring them in Debconf, I 
select ALSA system). Then I ran 'alsamixer' where unmute sound. After it 
 sound began to work.


P.S. I decided not to configure ALSA with 'alsaconf' because I have not 
very old kernel. Please, correct me if I have done something bad.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-18 Thread Anton Liaukevich

Bob Cox wrote:
On Thu, Jul 17, 2008 at 20:03:00 +0300, Anton Liaukevich ([EMAIL PROTECTED]) wrote: 


Bob Cox wrote:
On Thu, Jul 17, 2008 at 14:48:22 +0300, Anton Liaukevich 
([EMAIL PROTECTED]) wrote: 


[snip]

I had scanned my hdd with native WD scanner and hadn't detected any   
error. Memory scan (memtest86+) also hadn't detected any error.   
Moreover, Windows XP on another partition of this hdd working 
normally  and HDD Health program on it (for S.M.A.R.T viewing) don't 
predict  T.E.C. in the near future. Also after previous installation 
of Debian  lenny my hdd was working fast.

When you are running Windows XP, is DMA definitely enabled then?

I has run Windows XP and has been convinced of DMA to be enabled. My hdd  
WD1200JB-00EVA0 was running at UDMA5 (ATA100) and cdrom Sony CRX320E at  
UDMA2 (ATA33).


[ PLEASE reply to the list and not directly to me.  Thank you ]

Ok well if you are sure about this then at least we know it is not a
hardware (jumpers, cable, connectors) problem.

With my WD IDE drive:

[EMAIL PROTECTED]:~$ dmesg | grep -i dma
  DMA 0 - 4096
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
atp870u: use 32bit DMA mask.
NFORCE2: :00:09.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: UDMA/100 mode selected
hdc: UDMA/66 mode selected
hdd: UDMA/66 mode selected
parport0: PC-style at 0x378 (0x778), irq 7, dma 3
[PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]


[EMAIL PROTECTED]:~$ readlink /sys/block/hda/device/driver
../../../../../bus/ide/drivers/ide-disk

[EMAIL PROTECTED]:~$ lsmod | grep ^ide
ide_cd 36224  0
ide_disk   15648  8
ide_core  108292  4 ide_cd,ide_disk,amd74xx,generic

Not sure if any of that is of help, but perhaps you could show us the
output of dmesg | grep -i dma


Now I am simply showing you output of commands suggested me by Bob Cox.

[EMAIL PROTECTED]:~$ dmesg | grep -i dma
  DMA 0 - 4096
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
NFORCE2: :00:09.0 (rev a2) UDMA133 controller
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 
[PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]


[EMAIL PROTECTED]:~$ readlink /sys/block/hda/device/driver
../../../bus/ide/drivers/ide-disk

[EMAIL PROTECTED]:~$ lsmod | grep ^ide
ide_cd 36224  0
ide_disk   15648  8
ide_generic 1280  0 [permanent]
ide_core  108292  5 generic,amd74xx,ide_cd,ide_disk,ide_generic


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Switching keyboard language with Ctrl+Shift in the KDE

2008-07-18 Thread Anton Liaukevich

Andrei Popescu wrote:

On Thu,17.Jul.08, 19:52:32, Anton Liaukevich wrote:

I want to use Russia  USA keyboard layouts and switch them with
Ctrl+Shift. I had added Russia  USA to active layouts so that I can
 switch them with left-mouse-click in the tray. But I hadn't be able to
find option for layout switching in Keyboard Shortcuts (excepting for
Switch to Next Keyboard Layout) applet of KDE Control Center.

For now I selected only Russian layout but turned on the checkbox
Include lation layout so that command for xkb became:
setxkbmap -model pc104 -layout ru,us and turned on the checkbox
Ctrl+Shift change layout in Xkb Options tab. After it I has been
able to switch language with Ctrl+Shift. Unfortunately, now I can't see
current language in the tray that is very inconvenient.


I'm not familiar with KDE, but you should be able to achieve the same by 
using 'dpkg-reconfigure xserver-xorg'. At the question about additional 
options for the keyboard put:


grp:ctrl_shift_toggle

Regards,
Andrei

Hello, Andrei!

I have done that you had advised me, then added 'Russia'  'USA' to 
active layouts of 'Keyboard Layout' applet of KDE Control Center. 
Unfortunately, language switching hasn't begun to work.


Settings of my keyboard in xorg.conf:

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
Option  XkbOptionsgrp:ctrl_shift_toggle
EndSection


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




DMA is turned off on my HDD

2008-07-17 Thread Anton Liaukevich
In the beginning of July I reinstall my Debian system (lenny). At once I 
discover that loading cache in Aptitude (ncurses-UI mode) is very slow 
and in general my system is very slow.


In several days I discovered that DMA is turned off on my HDD (fsck 
sayed it while Debian booting). Please, help me turn on DMA mode.


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

My software:
Debian lenny
kernel: linux 2.6.24-1-686
bootloader: grub 0.97-41

My Linux partitions:
hda3: / ReiserFS
hda4: /usr/local/ Ext3
hda7: swap
hda8: /home/ EXt3

I had scanned my hdd with native WD scanner and hadn't detected any 
error. Memory scan (memtest86+) also hadn't detected any error. 
Moreover, Windows XP on another partition of this hdd working normally 
and HDD Health program on it (for S.M.A.R.T viewing) don't predict 
T.E.C. in the near future. Also after previous installation of Debian 
lenny my hdd was working fast.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-17 Thread Anton Liaukevich

Pavlos Parissis wrote:

In the beginning of July I reinstall my Debian system (lenny). At once I
discover that loading cache in Aptitude (ncurses-UI mode) is very slow
and in general my system is very slow.

In several days I discovered that DMA is turned off on my HDD (fsck
sayed it while Debian booting). Please, help me turn on DMA mode.



[snip]

I had scanned my hdd with native WD scanner and hadn't detected any
error. Memory scan (memtest86+) also hadn't detected any error.
Moreover, Windows XP on another partition of this hdd working normally
and HDD Health program on it (for S.M.A.R.T viewing) don't predict
T.E.C. in the near future. Also after previous installation of Debian
lenny my hdd was working fast.


Use hdparm command to see if the DMS is enabled, if not enable it with the -d flag. If that action makes your system faster configure /etc/hdparm.conf to 
enable the DMA on boot.


Hope it helps,
Pavlos
 






I have tried using hdparm (under root) command but it don't help.

command hdparm -d /dev/hda outputs:
/dev/hda:
 using_dma =  0 (off)

command hdparm -d 1 /dev/hda outputs:
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma =  0 (off)




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-17 Thread Anton Liaukevich

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/17/08 09:05, Bob Cox wrote:
On Thu, Jul 17, 2008 at 08:45:41 -0500, Ron Johnson ([EMAIL PROTECTED]) wrote: 


On 07/17/08 06:48, Anton Liaukevich wrote:

[snip]


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

Scratch the chipset driver.  It's the SATA driver.  nForce2 is old
enough that it almost definitely needs sata_nv.

Is that right Ron?  The OP says it's IDE.  I'm using a WD2000JB IDE here
and definitely no SATA drivers.


Too true.  Sorry.

Maybe IDE is behind a JMicron bridge?  It needs it's own driver.

$ grep JMI /boot/config-2.6.24smp
CONFIG_BLK_DEV_JMICRON=y
CONFIG_PATA_JMICRON=y

- --
Ron Johnson, Jr.
Jefferson LA  USA

Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh/U+4ACgkQS9HxQb37XmdwnQCgx+J9FjC6bF/Ll7Dg3FQwz2KU
cKoAoKIs1CzIpMrNDRz5w7v6Jy8WsGQk
=1907
-END PGP SIGNATURE-



I tried grep JMI /boot/config-2.6.24-1-686 under root and it had outputed:

CONFIG_BLK_DEV_JMICRON=m
# CONFIG_PATA_JMICRON is not set


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-17 Thread Anton Liaukevich

Pavlos Parissis wrote:

Pavlos Parissis wrote:

In the beginning of July I reinstall my Debian system (lenny). At once I
discover that loading cache in Aptitude (ncurses-UI mode) is very slow
and in general my system is very slow.

In several days I discovered that DMA is turned off on my HDD (fsck
sayed it while Debian booting). Please, help me turn on DMA mode.



[snip]

I had scanned my hdd with native WD scanner and hadn't detected any
error. Memory scan (memtest86+) also hadn't detected any error.
Moreover, Windows XP on another partition of this hdd working normally
and HDD Health program on it (for S.M.A.R.T viewing) don't predict
T.E.C. in the near future. Also after previous installation of Debian
lenny my hdd was working fast.

Use hdparm command to see if the DMS is enabled, if not enable it with the -d flag. If 
that action makes your system faster configure /etc/hdparm.conf to
enable the DMA on boot.

Hope it helps,
Pavlos





I have tried using hdparm (under root) command but it don't help.

command hdparm -d /dev/hda outputs:
/dev/hda:
  using_dma =  0 (off)

command hdparm -d 1 /dev/hda outputs:
/dev/hda:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma =  0 (off)




As Ron has written you may face a problem with the driver which is being used
by the kernel for managing this disk.
Try the following to see which driver is being used.

readlink /sys/block/hda/device/driver


Cheers,
Pavlos






readlink /sys/block/hda/device/driver outputs:
../../../bus/ide/drivers/ide-disk


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA is turned off on my HDD

2008-07-17 Thread Anton Liaukevich

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/17/08 09:28, Anton Liaukevich wrote:

Ron Johnson wrote:
On 07/17/08 09:05, Bob Cox wrote:

On Thu, Jul 17, 2008 at 08:45:41 -0500, Ron Johnson
([EMAIL PROTECTED]) wrote:

On 07/17/08 06:48, Anton Liaukevich wrote:

[snip]


My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)

Scratch the chipset driver.  It's the SATA driver.  nForce2 is old
enough that it almost definitely needs sata_nv.

Is that right Ron?  The OP says it's IDE.  I'm using a WD2000JB IDE here
and definitely no SATA drivers.

Too true.  Sorry.

Maybe IDE is behind a JMicron bridge?  It needs it's own driver.

$ grep JMI /boot/config-2.6.24smp
CONFIG_BLK_DEV_JMICRON=y
CONFIG_PATA_JMICRON=y




I tried grep JMI /boot/config-2.6.24-1-686 under root and it had
outputed:



CONFIG_BLK_DEV_JMICRON=m
# CONFIG_PATA_JMICRON is not set


That might be your problem.

Try this:
# lshw  foo
And then search foo for JM.

lshw is a small package that you might have to install.

Also, here's what my lspci shows:
$ lspci | grep IDE
00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron
20360/20363 AHCI Controller (rev 02)


- --
Ron Johnson, Jr.
Jefferson LA  USA

Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh/WOwACgkQS9HxQb37Xmf2pgCgtp0kmpCfcE/Py+C3a3iIg/9N
/LUAoKpNXHoRlrMmqdaiLx51K3JJKxoz
=M7ub
-END PGP SIGNATURE-



On my system lspci show only one string with 'IDE':
leva:/# lspci | grep 'IDE'
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)

lshw doesn't output anything with 'JM'. Please, see full output in 
attachment.


leva
description: Desktop Computer
width: 32 bits
capabilities: smbios-2.2 dmi-2.2 smp
configuration: boot=normal chassis=desktop
  *-core
   description: Motherboard
   product: nVidia-nForce
   physical id: 2
 *-firmware
  description: BIOS
  vendor: Phoenix Technologies, LTD
  physical id: 0
  version: 6.00 PG (07/29/2004)
  size: 128KiB
  capacity: 192KiB
  capabilities: isa pci pnp apm upgrade shadowing cdboot bootselect 
socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 
int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp 
ls120boot zipboot
 *-cpu
  description: CPU
  product: AMD Sempron(tm)   2200+
  vendor: Advanced Micro Devices [AMD]
  physical id: 4
  bus info: [EMAIL PROTECTED]
  version: 6.8.1
  slot: Socket A
  size: 1500MHz
  width: 32 bits
  clock: 166MHz
  capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 
apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 
3dnow up ts
*-cache:0
 description: L1 cache
 physical id: 9
 slot: Internal Cache
 size: 128KiB
 capacity: 128KiB
 capabilities: synchronous internal write-back
*-cache:1
 description: L2 cache
 physical id: a
 slot: External Cache
 size: 256KiB
 capacity: 256KiB
 capabilities: synchronous external write-back
 *-memory
  description: System Memory
  physical id: 1b
  slot: System board or motherboard
  size: 512MiB
  capacity: 1536MiB
*-bank:0
 description: DIMM
 physical id: 0
 slot: A0
 size: 256MiB
*-bank:1
 description: DIMM
 physical id: 1
 slot: A1
 size: 256MiB
*-bank:2
 description: DIMM [empty]
 physical id: 2
 slot: A2
 *-pci
  description: Host bridge
  product: nForce2 IGP2
  vendor: nVidia Corporation
  physical id: 100
  bus info: [EMAIL PROTECTED]:00:00.0
  version: c1
  width: 32 bits
  clock: 66MHz
  configuration: driver=agpgart-nvidia module=nvidia_agp
*-memory:0 UNCLAIMED
 description: RAM memory
 product: nForce2 Memory Controller 1
 vendor: nVidia Corporation
 physical id: 0.1
 bus info: [EMAIL PROTECTED]:00:00.1
 version: c1
 width: 32 bits
 clock: 66MHz (15.2ns)
 configuration: latency=0
*-memory:1 UNCLAIMED
 description: RAM memory
 product

Sound doesn't work on my system (lenny)

2008-07-17 Thread Anton Liaukevich
Sound doesn't work on my system. Neither system sounds in KDE, nor 
music123, nor vlc utter sound.


My hardware:
Sound is integrated (AC'97)
motherboard: Epox 8RDA3I rev 3.3
northbridge: nForce 2 Ultra
southbridge: MCP
AC'97 codec: from Realtek

My software:
Debian lenny
kernel: linux 2.6.24-1-686


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sound doesn't work on my system (lenny)

2008-07-17 Thread Anton Liaukevich

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/17/08 11:07, Anton Liaukevich wrote:

Sound doesn't work on my system. Neither system sounds in KDE, nor
music123, nor vlc utter sound.

My hardware:
Sound is integrated (AC'97)
motherboard: Epox 8RDA3I rev 3.3
northbridge: nForce 2 Ultra
southbridge: MCP
AC'97 codec: from Realtek

My software:
Debian lenny
kernel: linux 2.6.24-1-686


Is sound muted?  Which sound modules are installed?

$ lsmod | grep ^snd

- --
Ron Johnson, Jr.
Jefferson LA  USA

Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh/cDMACgkQS9HxQb37XmdlEACaAsermDzqx3aEmNI7nFdDuFDw
UkwAnRxedSQpRiozG/kVuirBW+qmZl38
=Rt6n
-END PGP SIGNATURE-



Installed modules:

$ lsmod | grep ^snd
snd_intel8x0   32028  0
snd_ac97_codec 92932  1 snd_intel8x0
snd_pcm_oss38272  0
snd_pcm71780  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_mixer_oss  15296  1 snd_pcm_oss
snd_seq_dummy   3780  0
snd_mpu401  8008  0
snd_mpu401_uart 8000  1 snd_mpu401
snd_rawmidi22624  1 snd_mpu401_uart
snd_seq_oss29472  0
snd_seq_midi_event  6976  1 snd_seq_oss
snd_seq46544  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer  21092  2 snd_pcm,snd_seq
snd_seq_device  7820  4 
snd_seq_dummy,snd_rawmidi,snd_seq_oss,snd_seq
snd48612  12 
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq,snd_timer,snd_seq_device

snd_page_alloc 10056  2 snd_intel8x0,snd_pcm


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Switching keyboard language with Ctrl+Shift in the KDE

2008-07-17 Thread Anton Liaukevich

I want to use Russia  USA keyboard layouts and switch them with
Ctrl+Shift. I had added Russia  USA to active layouts so that I can
 switch them with left-mouse-click in the tray. But I hadn't be able to
find option for layout switching in Keyboard Shortcuts (excepting for
Switch to Next Keyboard Layout) applet of KDE Control Center.

For now I selected only Russian layout but turned on the checkbox
Include lation layout so that command for xkb became:
setxkbmap -model pc104 -layout ru,us and turned on the checkbox
Ctrl+Shift change layout in Xkb Options tab. After it I has been
able to switch language with Ctrl+Shift. Unfortunately, now I can't see
current language in the tray that is very inconvenient.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sound doesn't work on my system (lenny)

2008-07-17 Thread Anton Liaukevich

Ron Johnson wrote:

On 07/17/08 11:07, Anton Liaukevich wrote:

Sound doesn't work on my system. Neither system sounds in KDE, nor
music123, nor vlc utter sound.

My hardware:
Sound is integrated (AC'97)
motherboard: Epox 8RDA3I rev 3.3
northbridge: nForce 2 Ultra
southbridge: MCP
AC'97 codec: from Realtek

My software:
Debian lenny
kernel: linux 2.6.24-1-686


Is sound muted?  Which sound modules are installed?

$ lsmod | grep ^snd


Installed modules:

$ lsmod | grep ^snd
snd_intel8x0   32028  0
snd_ac97_codec 92932  1 snd_intel8x0
snd_pcm_oss38272  0
snd_pcm71780  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_mixer_oss  15296  1 snd_pcm_oss
snd_seq_dummy   3780  0
snd_mpu401  8008  0
snd_mpu401_uart 8000  1 snd_mpu401
snd_rawmidi22624  1 snd_mpu401_uart
snd_seq_oss29472  0
snd_seq_midi_event  6976  1 snd_seq_oss
snd_seq46544  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer  21092  2 snd_pcm,snd_seq
snd_seq_device  7820  4
snd_seq_dummy,snd_rawmidi,snd_seq_oss,snd_seq
snd48612  12
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 10056  2 snd_intel8x0,snd_pcm


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]