Re: searching for a structure viewer tool

2015-03-22 Thread Sergey Spiridonov

Hi

On 20.03.2015 15:56, Sergey Spiridonov wrote:


If found such a tool exists for MS Windows [1]. I remember there was
similar for MS DOS. Is there something like that for the Debian GNU/Linux?


[1]
http://www.hexworkshop.com/onlinehelp/500/html/idhelp_struct_overview.htm


Here [1] is similar tool written by author of HIEW for MS-DOS. You can 
run it in dosbox:


[1] ftp://ftp.sac.sk/sac/utilprog/stl430.zip

--
Best regards, Sergey Spiridonov



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

Archive: https://lists.debian.org/memsb5$af6$1...@ger.gmane.org



searching for a structure viewer tool

2015-03-20 Thread Sergey Spiridonov
Hi all

I am looking for a tool which will allow to describe binary structure,
some thing like

byte 0-3: ascii string: name
byte 4-5: uint16 network order:  age
byte 6: bitfield: flags

and so on


Then it should take arbitrary binary file and display contents of the
file nicely according to the description.

If found such a tool exists for MS Windows [1]. I remember there was
similar for MS DOS. Is there something like that for the Debian GNU/Linux?


[1]
http://www.hexworkshop.com/onlinehelp/500/html/idhelp_struct_overview.htm

-- 
Best regards, Sergey Spiridonov


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mehcfc$6tj$1...@ger.gmane.org



Re: searching for a structure viewer tool

2015-03-20 Thread Sergey Spiridonov
Hi

On 20/03/15 17:50, Renaud (Ron) OLGIATI wrote:

 I am looking for a tool which will allow to describe binary structure,
 some thing like

 COBOL ?

Well, it exists in Debian (as well as perl and gcc), but I will prefer
something more specialized.

-- 
Sergey



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/vq1utb-vuu@legba.gamic.com



Re: rootkit/virus/trojan on squeeze 32 bit

2013-03-13 Thread Sergey Spiridonov

Hi Richard

On 03/13/2013 03:59 AM, Richard Hector wrote:

This was the problem! Thank you very much. I installed prelink looong
time ago (  3 years). Why do I got this problem suddenly right now,
after so many years? - no idea. Probably some configuration file got
overwritten during update.


So to clarify - there was no rootkit or other compromise; prelink was
modifying the files as intended?


Yes, there was no rootkit or other compromise. prelink was modifying the 
files as intended.


I was confused because prelink was installed long time ago and there was 
no problem with skype. But suddenly (after Debian and skype update) 
skype started to complain about modified binary.



I am not 100% sure how this happen, but I guess it was like that:

Before (3 years ago until now) /etc/prelink.conf had an entry

-b /usr/bin/skype

which prevents prelink from modifying skype binary. Few days ago, during 
Debian update /etc/prelink.conf got overwritten by the default 
/etc/prelink.conf. After that prelink modified skype binary. Skype has 
built-in check for binary modification and starts complaining.


Sorry for noise.
--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/khpmo7$drp$1...@ger.gmane.org



Re: rootkit/virus/trojan on squeeze 32 bit

2013-03-12 Thread Sergey Spiridonov

Hi sp113438

On 03/12/2013 01:23 AM, sp113438 wrote:


No solution, but how did you find out about the changed size?


This is all happening on the remote machine of my friend. I do not have 
direct access to hardware.


First skype refused to start complaining about modified binary. I 
reinstalled skype from the same deb file (some old 2.x) and noticed that 
binary file size and md5 was changed. After system reboot skype refused 
to start again and I find out that its binary changed size and md5. I 
tried debsums - it does not show any error.


I compared some other binaries like passwd, dash and hddparm with my 
local passwd, hddparm and dash. Remote binaries were larger. debsums 
does not show any problem again. Additionally passwd looses sticky bit.


I copied passwd, dash, hddparm, skype binaries on my local machine and 
tried clamscan, avast and bitdefender. They did not detect anything.


So this must be something new.

I wonder, is there any organization which takes care about such things?
--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/khmsvi$6ie$1...@ger.gmane.org



Re: rootkit/virus/trojan on squeeze 32 bit

2013-03-12 Thread Sergey Spiridonov

Hi Sven

On 03/12/2013 11:34 AM, Sven Joachim wrote:


FWIW, it is possible that the files had been subject to being treated
with prelink(8); debsums will not report those files unless called with
the --no-prelink option.


This was the problem! Thank you very much. I installed prelink looong 
time ago ( 3 years). Why do I got this problem suddenly right now, 
after so many years? - no idea. Probably some configuration file got 
overwritten during update.


