Re: Thecus 2100, extremly slow r8169

2008-01-15 Thread Martin Guy
2008/1/14, Jon Dowland <[EMAIL PROTECTED]>:
> On Fri, Dec 28, 2007 at 11:33:32AM +0100, Martin Michlmayr wrote:
> > Uwe, Jon, can you describe your network setup in more detail?  I
> > easily get 1.7 MB/s with scp on my local network (the machines are
> > connected through the wired ports of a WGT643U router, so no expensive
> > equipment at all).
>
> I'm getting about 1.8M/s = 14.4Mbit/s at the moment via HTTP. That's
> more than I quoted before but less than I'd like :-)

I am getting 11.6 Mbyte/sec raw network speed in and out (using a pair
of simple netcat-like programs that just spew data to the network or
read and discard it) with both linux 2.6.22 and 2.6.23
Outgoing this uses 85%system cpu and leaves 14% idle time.
Incoming this uses 97% system cpu and leaves 2% idle. (94% and 5% with 2.6.23)
Might it be that your http-serving (or -consuming) application is
limited by the available CPU power on the box? You could try watching
"vmstat 5" (or "top") on it while a transfer is in progress

M


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



Re: Thecus 2100, extremly slow r8169

2008-01-14 Thread Jon Dowland
On Fri, Dec 28, 2007 at 11:33:32AM +0100, Martin Michlmayr wrote:
> Uwe, Jon, can you describe your network setup in more detail?  I
> easily get 1.7 MB/s with scp on my local network (the machines are
> connected through the wired ports of a WGT643U router, so no expensive
> equipment at all).

I'm getting about 1.8M/s = 14.4Mbit/s at the moment via HTTP. That's
more than I quoted before but less than I'd like :-)


-- 
Jon Dowland


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



Re: Linux 2.6.23 in debian unstable [was: Re: Thecus 2100, extremly slow r8169]

2007-12-29 Thread Martin Michlmayr
* Florent Fourcot <[EMAIL PROTECTED]> [2007-12-29 17:27]:
> > armel is not an officially supported architecture yet, so it has its
> > own archive server.
> Yes I know, and there is not mirror with 2.6.23 for armel ? I was
> surprised by the answer of Daniel.

Quoting Riku Voipio from #455909:

> > Riku, any idea why linux-2.6 2.6.23-2 hasn't been built for armel
> > yet?
>
> #425971, thus, linux-2.6 needs to be built by hand. I expected manoj
> to upload a new kernel-package this month so I didn't initially
> bother with 2.6.23-2. I Will start a build now.

-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Linux 2.6.23 in debian unstable [was: Re: Thecus 2100, extremly slow r8169]

2007-12-29 Thread Florent Fourcot
Martin Michlmayr a écrit :
> 
> armel is not an officially supported architecture yet, so it has its
> own archive server.

Yes I know, and there is not mirror with 2.6.23 for armel ? I was
surprised by the answer of Daniel.

> 
> BTW, out of interest, is the NS04-4110 you mentioned the  Intel
> SS4000-E or really a device from Lanner?

