Re: Memory pool interface design

2015-05-15 Thread Baruch Even
I would question the need to abstract away the memory allocations of your library compared to everything else. If someone cares enough about it he can replace malloc and free completely to use a different allocation scheme. In most cases I've cared about memory allocations I just wanted none of th

Re: Output to block device in linux kernel

2013-04-24 Thread Baruch Even
On Wed, Apr 24, 2013 at 7:33 PM, Elazar Leibovich wrote: > I'm trying to understand in more depth the handling of physical harddrive > io in the linux kernel (from pdflush to the actual filesystem driver). > > When reading about the matter, I found out I'm missing some information at > a more bas

Re: SSD drives

2012-12-31 Thread Baruch Even
A good SSD must have enough capacitors/super-caps to protect itself from such events, did you try to check with the vendor support? On Mon, Dec 31, 2012 at 5:22 PM, Gilboa Davara wrote: > On Mon, Dec 31, 2012 at 2:13 PM, Lior Okman wrote: > > > > On Mon, Dec 31, 2012 at 1:48 PM, Dan Shimshoni

Re: What's the practical use of the error close() returns?

2012-07-27 Thread Baruch Even
On Fri, Jul 27, 2012 at 7:06 PM, Oleg Goldshmidt wrote: > > On Fri, Jul 27, 2012 at 2:52 PM, Elazar Leibovich wrote: > > > You nailed it! closing a file twice is an error that makes sense to be > > issued at close. So simple, how could I miss it? > > Not only for catching your bugs. If fclose(3)

Re: High-resolution user/system times?

2012-07-25 Thread Baruch Even
On Wed, Jul 25, 2012 at 10:09 AM, Nadav Har'El wrote: > Hi, as you know the time(1) command, and the times(2) system call is > able to separate a process's running time into "user" and "system" time, > measuring the CPU time in user space and kernel space respectively. > > However, these only have

Re: Cat on (RAM) steroids

2012-02-04 Thread Baruch Even
On Sat, Feb 4, 2012 at 4:27 PM, Eli Billauer wrote: > Hi all, > > > I need a simple command-line program, which works as a plain FIFO stream > buffer with a huge RAM. Something I can do: > > > $ fatcat -b 256M /dev/datasource | ./my_shaky_data_sink > > > The idea is that "fatcat" reads data whene

Re: An alternative to Skype

2011-06-12 Thread Baruch Even
On Jun 10, 2011 8:53 PM, "Steve G." wrote: > > If you want computer to computer, there are plenty of chat clients that would work - Jabber, msn, aol, yahoo, I think all have voice and video communications in them. Gmail is another excellent system. The problem is the network effect - both sides mu

Re: Centos 5/5.5/6.0 and StorageWorks P2000

2011-05-24 Thread Baruch Even
On May 24, 2011 1:57 PM, "Hetz Ben Hamo" wrote: > > Hi, > > I'm trying to assist someone. He has an IBM Server and he's planning to install CentOS 5.5 > > Part of the setup is a storage box (which he is not administrating) which is connected to the IBM with SAS cable. > > Are there any special ins

Re: [r...@gnu.org: Speeches in Israel?]

2011-01-17 Thread Baruch Even
Debian is already called Debian GNU/Linux as well as Debian GNU/kFreeBSD and Debian GNU/Hurd. Debian is the name of the project, the distribution is always GNU based with a different kernel. Baruch On Mon, Jan 17, 2011 at 10:45 AM, Uri Even-Chen wrote: > 2011/1/17 Mordecha Behar : > > Remember,

Re: [OT?] Planet is dead?

2010-11-20 Thread Baruch Even
Works for me now. Baruch On 21 Nov 2010 09:20, "shimi" wrote: Sending here because I don't know who maintains it (there is no contact listed on the server error message...) This is what I get when I access http://planet.linux.org.il @ 21 Nov 10, 09:05 IST: Not Found The requested URL / was n

Re: Setting permanent routes on Debian

2010-09-26 Thread Baruch Even
You want to lookup man interfaces. The file /etc/network/interfaces is the network setup file of Debian and is the place to use post-up rules or a specialized option its name I can't remember right now. Baruch On 26 Sep 2010 17:29, "eliyahu cohen" wrote: I want to set a permanent route on my De

Re: Common problems with Ubuntu

2010-05-11 Thread Baruch Even
On Tue, May 11, 2010 at 7:43 PM, Shlomi Fish wrote: > On Tuesday 11 May 2010 16:04:29 Amos Shapira wrote: > > On 11 May 2010 22:01, geoffrey mendelson > wrote: > > > On May 11, 2010, at 2:52 PM, Dotan Cohen wrote: > > >> Ubuntu packages three Javas, but only the Sun Java has any worth. The > > >

