Re: Thecus N2100: where's the bottleneck?

2010-10-23 Thread JF Straeten
On Sat, Oct 23, 2010 at 03:06:24PM +0200, Tobias Frost wrote:
> Do someone has a link to the discussion?
> Martin mentioned that on the l-k-a there was some, but I couldn't find
> it... 
> 
> BTW: Is is possible to use that patches also for recent kernels -- I saw
> that there was some work on the hifn driver lately...

I'm also interested, of course.

A+

-- 

JFS.


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101023155324.ga7...@hohenhole.jfs.dt



Re: Thecus N2100: where's the bottleneck?

2010-10-23 Thread Tobias Frost
Do someone has a link to the discussion?
Martin mentioned that on the l-k-a there was some, but I couldn't find
it... 

BTW: Is is possible to use that patches also for recent kernels -- I saw
that there was some work on the hifn driver lately...



On Fri, 2010-10-22 at 21:30 +0200, JF Straeten wrote:
> Hi,
> 
> On Fri, Oct 22, 2010 at 06:31:14PM +0100, Martin Michlmayr wrote:
> 
> > No, the patch is not included since it never got accepted upstream.
> 
> Sad :-/
> 
> 
> > Also, the 2.6.32 kernel mentioned in the previous email is just a
> > backport of the squeeze kernel to lenny, but it's the same source
> > code.
> 
> Thanks for the quick reply.
> 
> But from where or what came the performances similar to the dma
> patched kernel reported by Markus in this case ?
> 
> Does upstream make some other improvement ?
> 
> Tia,
> 
> 
> -- 
> 
> JFS.
> 
> 


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1287839184.3317.1.ca...@moria



Re: Thecus N2100: where's the bottleneck?

2010-10-23 Thread Martin Michlmayr
* Tobias Frost  [2010-10-21 22:29]:
> (BTW: How do you build your kernels? With dpkg-cross? Are there
> somewhere instructions/hints/pointers on the net?)

I use the cross-compiler from emdebian.org, apply the patch to lenny's
linux-2.6 package and then simply run:
dpkg-buildpackage -B -aarmel -rfakeroot
The build system takes care of everything.

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


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101023100054.gg16...@jirafa.cyrius.com



Re: Thecus N2100: where's the bottleneck?

2010-10-23 Thread Martin Michlmayr
* JF Straeten  [2010-10-22 21:30]:
> But from where or what came the performances similar to the dma
> patched kernel reported by Markus in this case ?

No idea.

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


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101023095901.gf16...@jirafa.cyrius.com



Re: Thecus N2100: where's the bottleneck?

2010-10-22 Thread Peter Bauer
I remember that there were some other performance related
imporovemnts apart from DMA for orion which made it into the N2100
kernel.


If you really want to know ask Martin Michlmayr.

Bye,
Peter


On Fre, 2010-10-22 at 21:30 +0200, JF Straeten wrote:
> Hi
> On Fri, Oct 22, 2010 at 06:31:14PM +0100, Martin Michlmayr wrote:
> 
> > No, the patch is not included since it never got accepted upstream.
> 
> Sad :-/
> 
> 
> > Also, the 2.6.32 kernel mentioned in the previous email is just a
> > backport of the squeeze kernel to lenny, but it's the same source
> > code.
> 
> Thanks for the quick reply.
> 
> But from where or what came the performances similar to the dma
> patched kernel reported by Markus in this case ?
> 
> Does upstream make some other improvement ?
> 
> Tia,
> 
> 
> -- 
> 
> JFS.
> 
> 



-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/128905.1879.6.ca...@peter-laptop



Re: Thecus N2100: where's the bottleneck?

2010-10-22 Thread JF Straeten

Hi,

On Fri, Oct 22, 2010 at 06:31:14PM +0100, Martin Michlmayr wrote:

> No, the patch is not included since it never got accepted upstream.

Sad :-/


> Also, the 2.6.32 kernel mentioned in the previous email is just a
> backport of the squeeze kernel to lenny, but it's the same source
> code.

Thanks for the quick reply.

But from where or what came the performances similar to the dma
patched kernel reported by Markus in this case ?

Does upstream make some other improvement ?

Tia,


-- 

JFS.


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101022193009.ga8...@hohenhole.jfs.dt



Re: Thecus N2100: where's the bottleneck?

2010-10-22 Thread Martin Michlmayr
* JF Straeten  [2010-10-22 19:22]:
> Something which is not clear for me is if the dma patch is also
> applied to the above 2.6.32 ?
> 
> And, BTW, is this patch in the stock squeeze kernel ? (If I understand
> right, the 2.6.32 above is also for lenny.)

No, the patch is not included since it never got accepted upstream.
Also, the 2.6.32 kernel mentioned in the previous email is just a
backport of the squeeze kernel to lenny, but it's the same source
code.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101022173114.ga16...@jirafa.cyrius.com



Re: Thecus N2100: where's the bottleneck?

2010-10-22 Thread JF Straeten

Hi,

On Fri, Oct 22, 2010 at 06:54:40PM +0200, Markus Kreiner wrote:

> just for the records, there currently seem to be two "good" kernels
> out there:
 
> linux-image-2.6.26-2-iop32x  2.6.26-25lenny1dma1
> linux-image-2.6.32-bpo.5-iop32x  2.6.32-23~bpo50+1
 
Something which is not clear for me is if the dma patch is also
applied to the above 2.6.32 ? Or is it not necessary anymore (for
whatever reason) from the performance point of view ?

And, BTW, is this patch in the stock squeeze kernel ? (If I understand
right, the 2.6.32 above is also for lenny.)

I've installed the 2.6.26 (dma one) from yesterday on my SS4000-E
(thanks, Martin!) where it runs well, but it's a lenny kernel in a
squeeze install.

 
> both seem to perform equally "well", 4 to 8mb/s writing to/reading
> from the N2100 via smb, ftp seems to be a tad bit faster on
> average..

I will eventually try 2.6.32-bpo, but I prefer a squeeze one if
possible.


Tia,


-- 

JFS.


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101022172257.ga7...@hohenhole.jfs.dt



Re: Thecus N2100: where's the bottleneck?

2010-10-22 Thread Markus Kreiner
just for the records, there currently seem to be two "good" kernels out there:

linux-image-2.6.26-2-iop32x  2.6.26-25lenny1dma1
linux-image-2.6.32-bpo.5-iop32x  2.6.32-23~bpo50+1

the prior from the backports-repo:
http://packages.debian.org/lenny-backports/linux-image-2.6.32-bpo.5-iop32x
the latter from martin's:
http://people.debian.org/~tbm/dma lenny main


both seem to perform equally "well", 4 to 8mb/s writing to/reading
from the N2100 via smb, ftp seems to be a tad bit faster on average..

thanks for all the help,
markus.


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktiklf7apvquemkf_gvgqxffhoffyq9+92b0zv...@mail.gmail.com



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Tobias Frost
Hallo

Martin, thanks for your effort. Just a question: Have the patched been
updated from intel side? 
I'm asking because yesterday -- coincidential on the same day as
Nathan ;-) -- I played with my Thecus and the DMA enabled kernel on your
repository. Along the kernel, I also install the linux-libc-dev, and the
linux-headers

(BTW: How do you build your kernels? With dpkg-cross? Are there
somewhere instructions/hints/pointers on the net?)

/var/log/aptitude says I did this:
[INSTALL, DEPENDENCIES] cpp-4.1
[INSTALL, DEPENDENCIES] gcc-4.1-base
[DOWNGRADE] linux-libc-dev 2.6.32-23 -> 2.6.26-24dma1
[INSTALL] gcc-4.1
[INSTALL] linux-headers-2.6.26-2-all-armel
[INSTALL] linux-headers-2.6.26-2-common
[INSTALL] linux-headers-2.6.26-2-iop32x
[INSTALL] linux-headers-2.6.26-2-orion5x
[INSTALL] linux-image-2.6.26-2-iop32x
[INSTALL] linux-kbuild-2.6.26

Nowever, after booting I got a strange behaviour. At first everything
seemed to work (however, my hdparm tests did not show significant
improvement. Buffered reads where in the low 30MB/s, alost the same with
the 2.6.32 currently in sid. ) , but when I tried to unlock the crypted
partition, the kernel complained about the cipher:

Oct 20 15:55:35 thecus kernel: [42950180.79] device-mapper: table:
253:0: crypt: Block size of ESSIV cipher does not match IV size of block
cipher

(A word on my setup: The cryped partition is a reiser on a raid1
container. Crypto is using dm and luKS. For crypto acceleration, I 
have a hifn7655 card in the mini pci slot, but I am not sure if the
kernel is really using it...)

For testing I usually do not flash the kernel, but load it through 
redboot. Before that I scp'ed the complete /boot to the tftp server.
However, it seems that the installation of the dma enabled
kernel or one of the other packages triggered an update to the initramfs
of the current running kernel. (At least the timestamp of the boot
suggests that -- I am not really sure what happened) 

So I rebooted to x-check the current kernel for the crypto, but the
flashed kernel refused to boot -- it SEGV'ed early in the boot, the
backtrace told in strcmp... Unfortunatly I did not save the serial log.
The only thing I can recover is that it was before mounting the real
root. 
  
At that time my focus shifted to get the thecus running again, so I did
not retry without the crypto accelerator. Eventually a old image of 
a 2.6.30 booted (and then I had no time left to retry.) 

Any thoughts? 

Tobi

On Thu, 2010-10-21 at 10:42 +0100, Martin Michlmayr wrote:
> * Nathan  [2010-10-21 20:20]:
> > > Linux debian 2.6.26-2-iop32x #1 Thu Sep 16 18:42:37 UTC 2010 armv5tel
> > > GNU/Linux
> > 
> > I downloaded the .deb files from Martin's repository and installed them
> > that way.  On my 2100, uname gives the following output:
> > 
> > Linux debian 2.6.26-2-iop32x #1 Sat Jun 26 17:51:30 UTC 2010 armv5tel
> > GNU/Linux
> 
> The DMA kernels are out of date.  I'm updating them right now.
> -- 
> Martin Michlmayr
> http://www.cyrius.com/
> 
> 


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1287692943.3288.73.ca...@moria



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Peter Bauer
Hi !

Last year i tried a backported kernel which gave me nice results on
N2100. I remember I got around ~6 MB during read and write over Network
on NFS file share, but with processor load ~95%.

http://packages.debian.org/lenny-backports/linux-image-2.6.32-bpo.5-iop32x



If you really like a faster device go for a TS-219.

Data from TS-219:

r...@nas:~# uname -a
Linux NAS 2.6.32-5-kirkwood #1 Fri Aug 13 01:53:46 UTC 2010 armv5tel
GNU/Linux

/dev/sda:
 Timing cached reads:   700 MB in  2.00 seconds = 349.86 MB/sec
 Timing buffered disk reads:  298 MB in  3.02 seconds =  98.77 MB/sec


Bye,
Peter
p...@inode.at