A device from lanner, distributed by Acer (with the name 'Altos
easystore 1TO').

Reference on this page :
http://www.lannerinc.com/product_detail.php?products_id=177&cPath=90

It's the board EM-7220 :
http://sourcingreview.com/supplierinfo/supplier_211179/ic/supplier_211179_ic.pdf

It works with Debian Arm stable or Armel Sid.

-- 
Florent Fourcot, sorry for my very bad english.



signature.asc
Description: OpenPGP digital signature


Re: Linux 2.6.23 in debian unstable [was: Re: Thecus 2100, extremly slow r8169]

2007-12-29 Thread Martin Michlmayr
* Florent Fourcot <[EMAIL PROTECTED]> [2007-12-29 16:50]:
> # apt-get update
> [...]
> http://mirrors.kernel.org/debian/dists/sid/Release  Unable to find
> expected entry  main/binary-armel/Packages in Meta-index file (malformed
> Release file?)
> 
> And it's true, there are not reference of armel in the Release file.
> 
> I don't understand :(

armel is not an officially supported architecture yet, so it has its
own archive server.

BTW, out of interest, is the NS04-4110 you mentioned the  Intel
SS4000-E or really a device from Lanner?
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Linux 2.6.23 in debian unstable [was: Re: Thecus 2100, extremly slow r8169]

2007-12-29 Thread Florent Fourcot
Daniel Kahn Gillmor a écrit :
> On Fri 2007-12-28 17:57:46 -0500, Florent Fourcot wrote:
> 
>> I have the same problem with a processor IOP 80219 on a NS04-4110. But I
>> use an armel mirror, kernel 2.6.23 is unfortunately not avaible, not in
>> unstable packages.
> 
> fwiw, the new kernel is available for me with the following repo:
> 
> 0 igor:~# grep '^deb ' /etc/apt/sources.list
> deb http://mirrors.kernel.org/debian/ sid main
> 0 igor:~# uname -a
> Linux igor 2.6.23-1-ixp4xx #1 Sat Dec 22 07:16:42 UTC 2007 armv5tel GNU/Linux
> 0 igor:~# 
> 

Hi,
# apt-get update
[...]
http://mirrors.kernel.org/debian/dists/sid/Release  Unable to find
expected entry  main/binary-armel/Packages in Meta-index file (malformed
Release file?)

And it's true, there are not reference of armel in the Release file.

I don't understand :(

-- 
Florent Fourcot.



signature.asc
Description: OpenPGP digital signature


Linux 2.6.23 in debian unstable [was: Re: Thecus 2100, extremly slow r8169]

2007-12-28 Thread Daniel Kahn Gillmor
On Fri 2007-12-28 17:57:46 -0500, Florent Fourcot wrote:

> I have the same problem with a processor IOP 80219 on a NS04-4110. But I
> use an armel mirror, kernel 2.6.23 is unfortunately not avaible, not in
> unstable packages.

fwiw, the new kernel is available for me with the following repo:

0 igor:~# grep '^deb ' /etc/apt/sources.list
deb http://mirrors.kernel.org/debian/ sid main
0 igor:~# uname -a
Linux igor 2.6.23-1-ixp4xx #1 Sat Dec 22 07:16:42 UTC 2007 armv5tel GNU/Linux
0 igor:~# 

and, it works!  The reboot to the new kernel went like a charm, with
no hassles, and the mpd server even picked up right in the middle of
the song it was playing before the reboot.  Many thanks to the folks
who made that transition so easy!

Regards,

--dkg


pgpHfAavODwU6.pgp
Description: PGP signature


Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread Florent Fourcot
Martin Michlmayr a écrit :

> 2.6.23 is unstable.


Hi,
I have the same problem with a processor IOP 80219 on a NS04-4110. But I
use an armel mirror, kernel 2.6.23 is unfortunately not avaible, not in
unstable packages.

Cheers,

-- 
Florent Fourcot.



signature.asc
Description: OpenPGP digital signature


Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread Bill Gatliff

Martin Michlmayr wrote:

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-03 11:52]:
  

Im running kernel 2.6.18-5-iop32x and the needwork speed is something
around < 1MBit/s



