Re: Fwd: 4GB Memory question

2007-05-14 Thread Noam Meltzer
3- In RHEL5 there's no need for a specific hugemem kernel anymore as the kernel is smart enough to decide during boot what kind of technology should it use. That does not make sense to me. The kernel can find out whether it needs more than 1GB for the kernel space during boot according to the

Re: Copying and pasting Hebrew text Firefox-OOo

2007-05-14 Thread Dotan Cohen
On 13/05/07, ik [EMAIL PROTECTED] wrote: Hi, The website as I see it is CP1255 and not iso-8859-8 ! I tested what You have tried to do, but I'm able to paste the Hebrew the same as it looks on firefox 2.0.0.3. My OpenOffice is 2.2.0 under KUbuntu 7.0.4 Ido Turns out that the site itself is

Re: Fwd: 4GB Memory question

2007-05-14 Thread Muli Ben-Yehuda
On Mon, May 14, 2007 at 09:51:15AM +0300, Noam Meltzer wrote: This is from the release notes of RHEL5 (Kernel Notes). I tend to believe that it applies on hugemem as well. o X86 SMP alternatives o optimizes a single kernel image at runtime according to

Re: Firefox accelerator keys workaround addon?

2007-05-14 Thread Yair Friedman
On Fri, 11 May 2007 09:07:47 +1000, Amos Shapira [EMAIL PROTECTED] writes: I've just heard about the following addon which fixes the problem of accelerator keys for russian keyboards: https://addons.mozilla.org/en-US/firefox/addon/3529 Does any of the mozilla programmers here reckon they

Re: Fwd: 4GB Memory question

2007-05-14 Thread Shachar Shemesh
Noam Meltzer wrote: This is from the release notes of RHEL5 (Kernel Notes). I tend to believe that it applies on hugemem as well. o X86 SMP alternatives o optimizes a single kernel image at runtime according to the available platform

need some help with tcp/ip programming

2007-05-14 Thread Rafi Cohen
Hi, as a pproject for a company I'm writing a tcp/ip application on linux using C language. My application has 2 connections as client to remote servers and is by itself a server accepting remote client connections. I'm using select() mechanism to manage all those connections. Everyting works

Re: Firefox accelerator keys workaround addon?

2007-05-14 Thread Hadar
‎That's great! IMHO it is the biggest Firefox annoyance. This addon fixes the problem indeed. Thanks for the info! Hadar. On 5/14/07, Yair Friedman [EMAIL PROTECTED] wrote: On Fri, 11 May 2007 09:07:47 +1000, Amos Shapira [EMAIL PROTECTED] writes: I've just heard about the following addon

Re: need some help with tcp/ip programming

2007-05-14 Thread guy keren
Rafi Cohen wrote: Hi, as a pproject for a company I'm writing a tcp/ip application on linux using C language. ah welcome, welcome to the pleasure dome... My application has 2 connections as client to remote servers and is by itself a server accepting remote client connections. I'm using

^T under ubuntu w hebrew keyboard

2007-05-14 Thread Erez D
hi i have an anoying problem with ubuntu when choosing hebrew keyboard layout: all the control keys (e.g. ctrl-T for new tab in FF) doesnt work ... it is probably mapped to CTRL-ALEPH instead, which is no use to me anyway is there a ubuntu build in solution ? if not, anyone has a modmap file ?

Re: Fwd: 4GB Memory question

2007-05-14 Thread Noam Meltzer
On 5/14/07, Shachar Shemesh [EMAIL PROTECTED] wrote: While I cannot rule out that they did the same for hugemem, it still leaves in the question of boot time detection. I'll pose a wild guess as to what is done, and you tell me how likely it is: At boot time, RHEL 5 tests whether the machine

Sound on IBM X31

2007-05-14 Thread Ori Idan
I recently upgraded my kernel to 2.6.18 (Debian package) After upgrading, sound does not work. lspci shows sound modules loaded (oss modules) However gnome volume control says GStreamer plugin not found. Does anyone have any idea? -- Ori Idan

Re: Sound on IBM X31

2007-05-14 Thread Hetz Ben Hamo
Hi, apt-get install aumix. See if aumix works. Also check if you have the udev enabled (if you had it previously) and check permissions on devices like /dev/dsp etc.. Thanks, JHetz On 5/14/07, Ori Idan [EMAIL PROTECTED] wrote: I recently upgraded my kernel to 2.6.18 (Debian package) After

Re: Fwd: 4GB Memory question