Re: Need advice on differences in socket programming on regular vs cellular networks.

2010-04-06 Thread Baruch Even
2010/4/6 David Harel > > Marc Volovic wrote: > > On Apr 6, 2010, at 2:47 PM, David Harel wrote: > > A friend wants me to code a solution on a mobile device connected to local > area network via cellular modem (having simm card and a valid local IP > address). > > Assuming above obtains, a socket

[JOB] Python software developers

2010-03-25 Thread Baruch Even
Hi, XIV-IBM is looking for Python software developers for two positions: GUI Developer - Description: Web tool GUI Developer Requirements: • Java Script - 2 years - MUST Web 2 dev - at least 18 months - MUST • Dojo - high advantage. • GUI development - advantage. • Quick sel

[JOB] Experienced Unix/Linux System Administrator

2010-03-25 Thread Baruch Even
Hi, XIV, a group in IBM, is looking for an experienced Unix/Linux sysadmin with the following qualifications: Description: A seasoned specialist in Unix/Linux operating systems. Analyzes, acquires, installs, modifies and supports operating systems, utilities programs and tools. Develops, maintai

Re: kernel optimization for long distance download??

2010-03-06 Thread Baruch Even
2010/3/6 Shachar Shemesh > Ohad Levy wrote: > > You would need to know what to sniff, e.g. if tcp dynamic window scaling is > enabled. > > I'll be interested in what you consider dirty tricks? > AFAIK increasing the tcp window size (read: send more data for every ack) > is not considered dirty

[JOB OFFER] SW / System Programmer

2010-02-25 Thread Baruch Even
good developer with the potential to be a great one, please apply. XIV is a group inside IBM, for more info about XIV, see: http://xivstorage.com/ Regards, Baruch Even ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/list

Re: Looking for IGMP (multicast) server-client solution

2008-09-22 Thread Baruch Even
On Mon, Sep 22, 2008 at 1:39 PM, Lev Olshvang <[EMAIL PROTECTED]> wrote: > > Hi Baruch, > > Thanks for response, > I will put my comments close to your statements, please see below > > > > Thaks, > > > Baruch Even wrote: > > On Mon, Sep 22, 2008 at

Re: Looking for IGMP (multicast) server-client solution

2008-09-22 Thread Baruch Even
On Mon, Sep 22, 2008 at 11:38 AM, Lev Olshvang <[EMAIL PROTECTED]> wrote: > > Hi, > > I have following issue to solve: > > The network have one server which sends multicast streams to several > multicast groups. > > I would like it to stop streaming if no client is listening, and start > streami

Re: Support contracts for Debian

2007-11-20 Thread Baruch Even
On Nov 20, 2007 3:19 PM, Shachar Shemesh <[EMAIL PROTECTED]> wrote: > > Baruch Even wrote: > > Hi, > > > > The company I work for is trying to decide on a distribution for its > > servers. One major criteria is having a support contract with > > obligati

Support contracts for Debian

2007-11-20 Thread Baruch Even
Hi, The company I work for is trying to decide on a distribution for its servers. One major criteria is having a support contract with obligations from the support company. The tendency is toward RedHat but I'd rather we use Debian. I was wondering if anyone knows of companies providing such a su

[JOBOFFER] MSc opportunity in Ireland

2007-10-29 Thread Baruch Even
Hello, The institute I've done my Masters at is looking for fresh-blood^W^W^Wanother student to do some interesting work in the field of TCP congestion control and IPv6. It's a lovely place in Ireland half an hour from Dublin with several nice pubs, good people and a nice opportunity to anyone who

Re: Virtualization software on Linux

2007-07-09 Thread Baruch Even
* Amos Shapira <[EMAIL PROTECTED]> [070709 11:56]: > On 09/07/07, Baruch Even <[EMAIL PROTECTED]> wrote: > > > >If you want nice guis and the like VMware is probably the way. If you > >are willing to run a script then it should be as easy as: > > > >

Re: Virtualization software on Linux

2007-07-09 Thread Baruch Even
* Chaim Keren Tzion <[EMAIL PROTECTED]> [070709 11:36]: > On Monday 09 July 2007 08:32:03 Amos Shapira wrote: > > To give context for my question - I've just bought a Dell desktop based on > > Intel Core 2 Duo and installed Debian Etch (amd64) on it, > > A bit off topic but why try to install amd6

Re: Virtualization software on Linux