I get around 1.7 MB/s (that's MB/s, not MBit/s) copying a large file
with scp from one machine to my N2100 on my local 100MBit network.  So
that's much more than 1MBit/s and the scp is limited by the CPU rather
than the networking - I'm sure I could get more than 1.7 MB/s if I
used something that didn't rely so much on CPU, e.g. ftp.  This is
with 2.6.18-5, 2.6.22-3 and 2.6.23-1.
  


Can you switch to blowfish for scp, the way you can for ssh?  That's a 
pretty light algorithm, but maybe not such that you'd notice any 
significant improvement.



b.g.

--
Bill Gatliff
[EMAIL PROTECTED]


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



Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread John Winters

Martin Michlmayr wrote:

* John Winters <[EMAIL PROTECTED]> [2007-12-28 11:54]:

Well, you suggested trying 2.6.23.  AFAICS, the latest kernel in the
Debian tree is 2.6.22 so presumably in order to try 2.6.23 you'd
need to compile it.


2.6.23 is unstable.


Ah, well I won't try that then.  ;-)

Cheers,
John

Yes, yes, I know...


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



Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread Martin Michlmayr
* John Winters <[EMAIL PROTECTED]> [2007-12-28 11:54]:
> Well, you suggested trying 2.6.23.  AFAICS, the latest kernel in the
> Debian tree is 2.6.22 so presumably in order to try 2.6.23 you'd
> need to compile it.

2.6.23 is unstable.

> If I want to try 2.6.22 can I just grab the pre-built kernel from
> Lenny and install that on an Etch system?

I cannot give you a guarantee, but it seems to work.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread John Winters

Martin Michlmayr wrote:

* John Winters <[EMAIL PROTECTED]> [2007-12-28 10:59]:

As a side issue, are there any special things to be aware of in
compiling your own kernels for the Thecus?  So far I've used just
stock Debian kernels and although I've done a couple of test
compiles of my own to test the new RAM (takes about 6.5 hours to
build a standard Debian kernel) I haven't dared install one in case
I do it wrong and render the box un-bootable.  Are there any special
gotchas for the Thecus 2100?


Not really, as long as you start with a Debian kernel config.

The big question, however, is why you want to recompile the kernel.


Well, you suggested trying 2.6.23.  AFAICS, the latest kernel in the 
Debian tree is 2.6.22 so presumably in order to try 2.6.23 you'd need to 
compile it.


If I want to try 2.6.22 can I just grab the pre-built kernel from Lenny 
and install that on an Etch system?



If any modules are missing in the Debian kernel, please let me know and
I'll activate them.


I'm hoping there will shortly be a module available for the new Freecom 
DVB-T USB stick.  There's been talk about it on the relevant lists 
although it doesn't seem to have appeared yet.  When it does, I expect 
I'll have to do my own compile in order to get it working.


Cheers,
John


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



Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread Martin Michlmayr
* John Winters <[EMAIL PROTECTED]> [2007-12-28 10:59]:
> As a side issue, are there any special things to be aware of in
> compiling your own kernels for the Thecus?  So far I've used just
> stock Debian kernels and although I've done a couple of test
> compiles of my own to test the new RAM (takes about 6.5 hours to
> build a standard Debian kernel) I haven't dared install one in case
> I do it wrong and render the box un-bootable.  Are there any special
> gotchas for the Thecus 2100?

Not really, as long as you start with a Debian kernel config.

The big question, however, is why you want to recompile the kernel.
If any modules are missing in the Debian kernel, please let me know and
I'll activate them.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread John Winters

Martin Michlmayr wrote:

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-03 11:52]:

Im running kernel 2.6.18-5-iop32x and the needwork speed is something
around < 1MBit/s


I get around 1.7 MB/s (that's MB/s, not MBit/s) copying a large file
with scp from one machine to my N2100 on my local 100MBit network.  So
that's much more than 1MBit/s and the scp is limited by the CPU rather
than the networking - I'm sure I could get more than 1.7 MB/s if I
used something that didn't rely so much on CPU, e.g. ftp.


Running a stock 2.6.18 kernel and copying a large file from an NFS mount 
to /dev/null I got just under 60 Mb/s just now.  That's with the file 
coming from a relatively slow NFS server and across a 100 Mbit network.


>
  This is

with 2.6.18-5, 2.6.22-3 and 2.6.23-1.

Are you in a position to try 2.6.23?


As a side issue, are there any special things to be aware of in 
compiling your own kernels for the Thecus?  So far I've used just stock 
Debian kernels and although I've done a couple of test compiles of my 
own to test the new RAM (takes about 6.5 hours to build a standard 
Debian kernel) I haven't dared install one in case I do it wrong and 
render the box un-bootable.  Are there any special gotchas for the 
Thecus 2100?


TIA,
John


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



Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread Martin Michlmayr
* Jon Dowland <[EMAIL PROTECTED]> [2007-12-03 16:53]:
> > Im running kernel 2.6.18-5-iop32x and the needwork speed
> > is something around < 1MBit/s
> I have the exact same problem.

Uwe, Jon, can you describe your network setup in more detail?  I
easily get 1.7 MB/s with scp on my local network (the machines are
connected through the wired ports of a WGT643U router, so no expensive
equipment at all).
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus 2100, extremly slow r8169

2007-12-28 Thread Martin Michlmayr
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-03 11:52]:
> Im running kernel 2.6.18-5-iop32x and the needwork speed is something
> around < 1MBit/s