On Don, 2010-10-21 at 01:37 +0200, Markus Kreiner wrote:
> installed debian on my n2100, following martin's instructions.
> 
> i *think* i also got the kernel with the DMA-patches, but am too much
> a linux novice to tell for sure, uname -a says:
> Linux debian 2.6.26-2-iop32x #1 Thu Sep 16 18:42:37 UTC 2010 armv5tel 
> GNU/Linux
> 
> problem is, i barely get more than 800KB/s written to the N2100, no
> matter if via cable, wifi, samba, or ftp, it's always the same. read
> speeds are .. well.. better with ~4,5MB/s
> 
> some things i tried:
> 
> debian:~# hdparm -tT /dev/md2
> 
> /dev/md2:
>  Timing cached reads:   118 MB in  2.02 seconds =  58.54 MB/sec
>  Timing buffered disk reads:   74 MB in  3.03 seconds =  24.41 MB/sec
> 
> 
> debian:~# dd count=1k bs=1M if=/dev/zero of=/mnt/disk/test.img
> 1024+0 Datensätze ein
> 1024+0 Datensätze aus
> 1073741824 Bytes (1,1 GB) kopiert, 50,8158 s, 21,1 MB/s
> 
> 
> 
> do i expect too much by hoping to get at least *a little* more throughput?
> 
> btw, does anyone know (or have) an arm-build of netio? (plain to much
> a noob to build myself)
> 
> thanks,
> markus.
> 
> 



--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1287685876.2595.21.ca...@peter-laptop



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Martin Michlmayr
* Markus Kreiner  [2010-10-21 19:47]:
> > To begin with, can you show us your /etc/apt/sources.list
> deb http://ftp.at.debian.org/debian/ lenny main contrib non-free
> deb-src http://ftp.at.debian.org/debian/ lenny main contrib non-free
...

I'll take this off line so we don't spam the list.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101021180410.gq16...@jirafa.cyrius.com



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Markus Kreiner
> To begin with, can you show us your /etc/apt/sources.list


deb http://ftp.at.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.at.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

deb http://people.debian.org/~tbm/dma lenny main


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=vhjicjthqpqdlbqhcjovv-qlimsvrddwzf...@mail.gmail.com



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Martin Michlmayr
* Markus Kreiner  [2010-10-21 17:17]:
> so it seems i don't get that, and haven't had before. could someone
> be of assistance for a noob like me?

It works for me.

To begin with, can you show us your /etc/apt/sources.list

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


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101021171901.gm16...@jirafa.cyrius.com



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Markus Kreiner
> repository was out of date.  I've updated it now.  If you run:
>
>    apt-get update
>    apt-get dist-upgrade
>
> You'll get 2.6.26-25lenny1dma1.

so it seems i don't get that, and haven't had before. could someone be
of assistance for a noob like me?

if followed this http://www.cyrius.com/debian/iop/n2100/dma.html
added the repo, and updated/upgraded, but i neither got the warning
about the unsigned repo, nor did anything change with uname -a .. it's
still:
Linux debian 2.6.26-2-iop32x #1 Thu Sep 16 18:42:37 UTC 2010 armv5tel GNU/Linux

thanks,
markus.


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin4h3u221sat2eqmoyb5xhdr-cj1wkuwgfeu...@mail.gmail.com



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Martin Michlmayr
* Markus Kreiner  [2010-10-21 01:37]:
> i *think* i also got the kernel with the DMA-patches, but am too much
> a linux novice to tell for sure, uname -a says:
> Linux debian 2.6.26-2-iop32x #1 Thu Sep 16 18:42:37 UTC 2010 armv5tel 
> GNU/Linux

I was on holidays when 2.6.26-25lenny1 was released so the DMA
repository was out of date.  I've updated it now.  If you run:

apt-get update
apt-get dist-upgrade

You'll get 2.6.26-25lenny1dma1.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010102112.gk16...@jirafa.cyrius.com



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Markus Kreiner
> The DMA kernels are out of date.  I'm updating them right now.

cool, thanks, but i doubt this helps in my case - as haven't got that
bad a performance on the box itself, but really poor one over any
network-connection (tried samba and ftp so far).

any other ideas?

thanks,
markus.


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTinur0u0sGJuzj===+JNDt_peD9"lwbgmne...@mail.gmail.com



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Martin Michlmayr
* Nathan  [2010-10-21 20:20]:
> > Linux debian 2.6.26-2-iop32x #1 Thu Sep 16 18:42:37 UTC 2010 armv5tel
> > GNU/Linux
> 
> I downloaded the .deb files from Martin's repository and installed them
> that way.  On my 2100, uname gives the following output:
> 
> Linux debian 2.6.26-2-iop32x #1 Sat Jun 26 17:51:30 UTC 2010 armv5tel
> GNU/Linux

The DMA kernels are out of date.  I'm updating them right now.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101021094241.ga25...@jirafa.cyrius.com



Re: Thecus N2100: where's the bottleneck?

2010-10-21 Thread Nathan
On Thu, 21 Oct 2010 01:37:07 +0200, Markus Kreiner 
wrote:
> i *think* i also got the kernel with the DMA-patches, but am too much
> a linux novice to tell for sure, uname -a says:
> Linux debian 2.6.26-2-iop32x #1 Thu Sep 16 18:42:37 UTC 2010 armv5tel
> GNU/Linux

I downloaded the .deb files from Martin's repository and installed them
that way.  On my 2100, uname gives the following output:

Linux debian 2.6.26-2-iop32x #1 Sat Jun 26 17:51:30 UTC 2010 armv5tel
GNU/Linux

> 
> problem is, i barely get more than 800KB/s written to the N2100, no
> matter if via cable, wifi, samba, or ftp, it's always the same. read
> speeds are .. well.. better with ~4,5MB/s

For comparison, I get a consistent 8MiB/sec writing to my N2100 via samba
over a wired interface, from my mac.  The limiting factor seems to be the
samba server, since smbd consumes around 90% of CPU time.

Running the same benchmarks, I get lower throughput. I'm using a pair of
Seagate 2TB disks:

/dev/md2:
 Timing cached reads:   338 MB in  2.01 seconds = 168.37 MB/sec
 Timing buffered disk reads:   34 MB in  3.05 seconds =  11.15 MB/sec

$ dd count=1k bs=1M if=/dev/zero of=test.img
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 65.7327 s, 16.3 MB/s


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/b6d382270f98d38e31bb232057ec5...@mail.thecoads.com



Re: Thecus N2100: Mapping the real root dev

2010-10-06 Thread Tobias Frost
Well, I just rememembered that I have to install the flash kernel
package before calling update-initramfs. So the hook was not there.

Thanks for 

On Wed, 2010-10-06 at 19:40 -0700, Martin Michlmayr wrote:
> * Tobias Frost  [2010-10-07 00:06]:
> > Can someone give me a pointer where to look?
> 
> /usr/share/hooks/flash_kernel_set_root
> 
> What does your /etc/fstab say?
> 


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1286431917.20210.13.ca...@moria



Re: Thecus N2100: Mapping the real root dev

2010-10-06 Thread Martin Michlmayr
* Tobias Frost  [2010-10-07 00:06]:
> Can someone give me a pointer where to look?

/usr/share/hooks/flash_kernel_set_root

What does your /etc/fstab say?

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


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101007024021.ga15...@jirafa.cyrius.com



Re: Thecus N2100 recovery

2010-03-17 Thread Tobias Frost
Do you know what firmware you had before installing debian?
AFAIK with 2.1.05 booting via redboot was supported.

BTW: You got an ARP response So redboot (or something else)
initializes ethernet. I'm asking because for my Thecus N2100, I usually
needed more than one attempt to get into redboot. If that fails, the
serial console is a sure way to fix it

(If your firmware is too old, you can also load the original one into RAM,
boot it and then "flash" it through the web interface. This way you can
upgrade Redboot, if you want.)

coldtobi


> On 3/17/10, jl.050...@gmail.com  wrote:
>> My Thecus N2100 ran well for years.  Then, the hard disk failed.
>> To prepare to install a new hard disk, I tried
>>  arping/telnet approach as per:
>>
>>  http://www.cyrius.com/debian/iop/n2100/telnet.html
>>
>>  but telnet times out:
>
> The page says: "In old firmwa¨


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca67ae93af9f6c03d91ad7cd323a3648.squir...@thecus.loewenhoehle.ip



Re: Thecus N2100 recovery

2010-03-17 Thread Martin Guy
On 3/17/10, jl.050...@gmail.com  wrote:
> My Thecus N2100 ran well for years.  Then, the hard disk failed.
> To prepare to install a new hard disk, I tried
>  arping/telnet approach as per:
>
>  http://www.cyrius.com/debian/iop/n2100/telnet.html
>
>  but telnet times out:

The page says: "In old firmware versions of the N2100, no IP address
is set in RedBoot so it's not possible to connect to it by telnet."
So I guess you need to connect the serial console and/or put a new
debian base filesystem on a new disk using some other host.

M


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/56d259a01003170341g12b4760fw853c006604e34...@mail.gmail.com



Re: Thecus N2100 recovery

2010-03-17 Thread Sujit K M
Could you try and boot across the network and then try telnet.
I think the N2100 will have an network boot option.

Thanks,
Sujit

On Wed, Mar 17, 2010 at 6:17 AM,   wrote:
> My Thecus N2100 ran well for years.  Then, the hard disk failed.
> (I know the HD failed because I plugged it in to a desktop and it
> made the same banging noise that it did when it was plugged into
> the N2100.)  To prepare to install a new hard disk, I tried
> arping/telnet approach as per:
>
> http://www.cyrius.com/debian/iop/n2100/telnet.html
>
> but telnet times out:
>
> # arping -f 192.168.1.100 && telnet 192.168.1.100 9000
> ARPING 192.168.1.100 from 192.168.55.3 eth0
> Unicast reply from 192.168.1.100 [00:14:FD:30:2E:24]  12.252ms
> Sent 23 probes (23 broadcast(s))
> Received 1 response(s)
> Trying 192.168.1.100...
> telnet: connect to address 192.168.1.100: Connection timed out
>
> Any suggestions?
>
> --John
>
>
> --
> To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20100317004732.ga31...@redwoodscientific.com
>
>



-- 
-- Sujit K M

blog(http://kmsujit.blogspot.com/)


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/921ca19c1003170336g78e116f5jc72ea08784afc...@mail.gmail.com



Re: Re: Thecus N2100 installation fails

2010-02-09 Thread Martin Michlmayr
* Kai K.  [2010-02-04 17:42]:
> I have a serial port on my computer, that's not the problem, but
> soldering the pins on my N2100. ;-)

As Tobias pointed out, you don't need to solder anything on the N2100;
you just need to find the right connector.

There used to be bugs in the installer that would cause it not to
start with some network configs but this should no longer be the case
with lenny.  Your best bet is to connect a serial console and see
what's actually going on.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Re: Thecus N2100 installation fails