2007-07-09 Thread Baruch Even
* Amos Shapira <[EMAIL PROTECTED]> [070709 11:13]: > On 09/07/07, Dan Kenigsberg <[EMAIL PROTECTED]> wrote: > > > >occasional VisualDev. I guess that with modern systems which have the vt > >cpu > >extension, kvm+qemu would be a free, open, and competitive choice. > > > That's what my hunch also

Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-01 Thread Baruch Even
* Maxim Veksler <[EMAIL PROTECTED]> [070702 03:32]: > On 7/2/07, Lior Kaplan <[EMAIL PROTECTED]> wrote: > >Maxim Veksler wrote: > > > >Use iptables-save to save your current rules as to the iptables rules > >files. It will be loaded on the next reboot using iptables-restore. > > > > Ha? > > I mus

Re: Multiple static IP addresses on DSL ?

2007-06-07 Thread Baruch Even
Oded Arbel wrote: Hi List. I have a DSL account from Netvision with a static IP, and in addition they assigned me an additional block of 8 IP addresses that should be mapped to this account- but I don't know how to make use of these addresses. Did anyone manage to use the additional IP addre

Re: debian netinst q

2007-04-27 Thread Baruch Even
* ronys <[EMAIL PROTECTED]> [070427 18:49]: > Hi, > > Regarding root, IIRC, 'sudo' is configured to allow the user to get > root access, e.g., 'sudo bash' should give you a root shell. I haven't tried it on a new install to be 100% certain but I'm fairly sure that Debian doesn't set things up lik

Re: debian netinst q

2007-04-27 Thread Baruch Even
* Shimon Panfil <[EMAIL PROTECTED]> [070427 18:17]: > On Fri, Apr 27, 2007 at 03:59:40PM +0300, Baruch Even wrote: > > * Shimon Panfil <[EMAIL PROTECTED]> [070427 14:32]: > > > Hi Folks, > > > I've just made instalation of debian 4.0 using netinst

Re: debian netinst q

2007-04-27 Thread Baruch Even
* Shimon Panfil <[EMAIL PROTECTED]> [070427 14:32]: > Hi Folks, > I've just made instalation of debian 4.0 using netinst CD. > All is fine safe a couple of minor things: > Installer did not asked me if want graphical login, set gdm or something > like that automatically, second it did not asked for

Re: Tracing the functions stack through gdb

2007-04-26 Thread Baruch Even
* Elazar Leibovich <[EMAIL PROTECTED]> [070426 16:24]: > Problem: > I wish to hack and solve Bidirectionality related bugs in Lyx. > However, I don't want to read all and understand all the code in Lyx, > but only the code related to cursor movement, character insertion, > etc. > How can I find the

Re: Performance monitoring for selected process

2007-04-06 Thread Baruch Even
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [070406 20:25]: > > Hi again, > > As a developer I would start to work with tools like vtune (in case of > c/c++). > The open sourced tool that I know is "valgrind" but Vtune is my my > first choice. VTune is Intel tool that use special Intel hardware > fea

Re: Someone managed to compile auditd on Ubuntu ?

2007-03-20 Thread Baruch Even
* Maxim Veksler <[EMAIL PROTECTED]> [070320 19:14]: > On 3/20/07, Baruch Even <[EMAIL PROTECTED]> wrote: > >* Maxim Veksler <[EMAIL PROTECTED]> [070320 15:57]: > >> btw, too bad http://syscalltrack.sourceforge.net/ ain't good(?) for 2.6. > > > >

Re: Someone managed to compile auditd on Ubuntu ?

2007-03-20 Thread Baruch Even
* Maxim Veksler <[EMAIL PROTECTED]> [070320 15:57]: > btw, too bad http://syscalltrack.sourceforge.net/ ain't good(?) for 2.6. You can get a similar effect by using systemtap on a kprobes enabled kernel. It's actually much stronger than syscalltrack. Baruch =

Re: the great jerusalem firewall

2007-03-02 Thread Baruch Even
* Yonah Russ <[EMAIL PROTECTED]> [070302 12:54]: > I'm confused... is there any parent that wants their kids to freely and > easily access pornography? Halevai the UN would treat pornography like they > treat nuclear weapons. I'd rather take care of it myself and let the companies offer such a ser

Re: g++ compilation problem

2007-02-26 Thread Baruch Even
* Peter <[EMAIL PROTECTED]> [070226 16:14]: > > On Mon, 26 Feb 2007, Vassilii Khachaturov wrote: > > >>I have a compilation problem: when compiling opal-2.2.5 , g++ reports: > >>'g++: Internal error: Killed (program cc1plus)'. g++ is 'g++ (GCC) 3.3.6 > >>(Debian 1:3.3.6-8)'. I would like to solve

Re: Decorating a kernel function

2007-02-22 Thread Baruch Even
* Tzahi Fadida <[EMAIL PROTECTED]> [070222 09:22]: > In addition, kernel functions, especially that one are re-entrant and many > times locking is not an option. I will probably have to employ some circular > buffer with no locking and later a background thread will crunch these. If you need to

