Re: Is this OK in C++ and C?

2013-01-02 Thread Zbigniew Komarnicki
On Wednesday 02 of January 2013 16:00:50 you wrote:

  I wanted to prohibit user to assign negative value to a variable.
  This variable is later passed to a recurrence function as
  argument and of course I got segmentation fault, because
  the function is called 4294967291 times.
 
 I guess you mean recursive function. (Isn't English fun? Hang in there.)

Yes, you are right.
 
[...] 
 This took me a couple of years to figure out, but unsigned types are
 not for enforcing range. They are strictly for optimization. For
 example (in C, not C++):
 
 int doorway( int p1, int * result )
 {
 /* Note that this constant upper limit is not necessarily SHRT_MAX
 from limits.h */
 if ( ( p1  0 ) || ( p1  0x7fff ) )
 {   return BAD_RANGE;
 }
 * result = recurse( (unsigned short) p1 )
 ...
 return GOOD_RANGE;
 }
 
 unsigned short recurse( unsigned short p1 )
 {
 ...
 intermediate = recurse( /* some expression that never goes
 negative or exceeds USHRT_MAX */ );
 ...
 }


Thank you very much again for sharing your knowledge.

 Have fun!
 
 --
 Joel Rees

Zbigniew


-- 
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/201301022321.59779.cblas...@gmail.com



Re: Is this OK in C++ and C?

2013-01-01 Thread Zbigniew Komarnicki
On Tuesday 01 of January 2013 08:23:05 you wrote:
 C lessons today? (There are newsgroups for C and C++ questions, but, why not?)

Yes :-)

I wanted to prohibit user to assign negative value to a variable. 
This variable is later passed to a recurrence function as 
argument and of course I got segmentation fault, because 
the function is called 4294967291 times.

I was very surprised when I discover that this code was compiled 
without any warning. I thought if a variable is 'unsigned int'  
then this is not allowed to assign negative value.
That's all. 

Thank you very much.

 --
 Joel Rees
 


-- 
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/201301012111.58075.cblas...@gmail.com



Re: Is this OK in C++ and C?

2013-01-01 Thread Zbigniew Komarnicki
On Wednesday 02 of January 2013 05:25:19 Tixy wrote:
 On Tue, 2013-01-01 at 11:41 -0700, Joe Pfeiffer wrote:
  Looking into it a bit more, I can't find a place where the C99 standard
  requires *any* warnings.  In particular:
  
Annex I
(informative)
Common warnings
  1 An implementation may generate warnings in many situations, none of which 
  are
specified as part of this International Standard. The following are a few 
  of the more
common situations.
  
(a list of warnings follows)
  
  A search doesn't turn up the string warn anywhere in the standard
  except in this annex.
 
 But it probably has quite a few occurrences of 'diagnostic', the C++
 standard does; and it states that a 'diagnostic message' shall be issued
 if a program breaks the rules of the language except where the standard
 explicitly states no diagnostic is required.
 
 With regard to the original question of assigning a negative value to an
 unsigned integer, this seems to be allowed and defined behaviour. The
 section on integral conversions has:
 
 If the destination type is unsigned, the resulting value is the
 least unsigned integer congruent to the source integer (modulo 2
 n where n is the number of bits used to represent the unsigned
 type). [Note: In a two’s complement representation, this
 conversion is conceptual and there is no change in the bit
 pattern (if there is no truncation). ]
 


Thank you all for your help in understanding my problem.

Best regards,
Zbigniew


--
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/201301020850.00733.cblas...@gmail.com



Is this OK in C++ and C?

2012-12-31 Thread Zbigniew Komarnicki
Is this OK or is this a bug, when the wariable 'n' is
initializing by negative value? There no any warning.
Is this normal? I know that value -5 is converted
to unsigned but probably this should by printed a warning,
when this is a constant value. What do you think about this?


// prog.cpp
#include iostream
using namespace std;

int main()
{
const unsigned int n = -5;

  cout  The variable n is:   n  endl;

  return 0;
}

Results:
$ g++ -Wall -W  prog.cpp -o prog
$ ./prog
The variable n is: 4294967291

Thank you.


-- 
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/201212311933.03740.cblas...@gmail.com



Re: why g++ this not compile

2012-06-20 Thread Zbigniew Komarnicki
On Tuesday 19 of June 2012 18:40:53 you wrote:
 There is a work a round (included for completeness).
 
 //instead of these 2 lines
 
   e.C::A::out();
   e.D::A::out();
 
 //use the following (obvious work a round for the previous 2 line, though
 it should be unnecessary)
 //  C c=e;
 //  c.A::out();
 //  D d=e;
 //  d.A::out();

Yes, you are right. 
Thank you very much.

Zbigniew 


-- 
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/201206200851.53949.cblas...@gmail.com



why g++ this not compile

2012-06-19 Thread Zbigniew Komarnicki
Hello

Why this below program do not compile under g++. 
What is the reason, that g++ do not compile ?

//--
// file: problem.cpp
#includeiostream
using namespace std;

class A { public: void out() { cout  A  endl; } };
class B: public A { public: void out() { cout  B  endl; } };
class C: public A { public: void out() { cout  C  endl; } };
class D: public A { public: void out() { cout  D  endl; } };
class E: public C, public D { public: void out() { cout  E  endl; } };

int main()
{
E e;

  e.out();
  e.C::out();
  e.D::out();
  e.C::A::out();
  e.D::A::out();

  return 0;
}
//--

I compile it in this way:

$ g++ -Wall problem.cpp -o problem
problem.cpp: In function ‘int main()’:
problem.cpp:17: error: ‘A’ is an ambiguous base of ‘E’
problem.cpp:18: error: ‘A’ is an ambiguous base of ‘E’

I check it under Squueze:

$ g++ --version
g++ (Debian 4.4.5-8) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

My colleague check it under Windows and it compile and run under MV Studio 
2010 without any problems. The result is as expected:
E
C
D
A
A

Is it a bug in g++ compiler under Debian?

Zbigniew


--
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/201206191515.00919.cblas...@gmail.com



Re: Problem with booting - Debian testing

2012-05-12 Thread Zbigniew Komarnicki
On Friday 11 of May 2012 14:04:59 you wrote:

 Have you tried to boot into Single Mode? Try to remove quiet option from
 your boot string and add there acpi=off or noapic.

After using the option acpi=off the  system boot successful.
Thank you very much.

Zbigniew


-- 
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/201205122102.42971.cblas...@gmail.com



Re: Problem with booting - Debian testing

2012-05-11 Thread Zbigniew Komarnicki
On Thursday 10 of May 2012 13:11:08 you wrote:
  Hello,
  
  Last week, I install Debian testing on my computer and everything went
  ok. After reboot, the system boots and stop at some point of the
  process. Please see the text from monitor:
  ---
  Loading, please wait...
  [ 1.817773] xhci_hcd :02:00.0: Failed to enable MSI-X
  [ 1.840319] xhci_hcd :06:00.0: Failed to enable MSI-X
  modprobe: module unix not found in modules.dep
  INIT: version 2.88 booting
  Using makefile-style concurrent boot in runlevel S.
  Starting the hotplug events dispatcher: udevd.
  Synthesizing the initial hotplug events..done.
  Waiting for /dev to be fully populated...[ 5.194569] SP5100 TCO timer:
  mimo addres 0xb8fe00 alredy in use
  ---
  
  and here stop/halt the booting process.
  
[...]
 
 Hello Zbigniew,
 Try boot from a rescue CD and rebuild an initrd image: update-initramfs -c
 -k your_kernel_version

This didn't help. Still the same problem exist.

Zbigniew


-- 
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/201205110955.28697.cblas...@gmail.com



Problem with booting - Debian testing

2012-05-10 Thread Zbigniew Komarnicki
Hello,

Last week, I install Debian testing on my computer and everything went ok.
After reboot, the system boots and stop at some point of the process. 
Please see the text from monitor:
---
Loading, please wait...
[   1.817773] xhci_hcd :02:00.0: Failed to enable MSI-X
[   1.840319] xhci_hcd :06:00.0: Failed to enable MSI-X
modprobe: module unix not found in modules.dep
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events..done.
Waiting for /dev to be fully populated...[   5.194569] SP5100 TCO timer: mimo 
addres 0xb8fe00 alredy in use
---

and here stop/halt the booting process.

My hardware:
- Gigabyte Technology Co., Ltd. GA-990FXA-UD5
- AMD FX(tm)-6100 Six-Core Processor
- GeForce with CUDA GTX 550Ti MSI 1GB 2xDVI  mHDMI (PCI-E) Cyclone II

On stable Debian Squeeze system boots without any problems.

How to resolve the problem? Any help?
Thank you in advance.

Zbigniew


-- 
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/201205100834.09574.cblas...@gmail.com



Re: temperature

2012-03-01 Thread Zbigniew Komarnicki
On Sunday 26 of February 2012 19:40:16 Camaleón wrote:
 On Tue, 21 Feb 2012 19:56:20 +0100, Zbigniew Komarnicki wrote:
  which package to use to see the hardware temperature on AMD FX(tm)-6100
  Six-Core Processor and GPU using  Debian Squeeze, Linux 2.6.32-5-amd64
 
 lm-sensors? :-)

I have installed it, but it cannot detect the sensors of CPU (I was thinking 
that) and GPU.


 I don't know if lm-sensors can read the temps for nvidia cards when using
 the closed source driver. Are you using nuvó or nvidia's own driver for
 your VGA card?
 
 (btw, nvidia driver provides an utility -nvidia-settings- to read the
 card temps)

I have the nouveau driver.


  I have a water cooling system.
  
  I got:
  # sensors
  it8720-isa-0228
 
 It seems that you have only loaded one kernel module (it87). Did
 sensors-detect suggest any additional modules to load?

 (...)

