Re: adding a third SATA drive

2007-04-05 Thread Noam Meltzer

On 4/5/07, Shlomo Solomon [EMAIL PROTECTED] wrote:


QUESTION #1 - I don't know if it was neccessary to comment them all, but
the
link Noam pointed to mentioned dm-mirrror and dm-mod so I commented all
lines
including either of them. Was that the right thing to do?



I don't think it is necessary. Though, one needs to understand how the
mandriva control panel works behind the scenes and where it is configured
to use device-mapper and why.

QUESTION #2 - I booted twice (before and after making the above change) and

compared dmesg. I found that before making the change, there were many
lines
of device-mapper errors and these were gone after making the change. So
what
were these error messages?


device-mapper: 4.6.0-ioctl (2006-02-17) initialised: [EMAIL PROTECTED]
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

 lines repeated about 50 times 

device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table



In respect of which physical device does this error occurred? Can you tell?




QUESTION #3 - While GOOGLing for this, I found some mentions of EVMS. I
seem
to remember that on a previous version of Mandriva I had disk-access
problems
until I un-installed EVMS. But now, I see that it's installed on my
system.
Do I need it and if so, why?



AFAIK, EVMS  stands for Enterprise Volume Management System. It is some
opensource project targeted at providing the sysadmin a consolidated way to
manage all the storage devices he has no matter what technology is used to
administer them. (LVM / MD / etc.)
I played around with this tool once, and as far as I recall, it takes
advantage of device-mapper in the process, though I can't remember how.

QUESTION #4 - I still don't know the answers to the questions I asked in my

previous post.

[EMAIL PROTECTED] solomon]# dmsetup deps
sdc8: 1 dependencies: (8, 32)
sdc14: 1 dependencies   : (8, 32)
sdc7: 1 dependencies: (8, 32)
sdc13: 1 dependencies   : (8, 32)
sdc6: 1 dependencies: (8, 32)
sdc12: 1 dependencies   : (8, 32)
sdc5: 1 dependencies: (8, 32)
sdc11: 1 dependencies   : (8, 32)
sdc10: 1 dependencies   : (8, 32)
sdc9: 1 dependencies: (8, 32)


OK - I can't say I really understand what this means. For instance:
- what are these dependencies?



If I did my math correctly then:
8 - This is the major number of the SCSI kernel driver.
32 - Is the minor number pointing on /dev/sdc
'ls -l /dev/sdc' should show you these numbers.



- how did they get created?



Well. Ask Mandriva :) But it proves that you have devices managed by
device-mapper.


- why only for sdc (not sda or sdb)?



same answer here.


In the bottom line, disabling device-mapper in some kernel hack did the
trick. Just be aware that if you run 'depmod -a' it will not sustain. (Same
goes for a kernel upgrade).
Best way is to understand where it is configured that your sdc devices
should be managed by device-mapper. (recursive grep on /etc is a good
start).

Device mapper gives you the flexibility to manage your devices in an easier
way. It is modular and robust (bla bla). It can be used to encrypt your
devices, have LVM over them, and many other neat features. Anyhow, I don't
think that any of this robust features are speaking to you, because you
chose to partition all your disks into very small parts in a very
hardcoded way.

- Noam


Re: Firefox and any credit card services company

2007-04-05 Thread Arieh Skliarouk

Hello,


 I know, that Isracard's website works if you use User Agent
  Switcher extension of Firefox.

  What is status of Mozilla/Firefox support of websites of other
  Israel-accessible credit cards? Share your experiences please!

For CAL site, it is possible to log in if you switch user agent.
Then you can see most of the things...



Any feedback from holders of Diners, VISA, Mastercard?

--
Arieh


VMWare and native Windows XP

2007-04-05 Thread Valery Reznic
Good day.

I have dual-boot computer with Linux on one partition
(sda1) and WinXP on the other (sda2).

Linux has VMware installed.
(VMware-server-1.0.2-39867)

Now, I want boot into Linux, and from VMware run
windows, installed in the sda2.
VMware-server allows specify whole disk or partition
to be disk for virtual machine.
I specify it. And try to but VM. To my surprise I got
grub boot loader, select windows, and windows began to
boot and the fail.
Windows was installed on (native) SATA drive, and
VMware make Windows think drive is LSI, which was not
installed in the first place.
In linux adding modules
mptbase.ko
mptscsih.ko
mptspi.ko
to the initrd can solve the problem.

