Old debian (Lenny) unable to get speed higher then 300kbps.

2010-09-12 Thread Boris shtrasman
Hi,

I got an old 10/100 switch with some new cables.

When I transfer using cross cable the speed is normal (1.5 mbps and up).
When I use the switch with two 5mr cables the speeds are around 150-300
kbps:

rsync/ssh/scp 250-300.
smb 150-200 kbps.

doing some tcpdump I noticed ACK retransmit around 3%.
I've Changed the cables.
iptables is not running.

I'm pretty sure I'm missing something very basic.

The machines :

Lenny i386 (2.6.26) and squeeze on amd64 (2.6.32)
I ditched the custom kernels and installed only what was in the reps.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Old debian (Lenny) unable to get speed higher then 300kbps.

2010-09-12 Thread geoffrey mendelson


On Sep 12, 2010, at 11:07 AM, Boris shtrasman wrote:


Hi,

I got an old 10/100 switch with some new cables.

When I transfer using cross cable the speed is normal (1.5 mbps and  
up).
When I use the switch with two 5mr cables the speeds are around  
150-300 kbps:


rsync/ssh/scp 250-300.
smb 150-200 kbps.

doing some tcpdump I noticed ACK retransmit around 3%.
I've Changed the cables.
iptables is not running.

I'm pretty sure I'm missing something very basic.



Oh no, not another EDIMAX switch problem. :-)

Just kidding. Try setting your ethernet parameters to 100m bits per  
second, and half duplex.


BTW, are you sure the cables are good? New does not always mean  
better, or ever working. :-(


Geoff.

--
Geoffrey S. Mendelson,  N3OWJ/4X1GM
To help restaurants, as part of the stimulus package, everyone must  
order dessert. As part of the socialized health plan, you are  
forbidden to eat it. :-)









___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: IDE Hard Disk and IDE CD-ROM Drive for an aging PC

2010-09-12 Thread Gilboa Davara
On Fri, 2010-09-03 at 14:13 +0300, Omer Zak wrote:
 Do you have a working (but unused) hard disk with IDE interface and
 whose capacity is at least 100GB?
 Do you have a working (but unused) CD-ROM drive with IDE interface?
 Do you want to get rid of both but don't like to just throw away working
 hardware?
 Do you live or come frequently to Jerusalem and/or central part of
 Israel?
 
 If yes, please let me know so that I can pick them up for use in a
 refurbished old PC.
 
 Thanks,
 --- Omer

80GB will do?
I can try and dig one out.
Not sure about its state.

- Gilboa


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Problem at startup - lockup loading swap

2010-09-12 Thread Micha
I'm trying to help a friend over the phone, so I don't have all the details,
but I would be happy for some pointers if anyone has them

The machine with mostly up to date debian unstable on occasion decides to lock
up for several minutes after or at the point of mounting the swap partition.

Previous time that happened starting a different kernel solved the problem.
This time all kernels showed the same issue, we though that it was in a hard
lockup, but after several minutes it freed up and continued booting.

We tried running swapoff -a, mkswap and swapon -a. On the call to swapon the
machine complained about not finding the swap's UUID (which didn't match the
value reported by mkswap). The only information in /etc/fstab regarding UUID is
commented out.

Any ideas about what the problem is and/or how to disable UUIDs altogether as
they seem to be giving constant trouble?

thanks

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Problem at startup - lockup loading swap

2010-09-12 Thread geoffrey mendelson


On Sep 12, 2010, at 12:41 PM, Micha wrote:



We tried running swapoff -a, mkswap and swapon -a. On the call to  
swapon the
machine complained about not finding the swap's UUID (which didn't  
match the
value reported by mkswap). The only information in /etc/fstab  
regarding UUID is

commented out.


That's what is causing the UUID problem. You deleted the swap  
partition and reformated it.


You have to remove or reconfigure the sleep to swap program, uswsusp.



Any ideas about what the problem is and/or how to disable UUIDs  
altogether as

they seem to be giving constant trouble?



I think you are barking up the wrong tree. It's probably not a swap  
problem, you are assuming it's one because that's the last message you  
got.


Geoff.

--
Geoffrey S. Mendelson,  N3OWJ/4X1GM
To help restaurants, as part of the stimulus package, everyone must  
order dessert. As part of the socialized health plan, you are  
forbidden to eat it. :-)









___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Problem at startup - lockup loading swap

2010-09-12 Thread Micha Feigin
On Sun, 12 Sep 2010 13:01:14 +0200
Tom Goren t...@tomgoren.com wrote:

 use the appropriate /dev/sdaX entry instead of the UUID - something may be
 messed up with the hash - especially if you have done mkswap already.
 

It worked for swapon /dev/sda5 but I need to change the default boot process 
to
use that as well.

 
 
 On Sun, Sep 12, 2010 at 12:41 PM, Micha mi...@post.tau.ac.il wrote:
 
  I'm trying to help a friend over the phone, so I don't have all the
  details,
  but I would be happy for some pointers if anyone has them
 
  The machine with mostly up to date debian unstable on occasion decides to
  lock
  up for several minutes after or at the point of mounting the swap
  partition.
 
  Previous time that happened starting a different kernel solved the problem.
  This time all kernels showed the same issue, we though that it was in a
  hard
  lockup, but after several minutes it freed up and continued booting.
 
  We tried running swapoff -a, mkswap and swapon -a. On the call to swapon
  the
  machine complained about not finding the swap's UUID (which didn't match
  the
  value reported by mkswap). The only information in /etc/fstab regarding
  UUID is
  commented out.
 
  Any ideas about what the problem is and/or how to disable UUIDs altogether
  as
  they seem to be giving constant trouble?
 
  thanks
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Not needed anymore (was: Re: IDE Hard Disk and IDE CD-ROM Drive for an aging PC)