Here is my output:
---
# sensors-detect 
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: Gigabyte Technology Co., Ltd. GA-990FXA-UD5

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): 
Silicon Integrated Systems SIS5595...   No
VIA VT82C686 Integrated Sensors...  No
VIA VT8231 Integrated Sensors...No
AMD K8 thermal sensors...   No
AMD Family 10h thermal sensors...   No
AMD Family 11h thermal sensors...   No
Intel Core family thermal sensor... No
Intel Atom thermal sensor...No
Intel AMB FB-DIMM thermal sensor... No
VIA C7 thermal sensor...No
VIA Nano thermal sensor...  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): 
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...   No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'...   No
Trying family `ITE'...  Yes
Found `ITE IT8720F Super IO Sensors'Success!
(address 0x228, driver `it87')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...   No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'...   No
Trying family `ITE'...  No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): 
Probing for `IPMI BMC KCS' at 0xca0...  No
Probing for `IPMI BMC SMIC' at 0xca8... No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): yes
Probing for `National Semiconductor LM78' at 0x290...   No
Probing for `National Semiconductor LM79' at 0x290...   No
Probing for `Winbond W83781D' at 0x290...   No
Probing for `Winbond W83782D' at 0x290...   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): 
Using driver `i2c-piix4' for device :00:14.0: ATI Technologies Inc 
SB600/SB700/SB800 SMBus

Next adapter: NVIDIA i2c adapter 0 at 1:00.0 (i2c-0)
Do you want to scan it? (YES/no/selectively): 
Client found at address 0x50
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... No
Probing for `EDID EEPROM'...Yes
(confidence 8, not a hardware monitoring chip)

Next adapter: NVIDIA i2c adapter 6 at 1:00.0 (i2c-1)
Do you want to scan it? (YES/no/selectively): 

Next adapter: NVIDIA i2c adapter 8 at 1:00.0 (i2c-2)
Do you want to scan it? (YES

Re: How to direct output into the LibreOffice Calc

2012-03-01 Thread Zbigniew Komarnicki
On Tuesday 28 of February 2012 15:06:48 lina wrote:
 Hi,
 
 I wonder:
 
 1]
 
 can the output like:
 
 5
 3
 1
 5
 3
 

What about 'num-utils' ?
There is 'numsum'.

Zbigniew


-- 
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/201203011437.54563.cblas...@gmail.com



temperature

2012-02-21 Thread Zbigniew Komarnicki
Hello,

which package to use to see the hardware temperature on  
AMD FX(tm)-6100 Six-Core Processor and GPU 
using  Debian Squeeze, Linux 2.6.32-5-amd64

I use 'sensors' (first I use 'sensors-detect' to detect it) and widgets on KDE 
Desktop, but there no information about CPU temperature and also no 
information about GPU temperature. I have the following card:
GeForce with CUDA GTX 550Ti MSI 1GB 2xDVI  mHDMI (PCI-E) Cyclone II 

I have a water cooling system.

I got:
# sensors
it8720-isa-0228
Adapter: ISA adapter
in0: +0.98 V  (min =  +0.00 V, max =  +4.08 V)   
in1: +1.49 V  (min =  +0.00 V, max =  +4.08 V)   
in2: +3.22 V  (min =  +0.00 V, max =  +4.08 V)   
in3: +2.98 V  (min =  +0.00 V, max =  +4.08 V)   
in4: +3.12 V  (min =  +0.00 V, max =  +4.08 V)   
in5: +0.11 V  (min =  +0.00 V, max =  +4.08 V)   
in6: +4.08 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in7: +2.93 V  (min =  +0.00 V, max =  +4.08 V)   
Vbat:+3.06 V
fan1:  0 RPM  (min =0 RPM)
fan2:  0 RPM  (min =0 RPM)
fan3:587 RPM  (min =0 RPM)
fan4:  0 RPM  (min =0 RPM)
temp1:   +31.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:   +27.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal 
diode
temp3:   +27.0°C  (low  = +127.0°C, high = +60.0°C)  sensor = thermal 
diode
cpu0_vid:   +0.000 V


# cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 21
model   : 1
model name  : AMD FX(tm)-6100 Six-Core Processor 
stepping: 2
cpu MHz : 3322.052
cache size  : 2048 KB
physical id : 0
siblings: 6
core id : 0
cpu cores   : 6
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc nonstop_tsc extd_apicid pni pclmulqdq monitor ssse3 
cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic 
cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt 
nodeid_msr arat
bogomips: 6644.08
TLB size: 1536 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9]
 


Thanks,
Zbigniew


--
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/201202211956.20423.cblas...@gmail.com



Re: scilab crashed

2011-03-18 Thread Zbigniew Komarnicki
On Friday 18 of March 2011 11:26:33 Chris Bannister wrote:
 On Thu, Mar 17, 2011 at 04:24:33PM +0100, Zbigniew Komarnicki wrote:
  Thank you. The problem is with atlas package. I removed all atlas
  packages and now scilab
  (and also octave, see my message:
  http://lists.debian.org/debian-user/2011/03/msg01247.html
  )
  work correctly.
  
  I suspect that the bug is in atlas package for my processor, because I
  haven't sse2 support.
 
 Did you include that information in the bug report?

Yes, 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576972

Zbigniew


-- 
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/201103190449.06251.cblas...@gmail.com



Re: [Pkg-octave-devel] Octave crashed

2011-03-18 Thread Zbigniew Komarnicki
On Thursday 17 of March 2011 21:44:20 Thomas Weber wrote:

 It's not necessary to start a new thread, just give a short summary.
 I'm offline most of the time, though. So at the time I read your mail, I
 usually don't have net access.
 
  I have one more question: where first to signal if given program crashed?
 
 That depends. If you think you are doing something wrong, asking on a
 user list is probably the best start. If you are somewhat sure that
 there's a bug, file a bug with reportbug. There's no black and white
 here, but lots of shades of grey.
 
 Now, please file a bug against Atlas using reportbug (which includes
 some helpful information for the atlas maintainer by default).
 
   Thomas


Thank you.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576972

Zbigniew


-- 
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/201103190451.54535.cblas...@gmail.com



Re: [Pkg-octave-devel] Octave crashed

2011-03-17 Thread Zbigniew Komarnicki
On Wednesday 16 of March 2011 20:19:30 Thomas Weber wrote:
 Hi,
 
 guys, if you forward a mail from a thread to a new recipient (in this
 case the pkg-octave-devel list), please include *all* relevant
 information in the first mail. I actually thought that we received that
 mail in error, because there was no mention of Debian *at all* in the
 mail - and even then, there's no mention of any problem in the forwarded
 mail, just some ldd outputs.
 
 Zbigniew, please remove all packages with 'atlas' in their name from the
 system, then try again. If it still crashes, open a bug against
 octave3.2, using reportbug. If it doesn't crash anymore, try with the
 atlas base package (libatlas3gf-base).