Thank you and all participants for your time and help!
--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/t5j31a-jhp@legba.gamic.com



rootkit/virus/trojan on squeeze 32 bit

2013-03-11 Thread Sergey Spiridonov

Hi Debian

Just detected several modified binaries on one of my Debian Squeeze 32 
bit, like /usr/bin/passwd, /bin/dash, /sbin/hdparm, /usr/bin/skype etc. 
Modified files are bigger in size, but debsums does not complain about 
them. I tried clamscan and avast on this binaries on another host, they 
did not find anything. I also tried chkrootkit and rkhunter (but I did 
not get possibility to boot from safe media yet).


You can find some good and binaries here [1]. This virus/rootkit seems 
to be clever enough to deceive debsums, so it is Debian-related.


1. http://hurd.homeunix.org/~sena/bad-skype/

If I reinstall binaries, they become normal size, but become changed 
again after reboot.


Any ideas? What else needs to be done? Currently I am going to reinstall 
Debian box.

--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/khlopn$34n$1...@ger.gmane.org



Re: Auto-emptying of trash.

2013-03-04 Thread Sergey Spiridonov

Hello Sharon

On 03/03/2013 11:04 PM, Sharon Kimble wrote:

I'm trying to get a bash script working from a cron job that will empty
trash of all files and directories that are older than $N [7 days in
this case].


May be it is not what you need, but I look at package tmpreaper.

--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/kh1pbg$sem$1...@ger.gmane.org



future of dbmail in Debian

2013-03-04 Thread Sergey Spiridonov

Hi Debian

I am using dbmail package [1] at home and at work for many years 
already. I just noticed that dbmail is not in Wheezy and is also kicked 
out from Sid (for i386). I found bug [2] telling that maintainer is not 
responding.


1. http://packages.debian.org/squeeze/dbmail
2. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672643

What is the current status of that package?

I found that dbmail project is still active. There is even ready package 
from dbmail developers to install in Sid [3][4]. So why dbmail is not in 
Wheezy and not even in Sid? What needs to be done to get it back in Debian?


3. http://permalink.gmane.org/gmane.mail.imap.dbmail/14263
4. http://debian.nfgd.net/debian/dists/sid/main/binary-amd64/mail/

If the problem is that package maintainer is not responding, can 
somebody else upload it please?

--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/kh1rig$h0d$1...@ger.gmane.org



Re: upgrading to wheezy - multiseat stops working

2013-02-25 Thread Sergey Spiridonov

Bugreport 701599
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701599


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

Archive: http://lists.debian.org/kgfmi3$4ir$1...@ger.gmane.org



Re: upgrading to wheezy - multiseat stops working

2013-02-23 Thread Sergey Spiridonov

Hi Linux-Fan

On 19.02.2013 09:15, Linux-Fan wrote:


This topic recently appeared in a German computer magazine: Although the
description was for Ubuntu, it might help you that they recommended to
end the command line with a '#' to make the added options becomme
comments, like

command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:2:0:0 #

or similar.


Thank you. I added '#' at the end of the X command, it does not help.

--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/kgbg5p$j6k$1...@ger.gmane.org



Re: upgrading to wheezy - multiseat stops working

2013-02-23 Thread Sergey Spiridonov

Hi Hugo

On 18.02.2013 20:54, Hugo Vanwoerkom wrote:


Glad to see someone is still trying multiseat! AFAIK the problem is the
loss of gdm. It is still in sid, have you tried running with that?


I use multiseat for many years already (~6 years). And you are right, 
the problem is the loss of gdm. Unfortunately it is not in sid for 
amd64/i386 anymore [1]. But fortunately (probably because it is not 
c++), gdm from Squeeze works in Wheezy! So, I installed gdm from Squeeze 
and my multiseat is working again!


Thank you very much, I will file a bug against lightdm.

1. http://packages.debian.org/sid/gdm

--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/kgbgl2$o5j$1...@ger.gmane.org



upgrading to wheezy - multiseat stops working

2013-02-17 Thread Sergey Spiridonov

Hi Debian

I try to upgrade my working multi-seat installation to wheezy. I have 
nvidia graphic cards. In squeeze I used gdm. It was working OK. I had 
following entries in gdm.conf:


8-8
[servers]
0=Standard0
1=Standard1

[server-Standard0]
name=Standard server
command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:2:0:0 
-layout seat0

flexible=false

[server-Standard1]
name=Standard server
command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:3:0:0 
-layout seat1

flexible=false
8-8


Nothing special...

Wheezy does not have gdm. There is gdm3, but Google tells that it does 
not support multi-seat. So, I took lightdm. Here is first lightdm.conf 
(copy-paste from gdm):