2007-05-14 Thread Shlomi Fish
Hi Shachar! On Monday 14 May 2007, Shachar Shemesh wrote: Noam Meltzer wrote: Hi, Quick answer is no. A bit longer answer is: 1- PAE refers to a certain technology avail. in the CPU which allows 32bit kernels to address larger address spaces. 2- Hugemem is a technology which

RE: need some help with tcp/ip programming

2007-05-14 Thread Rafi Cohen
Hi Guy Rafi Cohen wrote: Hi, as a pproject for a company I'm writing a tcp/ip application on linux using C language. ah welcome, welcome to the pleasure dome... Hmm, thanks for your warm greetings. My application has 2 connections as client to remote servers and is by itself a server

Re: need some help with tcp/ip programming

2007-05-14 Thread Amos Shapira
On 14/05/07, guy keren [EMAIL PROTECTED] wrote: Rafi Cohen wrote: Reading some documentation on tcp/ip programming, I had the impression that the select mechanism should detect such remote disconnect event, thus enabling me to make a further read from this socket which should end in reading

Re: ^T under ubuntu w hebrew keyboard

2007-05-14 Thread Amos Shapira
On 14/05/07, Erez D [EMAIL PROTECTED] wrote: hi i have an anoying problem with ubuntu when choosing hebrew keyboard layout: all the control keys (e.g. ctrl-T for new tab in FF) doesnt work ... it is probably mapped to CTRL-ALEPH instead, which is no use to me anyway is there a ubuntu build

RE: need some help with tcp/ip programming

2007-05-14 Thread Rafi Cohen
Amos, thanks for the ideas. I thought about poll and will look into this. I'm cecking read also for errors (valies 0) but in this case there ven can not be errors. Since the socket is disconnected, select does not detect any event on this socket and so does not give me any opportunity to read

Re: Fwd: 4GB Memory question