Thank you for your help. 

After removing all atlas package octave works correctly. 

If I install libatlas3gf-base the octave crashed as before.

I'm very sorry for the forward mail from a thread to a new recipient.
I was thinking, if such mail reach to pkg-octave-devel then you will be 
interested  to check debian-user list for this thread, because it  refer to 
octave. I'm sorry once again and in the future I will start new thread with 
full information.

I have one more question: where first to signal if given program crashed? 
To debian-user list or to specific list e.g.  *-devel ? Because also scilab 
crased by atlas package. After removing all atlas packages I check that scilab 
now works.
http://lists.debian.org/debian-user/2011/03/msg01112.html 


  Thanks
   Thomas

Thank you,
Zbigniew


-- 
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/201103171041.06924.cblas...@gmail.com



Re: spell checker in kde, in which file store new words

2011-03-17 Thread Zbigniew Komarnicki
On Thursday 17 of March 2011 12:52:22 Camaleón wrote:
 On Mon, 14 Mar 2011 17:12:53 +0100, Zbigniew Komarnicki wrote:
  where, to which file are added new words from example kwrite, kile,
  kate, when I add new word to dictionary in Debian Squueze under kDE?
 
 (...)
 
 If KDE uses aspell, there must be a hidden file under your user's folder
 profile named .aspell_x_x that you can edit.
 
 Greetings,

Thank you. I do not know what is used, because I have installed: 
aspell and ispell.

After some investigations I found that the new words are added to this file:
~/.config/enchant/en_US.dic


Zbigniew


--
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/201103171614.22110.cblas...@gmail.com



Re: scilab crashed

2011-03-17 Thread Zbigniew Komarnicki
On Thursday 17 of March 2011 11:39:44 Camaleón wrote:
 (next time you can consider using www.pastebin.com or such services to
 send big logs...)
 
 Have you tried with Oracle's java?
 
 Or try by running it with no java (--without-javasci) and check if it
 crashes.
 
 Greetings,

Thank you. The problem is with atlas package. I removed all atlas packages and 
now scilab 
(and also octave, see my message:  
http://lists.debian.org/debian-user/2011/03/msg01247.html
) 
work correctly.

I suspect that the bug is in atlas package for my processor, because I haven't 
sse2 support.

Zbigniew


--
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/201103171624.33931.cblas...@gmail.com



spell checker in kde, in which file store new words

2011-03-14 Thread Zbigniew Komarnicki
Hello,

where, to which file are added new words from example kwrite, kile, kate, when 
I add new word to dictionary in Debian Squueze under kDE? I couldn't find in 
which file the new words are added. If I add by mistake some words where I can 
correct it or remove it?

Thank you in advance.

Zbigniew


-- 
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/201103141712.53900.cblas...@gmail.com



Re: Octave crashed

2011-03-13 Thread Zbigniew Komarnicki
On Saturday 12 of March 2011 22:56:48 you wrote:
 2011/3/12 Zbigniew Komarnicki cblas...@gmail.com
 
  I do this but with no success. Thank you anyway.
  
  Zbigniew
 
 Hmm. But i dont think the problem has to do with the processor, since I am
 running octave in a very
 similar one (athlon xp 2600). I am attaching the result of  ldd
 /usr/bin/octave   so you can inspect if we have the same
 libraries. Good luck
 
 ldd /usr/bin/octave
 
 linux-gate.so.1 =  (0xb78c2000)
 liboctinterp.so = /usr/lib/octave-3.2.4/liboctinterp.so (0xb6c0d000)
 liboctave.so = /usr/lib/octave-3.2.4/liboctave.so (0xb614d000)
 libcruft.so = /usr/lib/octave-3.2.4/libcruft.so (0xb60d6000)
 libumfpack.so.5.4.0 = /usr/lib/libumfpack.so.5.4.0 (0xb6011000)
 libamd.so.2.2.0 = /usr/lib/libamd.so.2.2.0 (0xb6009000)
 libcamd.so.2.2.0 = /usr/lib/libcamd.so.2.2.0 (0xb600)
 libcolamd.so.2.7.1 = /usr/lib/libcolamd.so.2.7.1 (0xb5ff9000)
 libcholmod.so.1.7.1 = /usr/lib/libcholmod.so.1.7.1 (0xb5f38000)
 libccolamd.so.2.7.1 = /usr/lib/libccolamd.so.2.7.1 (0xb5f2e000)
 libcxsparse.so.2.2.3 = /usr/lib/libcxsparse.so.2.2.3 (0xb5f02000)
 liblapack.so.3gf = /usr/lib/liblapack.so.3gf (0xb56fd000)
 libblas.so.3gf = /usr/lib/libblas.so.3gf (0xb5681000)
 libfftw3.so.3 = /usr/lib/libfftw3.so.3 (0xb553c000)
 libfftw3f.so.3 = /usr/lib/libfftw3f.so.3 (0xb53ff000)
 libqrupdate.so.1 = /usr/lib/libqrupdate.so.1 (0xb53e1000)
 libarpack.so.2 = /usr/lib/libarpack.so.2 (0xb5394000)
 libftgl.so.2 = /usr/lib/libftgl.so.2 (0xb5367000)
 libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0xb52e)
 libz.so.1 = /usr/lib/libz.so.1 (0xb52cc000)
 libGL.so.1 = /usr/lib/libGL.so.1 (0xb5267000)
 libGLU.so.1 = /usr/lib/libGLU.so.1 (0xb51f7000)
 libX11.so.6 = /usr/lib/libX11.so.6 (0xb50d6000)
 libreadline.so.6 = /lib/libreadline.so.6 (0xb50a1000)
 libncurses.so.5 = /lib/libncurses.so.5 (0xb5067000)
 libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb5063000)
 libhdf5.so.6 = /usr/lib/libhdf5.so.6 (0xb4cdb000)
 libgfortran.so.3 = /usr/lib/libgfortran.so.3 (0xb4c1a000)
 libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb4b2b000)
 libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb4b05000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb4ae9000)
 libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb4ad)
 libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb498a000)
 libpcre.so.3 = /lib/libpcre.so.3 (0xb494c000)
 libXext.so.6 = /usr/lib/libXext.so.6 (0xb493d000)
 libXxf86vm.so.1 = /usr/lib/libXxf86vm.so.1 (0xb4938000)
 libXdamage.so.1 = /usr/lib/libXdamage.so.1 (0xb4935000)
 libXfixes.so.3 = /usr/lib/libXfixes.so.3 (0xb492f000)
 libdrm.so.2 = /usr/lib/libdrm.so.2 (0xb4925000)
 libxcb.so.1 = /usr/lib/libxcb.so.1 (0xb490c000)
 /lib/ld-linux.so.2 (0xb78c3000)
 librt.so.1 = /lib/i686/cmov/librt.so.1 (0xb4903000)
 libXau.so.6 = /usr/lib/libXau.so.6 (0xb48ff000)
 libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb48fa000)