Is it a way to achive same on Windows, i.e boot
windows, which was installed native under VMWare ?

Valery

 


 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Recommendation for a Laptop

2007-04-05 Thread Shlomi Fish
Hi all!

I'm looking to buy a laptop. It should be able to run any of WinXP 
Professional, Win2003 Professional (both with some optional drivers, all 
included), Mandriva 2007.1 (out of the box) and Debian Testing (possibly with 
some tweaking). Since I'll be running Windows on VMware or booting from 
MSWin, I don't mind paying the MS tax. I don't want Vista pre-installed, 
though (!) - only WinXP or Win2003.

What I need:

1. FOSS 3-D drivers.

2. FOSS Ethernet drivers.

3. Working screen.

4. Working external projector/screen connector.

5. Big hard disk - at least 80 GB.

6. At least 2 GB of RAM.

7. I don't mind buying a separate USB wifi connector with FOSS drivers (but 
possibly non-FOSS firmware).

8. A well-known company. (Lenovo, Dell, HP, etc.)

9. Good experience with it.

10. All hardware works with open source drivers, at least on Linux. FreeBSD 
would be a big plus.

Regards,

Shlomi Fish

-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

If it's not in my E-mail it doesn't happen. And if my E-mail is saying
one thing, and everything else says something else - E-mail will conquer.
-- An Israeli Linuxer

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Recommendation for a Laptop

2007-04-05 Thread Dotan Cohen

I'm using a Dell Inspiron 6400 lappy with Fedora Core 6. At the time I
bought it, one HAD to purchase Windowx XP with it, but now I think
that you have a choice of Vista or some Linux distro, I don't know
which. I don't think that any lappy today comes without Vista.


What I need:

1. FOSS 3-D drivers.


I've never tried 3D, but for everyday use the Radeon x1400 card in
this Dell works just fine.


2. FOSS Ethernet drivers.


Wireless and wired internet work fine. Did take some tweaking, though,
and I cannot promised that I used only open source drivers (but I
think so).


3. Working screen.


At it's native 1400x1050 resolution.


4. Working external projector/screen connector.


Check.


5. Big hard disk - at least 80 GB.


That's what I've got, at 7200 RPM. Could have gone even bigger.


6. At least 2 GB of RAM.


Check.


7. I don't mind buying a separate USB wifi connector with FOSS drivers (but
possibly non-FOSS firmware).


Built in.


8. A well-known company. (Lenovo, Dell, HP, etc.)


It is a Dell.


9. Good experience with it.


I'm happy so far. The thing scratches just by looking at it, and the
rubber feet fell off in less than a month. Other than that, I'm rather
happy.


10. All hardware works with open source drivers, at least on Linux. FreeBSD
would be a big plus.


I haven't had a chance to test the bluetooth, and the wifi/video card
may need closed source drivers. I don't understand why you are so
uptight about using open source drivers when you plan on dualbooting
with Windows. Should I remind you that windows is not open source?


Regards,

Shlomi Fish


Was it you who said don't worry? :)

Dotan Cohen

http://lyricslist.com/lyrics/artist_albums/288/k-ci_and_jojo.html
http://what-is-what.com/what_is/activex.html

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Recommendation for a Laptop

2007-04-05 Thread Julian Daich
El jue, 05-04-2007 a las 22:30 +0300, Dotan Cohen escribió:
 I'm using a Dell Inspiron 6400 lappy with Fedora Core 6. At the time I
 bought it, one HAD to purchase Windowx XP with it, but now I think
 that you have a choice of Vista or some Linux distro, I don't know
 which. I don't think that any lappy today comes without Vista.

I had a short conversation with Alex Pinchev of Red Hat last week and he
told me that Dell choose Ubuntu as the distro to be preinstalled from
factory at some their laptops. I don´t know if these laptops will also
provided with some Windows version or proprietary drivers, but they
would work well with any other major distro without tricky solutions for
drivers. 

Julian