Re: Decorating a kernel function

2007-02-21 Thread Baruch Even
* Tzahi Fadida <[EMAIL PROTECTED]> [070221 15:21]: > On Wednesday 21 February 2007 08:19, Baruch Even wrote: > > * Tzahi Fadida <[EMAIL PROTECTED]> [070221 02:38]: > > I'm not aware of a way to do what you ask (redirect the function to you > > and be abl

Re: Decorating a kernel function

2007-02-20 Thread Baruch Even
* Tzahi Fadida <[EMAIL PROTECTED]> [070221 02:38]: > Hi, > Is it possible to replace a function in the kernel (using a module) without > recompiling. This function is an exported function. Basically i wish to > extend a functionality of a function (without asking for a stub at this > point). Spe

Re: recvmsg on dgram socketpair blocks on open socket?

2007-02-17 Thread Baruch Even
* Amos Shapira <[EMAIL PROTECTED]> [070218 05:18]: > On 17/02/07, Peter <[EMAIL PROTECTED]> wrote: > > > > > >On Fri, 16 Feb 2007, Baruch Even wrote: > > > >> You assume that the signal was received in the recv() call, you'll have > >&g

Re: recvmsg on dgram socketpair blocks on open socket?

2007-02-16 Thread Baruch Even
* Shachar Shemesh <[EMAIL PROTECTED]> [070216 12:10]: > Baruch Even wrote: > > If it is a process parent/child pair then you could listen on the signal > > SIGCHLD and when the child exits your process will be notified by the > > kernel. > Well, no. > > The mo

Re: recvmsg on dgram socketpair blocks on open socket?