Thank you for your help. I have the same but with different address allocation 
(ox). 


Plase, see

$ ldd /usr/bin/octave
linux-gate.so.1 =  (0xb7876000)
liboctinterp.so = /usr/lib/octave-3.2.4/liboctinterp.so (0xb6bc1000)
liboctave.so = /usr/lib/octave-3.2.4/liboctave.so (0xb6101000)
libcruft.so = /usr/lib/octave-3.2.4/libcruft.so (0xb608a000)
libumfpack.so.5.4.0 = /usr/lib/libumfpack.so.5.4.0 (0xb5fd1000)
libamd.so.2.2.0 = /usr/lib/libamd.so.2.2.0 (0xb5fc9000)
libcamd.so.2.2.0 = /usr/lib/libcamd.so.2.2.0 (0xb5fc)
libcolamd.so.2.7.1 = /usr/lib/libcolamd.so.2.7.1 (0xb5fb9000)
libcholmod.so.1.7.1 = /usr/lib/libcholmod.so.1.7.1 (0xb5ef8000)
libccolamd.so.2.7.1 = /usr/lib/libccolamd.so.2.7.1 (0xb5eee000)
libcxsparse.so.2.2.3 = /usr/lib/libcxsparse.so.2.2.3 (0xb5ec2000)
liblapack.so.3gf = /usr/lib/liblapack.so.3gf (0xb568e000)
libblas.so.3gf = /usr/lib/libblas.so.3gf (0xb5385000)
libfftw3.so.3 = /usr/lib/libfftw3.so.3 (0xb524)
libfftw3f.so.3 = /usr/lib/libfftw3f.so.3 (0xb5103000)
libqrupdate.so.1 = /usr/lib/libqrupdate.so.1 (0xb50e5000)
libarpack.so.2 = /usr/lib/libarpack.so.2 (0xb5098000)
libftgl.so.2 = /usr/lib/libftgl.so.2 (0xb506b000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0xb4ff4000)
libz.so.1 = /usr/lib/libz.so.1 (0xb4fe)
libGL.so.1 = /usr/lib/libGL.so.1 (0xb4f7b000)
libGLU.so.1 = /usr/lib/libGLU.so.1 (0xb4f0b000)
libX11.so.6 = /usr/lib/libX11.so.6 (0xb4ded000)
libreadline.so.6 = /lib/libreadline.so.6 (0xb4db8000)
libncurses.so.5 = /lib/libncurses.so.5 (0xb4d7e000)
libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb4d7a000)
libhdf5.so.6 = /usr/lib/libhdf5.so.6 (0xb49f2000)
libgfortran.so.3 = /usr/lib/libgfortran.so.3 (0xb492c000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb4837000)
libm.so

Octave crashed

2011-03-10 Thread Zbigniew Komarnicki
Hello,

I have a problem with octave, see the following session from octave, it is 
very simple (I want to compute eig(a) and then crash):