8-8
[LightDM]
minimum-display-number=0
minimum-vt=7
xserver-allow-tcp=false

[SeatDefaults]
xserver-command=/usr/bin/X
xserver-allow-tcp=false
greeter-session=lightdm-greeter
session-wrapper=/etc/X11/Xsession


[Seat:0]
command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:2:0:0
xserver-layout=seat0

[Seat:1]
command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:3:0:0
xserver-layout=seat1

8-8

This does not work. I reduced X command as much as possible. When I look 
at ps output, I can see that isolateDevice is filtered by lightdm. Also 
lightdm adds his own options to X, so reduced command line looks like 
the following:


[Seat:0]
command=/usr/bin/X
xserver-layout=seat1

[Seat:1]
command=/usr/bin/X -sharevts
xserver-layout=seat0


After reboot I get login screen on one of the seat. Seat0 alternate with 
seat1. First time I get seat1 next time seat0, then again seat1 and so 
on. Another display always stays black.


If I get seat1 running, I get both X server in process list:

$ ps a| grep X
 3494 tty7 Ss+0:00 /usr/bin/X :0 -layout seat1 -auth 
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
 3496 tty8 Ss+0:13 /usr/bin/X :1 -layout seat0 -auth 
/var/run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch



If I get seat0 running, I get only one X server. Another just exits or 
sometimes crashes.


I do not see errors or something unusual in log files.

Interesting is that sharevts option is always filtered by lightdm and is 
not passed to X server, as well as isolateDevice option.


I am attaching config files, but there is nothing special there. 
xorg.conf is working in squeeze. Log files do not show any error.


What I tried:

1. Switched order of seats in lightdm - no effect
2. Added Option ProbeAllGpus FALSE to all nvidia sections - no effect

I did not file bug report yet.
--
Best regards, Sergey Spiridonov

#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the 
configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# user-authority-in-system-dir = True if session authority should be in the 
system location
# guest-account-script = Script to be run to setup guest account
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# xsessions-directory = Directory to find X sessions
# xgreeters-directory = Directory to find X greeters
#

[LightDM]
#start-default-seat=true
#greeter-user=lightdm
minimum-display-number=0
minimum-vt=7
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#log-directory=/var/log/lightdm
#run-directory=/var/run/lightdm
#cache-directory=/var/cache/lightdm
#xsessions-directory=/usr/share/xsessions
#xgreeters-directory=/usr/share/xgreeters

#
# Seat defaults
#
# xserver-command = X server command to run (can also contain arguments e.g. X 
-special-option)
# xserver-layout = Layout to pass to X server
# xserver-config = Config file to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in 
keys.conf)
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login 
option
# user-session = Session to load for users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# display-setup-script = Script to run when starting a greeter session (runs as 
root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as 
root

Re: is this result of keylogger? am i hacked?

2011-11-26 Thread Sergey Spiridonov
Hi

21.07.2010 14:39, Sergey Spiridonov пишет:
 I found yesterday that some files in /etc/ (/etc/shells and
 /etc/default/default/schroot) are changed. They contain data which I was
 typing on keyboard. Strange enough, this files are not overwritten, but
 contain data they should contain + somewhere in the middle or at the
 beginning of the file they contain something I typed in browser or in
 command line in X window system.


I found the reason for this. This is most probably a bug of X server.
Here[1] is bugreport. Bug 612836


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612836

-- 
Sergey


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jaqk36$l1v$1...@dough.gmane.org



Re: is this result of keylogger? am i hacked?

2010-07-27 Thread Sergey Spiridonov

Hi

On 07/27/2010 02:38 AM, Rob Owens wrote:

You can apt-get install things in Knoppix.  It'll just install it using
available RAM, and won't actually write it to the disk.


I did not have internet for some time at that machine. Now I get 
internet and installed cryptsetup. But now I have another problem - lvm 
volume is not recognized (see my other mail in this thread). Same 
problem happen on Debian Live DVD.

--
Best regards, Sergey Spiridonov



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

Archive: http://lists.debian.org/a0g2i7-4ql@legba.gamic.com



Re: is this result of keylogger? am i hacked?

2010-07-27 Thread Sergey Spiridonov

Hi

On 27.07.2010 00:09, Jordon Bedwell wrote:

On 7/26/10 5:05 PM, Sergey Spiridonov wrote:


# cryptsetup create md1-crypt /dev/md1
# pvdisplay /dev/mapper/crypt-md1
No physical volume label read from /dev/mapper/md1-crypt
Failed to read physical volume /dev/mapper/md1-crypt