-- 
Julian Daich [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Performance monitoring for selected process

2007-04-05 Thread yaron
Hi,

From your mail I cannot understand the context of your problem.
Are you looking for profiling tools to improve programs developed by you or a 
user that wants to understand why a process is slow?

Best regards,

Yaron Kahanovitch

- Original Message -
From: Maxim Veksler [EMAIL PROTECTED]
To: Linux-IL, linux-il@linux.org.il
Sent: 18:59:17 (GMT+0200) Asia/Jerusalem יום רביעי 4 אפריל 2007
Subject: Performance monitoring for selected process

Hi,

Except from stracing -f executables is there some way I can monitor
the process for performance? I would like to debug process delayed
response activity and need to know when it's doing heavy IO / when
it's CPU intensive and when it's all too busy waiting for IRQ.

A graphical display would be preferred, textual will do as well obviously.

For general system statistics, I've tried the following :
1. sysstat + kSar
2. gnome-system-monitor
3. ksysguard
4. ntop

All work great but are too general for my needs, I'm looking for tools
that could display single process statistics.


Thanks,
Maxim.

-- 
Cheers,
Maxim Veksler

Free as in Freedom - Do u GNU ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Performance monitoring for selected process

2007-04-05 Thread Maxim Veksler

On 4/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi,

From your mail I cannot understand the context of your problem.
Are you looking for profiling tools to improve programs developed by you or a 
user that wants to understand why a process is slow?



Both. The application in question is developed in-house. Aside from
profiling each module I would like to know why the service chocks
after calling it for X concurrent sessions. I'm looking for a tool
that could show, in real time, why the service is busy: is it cpu / io
or memory (causing kernel to swap) intensive. I would have used the
term bottle neck to describe what I'm looking to solve, it's just
that it's possible that it's not a bottle neck but a simple bug.

Thank you for helping,
Maxim.


Best regards,

Yaron Kahanovitch

- Original Message -
From: Maxim Veksler [EMAIL PROTECTED]
To: Linux-IL, linux-il@linux.org.il
Sent: 18:59:17 (GMT+0200) Asia/Jerusalem יום רביעי 4 אפריל 2007
Subject: Performance monitoring for selected process

Hi,

Except from stracing -f executables is there some way I can monitor
the process for performance? I would like to debug process delayed
response activity and need to know when it's doing heavy IO / when
it's CPU intensive and when it's all too busy waiting for IRQ.

A graphical display would be preferred, textual will do as well obviously.

For general system statistics, I've tried the following :
1. sysstat + kSar
2. gnome-system-monitor
3. ksysguard
4. ntop

All work great but are too general for my needs, I'm looking for tools
that could display single process statistics.


Thanks,
Maxim.

--
Cheers,
Maxim Veksler

Free as in Freedom - Do u GNU ?





--
Cheers,
Maxim Veksler

Free as in Freedom - Do u GNU ?


Re: Performance monitoring for selected process

2007-04-05 Thread Oren Held

Maybe it's too trivial,
but try to check the CPU Time on the moments of slowliness, so you can tell:
- If the process' CPU Time progressing faster in moments of slowliness 
(High cpu load)
- If there's hardly any progress in CPU Time (process is waiting for IO 
or some other resource)
Also I tried to see what /proc/pid/stats give, nothing amazing but maybe 
it helps.



Maxim Veksler wrote:

On 4/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi,

From your mail I cannot understand the context of your problem.
Are you looking for profiling tools to improve programs developed by 
you or a user that wants to understand why a process is slow?




Both. The application in question is developed in-house. Aside from
profiling each module I would like to know why the service chocks
after calling it for X concurrent sessions. I'm looking for a tool
that could show, in real time, why the service is busy: is it cpu / io
or memory (causing kernel to swap) intensive. I would have used the
term bottle neck to describe what I'm looking to solve, it's just
that it's possible that it's not a bottle neck but a simple bug.

Thank you for helping,
Maxim.


Best regards,

Yaron Kahanovitch

- Original Message -
From: Maxim Veksler [EMAIL PROTECTED]
To: Linux-IL, linux-il@linux.org.il
Sent: 18:59:17 (GMT+0200) Asia/Jerusalem יום רביעי 4 אפריל 2007
Subject: Performance monitoring for selected process

Hi,

Except from stracing -f executables is there some way I can monitor
the process for performance? I would like to debug process delayed
response activity and need to know when it's doing heavy IO / when
it's CPU intensive and when it's all too busy waiting for IRQ.

A graphical display would be preferred, textual will do as well 
obviously.


For general system statistics, I've tried the following :
1. sysstat + kSar
2. gnome-system-monitor
3. ksysguard
4. ntop

All work great but are too general for my needs, I'm looking for tools
that could display single process statistics.


Thanks,
Maxim.

--
Cheers,
Maxim Veksler

Free as in Freedom - Do u GNU ?








=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]