2007-02-16 Thread Baruch Even
* Amos Shapira <[EMAIL PROTECTED]> [070216 03:17]: > Hi, > > I'm trying to help complete Shachar Shemesh' privbind project ( > http://sourceforge.net/projects/privbind) and it mostly works except that > when the writing side of the socketpair exits, the side which calls > "recvfrom" keeps waiting

Re: Locating bandwidth bottlenecks

2007-02-15 Thread Baruch Even
* guy keren <[EMAIL PROTECTED]> [070215 18:46]: > > please DON'T hammer down on DNS server to check your bandwidth limits - > you'll disrupt the service of everyone else by > doing so... About two requests a second for a minute or so is hardly hammering it. Obviously, running such a program ind

Re: Locating bandwidth bottlenecks

2007-02-15 Thread Baruch Even
* Gadi Cohen <[EMAIL PROTECTED]> [070215 17:14]: > Is this possible? What do you want to find? There are tools to find that there is a bandwidth bottleneck and what is it limiting to. So you can know f.ex. that you DSL line is limited to 1.5mbps. Look for packet pair to find tools that do it. I h

Re: Syntax highlighting of makefiles in OpenOffice (solved)

2007-01-27 Thread Baruch Even
* Shachar Shemesh <[EMAIL PROTECTED]> [070127 13:43]: > Shachar Shemesh wrote: > > Can anyone offer a way to export the syntax highlighting information > > into my presentation in a sane way (i.e. something more automated than > > manually marking constructs in colors). > > > As usual, this list

Re: Shared Library entry point

2006-11-14 Thread Baruch Even
* Ami Chayun <[EMAIL PROTECTED]> [061114 16:48]: > Hi all, > I have a shared library, and I want a specific function to be called once the > library is loaded. > > Dlls has the notorious DllMain function. Is there a method of achieving the > same in an .so file? Check the document at http://peo

Re: monitoring native heap size on 2.4

2006-11-05 Thread Baruch Even
* Yahav Biran <[EMAIL PROTECTED]> [061105 16:24]: > > In solaris OS, pmap -x pid | grep heap gives the size of the native heap of > the process. > I tried to do it in linux and no heap entry, is there any way to monitor the > size of the native heap of a process? AFAIK there is no heap entry that

Re: swap in Linux

2006-11-05 Thread Baruch Even
* Yahav Biran <[EMAIL PROTECTED]> [061105 12:39]: > My application does from time to time swap. I can see it by monitoring it > with vmstat command (si and so parameters). > I would like to know why this swap activity was made (lack of memory or > memory algorithm). swap out is done when a process

Re: Synchronizing driver with user mode application

2006-10-29 Thread Baruch Even
* Michael Sternberg <[EMAIL PROTECTED]> [061029 09:43]: > Hello everybody. > > I want to ask how reliable to use signals to notify user mode > application from driver ? I have a driver that stops every I/O and > sends a signal to user mode application. After that user mode > application send ioctl

Re: unable to choose bash as my default shell

2006-10-28 Thread Baruch Even
* Erez D <[EMAIL PROTECTED]> [061028 10:18]: > hi > > i have successfully installed Linux on my linksys router > the distribution (called openwrt) comes with /bin/ash > which is actually a link to busybox. > > i was able to add a secure digital card to my router > and now have 1GB of free space.

Re: Image spam

2006-10-23 Thread Baruch Even
* Gil Freund <[EMAIL PROTECTED]> [061023 20:42]: > Hi, > > I am using a Amavis+SA+CLAM for mail filtering (debian sarge packages). > Recently I am being hit by a lot of image spam. Bayesian filtering and > RBL's are not enough. > > I have read of an OCR option for SA 3.01, but I before going to s

Re: 3 questions. lm-sensors, kde and alsa.

2006-10-16 Thread Baruch Even
* David Harel <[EMAIL PROTECTED]> [061016 09:13]: > Hi all, > > lm-sensors: > The command sensors gives me: Can't access procfs/sysfs file. I did > sensors-detect have CONFIG_SYSFS=y in kernel and > sysfs mount on /sys type sysfs (rw). Any idea? Maybe you don't have support for your specific mo

Re: netif_rx and dev stack

2006-10-07 Thread Baruch Even
* Chava Leviatan <[EMAIL PROTECTED]> [061005 16:13]: > However, when i do the rmmod the machine crashes , i.e., performs a reset !! > When I remove the netif_rx the rmmod returns ok. Your best bet to debug this is to connect a serial cable to the machine and set the kernel such that it logs everyt

Re: "free" does not frees memory ?

2006-10-03 Thread Baruch Even
* Baruch Even <[EMAIL PROTECTED]> [061003 12:16]: > * Michael Sternberg <[EMAIL PROTECTED]> [061003 09:21]: > > From man page of "free" on Solaris 8: > > > > The argument to free() is a pointer to a block previously > > allocated by mall

Re: "free" does not frees memory ?

2006-10-03 Thread Baruch Even
* Michael Sternberg <[EMAIL PROTECTED]> [061003 09:21]: > From man page of "free" on Solaris 8: > > The argument to free() is a pointer to a block previously > allocated by malloc(), calloc(), or realloc(). After free() > is executed, this space is made available for further allo- > cation b

Re: disabling ipv6 on debian

2006-08-09 Thread Baruch Even
Diego Iastrubni wrote: > ביום רביעי, 9 באוגוסט 2006, 21:22, נכתב על ידי Baruch Even: > >>> alias net-pf-10 ipv6 <- old >>> alias net-pf-10 off <- on >>> >>> and then run "update-modules". >>> >>> This does not work for

Re: disabling ipv6 on debian

2006-08-09 Thread Baruch Even
Diego Iastrubni wrote: > The first work around, is to set the DNS server of the clients, not to the > modem but to the DNS servers of the ISP. Since the DHCP lease of the clients > ends after X time, the clients get once again the DNS of the modem, and the > problem comes back. How do modify the

Re: Use clipboard content in a script

2006-07-08 Thread Baruch Even
Chen Levy wrote: > Hi people. > > In KDE I can do: > #/bin/sh > dcop klipper klipper getClipboardContent | festival --tts > This get the current clipboard text selection and read it out loud. > > I know that GNOME uses D-BUS as DCOP TNG, but I was not able to grok how to > use it. I read somewh

Re: use the interview

2006-07-05 Thread Baruch Even
Aharon Schkolnik wrote: > On Monday 03 July 2006 11:59, Andre Bar'yudin wrote: >> In big companies it is much more complicated. >> >> On 7/3/06, guy keren <[EMAIL PROTECTED]> wrote: >>> not that it will help you this time, but for next time: >>> >>> when i interview in companies and we get to the "

Re: Random numbers in Linux servers

2006-06-28 Thread Baruch Even
Shachar Shemesh wrote: > Shachar Shemesh wrote: >> My little experiment failed to record anything at all from /dev/dsp. >> It will take me a little while to get the data. > Does anyone care to look at the attached program and tell me why it > fails to record from the mic? > > I've set the mixer in

Re: Subversion-friendly Shell hacking?

2006-06-19 Thread Baruch Even
Omer Zak wrote: > I am now reading about Subversion. > > Turns out that in order to get Subversion to properly manage and keep > track of history of files even when they are copied or renamed, one > should use 'svn copy' instead of 'cp' and 'svn move' instead of 'mv'. > > I wonder whether shells

Re: Writing I/O intercepting driver in Linux

2006-06-18 Thread Baruch Even
Michael Sternberg wrote: > > We have to write driver that intercept all I/O to disk and notifies > user-mode application with following data: block length and device > number. What is a proper way to implement it: to write a block driver > above disk layer or to implement a file system filter ? If

Re: Replacing a DVD player with a Linux system????

2006-06-18 Thread Baruch Even
Geoffrey S. Mendelson wrote: > I would like to replace the player with a computer. I don't need much, but > what I need is the ability to play a DVD including the menus and play > files using MP1/2/4 compression as .avi or .mov files. VLC plays > the DVDs fine, Mplayer gets the ones that VLC does n

Re: Renaming a label in partition table

2006-06-12 Thread Baruch Even
Dan Shimshoni wrote: > > in /etc/fstab, I have: > LABEL=/work1/work1 ext3defaults1 2 > > When I installed FC4 , I had chosen manual partition, and selected /work1 > as a mounting point for /dev/hda3; I have more partitions on this disk. > (one of them is f

Re: [YBA] Job Opening

2006-05-18 Thread Baruch Even
Omer Zak wrote: > There is a XML resume library (Debian package name: xml-resume-lib), > which provides a standard XML DTD for writing resumes and for creating > various formats from the XML resume. One Day I Shall Convert My Resume > Into XML. I'm using that and it works very nicely, generating

Re: TCP speedup

2006-04-23 Thread Baruch Even
Amos Shapira wrote: > Someone at my workplace just implemented the top-part of the suggestions at > this page: http://www-didc.lbl.gov/TCP-tuning/linux.html > and got a 30x speedup (peaking at 50x speedup) on rsync of the mozilla mirror. These sort of changes (increasing the tx/rx buffers of tcp)

Re: new computer-the saga continues

2006-03-19 Thread Baruch Even
Avraham Rosenberg wrote: > Hi, > First of all, thanks to Oded Arbel. > A couple of new questions: > 1-On the two quotations I received today, they propose SATA hard > drives. Now, I know that less than two years ago, installing > Linux, when the first drive (in this case the only drive ) was > SAT

Re: Why does this mlockall()+setuid(getuid())+setlocale() program crash?

2006-03-03 Thread Baruch Even
Shlomi Fish wrote: > On Friday 03 March 2006 20:36, Baruch Even wrote: > >>The thing to try would be strace and/or gdb to debug the program and see >>where it crashes or enable coredumps and gdb the resulting coredump. > > > The problem is that when running under str

Re: Why does this mlockall()+setuid(getuid())+setlocale() program crash?

2006-03-03 Thread Baruch Even
Shlomi Fish wrote: > Hi all! > > 1. Save the script that is attached to this message. > > 2. **As root**, run it in an empty directory. > > 3. As an under-privileged user, enter this directory and type "./prog". > > Result: the program segfaults before printing the "Msg2". My question is - > w

Re: Problems while logging in to Debian unstable

2006-02-03 Thread Baruch Even
Ori Idan wrote: > I have tried to logged in to my Debian unstable machine using regular > user from gdm and got > > a message "System bootup in progress" after clicking Ok I returned to > the login screen. At the start of the boot process the Debian initscripts will create a file /etc/nologin, th

Re: HTB Traffic Control Problems...

2006-01-24 Thread Baruch Even
I can only suggest to do a binary search on the DOWNLINK variable to see if and where it starts to affect your connection. Alex Alexander wrote: > Ok, thats easy. > > Basic topology of my network: > > 384/128 ADSL ROUTER --- (ethernet 192.168.1.0/24) --- eth1 : LINUX ROUTER : > eth0 --- (etherne

Re: HTB Traffic Control Problems...

2006-01-24 Thread Baruch Even
Alex Alexander wrote: > Something must be seriously ed up with my linux box. > > I DL'ed wondershaper. Set it up for DL=350 (384), UL=96 (128) on eth1 (dsl). Are you using ppp by any chance? If so you need to put the controls on the PPP connections. The tc counters don't show much traffic so

Re: HTB Traffic Control Problems...

2006-01-23 Thread Baruch Even
Shachar Shemesh wrote: > Baruch Even wrote: > > >>The best bet would be to use RED with ECN for TCP, this way you send the >>correct messages to the TCP layer without dropping downloaded packets. >> >> > > ECN uses two TCP flags that were considered "

Re: HTB Traffic Control Problems...

2006-01-23 Thread Baruch Even
David Randelman wrote: > To make a long story short, you will not be able to obtain a fast > download stream AND hope to obtain minimum latency for gaming unless you > use tc to cut your bandwidth by half or more and at the same time it > will help to place the MRQ module. I don't think you really

Re: HTB Traffic Control Problems...

2006-01-23 Thread Baruch Even
Alex Alexander wrote: > Greetings everyone, > > I'll try to keep it short. I have a linux routing machine connecting my > 384kbps adsl line (eth1) with my local network (eth0). Its running Debian > unstable, w/ kernel 2.6.15 and the usual services (proxy, dns, dhcp, etc > etc). > > I am trying

Re: Microsoft propaganda

2006-01-21 Thread Baruch Even
Geoffrey S. Mendelson wrote: > On Fri, Jan 20, 2006 at 03:45:25PM +0200, Hetz Ben Hamo wrote: >>In the Linux case, if there's no official redhat RPM ready by the time >>it's out (extremly rare situation), you can almost always find some >>other distributor package, extract the SRPM, get the fixed p

Re: vmware player images and gpl

2006-01-05 Thread Baruch Even
Diego Iastrubni wrote: > How to make new images for this tool...? (evaluating other vmware > products...?) It is said (and I didn't test it) that qemu is capable of creating a vmware disk image that you can use to install whatever you want on. And then you can use vmware player to run the image.

Re: Generating events in X

2005-12-19 Thread Baruch Even
Shachar Shemesh wrote: > Hi all, > > > I want to make an X application think that a keyboard event has > happened. Is there a generic (i.e. - that works on any X application) > way to send X events to it? Yes, but I have no idea how. I do know that I'm using the synergy program to control a lap

Re: So many passwords. what can be done ?

2005-12-12 Thread Baruch Even
Michael Ben-Nes wrote: > But then i wont be able to control who has what. and the access will be > limited to a device or a desktop. > > > Think of a system where i can: > Add new password and enable USER1, USER2, USERn to access it ( i assume > the passwords will be save using appropriate pgp ke

Re: An article about BItKeeper/git from historical/political point of view

2005-11-15 Thread Baruch Even
Baruch Even wrote: > Omer Zak wrote: > >>THE QUESTION: >>According to the above git README, objects in git are named by their >>SHA1 hashes. So, what happens if two objects have the same SHA1 hash, >>unlikely as it might be? > > > The world ends. >

Re: An article about BItKeeper/git from historical/political point of view

2005-11-15 Thread Baruch Even
Omer Zak wrote: > THE QUESTION: > According to the above git README, objects in git are named by their > SHA1 hashes. So, what happens if two objects have the same SHA1 hash, > unlikely as it might be? The world ends. Well, not really, but you now have your history ruined since the new file will

Re: need a tool to analyze FS

2005-11-15 Thread Baruch Even
Oleg Goldshmidt wrote: > Michael Green <[EMAIL PROTECTED]> writes: > > >>I'm looking for a tool that can: >>1. Tell me files size distribution on a given filesystem >>2. Access patterns (how often small files are accessed vs. big files) >>over certain period of time. >> >>anyone? > > > Somethin

Re: Hebrew on the desktop.

2005-10-19 Thread Baruch Even
David Harel wrote: > Did the env vars below. Hebrew can be typed and viewed but, file names I > share from MS XP machines are junkie. Maybe you should mount the filesystem with utf8 charset? Baruch = To unsubscribe, send mail to [EM

Re: A new fancy font from Culmus

2005-10-19 Thread Baruch Even
t/). > > > very cool! pretty font, I'm off to test it now! Good work on the > kerning, I love a good font... > > One note to Baruch Even - if it wasn't for this post, I would not have > heard of the fancy fonts section and would not have downloaded it... any > c

Re: Experience of upgrade from Debian Sarge (stable) to Debian Etch (testing)

2005-10-08 Thread Baruch Even
/me flashes quickly a Debian id card Omer Zak wrote: > Today I upgraded my laptop from Debian Sarge to Debian Etch. > After editing the /etc/apt/sources.list file, I used: > apt-get update > apt-get dist-upgrade > And then I ran few upgrade rounds through aptitude. Not sure how much it really

Re: [OFFTOPIC] resume translate

2005-10-06 Thread Baruch Even
Man Gregory wrote: > First off all sorry for offtopic stuff. > I have a question and I don't know where can ask about this. > > Do I need to translate my resume to Hebrew from English, if I want send > its to the job offers in IT industry of Israel? I'm a native Hebrew speaker and keep my resume

Re: [OFF TOPIC] Wiring up home network

2005-09-25 Thread Baruch Even
Alexander Indenbaum wrote: > I'd like to remind you that modern PC hardware could not utilize 1G > bandwidth network - it really can't in most cases :) There is neither > enough CPU horse power nor enough memory bandwidth. That is why I > doubt that 1G Ethernet technology is ready for deployment as

Re: Improving server security

2005-09-18 Thread Baruch Even
Gábor Szabó wrote: > I see in my log files many enrties of this type (with various usernames) > > Failed logins from these: > aa/password from 131.247.3.147: 1 Time(s) > > > What would be the best action with this? > > 1) Ignore, thet could not authenticate after all > 2) put the above IP add

Re: Authoritative way to find debian upstreams?

2005-08-26 Thread Baruch Even
Tzafrir Cohen wrote: > On Wed, Aug 24, 2005 at 11:18:33AM +1000, [EMAIL PROTECTED] wrote: > >>Hello, >> >>Is there an authoritative way to find the upstream source >>of debian packages? >> >>For instance, I was looking today for the upstream source of >>"smssend", the place where the Debian packag

Re: Gcc 4 in Debian Testing?

2005-08-19 Thread Baruch Even
Amos Shapira wrote: > On 8/18/05, Baruch Even <[EMAIL PROTECTED]> wrote: > >>Amos Shapira wrote: >> >>>On 8/18/05, Baruch Even <[EMAIL PROTECTED]> wrote: >>I have gcc 3.3, 3.4 and 4.0 coexisting peacefully. There shouldn't be >>any problem

Re: Gcc 4 in Debian Testing?

2005-08-18 Thread Baruch Even
Amos Shapira wrote: > On 8/18/05, Baruch Even <[EMAIL PROTECTED]> wrote: >>You can always use alternatives to keep gcc 3.3 as your default. > > > That's actually the original source of my question - aptitude lists gcc > 4 as REPLACING the current gcc 3.x,

Re: Gcc 4 in Debian Testing?

2005-08-18 Thread Baruch Even
Amos Shapira wrote: > Hi, > > My workplace desktop is Debian testing, I try to keep it > up to date. > Last week or so gcc 4.0.1 and friends (g++, cpp etc) turned up > and wanted to replace good old 3.x. > > I wonder if anyone has experience with these packages - are > they reliable? Do they prod

Re: Strange Networking Problem on my ADSL-connected Home LAN

2005-08-16 Thread Baruch Even
Geoffrey S. Mendelson wrote: > On Tue, Aug 16, 2005 at 12:10:43PM +0300, Shlomi Fish wrote: > >>In any case, I forgot to mention that I changed the MTU to both of these >>values on the Linux machine and it did not help. Also, according to this >>page: >> >>http://www.dslreports.com/tweaks/MTU >>

Re: Strange Networking Problem on my ADSL-connected Home LAN

2005-08-16 Thread Baruch Even
Shlomi Fish wrote: > Hi good people! > > I have a strange networking problem on my ADSL-connected home LAN. My setup > is > as follows: > > I have an ECI ADSL modem. I also have a Wireless/Ethernet NAT-router that is > connected to it. All the computers (one dual-boot Linux/Win98 desktop and t

Re: File I/O within kernel threads?

2005-07-31 Thread Baruch Even
Gilboa Davara wrote: > Here's how I see it: > > Kernel 1: > Device -> SKB -> Reassembly -> Disk. > (I can even save the third memcpy [Reassembly -> Disk] I go rewrite the > world under me) > > User: > Device -> SKB -> Reassembly ( -> ?) Relayfs -> User: write(2) -> > Kernel: sys_write (copy_from

Re: Debian-Hebrew RC1

2005-07-27 Thread Baruch Even
Diego Iastrubni wrote: >> a few questions: >> >> 1) I remember having problems after the install (on the first boot) when I >> choose a Hebrew installation. Hebrew ben displayed was gebrish. On my tests it worked with no giberish shown. No idea about former problems though. >> 2) Does it inclu

Debian-Hebrew RC1

2005-07-26 Thread Baruch Even
Hi, I'm pleased to announce the release of the Debian-Hebrew install CD. This is RC1 which was so far tested only on qemu, but it seems to work nicely. This install CD will install a sarge (stable) Debian system configured for full Hebrew use with some applications that will make it useful. As us

Re: User mode - Kernel mode communication

2005-07-15 Thread Baruch Even
Hillel wrote: > Hi all > > I am building a kernel module (char device) that should get runtime > parameters from a user mode process. > Among the info items that should flow to the module are strings and > arrays. To my understanding I can use any of the following methods to > achieve this: ioctl,

Re: Silly Q about eth0 going down during boot of Morphix

2005-07-01 Thread Baruch Even
Eli Marmor wrote: > Tzafrir Cohenwrote: > > >>On Fri, Jul 01, 2005 at 10:47:55AM +0300, Eli Marmor wrote: >> >>>... >>>I've always used Morphix (0.5pre5) with a running DHCPD in the LAN, and >>>its networking has worked perfectly. >> >>dhcp cliet, not dhcpd, right? > > > I mentioned a DHCPD run

Re: Getting the IP address of eth0 in a kernel module

2005-06-30 Thread Baruch Even
Amir Binyamini wrote: > Hello, > Is there a way to get in a kernel module the ip address which is > assigned > to eth0 ? First, you want the struct net_device *, use dev_get_by_name(), find it in include/linux/netdevice.h Use __in_dev_get() to convert the net_device to 'struct in_devi

  1   2   >