I should probably start separate thread about this problem, because it
is not related to the original problem.


This was my stupid error. I must run cryptsetup luksOpen instead of 
cryptsetup create. That was the reason.


However chkrootkit and fsck found no problem.

What else can I check?
--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/i2njvv$o4...@dough.gmane.org



Re: is this result of keylogger? am i hacked?

2010-07-26 Thread Sergey Spiridonov

Hi

On 26.07.2010 00:51, Jordon Bedwell wrote:

Also, to add, if you plan on doing a cryptographic integrity check, you
need to do this from a liveCD not from a liveUSB. The only reason you
would do a liveUSB is for things like fsck and chkrootkit (where you
would mount as readonly at first)



I tried to use Debian Live DVD with squeeze and latest Knoppix 6.2.1 
with no success. I managed to boot and to run cryptsetup, but lvm does 
not recognize partitions.


I ran like that:

# cryptsetup create md1-crypt /dev/md1
# pvdisplay /dev/mapper/crypt-md1
 No physical volume label read from /dev/mapper/md1-crypt
 Failed to read physical volume /dev/mapper/md1-crypt


I should probably start separate thread about this problem, because it 
is not related to the original problem.

--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/i2l0sa$hp...@dough.gmane.org



Re: is this result of keylogger? am i hacked?

2010-07-25 Thread Sergey Spiridonov

Hi

I ran memcheck 4.0, it showed no problem. Unfortunately I can not use 
knoppix to mount and check my partitions with fsck and chkrootkit, 
bevause latest knoppix (6.2.1) for whatever reason does not include 
cryptsetup. :(


--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/i2htm6$4r...@dough.gmane.org



Re: is this result of keylogger? am i hacked?

2010-07-23 Thread Sergey Spiridonov

Hi

On 07/21/2010 06:45 PM, Chris Davies wrote:

 For breakage of something as significant as /etc/shells, I'd prioritise
 investigations in that order. Memtest86+ is a no-brainer, so let it
 test your machine. Are you using a kernel that's got known issues with
 whatever filesystem you are using for /etc? (Have you looked?)

I will do checks today just need to buy cdrom first. I will report 
memtest86+, fsck and chkrootkit results this evening. Kernel is current 
squeeze kernel. Filesystem is ext3. AFAIK ext3 is quite stabe now.


Today i found addidtionaly hidden files in /etc

.passwd.swn and similar .p.*

file tells that they are vim swap files, but inside they also contain 
keyboard logs (among other data).


 What was the outcome of your investigation into the previous situation?

The prevoius situation happens on the providers virtual hosting, so I 
can not do a lot. Perfromed nmap from outside, chkrootkit from inside 
with no results.


--
Sergey


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

Archive: http://lists.debian.org/52vnh7-83o@legba.gamic.com



Re: is this result of keylogger? am i hacked?

2010-07-23 Thread Sergey Spiridonov

Hi

On 07/21/2010 11:51 PM, François TOURDE wrote:


I think memory is not the reason, because some time ago I get broken
/etc/shells file also on another machine, which is running Lenny.


If you are so confident, why asking here?


I am not confident and I will do this tests (just need to buy cdrom 
first), just expressed my opinion on this. I found also yesterday swp 
files with keyboard logs (see my other mail).



1) Try memtest, it's a good idea.


Will do this evening.


2) Unplug you box from the net, to avoid more corruption


Done.


3) Check the syslog about disk errors


There are no.


4) Check colocs/friends/family for any acces to your box


Done.


5) Tell us more about software installed, especially non Debian packaged
software.


Since i upgraded to squid I did not install something special. Before, 
in lenny i did compile, packaged and installed several packages like 
openttd with highres graphics patch, mozilla and its dependencies from 
testing, also adobe flash from debian-non free and nvidia from debian 
non-free are installed. That is all I remember right now.



6) If you are creationist, ask God ;)


Will try, good idea :)
--
Sergey


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

Archive: http://lists.debian.org/duvnh7-t3o@legba.gamic.com



is this result of keylogger? am i hacked?

2010-07-21 Thread Sergey Spiridonov

Hi

I found yesterday that some files in /etc/ (/etc/shells and 
/etc/default/default/schroot) are changed. They contain data which I was 
typing on keyboard. Strange enough, this files are not overwritten, but 
contain data they should contain + somewhere in the middle or at the 
beginning of the file they contain something I typed in browser or in 
command line in X window system.


This looks like that I am hacked and somebody try to get my passwords. 
But may be there is another explanation, like broken package? Or can 
somebody suggest, how can I check it? Reinstalling everything from 
scratch is a lot of work...