---
$ octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for i486-pc-linux-gnu.

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to b...@octave.org (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

warning: mark_as_command is obsolete and will be removed from a future version 
of Octave
octave:1 a=rand(3,3)
a =

   0.189941   0.570931   0.517541
   0.092924   0.449368   0.680880
   0.146931   0.266066   0.706786

octave:2 eig(a)
panic: Illegal instruction -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Illegal instruction
---


I use Debian Squueze 6.0. I have installed every package with octave-*

$ uname -a
Linux S1 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux

Do you have also such problem or it is only specific to me on my hardware.

Zbigniew


-- 
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/201103101057.03168.cblas...@gmail.com



Re: Octave crashed

2011-03-10 Thread Zbigniew Komarnicki
On Thursday 10 of March 2011 11:35:14 George wrote:
 I had the same problem, but on a non-Debian system. On my system the
 problem was caused by using the SSE3 atlas libraries and was fixed by
 installing with SSE2 libraries.

Thank you for your help.

I try to search atlas with sse, because my computer is old

$ cat /proc/cpuinfo 
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 6
model   : 8
model name  : AMD Athlon(tm) XP 2000+
stepping: 1
cpu MHz : 1660.266
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
bogomips: 3320.53
clflush size: 32
cache_alignment : 32
address sizes   : 34 bits physical, 32 bits virtual
power management: ts


and haven't sse2 or sse3. I do


$ dpkg -l *atlas*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version   
Description
+++-==-=-
==
un  atlas-doc   none   (no description available)
un  atlas2  none   (no description available)
un  atlas2-dev  none   (no description available)
un  atlas2-headers  none   (no description available)
un  atlas3-base none   (no description available)
un  atlas3-doc  none   (no description available)
un  libatlas-base-dev   none   (no description available)
ii  libatlas-doc3.8.3-27 Automatically Tuned Linear Algebra 
Software, documentation
un  libatlas.so.3gf none   (no description available)
un  libatlas3gf-2.0 none   (no description available)
un  libatlas3gf-altivec none   (no description available)
un  libatlas3gf-amd64sse3   none   (no description available)
ii  libatlas3gf-base3.8.3-27 Automatically Tuned Linear Algebra 
Software, generic shared
un  libatlas3gf-core2sse3   none   (no description available)
un  libatlas3gf-corei7sse3  none   (no description available)
un  libatlas3gf-ev6 none   (no description available)
un  libatlas3gf-sse none   (no description available)
un  libatlas3gf-sse2none   (no description available)
un  libatlas3gf-sse3none   (no description available)
un  libatlas3gf-v9  none   (no description available)


I found this
un  libatlas3gf-sse   none   (no description available)

but after:

# aptitude install libatlas3gf-sse
No candidate version found for libatlas3gf-sse
No candidate version found for libatlas3gf-sse
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.


This package is unavailable so what to do to solve this problem ?
Any help will be very appreciated.

Zbigniew


-- 
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/201103101856.16274.cblas...@gmail.com



The classic KDE mouse cursor theme in Squeeze

2011-01-24 Thread Zbigniew Komarnicki
Hi,

why If I choose in KDE 
System Settings - Keyboard and Mouse - Mouse - Cursor Theme - KDE Classic

the KDE Classic cursor theme it is not preserved after log out and also in 
many other applications is not preserved e.g. on Krusader, Kile etc.

Do you observe also such behavior? What to do with this? I dislike the new 
default cursor theme in KDE, is too big for me.

Zbigniew


-- 
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/201101241719.31867.cblas...@gmail.com



Re: [Maxima] Bug in 'for', Maxima, Debian ?

2010-07-09 Thread Zbigniew Komarnicki
On Thursday 08 of July 2010 23:09:55 you wrote:
 Greetings!
  I know that is very old, but I try compile in Debian (Lenny) Maxima from
  source, but without success. First, the GCL in Debian is not compiled
  with ANSI standard, so, I download the latest GCL from
  ftp://ftp.gnu.org/pub/gnu/gcl/gcl-2.6.7.tar.gz
  and compiled it with ANSI (--enable-ansi), but there was some errors. So
  I couldn't go.

 apt-get install gcl
 GCL_ANSI=t gcl

 gives ansi gcl promt, and

 export GCL_ANSI=t ; cd maxima-5.13.0 ; ./configure --enable-gcl 
 make

 or

 apt-get -q source maxima
 cd maxima-5.13.0 ; debian/rules build

 Take care,

Thank you very much :-) 
I don't know that I can do it that in Debian. Thank you.

I yesterday download SBCL, the latest version 
http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.40/sbcl-1.0.40-source.tar.bz2
and compiled it successful without any problems. 

Then I compile without any problems also Maxima 5.21.1 and install it in my 
home folder. It works :-) One problem was that there no support for readline 
in console. I found a solution on google with package 'rlwrap' 
http://www.debian-administration.org/article/Providing_better_editing_support_for_sbcl_via_readline
and this site
http://weitz.de/completions.html
I do it for sbcl and maxima and now everything works excellent.

I also install libwxbase2.8-dev by aptitude and download wxMaxima
https://sourceforge.net/projects/wxmaxima/files/wxMaxima/0.8.5/wxMaxima-0.8.5.tar.gz/download
and also compile it with successful and now I can work very comfortable with 
new maxima and wxmaxima.

Thank you all for help. 

Zbigniew


-- 
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/201007091311.23349.cblas...@gmail.com



Re: [Maxima] Bug in 'for', Maxima, Debian ?

2010-07-08 Thread Zbigniew Komarnicki
On Wednesday 07 of July 2010 22:49:38 Raymond Toy wrote:
  Maybe is here somebody who will be show me and maybe others how to
  compile GCL from source and then Maxima from source the latest version?

 I think it best to ask on the gcl mailing lists for how to compile gcl.
 I have compiled gcl and I always have problems.  Perhaps there's another
 place to get a binary distribution?

 But unless you really need gcl, feel free to use some other lisp that
 might be available.  Any of the following should work with maxima just
 fine:  ccl, clisp, cmucl, ecl, sbcl.

Thank you.

I try also with sbcl on Debian and Maxima has been compiled with success, but 
when I write some mathematical equations and press enter, then I got very 
strange output, e.g.:

e: x^2+3*x-4;

I got:

  2 
 x + 3 x - 4 

With such output is impossible to work efficiently. It should be of course:

  2 
 x + 3 x - 4 

Is here maybe somebody who compiled any of the compiler: ccl, clisp, cmucl, 
ecl, sbcl and then Maxima and it work correctly? Especially in Debian Lenny?

Thank you in advance.

 Ray

Zbigniew

 ___
 Maxima mailing list
 max...@math.utexas.edu
 http://www.math.utexas.edu/mailman/listinfo/maxima