2010-02-06 Thread Tobias Frost
On Thu, 2010-02-04 at 17:42 +0100, Kai K. wrote:
> On Thu, Feb 04, 2010 at 02:42:29PM +0100, Tobias Frost wrote:
> > > Hi All,
> > >
> > > I bought an used N2100 at the bay, and tried to install Debian,
> > > following Martin Michlmayr's great instructions, but I fail.
> > > After uploading the Debian firmware it prompts for the reboot, but
> > > does not come up again. Also, the LEDs stop flashing after Redboot
> > > tried to load the OS (that's a guess in fact).
> > 
> > Thats fine, its a sign that the kernel indeed boots, but seems to stuck
> > somewhere else, for example the network config?
> > 
> > First thought is that LAN is not up or you expecting another IP address.
> > Is the network LED blinking during boot? Can you use a network sniffer to
> > see if dhcp packages are exchanged? Nmap'ed your LAN?
> 
> Yes I nmap'ed 192.168.1.0/24, as this is the subnet my DHCP server is
> in (stock Linksys WAG200G). I configured the box with a static IP 
> 192.168.1.100, and believed it would keep this configuration. Also,
> after a few seconds all LEDs stop flashing.
> When I am home, I will sniff for DHCP traffic.
> 
> > I think I had these issues as well when I installed my box, so I used a
> > local dhcp server to "see" the exchange of the packages. I wrote also a
> > howto that time:
> > http://blog.coldtobi.de/1_coldtobis_blog/archive/166_installing_debian_on_the_thecus_n2100_--_part_1_--_preparation_for_install.html
> 
> Great howto, thank you! Why didn't I find it earlier? But what's
> puzzling me is that you've written:
> "ACPI events are catched by the installer, so the power button works."

Disclaimer: I *might* also be wrong on this. This is what I had in mind,
but on a second thought it can also be that I mixed this up with the
installed debian...

> It is definately not working for me, so maybe that's a hint, that the
> kernel actually does not boot.
> 
> > Just another thought: Which LAN connection are you using. I am unsure if
> > anything else than "LAN1" will work.
> 
> I am using LAN port 1.
> 
> > > I used official firmware 2.01.09 and 2.01.10, which run very well, but
> > > installing Debian does not work. I would like to try an older official
> > > Thecus firmware, but the oldest one I can find is 2.01.09.
> > > At least the device itself seems to be ok, as the stock firmwares
> > > don't give me any errors.
> > 
> > As you are replacing the firmware, it is gone with the flashing of the
> > installer. Therefore, it is independent of the original version.
> > With very old firmware you cannot access RedBoot over ethernet, but that
> > is the only difference I'm aware of.
> 
> OK, makes sense. So this is not the problem.
> 
> > > Maybe someone has a hint for me, or an older official firmware
> > > available so I can try it? Did someone experience the same, or similar
> > > problems?
> > > Unfortunately I don't have a serial connection, so I cannot give further
> > > debugging information.
> > 
> > If you got a change to get one of these USB-serial adapters, this will
> > probably will really help finding the problem. (They are only a few bucks
> > though and might be handy if at a later time something is wrong -- for
> > example my box once did an hickup as fsck thought it has found an
> > corruption due "last mounted in the future" waiting for a desperate "Yes")
> 
> I have a serial port on my computer, that's not the problem, but
> soldering the pins on my N2100. ;-)

You do not need to solder pins on it. There are this "pin headers"
available which will give you enough contact when just put in. 
I do not now the exact English term, but here's a picture:
http://www.reichelt.de/?ACTION=3;ARTICLE=19492;PROVID=2402


> -- 
> Greetings, Kai
> 
> "In a world without walls and fences, who needs Windows and Gates?"
> 
> 


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Re: Thecus N2100 installation fails

2010-02-04 Thread Kai K.
On Thu, Feb 04, 2010 at 02:42:29PM +0100, Tobias Frost wrote:
> > Hi All,
> >
> > I bought an used N2100 at the bay, and tried to install Debian,
> > following Martin Michlmayr's great instructions, but I fail.
> > After uploading the Debian firmware it prompts for the reboot, but
> > does not come up again. Also, the LEDs stop flashing after Redboot
> > tried to load the OS (that's a guess in fact).
> 
> Thats fine, its a sign that the kernel indeed boots, but seems to stuck
> somewhere else, for example the network config?
> 
> First thought is that LAN is not up or you expecting another IP address.
> Is the network LED blinking during boot? Can you use a network sniffer to
> see if dhcp packages are exchanged? Nmap'ed your LAN?

Yes I nmap'ed 192.168.1.0/24, as this is the subnet my DHCP server is
in (stock Linksys WAG200G). I configured the box with a static IP 
192.168.1.100, and believed it would keep this configuration. Also,
after a few seconds all LEDs stop flashing.
When I am home, I will sniff for DHCP traffic.

> I think I had these issues as well when I installed my box, so I used a
> local dhcp server to "see" the exchange of the packages. I wrote also a
> howto that time:
> http://blog.coldtobi.de/1_coldtobis_blog/archive/166_installing_debian_on_the_thecus_n2100_--_part_1_--_preparation_for_install.html

Great howto, thank you! Why didn't I find it earlier? But what's
puzzling me is that you've written:
"ACPI events are catched by the installer, so the power button works."

It is definately not working for me, so maybe that's a hint, that the
kernel actually does not boot.

> Just another thought: Which LAN connection are you using. I am unsure if
> anything else than "LAN1" will work.

I am using LAN port 1.

> > I used official firmware 2.01.09 and 2.01.10, which run very well, but
> > installing Debian does not work. I would like to try an older official
> > Thecus firmware, but the oldest one I can find is 2.01.09.
> > At least the device itself seems to be ok, as the stock firmwares
> > don't give me any errors.
> 
> As you are replacing the firmware, it is gone with the flashing of the
> installer. Therefore, it is independent of the original version.
> With very old firmware you cannot access RedBoot over ethernet, but that
> is the only difference I'm aware of.

OK, makes sense. So this is not the problem.

> > Maybe someone has a hint for me, or an older official firmware
> > available so I can try it? Did someone experience the same, or similar
> > problems?
> > Unfortunately I don't have a serial connection, so I cannot give further
> > debugging information.
> 
> If you got a change to get one of these USB-serial adapters, this will
> probably will really help finding the problem. (They are only a few bucks
> though and might be handy if at a later time something is wrong -- for
> example my box once did an hickup as fsck thought it has found an
> corruption due "last mounted in the future" waiting for a desperate "Yes")

I have a serial port on my computer, that's not the problem, but
soldering the pins on my N2100. ;-)
-- 
Greetings, Kai

"In a world without walls and fences, who needs Windows and Gates?"


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Thecus N2100 installation fails

