Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-14 Thread John Winters

John Winters wrote:
[snip]
Thank you for your very complete replies.  I believe what I need to do 
now is:


1) Unpack the Thecus firmware (done that)
2) Interrupt redboot with telnet
3) Suck a couple of files over with tftp
4) Boot into the Thecus firmware
5) Do an upgrade again, but this time with the official installer image


Apologies for replying to myself, but can I do it an even shorter way? 
Rather than sucking the Thecus firmware over by tftp and then running 
it, is it not possible to suck the Debian installer components over and 
run those?


I've unpacked n2100.bin and it contains:

-rw-r--r-- 1 john john 3806701 2007-06-15 22:09 initrd
-rwxr-xr-x 1 john john2382 2007-06-15 22:09 up.sh
-rw-r--r-- 1 john john   6 2007-06-15 22:09 version
-rw-r--r-- 1 john john 1172036 2007-06-15 22:09 vmlinuz

Presumably it is theoretically possible to just pull those into memory 
and set them running - or have I missed something?


TIA,
John


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-14 Thread Martin Michlmayr
* John Winters [EMAIL PROTECTED] [2007-12-14 07:06]:
 How does one actually tell the installer to switch into expert mode?
 There didn't seem to be an option with the el installer - although
 of course it did it once partman had failed.

You're not asked by default what mode you want to do, so there are two
options:

1) just run the installation until base install fails to start the
kernel.  The error will put you into expert mode.  Then run base
install again and you can choose the kernel.

2) at some point during the install (e.g. when partman has started),
choose the go back option to go to the menu.  In the menu you'll see
an entry like Change debconf priority (it's towards the end) - do
that and choose high and then continue.

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


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-14 Thread John Winters

John Winters wrote:

Martin Michlmayr wrote:

* John Winters [EMAIL PROTECTED] [2007-12-13 16:43]:
http://people.debian.org/~joeyh/d-i/armel/images/daily/iop32x/netboot/n2100.bin 

disc OK, but then partman exits part way through starting up.  It 
gets as far as 58% in its startup progress bar and just exits.

[snip]

Anyway, assuming you upgraded RedBoot before trying to install Debian,
you can use the instructions from
http://www.cyrius.com/debian/iop/n2100/telnet.html to load the
installer image of Debian stable (etch) of arm.


I did - or at least I upgraded the Thecus firmware to 2.1.05 which I 
believe does that job.


Thank you for your very complete replies.  I believe what I need to do 
now is:


1) Unpack the Thecus firmware (done that)
2) Interrupt redboot with telnet


More replying to myself I'm afraid.  I've got stuck trying to do step 2.

The instructions for interrupting redboot say to use:

arping -f 192.168.1.100  telnet 192.168.1.100 9000

Unfortunately the current version of arping (2.06) doesn't understand a 
-f option and I can't find one which does - I presume it would tell 
arping to exit after receiving one reply.  It doesn't seem to be 
possible to emulate it either.


Is there another way of getting into the telnet session?  I've tried 
doing it manually but the window of opportunity seems to be exceedingly 
short.


John


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-14 Thread Martin Michlmayr
* Martin Michlmayr [EMAIL PROTECTED] [2007-12-14 07:28]:
 1) just run the installation until base install fails to start the

fails to install, sorry.

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


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-14 Thread Martin Michlmayr
* John Winters [EMAIL PROTECTED] [2007-12-14 08:45]:
 Presumably it is theoretically possible to just pull those into
 memory and set them running - or have I missed something?

Yes, that's exactly what I meant.  Sorry for not being clear.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-13 Thread Colin Tuckley
John Winters wrote:
 I've just sourced an Evesham re-badged Thecus 2100 and would like to
 upgrade it to a full Debian installation.  I've previously done the same
 with an NSLU2, but am interested in the potential extra speed of the
 Thecus.

I did this recently using the new ARM EABI/arml port, I used the info at:

http://www.cyrius.com/debian/iop/n2100/install.html

and the Debian installer at:

http://people.debian.org/~joeyh/d-i/armel/images/daily/iop32x/netboot/n2100.bin

which points to the old gnuab repro but you get the chance to change that
during the install. So I used the miror at:

http://ftp.easynet.be/ftp/gnuab/debian

you should be able to use debian-ports.org now, it went pretty much the way
the instructions say.

Colin

-- 
Colin Tuckley  |  +44(0)1903 236872  |  PGP/GnuPG Key Id
Debian Developer   |  +44(0)7799 143369  | 0x1B3045CE

Try to learn from other people's mistakes, you haven't time to make them all
yourself! - Anon


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-13 Thread John Winters

Colin Tuckley wrote:

John Winters wrote:

I've just sourced an Evesham re-badged Thecus 2100 and would like to
upgrade it to a full Debian installation.  I've previously done the same
with an NSLU2, but am interested in the potential extra speed of the
Thecus.


I did this recently using the new ARM EABI/arml port, I used the info at:

http://www.cyrius.com/debian/iop/n2100/install.html

and the Debian installer at:

http://people.debian.org/~joeyh/d-i/armel/images/daily/iop32x/netboot/n2100.bin