System is squeeze, upgraded from lenny few weeks ago.


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

Archive: http://lists.debian.org/ud6jh7-ajc@legba.gamic.com



Re: is this result of keylogger? am i hacked?

2010-07-21 Thread Sergey Spiridonov

Hi

On 07/21/2010 03:40 PM, Jochen Schulz wrote:


One possible reason: your memory is corrupt. Run memtest86 to check
that.


I think memory is not the reason, because some time ago I get broken 
/etc/shells file also on another machine, which is running Lenny.


--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/uocjh7-1ke@legba.gamic.com



missing bluetooth headset support in Ekiga in Squeeze

2010-07-07 Thread Sergey Spiridonov

Hi all

I switched to Squeeze and try out bluetooth Nokia headset. Blueman can 
see it, so I can pair, add it, enable. This works perfect, but 
unfortunately no new audio device appeared.


Here is quotation from ekiga wiki [1]:

Warning: btsco (bluetooth linux driver) is no longer maintained and does 
not work extremely well. Ekiga should support bluetooth audio device 
exposed by ALSA but does not currently (2008-05).


[1] http://wiki.ekiga.org/index.php/Tested_hardware#Bluetooth

Is it really that bad, or there is a way to get bt headset working in 
Squeeze?


--
Best regards, Sergey Spiridonov


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

Archive: http://lists.debian.org/atfeg7-dbt@legba.gamic.com



Re: usb flash drive stops liking Debian GNU/Linux

2009-08-27 Thread Sergey Spiridonov
Hi all

Ron Johnson wrote:

 I'd say that Linux is being more strict than Windows at detecting
 failing h/w.

Thanks. Seems to be very useful feature!

PS. For those who for whatever stupid reason does not like it, can run

$ echo 20  /sys/module/scsi_mod/parameters/inq_timeout
-- 
Best regards, Sergey Spiridonov


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



Re: usb flash drive stops liking Debian GNU/Linux

2009-08-27 Thread Sergey Spiridonov
Hi Ron

Ron Johnson wrote:

 Does this, IOW, make your thumb drive work?

Yep. It works like a charm after tuning the kernel. I tested it by
copying 4x2GB files.
-- 
Best regards, Sergey Spiridonov


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



usb flash drive stops liking Debian GNU/Linux

2009-08-26 Thread Sergey Spiridonov

Hi all

I have USB flash drive 8GB Flash Voyager from Corsair. It was working 
without a problem for about 1 year. Suddenly it stops working producing 
errors which you can see at the end of this mail. I brought it to the 
shop to get a replacement. Seller plugged it in to the Windows notebook 
and it works! Then I brought it home, but at home flash still was not 
working. I found a dual boot PC and this flash drive  works with Windows 
but refuses to work with Linux anymore!


Any idea what this can be? May be there is a simple quick way to debug 
usb subsystem?


I use kernel  2.6.30-bpo.1-amd64


[275863.693155] usb 1-3.1: new high speed USB device using ehci_hcd and 
address 14
[275863.785864] usb 1-3.1: New USB device found, idVendor=067b, 
idProduct=2528
[275863.785893] usb 1-3.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[275863.785925] usb 1-3.1: Product: Flash Voyager
[275863.785944] usb 1-3.1: Manufacturer: Corsair
[275863.785963] usb 1-3.1: SerialNumber: 000802214E5B528A3E26
[275863.786193] usb 1-3.1: configuration #1 chosen from 1 choice
[275863.975608] Initializing USB Mass Storage driver...
[275863.979047] scsi6 : SCSI emulation for USB Mass Storage devices
[275863.980143] usbcore: registered new interface driver usb-storage
[275863.980167] USB Mass Storage support registered.
[275863.980432] usb-storage: device found at 14
[275863.980438] usb-storage: waiting for device to settle before scanning
[275867.573883] ioctl32(xfce4-terminal:7362): Unknown cmd fd(18) 
cmd(530b){t:'S';sz:0} arg(f7ebfc8a) on /dev/pts/6
[275867.573931] ioctl32(xfce4-terminal:7362): Unknown cmd fd(18) 
cmd(530b){t:'S';sz:0} arg(f7ebfc8f) on /dev/pts/6
[275867.573971] ioctl32(xfce4-terminal:7362): Unknown cmd fd(18) 
cmd(530b){t:'S';sz:0} arg(f7ebfc96) on /dev/pts/6

[275868.980861] usb-storage: device scan complete
[275874.877111] usb 1-3.1: reset high speed USB device using ehci_hcd 
and address 14