2010-02-04 Thread Tobias Frost
> Hi All,
>
> I bought an used N2100 at the bay, and tried to install Debian,
> following Martin Michlmayr's great instructions, but I fail.
> After uploading the Debian firmware it prompts for the reboot, but
> does not come up again. Also, the LEDs stop flashing after Redboot
> tried to load the OS (that's a guess in fact).

Thats fine, its a sign that the kernel indeed boots, but seems to stuck
somewhere else, for example the network config?

First thought is that LAN is not up or you expecting another IP address.
Is the network LED blinking during boot? Can you use a network sniffer to
see if dhcp packages are exchanged? Nmap'ed your LAN?

I think I had these issues as well when I installed my box, so I used a
local dhcp server to "see" the exchange of the packages. I wrote also a
howto that time:
http://blog.coldtobi.de/1_coldtobis_blog/archive/166_installing_debian_on_the_thecus_n2100_--_part_1_--_preparation_for_install.html

Just another thought: Which LAN connection are you using. I am unsure if
anything else than "LAN1" will work.

> I tried every available Debian firmware, even the Etch one, which at
> least gives me flashing LEDs, but still no SSH connection. I tried
> static and DHCP network configuration, but it does not seem to get to
> the network initialization.

In earlier kernels, the handling of the LEDs was not supported, so the
orange one remains blinking.
I am not sure if the network configuration used by the original firmware
will be used with the debian installer.. Could be that for a static setup,
it will use 192.168.0.100 (or so... see my howto).

> I used official firmware 2.01.09 and 2.01.10, which run very well, but
> installing Debian does not work. I would like to try an older official
> Thecus firmware, but the oldest one I can find is 2.01.09.
> At least the device itself seems to be ok, as the stock firmwares
> don't give me any errors.

As you are replacing the firmware, it is gone with the flashing of the
installer. Therefore, it is independent of the original version.
With very old firmware you cannot access RedBoot over ethernet, but that
is the only difference I'm aware of.

> Maybe someone has a hint for me, or an older official firmware
> available so I can try it? Did someone experience the same, or similar
> problems?
> Unfortunately I don't have a serial connection, so I cannot give further
> debugging information.

If you got a change to get one of these USB-serial adapters, this will
probably will really help finding the problem. (They are only a few bucks
though and might be handy if at a later time something is wrong -- for
example my box once did an hickup as fsck thought it has found an
corruption due "last mounted in the future" waiting for a desperate "Yes")

>
> I am deeply grateful for every reply, as I don't have a clue what's
> wrong.
> --
> Greetings, Kai
>
> "In a world without walls and fences, who needs Windows and Gates?"



>
> --
> To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>



-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Thecus N2100 Yes box

2009-12-30 Thread Andrew M.A. Cater
On Sun, Dec 20, 2009 at 05:48:45PM +, Derek Dongray wrote:
> I use mt-daapd on an NSLU2 running Debian to act as a shared library to
> iTunes and also use MediaTomb to serve media to other uPnP clients, but I
> haven't found anything on the iPod Touch which will act as a uPnP client.
> The Crossfire web app can 'sort of' stream music, but I haven't found an
> native streaming client. Have you located something suitable for the client
> end?
> 
> -- 
> Derek.

An update: I found a new Ralink mini-PCI card (RT2561 based) which 
worked just fine for about £15

[Sparklan WL-850R Ralink 11G board from OxfordTec]

Following a couple of false starts, I've got Lenny on the N2100.
(It definitely helps to ssh in twice and use the second session to open 
the shell to fix the ntpdate / time problem as detailed in Martin 
Michlmayr's page at www.cyrius.com).

Empirically, it appears to be running fairly cool - I suspect the newer 
SATA drives are pushing out less heat than older drives.

Base system + build essential + rsync + apache there so far: mediatomb 
possibly to follow. [Apparently, on Windows at least, you could at one 
time tell the iTunes software to accept music from a shared source - 
hence the rationale behind the way that Thecus originally did this. I'm 
not sure that the latest iTunes does this.]

If not, it turns into a small, low powered Debian mirror server (which 
might not be a bad thing to take to any conferences - the second GB port 
could be used for PXE booting :) )

All best and thanks for the encouragement thus far,

AndyC


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Thecus N2100 Yes box

2009-12-21 Thread Holland, John
On 20.12.2009, at 18:49, "Derek Dongray"   
wrote:

> I use mt-daapd on an NSLU2 running Debian to act as a shared library  
> to iTunes and also use MediaTomb to serve media to other uPnP  
> clients, but I haven't found anything on the iPod Touch which will  
> act as a uPnP client. The Crossfire web app can 'sort of' stream  
> music, but I haven't found an native streaming client. Have you  
> located something suitable for the client end?

I've been using iMediaSuite on my iPhone and iPod Touch. Your milage  
may vary. It can also act as a server to share your pictures.

Just a note, I'm also using Mediatomb to stream directly to my Samsung  
TV.

>
> -- 
> Derek.

___

Cellent Finance Solutions AG

Firmensitz: Calwer Straße 33, 70173 Stuttgart
Registergericht: Amtsgericht Stuttgart, HRB 720743
Vorstand: Thomas Wild
Vorsitzender des Aufsichtsrats: Rudolf Zipf


Re: Thecus N2100 Yes box

2009-12-20 Thread Derek Dongray
I use mt-daapd on an NSLU2 running Debian to act as a shared library to
iTunes and also use MediaTomb to serve media to other uPnP clients, but I
haven't found anything on the iPod Touch which will act as a uPnP client.
The Crossfire web app can 'sort of' stream music, but I haven't found an
native streaming client. Have you located something suitable for the client
end?

-- 
Derek.


Re: Thecus N2100 Yes box

2009-12-20 Thread Mikhail Gusarov

Twas brillig at 08:53:36 20.12.2009 UTC+00 when amaca...@galactic.demon.co.uk 
did gyre and gimble:

 AMC> Easy RAID building - OK. Samba - OK. But I'm already thinking of
 AMC> scrapping the on board firmware in it for Debian. [It's got 2 x
 AMC> 320G SATA but is giving me less than 600G striped for some reason
 AMC> :( ]

Note that Debian kernel does not have some DMA patches applied due to
fact they are abandoned, not going to merged into mainline and known to
cause lockups sometimes. It sucks: hard disks performance suffer.

 AMC> Thecus list two or three specific wifi PCI cards [two or three
 AMC> Ralink chipset with rt2561] or usb with Zyxel - any better ideas
 AMC> with Debian? Mini-PCI preferred as that's everything inside the
 AMC> box]

Tried putting spare Intel ipw2100 into it out of curiosity - worked
fine, even without antenna.

-- 
  http://fossarchy.blogspot.com/


pgphpLteGOUwT.pgp
Description: PGP signature


Re: Thecus N2100 Yes box

2009-12-20 Thread Federico Briata
Hi

2009/12/20 Andrew M.A. Cater :


> Easy RAID building - OK. Samba - OK. But I'm already thinking of
> scrapping the on board firmware in it for Debian. [It's got 2 x 320G
> SATA but is giving me less than 600G striped for some reason :( ]

That's a good idea, make yourself free!

> That being said - any hints / tips? How would you handle an iTunes
> equivalent media stream?

http://mediatomb.cc/
http://packages.debian.org/lenny/mediatomb

looks promising and seems to be cool UPnP server,
after flashing debian on thecus you can test it, let me know if/when you do it!

Federico


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



RE: Thecus N2100 Yes box

2009-12-20 Thread Brian Platt

> Date: Sun, 20 Dec 2009 08:53:36 +
> From: amaca...@galactic.demon.co.uk
> To: debian-arm@lists.debian.org
> Subject: Thecus N2100 Yes box
> 
> I've just bought one of these second hand from a work colleague. It's 
> all very well for what it does - but if I wanted to get it streaming 
> wireless media for my daughter's new iPod Touch :) then I'd have to find
> some out of production wireless card to fit the mini-PCI.
> 
> Easy RAID building - OK. Samba - OK. But I'm already thinking of 
> scrapping the on board firmware in it for Debian. [It's got 2 x 320G 
> SATA but is giving me less than 600G striped for some reason :( ]
> 
> That being said - any hints / tips? How would you handle an iTunes 
> equivalent media stream? 
> 
> Thecus list two or three specific wifi PCI cards [two or three Ralink 
> chipset with rt2561] or usb with Zyxel - any better ideas 
> with Debian? Mini-PCI preferred as that's everything inside the box]
> 
> [iPod Touch and iTunes are copyrighted/trademarks of Apple Computer 
> Corp. of Cupertino CA AFAIK - in England, you can't say Apple Corp. or 
> the Beatles come gunning for you :) ]
> 
> All best,
> 
> AndyC
>  
> 
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> 

In relation to the streaming why do you need a wireless card can you not just 
connect it via cable to your router or do you not have enough ports etc?
  
_
Use Hotmail to send and receive mail from your different email accounts
http://clk.atdmt.com/UKM/go/186394592/direct/01/

Re: Thecus N2100 installation problem

2009-09-22 Thread Martin Michlmayr
* Jonas Gehring  [2009-08-28 15:18]:
> However, I'd like to note that formatting the disks after setting
> the time and prior to the base system install didn't work for me:
> The installer returned to the main installation menu after detecting
> the disks.

You're right.

So the correct workaround is:

When this error occurs, go to the menu and open a shell (the last but
one entry in the menu).  Then type:
   chroot /target
   apt-get install ntpdate
   ntpdate pool.ntp.org
   exit

Now choose the menu entry "Change debconf priority" and choose "high".

Finally, choose "Partition disks" to format the disk again.
Afterwards, the installer will continue automatically.  This time, the
installation will succeed.

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


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Thecus N2100 installation problem

2009-08-28 Thread Jonas Gehring
On Sunday 23 August 2009 17:35:05 Martin Michlmayr wrote:
> There's no fix for this problem yet but you can use the following
> workaround:
>
> When this error occurs, go to the menu and open a shell (the last but
> one entry in the menu).  Then type:
>   chroot /target
>   apt-get install ntpdate
>   ntpdate pool.ntp.org
>   exit
>
> Now you can format the disk again and proceed with the installation
> and it will work.

Thank you very much for your help! I finally managed to setup the system by
using your instructions.

However, I'd like to note that formatting the disks after setting the time and
prior to the base system install didn't work for me: The installer returned
to the main installation menu after detecting the disks. Afterwards, this
happened when selecting the disk partitioning tool as well as the base system
installation.
Instead, I simply re-installed the base system without formatting the root
partition again.


Regards,
Jonas


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Thecus N2100 installation problem

2009-08-23 Thread Martin Michlmayr
* Jonas Gehring  [2009-08-19 22:57]:
> I'm trying to install Debian Lenny on a Thecus N2100. I've followed the howtos
> on http://www.cyrius.com/debian/iop/n2100/index.html . However, during
> "Installing the base system", the installer reports an error:

There's no fix for this problem yet but you can use the following
workaround:

When this error occurs, go to the menu and open a shell (the last but
one entry in the menu).  Then type:
  chroot /target
  apt-get install ntpdate
  ntpdate pool.ntp.org
  exit

Now you can format the disk again and proceed with the installation
and it will work.

I'll mention this in the install guide.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Thecus N2100 2.6.30 kernel problem (crash?)

2009-08-06 Thread Martin Michlmayr
* Tobias Frost  [2009-07-20 20:41]:
> I've experiencing some problems with the kernel, under high load
> (copying a big file over nfs to a crypted filesystem) 
> 
> Some more infos/observations: (random order)
> - kernel nfs server
> - file to be copied is 100G, copied with dd-rescue (does not complete)
> - using a hifn 765x crypto accelerator (vpn 1411)
> - raid is degraded after the hard-reset 
> - after bug shows up, not able to login on the serial console 
> 
> Any ideas? Any idea to help debugging the problem?

Just to rule out some things, could you try copying the data to a
non-encrypted filesystem?
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: thecus n2100 armel lenny upgrade, won't boot

2008-09-27 Thread Martin Michlmayr
* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-09-17 09:00]:
> > update-initramfs should call 
> > flash-kernel these days. (Which means that flash-kernel is ran twice
> > right now, once because of the kernel hook, once because of
> > update-initramfs).
> 
> Makes sense.
> 
> Any idea how I could reproduce it, as I now have a serial on my thecus 
> anyway ?

Well, you could run: update-initramfs -u

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


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-09-17 Thread Joost Yervante Damad
On Tuesday 16 September 2008 21:43:26 Martin Michlmayr wrote:
> * Joost Yervante Damad <[EMAIL PROTECTED]> [2008-09-16 20:17]:
> > Running postinst hook script flash-kernel.
> > Flashing kernel... done.
> > Flashing initramfs... done.
> >
> > ...
> > ...
> >
> > Processing triggers for initramfs-tools ...
> > update-initramfs: Generating /boot/initrd.img-2.6.26-1-iop32x
> > -- end --
>
> Are you sure that's the end? 

Pretty sure yes.

> update-initramfs should call 
> flash-kernel these days. (Which means that flash-kernel is ran twice
> right now, once because of the kernel hook, once because of
> update-initramfs).

Makes sense.

Any idea how I could reproduce it, as I now have a serial on my thecus 
anyway ?

I tried downgrading upgrading the kernel, but seems to work without triggers.

Joost





-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-09-16 Thread Martin Michlmayr
* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-09-16 20:17]:
> Running postinst hook script flash-kernel.
> Flashing kernel... done.
> Flashing initramfs... done.
> 
> ...
> ...
> 
> Processing triggers for initramfs-tools ...
> update-initramfs: Generating /boot/initrd.img-2.6.26-1-iop32x
> -- end --

Are you sure that's the end?  update-initramfs should call
flash-kernel these days. (Which means that flash-kernel is ran twice
right now, once because of the kernel hook, once because of
update-initramfs).

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


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-09-16 Thread Joost Yervante Damad
Hi All,

just something peculiar thing I noticed while doing another upgrade of my 
thecus:

-- start --
Setting up udev (0.125-6) ...
update-initramfs: deferring update (trigger activated)
Setting up initramfs-tools (0.92j) ...
Installing new version of config file /etc/initramfs-tools/initramfs.conf ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-2.6.26-1-iop32x (2.6.26-4) ...

 Hmm. The package shipped with a symbolic 
link /lib/modules/2.6.26-1-iop32x/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.26-1-iop32x/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.26-3 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.26-3 was configured last, according to dpkg)
Running postinst hook script flash-kernel.
Flashing kernel... done.
Flashing initramfs... done.

...
...

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.26-1-iop32x
-- end --

As you can see due to triggers the initramfs is only actually generated after
the kernel has already been flashed. I could imagine this not being what is 
wanted soo I ran flash-kernel again just to be sure.

Or am I seeing ghosts?

Thanks, Joost

On Sunday 31 August 2008 10:24:31 Joost Yervante Damad wrote:
> On Sunday 31 August 2008 10:16:32 Martin Michlmayr wrote:
> > * Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-31 10:09]:
> > > Thanks for the quick reply both.
> > > I just discovered however that the thecus was still running 2.6.25-7 ?!
> > > I tried chrooting in again and flash 2.6.24 initrd and vmlinuz and it
> > > said it did it, but after a reboot it is still running 2.6.25-7 again.
> > > Looks like flash-kernel is not working when still in an initramfs I
> > > guess...?
> >
> > Maybe you hit this bug:
> > #488565 - should check status of /dev/mtdblock* before trying to write to
> > it
> >
> > You have to make sure /dev/mtdbock* exists before using flash-kernel.
>
> I guess so!
>
> I just manually loaded my 2.6.26 initrd and kernel via tftp and the system
> boots fine!
>
> Thanks Martin, Tobias for helping me out.
>
> (Cc:-ing debian-arm again, so other people also know what was the issue)
>
> Joost
>
> --
> homepage: http://damad.be/joost
> photo/blog: http://damad.be/joost/blog



-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-31 Thread Maximilian Attems
On Fri, 29 Aug 2008, Joost Yervante Damad wrote:

> On Friday 29 August 2008 10:09:05 Martin Michlmayr wrote:
> > * Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-28 19:39]:
> > > Begin: Mounting root file system ...
> > > Begin: Running /scripts/local-top ...
> > > Begin: Loading MD modules ...
> > > [   12.66] md: raid1 personality registered for level 1
> > > Success: loaded module raid1.
> > > Done.
> > > Begin: Assembling all MD arrays ...
> > > [   12.72] md: md0 stopped.
> > > mdadm: no devices found for /dev/md0
> > > Failure: failed to assemble all arrays.
> > > Done.
> >
> > I saw something similar recently with md on a USB stick, and was told
> > to use rootdelay.  But I think your situation is different in that
> > it's SATA and so it should work.  Maybe maks will see from your logs
> > what's wrong.
> 
> Well, just for the record, I use a plain partition for my rootfs. I only use 
> raid-1 for my data partition, soo md is not needed at all for booting.
> It just needs to have /dev/sda1, which it can't find cause it didn't load the 
> appropriate modules.

which one would that be?
is it in initramfs?

-- 
maks


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-31 Thread Joost Yervante Damad
On Sunday 31 August 2008 10:16:32 Martin Michlmayr wrote:
> * Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-31 10:09]:
> > Thanks for the quick reply both.
> > I just discovered however that the thecus was still running 2.6.25-7 ?! I
> > tried chrooting in again and flash 2.6.24 initrd and vmlinuz and it said
> > it did it, but after a reboot it is still running 2.6.25-7 again. Looks
> > like flash-kernel is not working when still in an initramfs I guess...?
>
> Maybe you hit this bug:
> #488565 - should check status of /dev/mtdblock* before trying to write to
> it
>
> You have to make sure /dev/mtdbock* exists before using flash-kernel.

I guess so!

I just manually loaded my 2.6.26 initrd and kernel via tftp and the system 
boots fine!

Thanks Martin, Tobias for helping me out.

(Cc:-ing debian-arm again, so other people also know what was the issue)

Joost

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-31 Thread Martin Michlmayr
Can someone with a N2100 and a serial console upgrade to 2.6.26 in
testing and say whether it works for them?

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


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-31 Thread Martin Michlmayr
* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-30 11:34]:
> Aparently the warning comes from the flash_kernel_set_root initramfs
> hook in flash-kernel?

Yes, that's correct.  grep for "egrep" in that file to see how it
determines root from /etc/fstab.  The egrep works fine on the fstab
you included in one of your mails.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-31 Thread Martin Michlmayr
* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-30 09:19]:
> > Which kernel version were you running before (that worked)?
> 
> It was hidden in the mail somewhere:
> 
> 2.6.25-6 -> 2.6.25-7.

I looked at the changelog and don't see anything that might have
caused this.  2.6.25-6 is not on snapshot.debian.net, but can you try
to install
http://snapshot.debian.net/archive/2008/04/29/debian/pool/main/l/linux-2.6/linux-image-2.6.24-1-iop32x_2.6.24-6_armel.deb

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


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-30 Thread Joost Yervante Damad
On Saturday 30 August 2008 13:17:38 Martin Michlmayr wrote:
> * Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-30 11:34]:
> > Preparing to replace initramfs-tools 0.92f (using
> > initramfs-tools_0.92b_all.deb) ...
> >
> > flash-kernel version: 1.11
> > # flash-kernel
> > Flashing kernel... done.
> > Flashing initramfs... done.
>
> Right, but does the system boot now?

Sorry, no still same behavior.

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-30 Thread Martin Michlmayr
* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-30 11:34]:
> Preparing to replace initramfs-tools 0.92f (using 
> initramfs-tools_0.92b_all.deb) ...
> 
> flash-kernel version: 1.11
> # flash-kernel
> Flashing kernel... done.
> Flashing initramfs... done.

Right, but does the system boot now?
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-30 Thread Joost Yervante Damad
On Saturday 30 August 2008 11:06:32 Martin Michlmayr wrote:
> * Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-30 10:31]:
> > The problem remains. The /etc/fstab parse error is quite wierd, however
> > the guessed root device is correct :) I really begin to suspect a bug in
> > mkinitramfs-kpkg ...
>
> Can you downgrade initramfs-tools and update the initramfs with:
>   update-initramfs -u
>   flash-kernel

I picked the one I installed on May 30:

dpkg - warning: downgrading initramfs-tools from 0.92f to 0.92b.
(Reading database ... 31272 files and directories currently installed.)
Preparing to replace initramfs-tools 0.92f (using 
initramfs-tools_0.92b_all.deb) ...
Unpacking replacement initramfs-tools ...
Setting up initramfs-tools (0.92b) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.26-1-iop32x
Warning: /etc/fstab parse error; guessing that the root device is /dev/sda1

update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.26-1-iop32x
Warning: /etc/fstab parse error; guessing that the root device is /dev/sda1

I run all these commands chroot-ed from out of the initramfs shell, so
this all is of course not 100% clean...

flash-kernel version: 1.11
# flash-kernel
Flashing kernel... done.
Flashing initramfs... done.

> P.S. Regarding the fstab parsing problem, which version of
> flash-kernel do you have installed?

1.11.
 Aparently the warning comes from the flash_kernel_set_root initramfs hook in 
flash-kernel?

It looks like either it is not caused by initramfs-tools or the bug somehow 
keeps itself active perhaps due to me running the commands from a not fully 
booted system... (but this was not the case the first time I ran into the 
issue, that was a normal upgrade on a fully running system)

Joost

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-30 Thread Martin Michlmayr
* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-30 10:31]:
> The problem remains. The /etc/fstab parse error is quite wierd, however the 
> guessed root device is correct :) I really begin to suspect a bug in 
> mkinitramfs-kpkg ...

Can you downgrade initramfs-tools and update the initramfs with:
  update-initramfs -u
  flash-kernel

P.S. Regarding the fstab parsing problem, which version of
flash-kernel do you have installed?
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-30 Thread Joost Yervante Damad
On Friday 29 August 2008 15:15:00 Martin Michlmayr wrote:
> Joost,
>
> can you upgrade to 2.6.26 (which is now in testing) and check if that
> works?
> --
> Martin Michlmayr
> http://www.cyrius.com/

I just did this update:

Setting up linux-image-2.6.26-1-iop32x (2.6.26-3) ...

 Hmm. The package shipped with a symbolic 
link /lib/modules/2.6.26-1-iop32x/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.26-1-iop32x/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Warning: /etc/fstab parse error; guessing that the root device is /dev/sda1

after which I ran flash-kernel manually and rebooted.

The problem remains. The /etc/fstab parse error is quite wierd, however the 
guessed root device is correct :) I really begin to suspect a bug in 
mkinitramfs-kpkg ...

I placed the initrd.img file available at http://damad.be/joost/initrd.img

Joost

P.S.: 
cat /etc/fstab
# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/sda1   /   ext3noatime,errors=remount-ro 0   1
/dev/md0/grond  ext3noatime 0   2
/dev/sdb1   noneswapsw  0   0

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-30 Thread Joost Yervante Damad
On Friday 29 August 2008 15:15:59 Martin Michlmayr wrote:
> * Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-17 16:08]:
> > I upgraded my thecus n2100 this morning. The upgrade seemed to have
> > worked
> >
> > fine:
> > > Setting up linux-image-2.6.25-2-iop32x (2.6.25-7) ...
> >
> >From which release did you upgrade (etch or lenny 2.6.24 to 2.6.25)?
>
> Which kernel version were you running before (that worked)?

It was hidden in the mail somewhere:

2.6.25-6 -> 2.6.25-7.

Joost

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-29 Thread Martin Michlmayr
* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-17 16:08]:
> I upgraded my thecus n2100 this morning. The upgrade seemed to have worked 
> fine:
> > Setting up linux-image-2.6.25-2-iop32x (2.6.25-7) ...

>From which release did you upgrade (etch or lenny 2.6.24 to 2.6.25)?
Which kernel version were you running before (that worked)?

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


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-29 Thread Martin Michlmayr
Joost,

can you upgrade to 2.6.26 (which is now in testing) and check if that
works?
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-29 Thread Joost Yervante Damad
On Friday 29 August 2008 10:09:05 Martin Michlmayr wrote:
> * Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-28 19:39]:
> > Begin: Mounting root file system ...
> > Begin: Running /scripts/local-top ...
> > Begin: Loading MD modules ...
> > [   12.66] md: raid1 personality registered for level 1
> > Success: loaded module raid1.
> > Done.
> > Begin: Assembling all MD arrays ...
> > [   12.72] md: md0 stopped.
> > mdadm: no devices found for /dev/md0
> > Failure: failed to assemble all arrays.
> > Done.
>
> I saw something similar recently with md on a USB stick, and was told
> to use rootdelay.  But I think your situation is different in that
> it's SATA and so it should work.  Maybe maks will see from your logs
> what's wrong.

Well, just for the record, I use a plain partition for my rootfs. I only use 
raid-1 for my data partition, soo md is not needed at all for booting.
It just needs to have /dev/sda1, which it can't find cause it didn't load the 
appropriate modules.

> > Gave up waiting for root device.  Common problems:
> >  - Boot args (cat /proc/cmdline)
> >- Check rootdelay= (did the system wait long enough?)
>
> Well, can you try to add rootdelay=10 to see if that helps?

No, behavior is the same:
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda1 does not exist. Dropping to a shell!

> But imho md on SATA should work without rootdelay.  And it worked
> before since you made an upgrade, right?

Yes. The box was working fine with the previous kernel.

Joost

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-29 Thread Martin Michlmayr
Adding maks to CC.

* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-28 20:00]:
> On Thursday 28 August 2008 19:39:03 Joost Yervante Damad wrote:
> > On Monday 18 August 2008 09:57:16 you wrote:
> > > I guess, that you'll need a serial console.
> > > Without, you can only guess, where it stuck, like did it access the
> > > disks and so...
> > >
> > > If it gets that far, you probably could check the logs, as it might
> > > logged something of interest.
> >
> > in attachment you can find the console log. It seems to fail to find a
> > rootfs...
> >
> > Joost
> 
> Update: if I break into the initramfs, and manually modprobe the correct 
> sata, 
> scsi and filesystem modules, I can mount the root filesystem.
> 
> I guess the initramfs is somehow broken?
> 
> Joost
> 
> (initramfs) mount -t ext3 /dev/sda1 /root
> [  521.86] kjournald starting.  Commit interval 5 seconds
> [  521.87] EXT3 FS on sda1, internal journal
> [  521.87] EXT3-fs: mounted filesystem with ordered data mode.
> (initramfs) ls -l /root/
> drwxr-xr-x2 004096 Aug 17 10:50 bin
> ...
> ...
> 
> -- 
> homepage: http://damad.be/joost
> photo/blog: http://damad.be/joost/blog
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

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


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-29 Thread Martin Michlmayr
* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-28 19:39]:
> Begin: Mounting root file system ...
> Begin: Running /scripts/local-top ...
> Begin: Loading MD modules ...
> [   12.66] md: raid1 personality registered for level 1
> Success: loaded module raid1.
> Done.
> Begin: Assembling all MD arrays ...
> [   12.72] md: md0 stopped.
> mdadm: no devices found for /dev/md0
> Failure: failed to assemble all arrays.
> Done.

I saw something similar recently with md on a USB stick, and was told
to use rootdelay.  But I think your situation is different in that
it's SATA and so it should work.  Maybe maks will see from your logs
what's wrong.