I get around 1.7 MB/s (that's MB/s, not MBit/s) copying a large file
with scp from one machine to my N2100 on my local 100MBit network.  So
that's much more than 1MBit/s and the scp is limited by the CPU rather
than the networking - I'm sure I could get more than 1.7 MB/s if I
used something that didn't rely so much on CPU, e.g. ftp.  This is
with 2.6.18-5, 2.6.22-3 and 2.6.23-1.

Are you in a position to try 2.6.23?
-- 
Martin Michlmayr
http://www.cyrius.com/


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



n2100 redboot tftp feature (was Re: Thecus 2100, extremly slow r8169)

2007-12-06 Thread Jon Dowland
> You could put the disk in another PC, copy a good vmlinuz
> and initrd file from the disk to your tftp server, then
> use RedBoot's telnet feature to load the ramdisk and
> kernel.  When the machine boots, use flash-kernel
>  to write a good kernel to flash.

Which version of the official n2100 firmware introduced this
feature to redboot? Is it possible for me to flash the newer
redboot from Debian, or alternatively, turn on the TFTP
feature for my existing redboot? (I will have to do some
digging to figure out which firmware version I had prior to
going Debian).


-- 
Jon Dowland
ISS UNIX Team


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



Re: Thecus 2100, extremly slow r8169

2007-12-05 Thread [EMAIL PROTECTED]

Martin Michlmayr wrote:

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-05 04:40]:
  

I really think the original r8169.ko (2.6.22-3-iop32x) would do the trick
Could someone please send me the module by mail?



You can download the .deb file from a mirror, extract it with dpkg -x
and then you'll have r8169.ko.
  


works :-))

Thank you very much
uwe


Re: Thecus 2100, extremly slow r8169

2007-12-04 Thread Martin Michlmayr
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-05 04:40]:
> I really think the original r8169.ko (2.6.22-3-iop32x) would do the trick
> Could someone please send me the module by mail?

You can download the .deb file from a mirror, extract it with dpkg -x
and then you'll have r8169.ko.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus 2100, extremly slow r8169

2007-12-04 Thread [EMAIL PROTECTED]

Martin Michlmayr wrote:

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-04 14:26]:
  
Im no longer able to access the thecus - neither (plugging/mounting the 


boot disk into a different computer - editing the files and plugging back)
  
adding the "r8169" to /etc/modules nor linking initrd-image and vmlinuz 


back to the old kernel
  


Linking vmlinuz and initrd.img to the old kernel on disk won't help
because the N2100 boots from flash.

  

let me access the nas any longer


Could someone send my the original 2.6.22-3-iop32x module (forgot to make a
backup copy)?



You could put the disk in another PC, copy a good vmlinuz and initrd
file from the disk to your tftp server, then use RedBoot's telnet
feature to load the ramdisk and kernel.  When the machine boots, use
flash-kernel  to write a good kernel to flash.
  

I really think the original r8169.ko (2.6.22-3-iop32x) would do the trick
Could someone please send me the module by mail?

Tx
uwe


Re: Thecus 2100, extremly slow r8169

2007-12-04 Thread [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

Martin Michlmayr wrote:

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-03 11:52]:
  

Im running kernel 2.6.18-5-iop32x and the needwork speed is
something around < 1MBit/s



This is incredibly slow.  I'm away from my N2100 at the moment, but I
thought I got more than that.

  

PS: my sources.list (where can I get newer kernel):
--
deb http://ftp.egr.msu.edu/debian/ lenny main contrib