[275889.948981] usb 1-3.1: device descriptor read/64, error -110
[275905.124874] usb 1-3.1: device descriptor read/64, error -110
[275905.300912] usb 1-3.1: reset high speed USB device using ehci_hcd 
and address 14

[275920.372289] usb 1-3.1: device descriptor read/64, error -110
[275935.564727] usb 1-3.1: device descriptor read/64, error -110
[275935.740729] usb 1-3.1: reset high speed USB device using ehci_hcd 
and address 14

[275946.148044] usb 1-3.1: device not accepting address 14, error -110
[275946.220669] usb 1-3.1: reset high speed USB device using ehci_hcd 
and address 14

[275956.628027] usb 1-3.1: device not accepting address 14, error -110
[275956.628334] scsi 6:0:0:0: Device offlined - not ready after error 
recovery

[275956.629438] usb 1-3.1: USB disconnect, address 14
[275956.717626] usb 1-3.1: new high speed USB device using ehci_hcd and 
address 15

[275971.789479] usb 1-3.1: device descriptor read/64, error -110
[275986.964421] usb 1-3.1: device descriptor read/64, error -110
[275987.140399] usb 1-3.1: new high speed USB device using ehci_hcd and 
address 16

[276002.229345] usb 1-3.1: device descriptor read/64, error -110
[276017.421235] usb 1-3.1: device descriptor read/64, error -110
[276017.596243] usb 1-3.1: new high speed USB device using ehci_hcd and 
address 17

[276028.004031] usb 1-3.1: device not accepting address 17, error -110
[276028.081176] usb 1-3.1: new high speed USB device using ehci_hcd and 
address 18

[276038.488544] usb 1-3.1: device not accepting address 18, error -110
[276038.488715] hub 1-3:1.0: unable to enumerate USB device on port 1
--
Best regards, Sergey Spiridonov


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




Re: against which package to report this regression bug: sound does not work in lenny, but work in etch on notebook toshiba satellite a30

2009-06-27 Thread Sergey Spiridonov

Hi all

Sergey Spiridonov пишет:


I think it is not kernel problem. Because:


Well, I was wrong. It is kernel problem, conflict between acpi_cpufreq 
and snd_atiixp. The workaround is not to use acpi_cpufreq.


I created bugreport #534904 [1]. Interesting that similar bug #362708 
[2] was opened 3 years ago and was closed 1 year ago with comment in 
newer kernels acpi_cpufreq is gone. I also opened a bug in kernel 
bugzilla [3].


1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534904
2. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=362708
3. http://bugzilla.kernel.org/show_bug.cgi?id=13591

--
Best regards, Sergey Spiridonov


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



Re: against which package to report this regression bug: sound does not work in lenny, but work in etch on notebook toshiba satellite a30

2009-06-24 Thread Sergey Spiridonov

Hi Rustam

Rustam пишет:


what's the result of aplay -l ? it will tell you the chipset.


$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: IXP [ATI IXP], device 0: ATI IXP AC97 [ATI IXP AC97]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


inspect /usr/share/doc/alsa-base/driver/ALSA-Configurations.txt.gz and
see if the chipset is supported there. next you must put
model=laptop-model in the config file.


As far as I see, there is no model option for this module:

Module for ATI IXP 150/200/250/400 AC97 controllers.

ac97_clock  - AC'97 clock (default = 48000)
ac97_quirk  - AC'97 workaround for strange hardware
  See AC97 Quirk Option section below.
ac97_codec  - Workaround to specify which AC'97 codec
  instead of probing.  If this works for you
  file a bug with your `lspci -vn` output.
  -2  -- Force probing.
  -1  -- Default behavior.
  0-2 -- Use the specified codec.
spdif_aclink- S/PDIF transfer over AC-link (default = 1)



edit /etc/modprobe.d/sound:
options your-sound-module model=toshiba


I poot

options snd-atiixp index=0 model=toshiba

This does not work. In debian etch same driver works without any 
aditional options.


Should I report bug against alsa libraries?

Thanks a lot for your answer.
--
Best regards, Sergey Spiridonov


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



Re: against which package to report this regression bug: sound does not work in lenny, but work in etch on notebook toshiba satellite a30

2009-06-24 Thread Sergey Spiridonov

Hi Rustam

Rustam wrote:


I guess I've misjudged the problem. Sorry about that. I read your first
email carefully, you said that if acpi=off then the sound is OK.

Now, I think this is not sndcard problem. I guess it's kernel problem,
acpi .
Anyone please correct me if I'm wrong.


I think it is not kernel problem. Because:

1. It works in Debian Etch with kernel 2.6.18
2. It does not work in Debian Lenny with the same kernel 2.6.18