> Gave up waiting for root device.  Common problems:
>  - Boot args (cat /proc/cmdline)
>- Check rootdelay= (did the system wait long enough?)

Well, can you try to add rootdelay=10 to see if that helps?

But imho md on SATA should work without rootdelay.  And it worked
before since you made an upgrade, right?
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-29 Thread Martin Michlmayr
Adding maks to CC.  maks any idea?

* Joost Yervante Damad <[EMAIL PROTECTED]> [2008-08-28 19:39]:
> On Monday 18 August 2008 09:57:16 you wrote:
> > I guess, that you'll need a serial console.
> > Without, you can only guess, where it stuck, like did it access the
> > disks and so...
> >
> > If it gets that far, you probably could check the logs, as it might
> > logged something of interest.
> 
> in attachment you can find the console log. It seems to fail to find a 
> rootfs...
> 
> Joost
> 
> -- 
> homepage: http://damad.be/joost
> photo/blog: http://damad.be/joost/blog

> RST=No
> Transfer to factory test Mode : No
> Reset default set:Normal
> Thecus: Found PCI device Vendor ID=0x10EC
> Vendor0x10ec
> Device0x8169
>  Allocate cyg_pci_io_base=0x9100
>  Allocate cyg_pci_memory_base=0x4100
> Thecus: Found PCI device Vendor ID=0x10EC
> Vendor0x10ec
> Device0x8169
>  Allocate cyg_pci_io_base=0x9200
>  Allocate cyg_pci_memory_base=0x4200
> Thecus: Found PCI device Vendor ID=0x1095
> Vendor0x1095
> Device0x3512
>  Allocate cyg_pci_io_base=0x9208
>  Allocate cyg_pci_io_base=0x920c
>  Allocate cyg_pci_io_base=0x9218
>  Allocate cyg_pci_io_base=0x921c
>  Allocate cyg_pci_io_base=0x9230
>  Allocate cyg_pci_memory_base=0x4400
> Thecus: Found PCI device Vendor ID=0x1106
> Thecus: Found PCI device Vendor ID=0x1106
> Thecus: Found PCI device Vendor ID=0x1106
> Vendor0x1106
> Device0x3104
>  Allocate cyg_pci_memory_base=0x4500
> PCI: device already configured
> rtl-eth0: RTL8169s/8110s Gigabit Ethernet driver 2.2 at 0xb000, 
> 00:14:fd:30:2d:9a
> rtl-eth0: Auto-negotiation Enabled.
> PCI: device already configured
> eth1 found: bus[0] dev[2] base[b100]
> rtl-eth1: RTL8169s/8110s Gigabit Ethernet driver 2.2 at 0xb100, 
> 00:14:fd:30:2d:9b
> Ethernet rtl-eth0: MAC address 00:14:fd:30:2d:9a
> IP: 192.168.1.100/255.255.255.0, Gateway: 0.0.0.0
> Default server: 0.0.0.0, DNS server IP: 0.0.0.0
> 
> RedBoot(tm) bootstrap and debug environment [ROM]
> Red Hat certified release, version 1.93 - built 17:25:00, Feb  6 2007
> 
> Platform: THECUS N2100 (IOP80219)
> Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
> 
> RAM: 0x-0x2000, 0x0004b890-0x1ffd1000 available, total: 512 MB
> FLASH: 0xf000 - 0xf100, 128 blocks of 0x0002 bytes each.
> == Executing boot script in 3.000 seconds - enter ^C to abort
> 
> == Executing boot script in 3.000 seconds - enter ^C to abort
> 
> == Executing boot script in 3.000 seconds - enter ^C to abort
> 
> == Executing boot script in 3.000 seconds - enter ^C to abort
> 
> == Executing boot script in 3.000 seconds - enter ^C to abort
> 
> == Executing boot script in 3.000 seconds - enter ^C to abort
> 
> == Executing boot script in 2.710 seconds - enter ^C to abort
> 
> == Executing boot script in 2.380 seconds - enter ^C to abort
> ^C
> RedBoot> thecus_setip
> RedBoot> fis load ramdisk
> RedBoot> fis load kernel
> RedBoot> exec -c "console=ttyS0,115200 root=/dev/ram0 initrd=0xa080,42M 
> [EMAIL PROTECTED]"
> Build ATAG
> ATAG_MEM: Overwrite ram_end with real_region_top=0x2000, memsize=512 M
> [EMAIL PROTECTED], MACH_TYPE=1101
> Using base address 0x0020 and length 0x0016
> Uncompressing 
> Linux
> [0.00] Linux version 2.6.25-2-iop32x (Debian 2.6.25-7) ([EMAIL 
> PROTECTED]) (gcc version 4.1.3 208
> [0.00] CPU: XScale-80219 [69052e30] revision 0 (ARMv5TE), cr=397f
> [0.00] Machine: Thecus N2100
> [0.00] Memory policy: ECC disabled, Data cache writeback
> [0.00] CPU0: D VIVT undefined 5 cache
> [0.00] CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 
> 32 sets
> [0.00] CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 
> 32 sets
> [0.01] Built 1 zonelists in Zone order, mobility grouping on.  Total 
> pages: 65024
> [0.01] Kernel command line: console=ttyS0,115200 root=/dev/ram0 
> initrd=0xa080,42M mem=256M0
> [0.01] PID hash table entries: 1024 (order: 10, 4096 bytes)
> [0.01] Console: colour dummy device 80x30
> [0.01] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> [0.01] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
> [0.02] Memory: 256MB = 256MB total
> [0.02] Memory: 213760KB available (2584K code, 268K data, 104K init)
> [0.25] Security Framework initialized
> [0.25] SELinux:  Disabled at boot.
> [0.25] Capability LSM initialized
> [0.25] Mount-cache hash table entries: 512
> [0.25] Initializing cgroup subsys ns
> [0.25] Initializing cgroup subsys cpuacct
> [0.25] CPU: Testing write buffer coherency: ok
> [0.25] net_namespace: 540 bytes
> [0.25] NET: Registered protocol family 16
> [0.26] PCI: bus0: Fast b

Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-28 Thread Joost Yervante Damad
On Thursday 28 August 2008 19:39:03 Joost Yervante Damad wrote:
> On Monday 18 August 2008 09:57:16 you wrote:
> > I guess, that you'll need a serial console.
> > Without, you can only guess, where it stuck, like did it access the
> > disks and so...
> >
> > If it gets that far, you probably could check the logs, as it might
> > logged something of interest.
>
> in attachment you can find the console log. It seems to fail to find a
> rootfs...
>
> Joost

Update: if I break into the initramfs, and manually modprobe the correct sata, 
scsi and filesystem modules, I can mount the root filesystem.

I guess the initramfs is somehow broken?

Joost

(initramfs) mount -t ext3 /dev/sda1 /root
[  521.86] kjournald starting.  Commit interval 5 seconds
[  521.87] EXT3 FS on sda1, internal journal
[  521.87] EXT3-fs: mounted filesystem with ordered data mode.
(initramfs) ls -l /root/
drwxr-xr-x2 004096 Aug 17 10:50 bin
...
...

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


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



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-28 Thread Joost Yervante Damad
On Monday 18 August 2008 09:57:16 you wrote:
> I guess, that you'll need a serial console.
> Without, you can only guess, where it stuck, like did it access the
> disks and so...
>
> If it gets that far, you probably could check the logs, as it might
> logged something of interest.

in attachment you can find the console log. It seems to fail to find a 
rootfs...

Joost

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog
RST=No
Transfer to factory test Mode : No
Reset default set:Normal
Thecus: Found PCI device Vendor ID=0x10EC
Vendor0x10ec
Device0x8169
 Allocate cyg_pci_io_base=0x9100
 Allocate cyg_pci_memory_base=0x4100
Thecus: Found PCI device Vendor ID=0x10EC
Vendor0x10ec
Device0x8169
 Allocate cyg_pci_io_base=0x9200
 Allocate cyg_pci_memory_base=0x4200
Thecus: Found PCI device Vendor ID=0x1095
Vendor0x1095
Device0x3512
 Allocate cyg_pci_io_base=0x9208
 Allocate cyg_pci_io_base=0x920c
 Allocate cyg_pci_io_base=0x9218
 Allocate cyg_pci_io_base=0x921c
 Allocate cyg_pci_io_base=0x9230
 Allocate cyg_pci_memory_base=0x4400
Thecus: Found PCI device Vendor ID=0x1106
Thecus: Found PCI device Vendor ID=0x1106
Thecus: Found PCI device Vendor ID=0x1106
Vendor0x1106
Device0x3104
 Allocate cyg_pci_memory_base=0x4500
PCI: device already configured
rtl-eth0: RTL8169s/8110s Gigabit Ethernet driver 2.2 at 0xb000, 
00:14:fd:30:2d:9a
rtl-eth0: Auto-negotiation Enabled.
PCI: device already configured
eth1 found: bus[0] dev[2] base[b100]
rtl-eth1: RTL8169s/8110s Gigabit Ethernet driver 2.2 at 0xb100, 
00:14:fd:30:2d:9b
Ethernet rtl-eth0: MAC address 00:14:fd:30:2d:9a
IP: 192.168.1.100/255.255.255.0, Gateway: 0.0.0.0
Default server: 0.0.0.0, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.93 - built 17:25:00, Feb  6 2007

Platform: THECUS N2100 (IOP80219)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x-0x2000, 0x0004b890-0x1ffd1000 available, total: 512 MB
FLASH: 0xf000 - 0xf100, 128 blocks of 0x0002 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 2.710 seconds - enter ^C to abort

== Executing boot script in 2.380 seconds - enter ^C to abort
^C
RedBoot> thecus_setip
RedBoot> fis load ramdisk
RedBoot> fis load kernel
RedBoot> exec -c "console=ttyS0,115200 root=/dev/ram0 initrd=0xa080,42M 
[EMAIL PROTECTED]"
Build ATAG
ATAG_MEM: Overwrite ram_end with real_region_top=0x2000, memsize=512 M
[EMAIL PROTECTED], MACH_TYPE=1101
Using base address 0x0020 and length 0x0016
Uncompressing 
Linux
[0.00] Linux version 2.6.25-2-iop32x (Debian 2.6.25-7) ([EMAIL 
PROTECTED]) (gcc version 4.1.3 208
[0.00] CPU: XScale-80219 [69052e30] revision 0 (ARMv5TE), cr=397f
[0.00] Machine: Thecus N2100
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] CPU0: D VIVT undefined 5 cache
[0.00] CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 
sets
[0.00] CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 
sets
[0.01] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 65024
[0.01] Kernel command line: console=ttyS0,115200 root=/dev/ram0 
initrd=0xa080,42M mem=256M0
[0.01] PID hash table entries: 1024 (order: 10, 4096 bytes)
[0.01] Console: colour dummy device 80x30
[0.01] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[0.01] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[0.02] Memory: 256MB = 256MB total
[0.02] Memory: 213760KB available (2584K code, 268K data, 104K init)
[0.25] Security Framework initialized
[0.25] SELinux:  Disabled at boot.
[0.25] Capability LSM initialized
[0.25] Mount-cache hash table entries: 512
[0.25] Initializing cgroup subsys ns
[0.25] Initializing cgroup subsys cpuacct
[0.25] CPU: Testing write buffer coherency: ok
[0.25] net_namespace: 540 bytes
[0.25] NET: Registered protocol family 16
[0.26] PCI: bus0: Fast back to back transfers disabled
[0.30] NET: Registered protocol family 2
[0.39] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[0.39] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[0.39] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[0.39] TCP: Hash tables

Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-18 Thread Tobias Frost
I guess, that you'll need a serial console. 
Without, you can only guess, where it stuck, like did it access the
disks and so...

If it gets that far, you probably could check the logs, as it might
logged something of interest.

coldtobi

On Sun, 2008-08-17 at 16:08 +0200, Joost Yervante Damad wrote:
> Hello,
> 
> I upgraded my thecus n2100 this morning. The upgrade seemed to have worked 
> fine:
> 
> > Setting up linux-image-2.6.25-2-iop32x (2.6.25-7) ...
> >
> >  Hmm. The package shipped with a symbolic link
> > /lib/modules/2.6.25-2-iop32x/source However, I can not read the target: No
> > such file or directory
> >  Therefore, I am deleting /lib/modules/2.6.25-2-iop32x/source
> >
> > Running depmod.
> > Finding valid ramdisk creators.
> > Using mkinitramfs-kpkg to build the ramdisk.
> > Not updating initrd symbolic links since we are being updated/reinstalled
> > (2.6.25-6 was configured last, according to dpkg)
> > Not updating image symbolic links since we are being updated/reinstalled
> > (2.6.25-6 was configured last, according to dpkg)
> > Running postinst hook script flash-kernel.
> > Flashing kernel... done.
> > Flashing initramfs... done.
> > Setting up libvolume-id0 (0.125-5) ...
> > Setting up udev (0.125-5) ...
> 
> However, after a reboot it didn't come back. It seems to do some form of 
> booting but it is not reachable via the network.
> 
> I managed to enter redboot via telnet, but am a little at a loss how to boot 
> the installed kernel manually, at least in a way that produces some useful 
> output.
> 
> Any ideas or do I need to add a serial port in order to debug the issue?
> 
> Thanks, Joost Damad
> 
> -- 
> homepage: http://damad.be/joost
> photo/blog: http://damad.be/joost/blog
> 
> 


signature.asc
Description: This is a digitally signed message part


Re: Thecus N2100 could not load module after redboot back to thecus firmware

2008-06-08 Thread Thomas Winter
On Sunday 08 June 2008 20:29, Tobias Frost wrote:
> Redboot again and load the debian installer image. (See my blog
> blog.coldtobi.de for a howto. )
> (If that's what you want. Or do you want to chroot?)

thanks, with debian installer it can install an new system
regards
Thomas


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



Re: Thecus N2100 could not load module after redboot back to thecus firmware

2008-06-08 Thread Tobias Frost
Redboot again and load the debian installer image. (See my blog blog.coldtobi.de
for a howto. )
(If that's what you want. Or do you want to chroot?)

Tobi


On Sun, 2008-06-08 at 18:19 +0200, Thomas Winter wrote:
> Hi,
> after trying to get booted by disk label I lost my box.
> 
> I did redboot and load Thecus firmware.
> Everything fine except that I can not install ssh module.
> In firmware 05 there was after upload only an blank page, in firmware 09 the 
> page showed up but no modules are listed.
> 
> Any idea what happened here and how I get back to debian.
> 
> The box is an ALLNET box and modified to thecus. Without debian ist an brick 
> for me.
> 
> best regards
> Thomas
> 
> 


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



Re: Thecus N2100 lenny kernel and fs

2008-05-30 Thread Ashwin Chaugule

Brilliant ! Thanks guys. Tobias, you're howto worked for me perfectly..

Cheers,
Ashwin

On May 30, 2008, at 3:51 AM, Martin Michlmayr wrote:


* Marc Pignat <[EMAIL PROTECTED]> [2008-05-30 08:11]:

You can get the lenny installer files here:
http://ftp.ch.debian.org/debian/dists/lenny/main/installer-arm/current/images/iop32x/netboot/vmlinuz-2.6.24-1-iop32x
http://ftp.ch.debian.org/debian/dists/lenny/main/installer-arm/current/images/iop32x/netboot/initrd.gz
You can use it to run the installer or a sort of rescue disk


That will work in most cases but not all.  To be exact, it will not
work on Thecus N2100 machines that have a very old firmware.  In the
past N2100 passed a wrong machine ID to the kernel, but Thecus fixed
this later.  The n2100.bin contains a kernel that explicitly sets the
machine ID to N2100 so it will work with any firmware; but the vmlinuz
file you reference doesn't set the machine ID (since it's intended for
all iop32x machines), so it won't boot on N2100 machines with an old
firmware.

So my suggestion is to download
http://ftp.ch.debian.org/debian/dists/lenny/main/installer-arm/current/images/iop32x/netboot/n2100.bin
and follow the unpack instructions Tobias Frost gave.

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


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




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



Re: Thecus N2100 lenny kernel and fs

2008-05-30 Thread Martin Michlmayr
* Marc Pignat <[EMAIL PROTECTED]> [2008-05-30 08:11]:
> You can get the lenny installer files here:
> http://ftp.ch.debian.org/debian/dists/lenny/main/installer-arm/current/images/iop32x/netboot/vmlinuz-2.6.24-1-iop32x
> http://ftp.ch.debian.org/debian/dists/lenny/main/installer-arm/current/images/iop32x/netboot/initrd.gz
> You can use it to run the installer or a sort of rescue disk

That will work in most cases but not all.  To be exact, it will not
work on Thecus N2100 machines that have a very old firmware.  In the
past N2100 passed a wrong machine ID to the kernel, but Thecus fixed
this later.  The n2100.bin contains a kernel that explicitly sets the
machine ID to N2100 so it will work with any firmware; but the vmlinuz
file you reference doesn't set the machine ID (since it's intended for
all iop32x machines), so it won't boot on N2100 machines with an old
firmware.

So my suggestion is to download
http://ftp.ch.debian.org/debian/dists/lenny/main/installer-arm/current/images/iop32x/netboot/n2100.bin
and follow the unpack instructions Tobias Frost gave.

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


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



Re: Thecus N2100 lenny kernel and fs

2008-05-29 Thread Tobias Frost
You can extract the files out of the debian-installer "image".
I wrote a howto some time ago:
http://blog.coldtobi.de/1_coldtobis_blog/archive/188_thecus_n2100_testing_a_kernel_prior_flashing.html

Tobi

On Thu, 2008-05-29 at 17:36 -0700, Ashwin Chaugule wrote:
> Could anyone mail me the Lenny kernel and initrd for the Thecus N2100 ?
> I have one of those boxes with me, but its already been opened up so I  
> cant follow the conventional procedure to upgrade it, instead we plan  
> to do the upgrade through Redboot itself.
> I'd appreciate your help with this.
> 
> Cheers,
> Ashwin
> 
> 



signature.asc
Description: This is a digitally signed message part


Re: Thecus N2100 lenny kernel and fs

2008-05-29 Thread Marc Pignat
Hi!

You can get the lenny installer files here:
http://ftp.ch.debian.org/debian/dists/lenny/main/installer-arm/current/images/iop32x/netboot/vmlinuz-2.6.24-1-iop32x
http://ftp.ch.debian.org/debian/dists/lenny/main/installer-arm/current/images/iop32x/netboot/initrd.gz

You can use it to run the installer or a sort of rescue disk

Best regards

Marc


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



Re: Thecus N2100 - problems after flashing

2008-01-09 Thread Salvatore Iovene
On Wed, Jan 09, 2008 at 06:10:18PM +0100, Martin Michlmayr wrote:
> * Salvatore Iovene <[EMAIL PROTECTED]> [2008-01-09 09:31]:
> > Hi, and thanks for the answer. After all everything turned out to be
> > fine. It seems that the Thecus leased a DHCP address after all, and I
> > just insisted on probin 192.168.1.100. :)
> 
> This is documented: "If you have used a static configuration different
> from the default address 192.168.1.100, these values will be used.
> Otherwise, the installer will ask a DHCP server in your network for an
> IP configuration."
> 
> However, if you read other messages posted to debian-arm in the last
> few days you'll see a discussion about whether the current behaviour
> is a good idea.