Do you have linux-image-2.6-iop32x installed?  lenny has 2.6.22 these
days.  If you have linux-image-2.6-iop32x installed, it should have
pulled linux-image-2.6.22-3-iop32x (the current version) in
automatically.
  
>I updated now to linux-image-2.6.22-3-iop32x, but unfortunally the 
issue is the same

>
>Afterwards I installed the realtek modules, and now Im running into 
real trouble ...

>
>Im no longer able to access the thecus - neither (plugging/mounting 
the boot disk into a different computer - editing the files and 
plugging back)
>adding the "r8169" to /etc/modules nor linking initrd-image and 
vmlinuz back to the old kernel

>let me access the nas any longer
>
>Any help is highly appreciated
>
>thanks
>uwe


Could someone send my the original 2.6.22-3-iop32x module (forgot to 
make a backup copy)?


Maybe this helps ;-)





Re: Thecus 2100, extremly slow r8169

2007-12-04 Thread [EMAIL PROTECTED]

Martin Michlmayr wrote:

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-03 11:52]:
  

Im running kernel 2.6.18-5-iop32x and the needwork speed is
something around < 1MBit/s



This is incredibly slow.  I'm away from my N2100 at the moment, but I
thought I got more than that.

  

PS: my sources.list (where can I get newer kernel):
--
deb http://ftp.egr.msu.edu/debian/ lenny main contrib



Do you have linux-image-2.6-iop32x installed?  lenny has 2.6.22 these
days.  If you have linux-image-2.6-iop32x installed, it should have
pulled linux-image-2.6.22-3-iop32x (the current version) in
automatically.
  
I updated now to linux-image-2.6.22-3-iop32x, but unfortunally the issue 
is the same


Afterwards I installed the realtek modules, and now Im running into real 
trouble ...


Im no longer able to access the thecus - neither (plugging/mounting the 
boot disk into a different computer - editing the files and plugging back)
adding the "r8169" to /etc/modules nor linking initrd-image and vmlinuz 
back to the old kernel

let me access the nas any longer

Any help is highly appreciated

thanks
uwe





Re: Thecus 2100, extremly slow r8169

2007-12-04 Thread Martin Michlmayr
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-04 14:26]:
>> >Im no longer able to access the thecus - neither (plugging/mounting the 
>> boot disk into a different computer - editing the files and plugging back)
>> >adding the "r8169" to /etc/modules nor linking initrd-image and vmlinuz 
>> back to the old kernel

Linking vmlinuz and initrd.img to the old kernel on disk won't help
because the N2100 boots from flash.

>> >let me access the nas any longer
> Could someone send my the original 2.6.22-3-iop32x module (forgot to make a
> backup copy)?

You could put the disk in another PC, copy a good vmlinuz and initrd
file from the disk to your tftp server, then use RedBoot's telnet
feature to load the ramdisk and kernel.  When the machine boots, use
flash-kernel  to write a good kernel to flash.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus 2100, extremly slow r8169

2007-12-03 Thread Martin Michlmayr
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-12-03 11:52]:
> Im running kernel 2.6.18-5-iop32x and the needwork speed is
> something around < 1MBit/s

This is incredibly slow.  I'm away from my N2100 at the moment, but I
thought I got more than that.

> PS: my sources.list (where can I get newer kernel):
> --
> deb http://ftp.egr.msu.edu/debian/ lenny main contrib

Do you have linux-image-2.6-iop32x installed?  lenny has 2.6.22 these
days.  If you have linux-image-2.6-iop32x installed, it should have
pulled linux-image-2.6.22-3-iop32x (the current version) in
automatically.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus 2100, extremly slow r8169

2007-12-03 Thread Jon Dowland
> Im running kernel 2.6.18-5-iop32x and the needwork speed
> is something around < 1MBit/s 

I have the exact same problem. I'm running a relatively old
2.6.18-3-iop32x from 2.6.18-7 (last updated 2006-11-26
19:51), but I'm reluctant to upgrade the kernel unless I
know that there might have been an improvement, as I have
no non-network way of talking to the n2100, and I flashed
Debian on before the official firmwares introduced the
TFTP boot time image selection thing.


-- 
Jon Dowland


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