It may be also kernel problem, but definitly not only kernel.
--
Best regards, Sergey Spiridonov


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




against which package to report this regression bug: sound does not work in lenny, but work in etch on notebook toshiba satellite a30

2009-06-21 Thread Sergey Spiridonov

Hi all

I have very strange problem with sound. Sound does not work in Debian 
Lenny, but works in Debian Etch. Hardware is Toshiba Satellite a30 
(lspci in attachment), with sound card ATI Technologies Inc IXP150 AC'97 
Audio Controller.


Often the very first time I start playing music after reboot on Debian 
Lenny, sound works for certain period of time. Second time xfmedia 
hangs, mplayer prints out following in loop:


 [AO_ALSA] alsa-lib: pcm_hw.c:405:(snd_pcm_hw_hwsync)
 SNDRV_PCM_IOCTL_HWSYNC failed: Broken pipe

This does not happen in Debian Etch.

My first idea was that this is kernel problem. During boot I got 
following suspicious messages (full dmesg is in attachment):


MP-BIOS bug: 8254 timer not connected to IO-APIC
..trying to set up timer (IRQ0) through the 8259A ...  failed.
...trying to set up timer as Virtual Wire IRQ... works.
[snip]
atiixp: codec reset timeout
atiixp-modem: no codec available

After some experimenting with kernel boot options, I found out that 
sound works with option acpi=off. Other options, like  noapic,

acpi={noirq,strict,force}, pci=noacpi, nolapic_timer do not help.

Using acpi=off is not a very nice solution, because it switches off 
other usefull for notebook features.


Suspicious kernel messages mentioned above, appear also with option 
acpi=off.


Installing kernel 2.6.29 (from lenny-backports) does not help. 
Additionaly 2.6.29 locks up after some time.


I installed Debian Etch on separate partition and there sound works 
without any problem. It work with both 2.6.18 and 2.6.24.


So, I installed kernel 2.6.18 and 2.6.24 from Etch in to the Debian 
Lenny (just added etch into sources.list and installed). And this does 
not help! I got same sound problems in Debian Lenny with kernels 2.6.18 
and 2.6.24 from Etch!


So, it looks like it is not a kernel problem. But I do not know where to 
look for a problem now and I do not know against which package should I 
report this regression bug.


Please put me on CC when you reply to this message.
--
Best regards, Sergey Spiridonov