-- 
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/201007080856.28313.cblas...@gmail.com



Bug in 'for', Maxima, Debian ?

2010-07-07 Thread Zbigniew Komarnicki
Hello,

I try to write fuction that return a list of number in range [a,b] with step 
k, but first i try in command window this code:

/* This work in command window without variables */
kill(all);
m:[];
for i:0 step -3 thru 10 do (m:append(m, [i]), display(i));
display(m);

Here is OK, but this below is not OK:

/* This does NOT work in command window with variables */
kill(all);
a:0; 
b:10; 
k:-3;
m:[];
for i:a step k thru b do (m:append(m, [i]), display(i));
display(m);

/* here is the intresting the output */
(%i7) for i:a step k thru b do (m:append(m, [i]), display(i));
   i = 0
   i = - 3
   i = - 6
  
and so on.


I work in Linux, Debian Lenny i386 with this version of Maxima:

Maxima 5.13.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.

(%i1) build_info();

Maxima version: 5.13.0
Maxima build date: 22:7 9/5/2008
host type: i686-pc-linux-gnu
lisp-implementation-type: GNU Common Lisp (GCL)
lisp-implementation-version: GCL 2.6.7

(%o1)



-- 
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/201007071831.35168.cblas...@gmail.com



Re: [Maxima] Bug in 'for', Maxima, Debian ?

2010-07-07 Thread Zbigniew Komarnicki
On Wednesday 07 of July 2010 19:46:38 you wrote:
 Zbigniew Komarnicki escribió:
  Hello,
 
  I try to write fuction that return a list of number in range [a,b] with
  step k, but first i try in command window this code:
 
  /* This work in command window without variables */
  kill(all);
  m:[];
  for i:0 step -3 thru 10 do (m:append(m, [i]), display(i));
  display(m);
 
  Here is OK

 If you want to reach 10, shouldn't step be a positive number?

Thank you.

No, I try exactly from 0 to 10 with step -3. I know that it should be empty 
list (empty matrix I got in octave, see below)

Form 0 to 10 with step 3 it work excellent - there is no problem. 

(%i1) m:[]$
(%i2) for i:0 step 3 thru 10 do (m:append(m, [i]), display(i))$
 i = 0
 i = 3
 i = 6
 i = 9

(%i4) display(m)$
m = [0, 3, 6, 9]

The problem is when I go with 0 to 10 with -3 or in general when:
a  b and k is negative number.   


In Octave I write something like:
From 0 to 10 with step -3 I got empty matrix in octave:

octave:1 0:-3:10
ans = [](1x0)

I got empty matrix it is correct. 

From 0 to 10 with step 3 I got as expected

octave:2 0:3:10
ans =
0369

I got results as expected.

The problem in Maxima is when we use variables:
a:0;
b:10;
k:-3;
m:[];
and write the code:
for i:a step k thru b do (m:append(m, [i]), display(i))$

This loop shouldn't execute, but this loop go forever (!!!) writing: i=0, 
i=-3, i=-6, ..., i=infinity, but when I write this same code with numbers in 
the loop, it work as expected:

m:[];
for i:0 step -3 thru 10 do (m:append(m, [i]), display(i))$
display(m)$
 m = []

and the result is empty list m=[].


 --
 Mario


--
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/201007072023.20380.cblas...@gmail.com



Re: [Maxima] Bug in 'for', Maxima, Debian ?

2010-07-07 Thread Zbigniew Komarnicki
On Wednesday 07 of July 2010 20:20:19 Raymond Toy wrote:

  kill(all);
  m:[];
  for i:0 step -3 thru 10 do (m:append(m, [i]), display(i));
  display(m);

 What were you expecting?  I get m being an empty list.

Empty list is OK.

  /* This does NOT work in command window with variables */
  kill(all);
  a:0;
  b:10;
  k:-3;
  m:[];
  for i:a step k thru b do (m:append(m, [i]), display(i));
  display(m);

This code not work in Debian Lenny, because this loop shouldn't execute! 
In Debian it go forever. It is a bug in a stable system and stable Maxima (I 
know in Debian every thing is very old but should be stable and very well 
tested).  


  I work in Linux, Debian Lenny i386 with this version of Maxima:
 
  Maxima 5.13.0 http://maxima.sourceforge.net

 That's pretty ancient, even by maxima standards. :-)

I know that is very old, but I try compile in Debian (Lenny) Maxima from 
source, but without success. First, the GCL in Debian is not compiled with 
ANSI standard, so, I download the latest GCL from
ftp://ftp.gnu.org/pub/gnu/gcl/gcl-2.6.7.tar.gz
and compiled it with ANSI (--enable-ansi), but there was some errors. So I 
couldn't go.

Maybe is here somebody who will be show me and maybe others how to compile GCL 
from source and then Maxima from source the latest version? 
http://sourceforge.net/projects/maxima/files/Maxima-source/5.21.1-source/maxima-5.21.1.tar.gz/download

Maybe is there any how to, step by step what should be installed first and 
what options should be used to compile first GCL and then Maxima especially 
in Debian Lenny? 

Thank you for any help.  

 FWIW, I don't have this problem with your second example.  I get m being
 the empty list.

Yes this is correct answer but not in Debian Lenny Maxima.

Thank you.

 Ray

Zbigniew

 ___
 Maxima mailing list
 max...@math.utexas.edu
 http://www.math.utexas.edu/mailman/listinfo/maxima


-- 
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/201007072058.23325.cblas...@gmail.com



Re: Jadro nie widzi dysku sata I 250GB po kompilacji