2010-09-12 Thread Omer Zak
Hello Gilboa and the other nice Linux-IL participants,

Thanks to those who gave me CD drives and hard disks, my old PC has been
refurbished and is working since last Wednesday.

At least as far as I am concerned, now no more CD or IDE hard disks are
needed.

--- Omer


On Sun, 2010-09-12 at 11:30 +0200, Gilboa Davara wrote:
 On Fri, 2010-09-03 at 14:13 +0300, Omer Zak wrote:
  Do you have a working (but unused) hard disk with IDE interface and
  whose capacity is at least 100GB?
  Do you have a working (but unused) CD-ROM drive with IDE interface?
  Do you want to get rid of both but don't like to just throw away working
  hardware?
  Do you live or come frequently to Jerusalem and/or central part of
  Israel?
  
  If yes, please let me know so that I can pick them up for use in a
  refurbished old PC.
  
  Thanks,
  --- Omer
 
 80GB will do?
 I can try and dig one out.
 Not sure about its state.

-- 
What happens if one mixes together evolution with time travel to the
past?  See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Problem at startup - lockup loading swap

2010-09-12 Thread Micha Feigin
On Sun, 12 Sep 2010 13:13:38 +0200
geoffrey mendelson geoffreymendel...@gmail.com wrote:

 
 On Sep 12, 2010, at 12:41 PM, Micha wrote:
 
 
  We tried running swapoff -a, mkswap and swapon -a. On the call to  
  swapon the
  machine complained about not finding the swap's UUID (which didn't  
  match the
  value reported by mkswap). The only information in /etc/fstab  
  regarding UUID is
  commented out.
 
 That's what is causing the UUID problem. You deleted the swap  
 partition and reformated it.
 

Yes, but why is it looking for it by UUID and how do I disable it?

 You have to remove or reconfigure the sleep to swap program, uswsusp.
 

I think I killed it when I installed his machine a long time ago, I don't like
uswsusp, but I'll check. How is it related to swapon complaining about UUID
though?

 
  Any ideas about what the problem is and/or how to disable UUIDs  
  altogether as
  they seem to be giving constant trouble?
 
 
 I think you are barking up the wrong tree. It's probably not a swap  
 problem, you are assuming it's one because that's the last message you  
 got.
 

It was just to make sure, I was thinking a different place as well, but the
complaint about UUID left a suspicion that I'm trying to remove. Considering
UUID gave me nothing but trouble on multiple computers anyway I'd rather remove
any dependency on them in any case.

 Geoff.
 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Problem at startup - lockup loading swap

2010-09-12 Thread geoffrey mendelson


On Sep 12, 2010, at 1:50 PM, Micha Feigin wrote:

I think I killed it when I installed his machine a long time ago, I  
don't like
uswsusp, but I'll check. How is it related to swapon complaining  
about UUID

though?



It's not. Uswsusp will complain about the swap file not having the  
correct name, and AFIK can't be told to go on without it.


The message appears after the swapon, and are easily confused as being  
related.


Is swap defined in the grub menu or in a file on the intial ram disk?  
That's why I pointed to uswsusp, it saves a pointer to the swap file  
in the intial ramdisk image.


You have to dpkg-reconfigure it if you change swap files.

Geoff.

--
Geoffrey S. Mendelson,  N3OWJ/4X1GM
To help restaurants, as part of the stimulus package, everyone must  
order dessert. As part of the socialized health plan, you are  
forbidden to eat it. :-)









___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Problem at startup - lockup loading swap

2010-09-12 Thread Tom Goren
ok - so edit fstab

On Sun, Sep 12, 2010 at 1:36 PM, Micha Feigin mi...@post.tau.ac.il wrote:

 On Sun, 12 Sep 2010 13:01:14 +0200
 Tom Goren t...@tomgoren.com wrote:

  use the appropriate /dev/sdaX entry instead of the UUID - something may
 be
  messed up with the hash - especially if you have done mkswap already.
 

 It worked for swapon /dev/sda5 but I need to change the default boot
 process to
 use that as well.

 
 
  On Sun, Sep 12, 2010 at 12:41 PM, Micha mi...@post.tau.ac.il wrote:
 
   I'm trying to help a friend over the phone, so I don't have all the
   details,
   but I would be happy for some pointers if anyone has them
  
   The machine with mostly up to date debian unstable on occasion decides
 to
   lock
   up for several minutes after or at the point of mounting the swap
   partition.
  
   Previous time that happened starting a different kernel solved the
 problem.
   This time all kernels showed the same issue, we though that it was in a
   hard
   lockup, but after several minutes it freed up and continued booting.
  
   We tried running swapoff -a, mkswap and swapon -a. On the call to
 swapon
   the
   machine complained about not finding the swap's UUID (which didn't
 match
   the
   value reported by mkswap). The only information in /etc/fstab regarding
   UUID is
   commented out.
  
   Any ideas about what the problem is and/or how to disable UUIDs
 altogether
   as
   they seem to be giving constant trouble?
  
   thanks
  
   ___
   Linux-il mailing list
   Linux-il@cs.huji.ac.il
   http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
  

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


[Job Offer] (Web) developer

2010-09-12 Thread Dotan Shavit
Hi all,

I am looking for a web developer. Full employee - freelance is not an option 
this time.

Requirements:
* GNU/Linux user
* Well experienced with C/C++
* Experienced with HTML / JS / AJAX / PHP / DB

Hatima Tova,
Dotan

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il