00:00.0 Host bridge: ATI Technologies Inc RS300 Host Bridge (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc Radeon 9100 IGP AGP Bridge
00:13.0 USB Controller: ATI Technologies Inc OHCI USB Controller #1 (rev 01)
00:13.1 USB Controller: ATI Technologies Inc OHCI USB Controller #2 (rev 01)
00:13.2 USB Controller: ATI Technologies Inc EHCI USB Controller (rev 01)
00:14.0 SMBus: ATI Technologies Inc SMBus (rev 17)
00:14.1 IDE interface: ATI Technologies Inc Dual Channel Bus Master PCI IDE 
Controller
00:14.3 ISA bridge: ATI Technologies Inc Device 434c
00:14.4 PCI bridge: ATI Technologies Inc IXP200 3COM 3C920B Ethernet Controller
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio 
Controller
00:14.6 Modem: ATI Technologies Inc IXP AC'97 Modem (rev 01)
01:05.0 VGA compatible controller: ATI Technologies Inc RS300M AGP [Radeon 
Mobility 9100IGP]
02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 
Controller (PHY/Link)
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
02:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.26-2-686 (Debian 2.6.26-15lenny3) 
(da...@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) 
#1 SMP Thu May 28 15:39:35 UTC 2009
[0.00] BIOS-provided physical RAM map:
[0.00]  BIOS-e820:  - 0009f800 (usable)
[0.00]  BIOS-e820: 0009f800 - 000a (reserved)
[0.00]  BIOS-e820: 000d - 000d8000 (reserved)
[0.00]  BIOS-e820: 000e4000 - 0010 (reserved)
[0.00]  BIOS-e820: 0010 - 1bf6 (usable)
[0.00]  BIOS-e820: 1bf6 - 1bf6d000 (ACPI data)
[0.00]  BIOS-e820: 1bf6d000 - 1bf8 (ACPI NVS)
[0.00]  BIOS-e820: 1bf8 - 1c00 (reserved)
[0.00]  BIOS-e820: 2bf8 - 2c00 (reserved)
[0.00]  BIOS-e820: fec0 - fec1 (reserved)
[0.00]  BIOS-e820: fee0 - fee01000 (reserved)
[0.00]  BIOS-e820: fff8 - 0001 (reserved)
[0.00] 0MB HIGHMEM available.
[0.00] 447MB LOWMEM available.
[0.00] found SMP MP-table at [c00f6700] 000f6700
[0.00] Entering add_active_range(0, 0, 114528) 0 entries of 256 used
[0.00] Zone PFN ranges:
[0.00]   DMA 0 - 4096
[0.00]   Normal   4096 -   114528
[0.00]   HighMem114528 -   114528
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[1] active PFN ranges
[0.00] 0:0 -   114528
[0.00] On node 0 totalpages: 114528

GA-MA790FX-DS5 SATA ahci problem on Jmicron JMB363 kernel 2.6.25-2 Lenny

2008-08-22 Thread Sergey Spiridonov
Hi

I got kernel errors (in attachment) and SATA reset on heavy load on the
hard drive
connected to the GA-MA790FX-DS5 onboard controller Jmicron JMB363. Hard
drive connected to the another onboard (south bridge SB600) controller
works without problem.

I got two 1TB Seagate hard disks, ST31000340AS and ST31000340NS. I
connected one to Jmicron JMB363, another to SB600. After some testing
with several instances of bonnie++ I got kernel errors. After this I
exchanged hard disks connections. The one which was connected to JMB363
i connected to SB600 and vs versa. Errors, timeouts and hard drive
resetting happened always on the hard drive which is connected to the
JMB363 (in log file it is sdb). You can find kernel log at the end of
the message. There are no errors if both drives are connected to the SB600.

I already replaced (took from working PC) power supply, memory, video
card and dvd drive. I get same problems also with this devices. So
problem must be motherboard, software or CPU. CPU seems to work O.K.

It looks like the problem is motherboard or ahci ata driver. Does
somebody have any clue about it?
-- 
Best regards, Sergey Spiridonov


kernel.log.gz
Description: GNU Zip compressed data


Re: how to shape incoming traffic on specific port?

2004-03-18 Thread Sergey Spiridonov
David Clymer wrote:
On Wed, 2004-03-17 at 19:18, Sergey V. Spiridonov wrote:

I need to limit incoming traffic on the specific port (I experimented
with ssh). Outgoing traffic can me easely limited with tc, but I have
problems with incoming traffic. I tried to drop some packets, but after
this ssh stop working at all.
Is there any standard way to do incoming traffic limitation?


What sort of set up is this? Is the box serving as a router, or a server
of some sort? What are you interested in policing? What kernel version
are you running?
Thank you for long reply.

It is a network of 12 machines with kernels 1x2.6.4, 2x2.6.2, 1x2.4.20,
3x2.4.18, 5x2.4.16 organized in two subnets. I need to limit network
input/output bandwidth for specific port on some selected machines in
various combinations for simulating another network.
if the box is serving as a router/firewall, and you want to limit
traffic to a box behind it. you could forget about policing, and instead
use traffic shaping (policing is incoming traffic, shaping is outgoing)
on the packets you are sending to that box. That way, you can use tc and
your qdisc of choice to delay or prioritize traffic in a more flexible
way. AFAIK, you cannot use any of the fancy qdiscs on incoming packets,
only on outgoing.
Yes, I understand this. I already managed to shape outgoing traffic. One
of the possibility to shape incoming traffic for host A is to shape
outgoing traffic from all other hosts to A. It is possible, but not very 
convenient (imagine, to change bandwidth for one host I will need to 
change configuration on 12 hosts). I thought there is a way to do it 
just by configuring target host A.

Using the shaping method, you could use PRIO to prioritize say
interactive traffic (including ssh) or (depending on your kernel
version) could use some iptable rules in conjuntion with a heirarchy of
HTB schedulers to modify traffic.
The above statement is valid just for outgoing traffic, isn't it?

You could try using the script provided here (I have to head to work,
and dont have time to look at myself, just looked promising):
http://www.trekweb.com/~jasonb/articles/linux_tc_minihowto.shtml

He suggests patching the kernel to get support for HTB, but you could
just use a 2.4.2x version, where its included in the kernel sources
already.
Thanks, I will have a look. I hoped it is possible without patching the
kernel :(
--
Best regards, Sergey Spiridonov


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



$HOSTNAME is not exported

2003-12-16 Thread Sergey Spiridonov


Hi,

I found out, that $HOSTNAME is not exported by default in latest unstable:

[EMAIL PROTECTED]:~$ echo $HOSTNAME
mars
[EMAIL PROTECTED]:~$ env | grep HOSTNAME
[EMAIL PROTECTED]:~$

Is it a bug?
-- 
Best regards, Sergey Spiridonov


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