Indeed it's documented, even tho at first sight I just thought that if
I had a static address, that will be used. But it actually is "a static
address different from 192.168.1.100".

I agree that this should be changed to a more intuitive way: if the
original fw had a static address, then keep it (whatever be it). If it
had dhcp, then do dhcp. At least that's what I expected. I was so sure
that I even went to buy a soldering gun and after a night sleep I
figured that maybe it used dhcp so I went to check the leases on the
dhcp server.

-- 
Salvatore Iovene
http://www.iovene.com/


signature.asc
Description: Digital signature


Re: Thecus N2100 - problems after flashing

2008-01-09 Thread Martin Michlmayr
* Salvatore Iovene <[EMAIL PROTECTED]> [2008-01-09 09:31]:
> Hi, and thanks for the answer. After all everything turned out to be
> fine. It seems that the Thecus leased a DHCP address after all, and I
> just insisted on probin 192.168.1.100. :)

This is documented: "If you have used a static configuration different
from the default address 192.168.1.100, these values will be used.
Otherwise, the installer will ask a DHCP server in your network for an
IP configuration."

However, if you read other messages posted to debian-arm in the last
few days you'll see a discussion about whether the current behaviour
is a good idea.

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


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



Re: Thecus N2100 - problems after flashing

2008-01-08 Thread Salvatore Iovene
On Tue, Jan 08, 2008 at 06:45:04PM +, Martin Guy wrote:
> 2008/1/8, Salvatore Iovene <[EMAIL PROTECTED]>:
> > I booted it up with no HD inside, the FW was 2.1.0. Silly me, I decided
> > that I didn't need to upgrade to 2.1.5 to have an IP address in RedBoot,
> >
> > Is there anything left to do or do I just have to start soldering?
> 
> You can still talk to redboot via the serial port. If, like mine, the
> serial port connector was not supplied you can still use it without
> soldering if you wrench 3 serial port-type square gold pins off a dead
> motherboard, clean them up and poke the soldery ends into pins 2, 3
> and 5 of the right type of DB9-to-2x5 connector: the sort where the
> wires are awkwardly crossed over inside the plug shell so that pins
> numbered 1-9 go to pins 1-9. You can then fit this into the serial
> connector holes on the HD connector riser board without having to
> solder anything.
> 
> Good luck!

Hi, and thanks for the answer. After all everything turned out to be
fine. It seems that the Thecus leased a DHCP address after all, and I
just insisted on probin 192.168.1.100. :)

Now I'm in the middle of the installation.

-- 
Salvatore Iovene
http://www.iovene.com/


signature.asc
Description: Digital signature


Re: Thecus N2100