which points to the old gnuab repro but you get the chance to change that
during the install. So I used the miror at:

http://ftp.easynet.be/ftp/gnuab/debian


Thanks for the response.  I've taken my courage in both hands and 
started the process but I get stuck at the disk partitioning stage.  It 
detects the disc OK, but then partman exits part way through starting 
up.  It gets as far as 58% in its startup progress bar and just exits.


/var/log/partman contains:

parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 15
parted_server: Opening infifo
Device: yes
Model: ATA ST3500630AS
Path: /dev/scsi/host0/bus0/target0/lun0/disc
Sector size: 512
Sectors: 976773168
Sectors/track: 63
Heads: 255
Cylinders: 60801
Partition table: no
/bin/partman: IN: QUIT
parted_server: Read command: QUIT
parted_server: Quitting

and the syslog file contains:

Dec 13 16:39:58 kernel: program partmap is using a deprecated SCSI 
ioctl, please convert it to SG_IO


Any idea why partman won't do its bit?

TIA,
John


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-13 Thread Martin Michlmayr
* John Winters [EMAIL PROTECTED] [2007-12-13 14:13]:
 As I understand it, you select expert mode (or set the message
 priority to low) and then give the name of the right kernel to
 install at the relevant point, but I can't find documented anywhere
 what the name of the right kernel is.  Can anyone tell me?

2.6.18-5-iop32x

 If you get it wrong at this point do you have a brick, or is there a
 recovery route?

If you get it wrong at this point, debian-installer will still be in
flash so you can start all over.

 I currently have access to the box by way of the ssh backdoor.  Am I
 right in thinking that once I've upgraded to the current Thecus
 firmware I'll lose this back door?  Is there any other way in then?

I'm not too familiar with the Thecus firmware, but I believe you're
right.  There should be a module available for SSH access, though.
Have you checked http://onbeat.dk/thecus/index.php/N2100_Resources

Anyway, why do care about this anyway?  You could just upgrade to the
latest firmware right before installing Debian, and Debian will remove
the original Thecus firmware from flash anyway, so it doesn't matter
whether it supports SSH or not. :)
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-13 Thread Martin Michlmayr
* John Winters [EMAIL PROTECTED] [2007-12-13 16:43]:
 http://people.debian.org/~joeyh/d-i/armel/images/daily/iop32x/netboot/n2100.bin
 disc OK, but then partman exits part way through starting up.  It gets as 
 far as 58% in its startup progress bar and just exits.

I assume you used the URL above to install, rather the official
image of Debian stable?  The image above is an unstable image from
July and given the recent changes in d-i I wouldn't be surprised it's
no longer working...

armel guys, can you please stop pimping your daily images to everyone.
John didn't actually ask for armel images, did he?

John: there are two ports of Debian for ARM: the arm port, which is a
well established and supported port, and for which images are
available of Debian stable (etch).  They are known to work.  Then
there's armel, the future of Linux on ARM, which is still in
development, and not advised for users unless they really need armel
(it offers better FP speed than the old arm port).

 Partition table: no
 /bin/partman: IN: QUIT
 parted_server: Read command: QUIT
 parted_server: Quitting

I'm not too fimilar with partman but can you send this log to
[EMAIL PROTECTED]  Frans Pop made some major changes to
partman recently (i.e. in the last few days) so it's possible that
something broke. (Yes, I said before that the image you used is from
July but partman is being pulled in via the net from a mirror.)

 and the syslog file contains:

 Dec 13 16:39:58 kernel: program partmap is using a deprecated SCSI
 ioctl, please convert it to SG_IO

This is normal - it's not the cause of the problem.

Anyway, assuming you upgraded RedBoot before trying to install Debian,
you can use the instructions from
http://www.cyrius.com/debian/iop/n2100/telnet.html to load the
installer image of Debian stable (etch) of arm.

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


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



Re: Two questions about installing Debian on a Thecus 2100 (-a-like)

2007-12-13 Thread John Winters

Martin Michlmayr wrote:

* John Winters [EMAIL PROTECTED] [2007-12-13 16:43]:

http://people.debian.org/~joeyh/d-i/armel/images/daily/iop32x/netboot/n2100.bin
disc OK, but then partman exits part way through starting up.  It gets as 
far as 58% in its startup progress bar and just exits.

[snip]

Anyway, assuming you upgraded RedBoot before trying to install Debian,
you can use the instructions from
http://www.cyrius.com/debian/iop/n2100/telnet.html to load the
installer image of Debian stable (etch) of arm.


I did - or at least I upgraded the Thecus firmware to 2.1.05 which I 
believe does that job.


Thank you for your very complete replies.  I believe what I need to do 
now is:


1) Unpack the Thecus firmware (done that)
2) Interrupt redboot with telnet
3) Suck a couple of files over with tftp
4) Boot into the Thecus firmware
5) Do an upgrade again, but this time with the official installer image

I'm assuming I don't actually need to flash the Thecus firmware in again?

How does one actually tell the installer to switch into expert mode? 
There didn't seem to be an option with the el installer - although of 
course it did it once partman had failed.


Thanks again for your help.

John





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