2007-05-14 Thread Shachar Shemesh
Noam Meltzer wrote: So, is it possible that PAE technology, in a way, replaces the hugemem? Seems extremely unlikely to me. A few words about the technologies (since you brought up the distinction, I'm surprised it is relevant). On a 32 bit platform each process can address, at most, 4GB of

Re: Fwd: 4GB Memory question

2007-05-14 Thread Noam Meltzer
Well, It would be really nice if some1 on this list have a RHEL(/CentOS)5 at hand with =4GB RAM to test it. (Hetz?) - Noam On 5/14/07, Shachar Shemesh [EMAIL PROTECTED] wrote: Noam Meltzer wrote: So, is it possible that PAE technology, in a way, replaces the hugemem? Seems extremely unlikely

Re: Fwd: 4GB Memory question

2007-05-14 Thread Muli Ben-Yehuda
On Mon, May 14, 2007 at 01:47:35PM +0300, Shachar Shemesh wrote: PAE is but an extension to the virtual memory technique, but using unaddressable memory instead of the disk. The machine has 64GB of physical memory, but can only actually address 4GB at a time. Pages of physical memory are

Re: Sound on IBM X31

2007-05-14 Thread Ori Idan
How do I switch to ALSA on this machine? I have aumix installed. when trying to run it, I get error opening mixer. -- Ori Idan On 5/14/07, Vassilii Khachaturov [EMAIL PROTECTED] wrote: FWIW, I had my share of bad luck with OSS modules on IBM machines, specifically, those with the ICH5 AC97

Re: Sound on IBM X31

2007-05-14 Thread Hetz Ben Hamo
Hi, Use the command: alsamixer Thanks, Hetz On 5/14/07, Ori Idan [EMAIL PROTECTED] wrote: How do I switch to ALSA on this machine? I have aumix installed. when trying to run it, I get error opening mixer. -- Ori Idan On 5/14/07, Vassilii Khachaturov [EMAIL PROTECTED] wrote: FWIW, I had

Re: Fwd: 4GB Memory question

2007-05-14 Thread Shachar Shemesh
Muli Ben-Yehuda wrote: Hmm? that doesn't sound correct. All PAE does it make it possible to have 36-bits PFNs in the PTEs, so that your physical addressability is up to 64GB. You *can* address all 64GB of physical memory at the same time. In other words PAE lets you map 4GB of virtual - 64GB

Re: Fwd: 4GB Memory question

2007-05-14 Thread Muli Ben-Yehuda
On Mon, May 14, 2007 at 02:42:11PM +0300, Shachar Shemesh wrote: Muli Ben-Yehuda wrote: Hmm? that doesn't sound correct. All PAE does it make it possible to have 36-bits PFNs in the PTEs, so that your physical addressability is up to 64GB. You *can* address all 64GB of physical memory at

Re: ^T under ubuntu w hebrew keyboard

2007-05-14 Thread Julian Daich
El lun, 14-05-2007 a las 11:08 +0300, Erez D escribió: hi i have an anoying problem with ubuntu when choosing hebrew keyboard layout: I had a similar problem with Kubuntu, but not with Ubuntu. AFAIK the problem is with KDE and not only with the *ubuntu distros. all the control keys (e.g.

Re: Fwd: 4GB Memory question

2007-05-14 Thread Shachar Shemesh
Muli Ben-Yehuda wrote: You are confusing *virtual* memory and *physical* memory. PAE has nothing to do with virtual memory and everything to do with physical memory. I don't think I am. The simple truth of the matter is that it is not possible to access physical memory directly (at least,

Re: Fwd: 4GB Memory question

2007-05-14 Thread Muli Ben-Yehuda
On Mon, May 14, 2007 at 03:20:10PM +0300, Shachar Shemesh wrote: Muli Ben-Yehuda wrote: You are confusing *virtual* memory and *physical* memory. PAE has nothing to do with virtual memory and everything to do with physical memory. I don't think I am. The simple truth of the matter is

Re: need some help with tcp/ip programming

2007-05-14 Thread michael
this is a great thread - i'm learning a lot by reading it, even though i've been programming sockets for years. thanks for the question, and thanks for all the great answers. Another point to check - does the read(2) after select(2) return an error? See select_tut(2) for more details on how

Re: need some help with tcp/ip programming

2007-05-14 Thread guy keren
(rafi - your quoting mixes your text with mine - you might want to fix this - it was very hard to read your letter). see my comments below: Rafi Cohen wrote: Hi Guy Rafi Cohen wrote: So, I have a couple of questions and I'll most apreciate any assistance. 1. Would you confirm that

Re: need some help with tcp/ip programming

2007-05-14 Thread guy keren
[EMAIL PROTECTED] wrote: amos shapira wrote: Maybe using poll(2) will help you around that (I also heard that poll is generally more efficient because it helps the kernel avoid having to re-interpret the syscall parameters on every call). this is interesting. can anyone provide more info on

Re: need some help with tcp/ip programming

2007-05-14 Thread guy keren
Amos Shapira wrote: On 14/05/07, *guy keren* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Rafi Cohen wrote: Reading some documentation on tcp/ip programming, I had the impression that the select mechanism should detect such remote disconnect event, thus enabling

RE: need some help with tcp/ip programming

2007-05-14 Thread Rafi Cohen
Thank you very much Guy and sorry for not writing the text in an approriate way. Usually, I reply above the original message, but this time tried to mix my comments close to your text so that they make sense and you don't loose the context. Next time I'll try to do better. Thanks for the most

Re: need some help with tcp/ip programming

2007-05-14 Thread Amos Shapira
On 15/05/07, guy keren [EMAIL PROTECTED] wrote: I think you are tinkering with semantics and so miss the real issue (do you work as a consultant? :). did you write that to rafi or to me? i'm not dealing with semantics - i am dealing with a real problem, that stable applications have to deal

Re: need some help with tcp/ip programming

2007-05-14 Thread guy keren
Amos Shapira wrote: On 15/05/07, *guy keren* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think you are tinkering with semantics and so miss the real issue (do you work as a consultant? :). did you write that to rafi or to me? i'm not dealing with semantics - i

Re: need some help with tcp/ip programming

2007-05-14 Thread Amos Shapira
On 15/05/07, guy keren [EMAIL PROTECTED] wrote: Amos Shapira wrote: On 15/05/07, *guy keren* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think you are tinkering with semantics and so miss the real issue (do you work as a consultant? :). did you write that to

Re: need some help with tcp/ip programming

2007-05-14 Thread Shachar Shemesh
guy keren wrote: Amos Shapira wrote: On 14/05/07, *guy keren* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Rafi Cohen wrote: Reading some documentation on tcp/ip programming, I had the impression that the select mechanism should detect such remote disconnect

Re: need some help with tcp/ip programming

2007-05-14 Thread Shachar Shemesh
Amos Shapira wrote: in neither case will read return 0. the only time that read is allowed to return 0, is when it encounters an EOF. for a socket, this happens ONLY if the other side closed the sending-side of the connection. Is there an on-line reference (or a manual page) to