2007-07-15 Thread Zbigniew Komarnicki
  Mysle ze odpowiedz na twoje pytanie lezy w slowach wydaje mi sie ;)

W koncu sie udalo. 
Rzeczywiscie przeoczylem opcje SATA nVidia.

Dziekuje za pomoc :-)
Pozdrowienia,
Zbyszek



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



Re: Jadro nie widzi dysku sata I 250GB po kompilacji

2007-07-13 Thread Zbigniew Komarnicki
On Thursday 12 of July 2007 23:55:35 Wojciech Ziniewicz wrote:
 wystarczy obsluga twojego czipsetu + twojej szyny (czipsetu)
 odpowiedzialnego za komunikacje SATA z systemem.

 pozdr.

 p.s. daj lspci jak nie znajdziesz rzowiązania.

Wydaje mi sie, ze wlaczylem obsluga nVidia SATA, ale nadal dysku nie widzi.

Patrzylem tez na stary .config jadra debianowego i zobaczylem tam, ze tamto 
jadro obsluguje SATA przez CONFIG_SCSI_SATA_NV=m

Nie wlaczalem tego przez SCSI, bo ponoc juz w tym nowym jadrze nie trzeba tego 
robic przez  SCSI (?). Chyba, ze moja plyta ma jakies stare SATA i jednak 
trzeba bedzie to wlaczyc. Sprobuje to zrobic przez SCSI i zobaczymy co z tego 
wyjdzie.


Wynik 'lspci':
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev 
c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation MCP2A ISA bridge (rev a3)
00:01.1 SMBus: nVidia Corporation MCP2A SMBus (rev a1)
00:02.0 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation MCP2A USB Controller (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation MCP2S AC'97 Audio 
Controller (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP2A PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation MCP2A IDE (rev a3)
00:0b.0 IDE interface: nVidia Corporation nForce2 Serial ATA Controller (rev 
a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
02:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] 
(rev 01)

Z 'lspci' mam to niby przez podsystem IDE:
00:0b.0 IDE interface: nVidia Corporation nForce2 Serial ATA Controller (rev 
a3)

Sam juz nie wiem, ale bede kombinowal. Chyba ze ktos z Was ma jakis pomysl.
Dzieki z gory z pomoc.

Pozdrowienia




Jadro nie widzi dysku sata I 250GB po kompilacji

2007-07-12 Thread Zbigniew Komarnicki
Witam,

mam problem z widocznoscia dysku po kompilacji jadra 2.6.22.1.
Dysk Sygate 250 GB, podlaczony na sata I.

Czy wiecie moze jaka opcje zaznaczyc w jadrze by dysk byl widoczny (w jakiej 
sekcji jaka opcje).

Domyslne jadro debiana 2.6.18-4 wykrywa dysk, natomiast moje po kompilacji 
nie. Prosze o pomc. Z gory dziekuje.

Pozdrowienia,
Zbyszek


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



Re: Jadro nie widzi dysku sata I 250GB po kompilacji

2007-07-12 Thread Zbigniew Komarnicki
Dnia czwartek, 12 lipca 2007 15:56, napisałeś:
 Witam,

 mam problem z widocznoscia dysku po kompilacji jadra 2.6.22.1.
 Dysk Sygate 250 GB, podlaczony na sata I.

 Czy wiecie moze jaka opcje zaznaczyc w jadrze by dysk byl widoczny (w
 jakiej sekcji jaka opcje).

 Domyslne jadro debiana 2.6.18-4 wykrywa dysk, natomiast moje po kompilacji
 nie. Prosze o pomc. Z gory dziekuje.

Zapomnialem dodac, ze dysk ten jest dyskiem dodatkowym. System mam postawiony 
na dysku IDE i urzadzenia /dev/hd* sa widoczne. Jak podlaczam dysk przenosny 
na USB, to jadro (2.6.22.1) go wykrywa jako /dev/sda.

Natomiast w stary jadrze debianowym (2.6.18-4) dysk sygate 250 GB, byl 
widziany wlasnie jako /dev/sda, a przenosny na USB jako /dev/sdb.

Jesli trzeba moge podeslac konfig tego jadra.

 Pozdrowienia,
 Zbyszek



Jak nadac etykiete na przenosnym dysku

2007-06-27 Thread Zbigniew Komarnicki
Witam!

Mam pytanie, jak nadac etykiete na dysku przenosnym jednej z partycji 
np. /dev/sda2, na ktorym mam system plikow ReiserFS? Tak aby po 
zamontowaniu w KDE (lub automatycznym zamontowaniu) na pulpicie pojawila sie 
ikona tego dysku z nazwa tej partycji np. USB-Dane? Czy mozna to zrobic bez 
formatowania dysku przenosnego?

Ja zrobilem to przez zmiane nazwy na ikonie zamontowonego dysku (na pulpicie 
KDE), jednakze jak z tym dyskiem przychodze do kolegi i go montuje to widzi 
go nie jako USB-Dane tylko jakos inaczej (inna nazwa - nie pamietam juz 
teraz jak).

Z gory dziekuje za pomoc i wskazowki,
Zbyszek


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



Re: Jak nadac etykiete na przenosnym dysku

2007-06-27 Thread Zbigniew Komarnicki
Dnia środa, 27 czerwca 2007 14:57, Krondar napisał:
...
 reiserfstune --label Etykieta /dev/sdxy
...
 Aczkolwiek prosto po tworzeniu systemu plików, więc nie wiem czy czyści
 dane.. czy nie.
Dziekuje. Dziala super. Dane sa nietkniete.

 Pozdrawiam,
 K.

Pozdrowienia,
Zbyszek