2007-12-06 Thread Stefan Fritsch
> * Stefan Fritsch <[EMAIL PROTECTED]> [2007-12-05 17:23]:
>> The 2.6.23-1 changelog has:
>>   * [arm/iop32x] Enable Intel IOP ADMA support.
>>
>> Does this mean that 2.6.23-1 is known to corrupt data?
>
> No, the feature listed above doesn't corrupt data, but also doesn't
> help with hard drive performance.  The patch that helps with hard
> drive performance is POLLED_DMA_COPY_USER ("Perform copy_to_user with
> a DMA engine (polled)"), which is not in 2.6.23-1.

Ok, thanks for the clarification. Then I will try 2.6.23-1 because of the
rtl8169 bugfix.

Cheers,
Stefan


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



Re: Thecus N2100

2007-12-05 Thread Martin Michlmayr
* Stefan Fritsch <[EMAIL PROTECTED]> [2007-12-05 17:23]:
> The 2.6.23-1 changelog has:
>   * [arm/iop32x] Enable Intel IOP ADMA support.
> 
> Does this mean that 2.6.23-1 is known to corrupt data?

No, the feature listed above doesn't corrupt data, but also doesn't
help with hard drive performance.  The patch that helps with hard
drive performance is POLLED_DMA_COPY_USER ("Perform copy_to_user with
a DMA engine (polled)"), which is not in 2.6.23-1.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus N2100

2007-12-05 Thread Stefan Fritsch
On Friday 30 November 2007, Martin Michlmayr wrote:
> > > what is the status of the serial ata speed on the N2100? Did
> > > the changes of the intel people solve the problem? If so, which
> > > kernel version do i need and which patches?
> >
> > Intel send me a proposed patch for the problem I've been seeing
> > with their original solution and I'm currently building a test
> > kernel.
>
> ... the new version worked for me on a N2100 and I wanted to add it
> to our next kernel release.  Unfortunately, Gordon Farquharson
> found yesterday that the patch leads to data corruption on GLAN
> Tank (another IOP32x based device) so I'll pull the patch out
> again. --

The 2.6.23-1 changelog has:

  * [arm/iop32x] Enable Intel IOP ADMA support.

Does this mean that 2.6.23-1 is known to corrupt data?

TIA

Cheers,
Stefan


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



Re: Thecus N2100

2007-11-30 Thread Martin Michlmayr
* Martin Michlmayr <[EMAIL PROTECTED]> [2007-11-21 10:04]:
> > what is the status of the serial ata speed on the N2100? Did the
> > changes of the intel people solve the problem? If so, which kernel
> > version do i need and which patches?
> Intel send me a proposed patch for the problem I've been seeing with
> their original solution and I'm currently building a test kernel.

... the new version worked for me on a N2100 and I wanted to add it to
our next kernel release.  Unfortunately, Gordon Farquharson found
yesterday that the patch leads to data corruption on GLAN Tank
(another IOP32x based device) so I'll pull the patch out again.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus N2100 ARM eabi install problems

2007-11-27 Thread Aurelien Jarno
Colin Tuckley a écrit :
> Lennert Buytenhek wrote:
> 
>> There are two name servers for gnuab.org, both of which seem to
>> be not working.
> 
> Thanks for the info.
> 
> Does anyone know when the name servers will be back?
> 
> Is it possible to use an IP in the installer - and if so what is the correct
> one?

I don't know if it is possible or not, but as the machine hosting the
repository is the same as the one which hosts the DNS, that won't work
either.

I guess you can try to use a mirror instead. See:
http://wiki.debian.org/Debian_GNU/kFreeBSD_Mirrors


-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


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



Re: Thecus N2100 ARM eabi install problems

2007-11-27 Thread Aurelien Jarno
Lennert Buytenhek a écrit :
> On Mon, Nov 26, 2007 at 01:17:48PM +, Colin Tuckley wrote:
> 
>> However when I try to run this it is offering ftp.gnuab.org as the
>> default mirror to use.
>>
>> Unfortunately it can't connect to this and neither can I from a browser.
> 
> There are two name servers for gnuab.org, both of which seem to
> be not working.
> 

This is unfortunately not a DNS problem, the host itself is down.

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


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



Re: Thecus N2100 ARM eabi install problems

2007-11-26 Thread Colin Tuckley
Lennert Buytenhek wrote:

> There are two name servers for gnuab.org, both of which seem to
> be not working.

Thanks for the info.

Does anyone know when the name servers will be back?

Is it possible to use an IP in the installer - and if so what is the correct
one?

Colin

-- 
Colin Tuckley  |  [EMAIL PROTECTED]  |  PGP/GnuPG Key Id
+44(0)1903 236872  |  +44(0)7799 143369  | 0x1B3045CE

Good advice is something a man gives when he is too old to set a bad
example. - La Rochefoucaud


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



Re: Thecus N2100 ARM eabi install problems

2007-11-26 Thread Lennert Buytenhek
On Mon, Nov 26, 2007 at 01:17:48PM +, Colin Tuckley wrote:

> However when I try to run this it is offering ftp.gnuab.org as the
> default mirror to use.
> 
> Unfortunately it can't connect to this and neither can I from a browser.

There are two name servers for gnuab.org, both of which seem to
be not working.

The first one (ns1.hadrons.org) is not configured to serve as
secondary DNS for the domain:

$ host -v gnuab.org 82.181.199.92
Trying "gnuab.org"
Using domain server:
Name: 82.181.199.92
Address: 82.181.199.92#53
Aliases: 

Host gnuab.org not found: 5(REFUSED)
Received 27 bytes from 82.181.199.92#53 in 48 ms
$


The second one fell off the net:

$ host -v gnuab.org 158.109.64.148
Trying "gnuab.org"
;; connection timed out; no servers could be reached
$ 


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



Re: Thecus N2100

2007-11-21 Thread Martin Michlmayr
* Michael Lantzen <[EMAIL PROTECTED]> [2007-11-20 17:32]:
> what is the status of the serial ata speed on the N2100? Did the
> changes of the intel people solve the problem? If so, which kernel
> version do i need and which patches?

Intel send me a proposed patch for the problem I've been seeing with
their original solution and I'm currently building a test kernel.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus N2100 / DMA

2007-10-18 Thread Martin Michlmayr
* Michael Lantzen <[EMAIL PROTECTED]> [2007-10-18 19:23]:
> So my only option for a fast and stable N2100 at the moment would be
> the original firmware/kernel?

At the moment, yes.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus N2100 / DMA

2007-10-18 Thread Michael Lantzen


Martin Michlmayr schrieb:

* Michael Lantzen <[EMAIL PROTECTED]> [2007-10-18 19:10]:
  

ist there any way at the moment to get the sata / dma working on a
N2100?  If the patches are needed, where do i get them from or do
they make the system unstable? Michael metioned a problem but did
not mention what the problem is.



You can obtain them from http://prdownloads.sourceforge.net/xscaleiop/
but, yes, they will make the system unstable so I wouldn't recommend
it.  The problem is that various processes will start to hang, e.g.
ssh.
  
So my only option for a fast and stable N2100 at the moment would be the 
original firmware/kernel?



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



Re: Thecus N2100 / DMA

2007-10-18 Thread Martin Michlmayr
* Michael Lantzen <[EMAIL PROTECTED]> [2007-10-18 19:10]:
> ist there any way at the moment to get the sata / dma working on a
> N2100?  If the patches are needed, where do i get them from or do
> they make the system unstable? Michael metioned a problem but did
> not mention what the problem is.

You can obtain them from http://prdownloads.sourceforge.net/xscaleiop/
but, yes, they will make the system unstable so I wouldn't recommend
it.  The problem is that various processes will start to hang, e.g.
ssh.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Thecus n2100 / Allnet ALL6500

2006-06-01 Thread David Karlström
On To, 2006-06-01, 22:54, Richard Atterer skrev:
> On Thu, Jun 01, 2006 at 10:16:06PM +0200, David Karlström wrote:
>> http://david.thg.se/n2100/
>
> Yeah, great work, thanks! :-)
>
> But I guess that you _will_ have to reprogram the flash to boot into
> Debian
> without another machine on the serial port, right? Or does Redboot allow a
> simple way of changing the boot settings?

You can change the bootscript from Redboot:

RedBoot> fconfig
Run script at boot: true
Boot script:
.. fis load ramdisk
.. fis load kernel
.. exec
Enter script, terminate with empty line
>> load vmlinux -b 0x0020
>> exec -c "console=ttyS0,115200 root=/dev/sda1 [EMAIL PROTECTED]"
>>
Boot script timeout (1000ms resolution): 5
Use BOOTP for network configuration: false
Gateway IP address:
Local IP address: 192.168.0.7
Local IP address mask: 255.255.0.0
Default server IP address: 192.168.0.6
Console baud rate: 115200
DNS server IP address:
GDB connection port: 9000
HW Status: 0
Force console for special debug messages: false
MAC address: 0x00:0x14:0xFD:0x10:0x1A:0x32
MAC address 2: 0x00:0x14:0xFD:0x10:0x1A:0x33
Network debug at boot time: false
Reset default:
Serial number: N2100
... Unlock from 0xf0fc-0xf0fc1000: .
... Erase from 0xf0fc-0xf0fc1000: .
... Program from 0x1ffd2000-0x1ffd3000 at 0xf0fc: .
... Lock from 0xf0fc-0xf0fc1000: .
RedBoot>

It will fill in the current settings, so its just enter on most of the lines.


Flashing the kernel to flash shouldn't be a problem. But if you screw
up... havn't found the JTAG yet...

/David


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



Re: Thecus n2100 / Allnet ALL6500

2006-06-01 Thread Richard Atterer
On Thu, Jun 01, 2006 at 10:16:06PM +0200, David Karlström wrote:
> http://david.thg.se/n2100/

Yeah, great work, thanks! :-)

But I guess that you _will_ have to reprogram the flash to boot into Debian 
without another machine on the serial port, right? Or does Redboot allow a 
simple way of changing the boot settings?

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer |  GnuPG key: 888354F7
  | \/¯|  http://atterer.net  |  08A9 7B7D 3D13 3EF2 3D25  D157 79E6 F6DC 8883 
54F7
  ¯ '` ¯


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



Re: Thecus n2100 / Allnet ALL6500

2006-06-01 Thread David Karlström
On To, 2006-06-01, 22:11, Martin Michlmayr skrev:
> * David Karlström <[EMAIL PROTECTED]> [2006-06-01 22:16]:
>> I recently got my hands on a Thecus n2100 (600Mhz arm network storage
>> device).
>>
>> Lots of things to do, so.. is there anyone out there with an n2100
>> wanting
>> to help me on this?
>
> That's great!  Do you intend to add debian-installer support for this
> machine?  I can help you get it integrated but I don't have such a
> machine myself so I cannot test it.

It's one of my goals (in the TODO actually), I probably need to clean up
the patches for the kernel first, and fixing the software controlled fan
wouldn't hurt.

I havn't got the patches up on the web yet, but it will get there in a day
or two.

I'm usually in #debian-arm, but usually afk too.


/David


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



Re: Thecus n2100 / Allnet ALL6500

2006-06-01 Thread Martin Michlmayr
* David Karlström <[EMAIL PROTECTED]> [2006-06-01 22:16]:
> I recently got my hands on a Thecus n2100 (600Mhz arm network storage
> device).
> 
> Lots of things to do, so.. is there anyone out there with an n2100 wanting
> to help me on this?

That's great!  Do you intend to add debian-installer support for this
machine?  I can help you get it integrated but I don't have such a
machine myself so I cannot test it.
-- 
Martin Michlmayr
http://www.cyrius.com/


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