[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[jbailey@raspberryginger.com: Re: Sparc netboot]



I forgot to cc: debian-sparc, wups!

We're really really close.  The summary is that it boots with the
tftpboot image, but we get a bus error.  Thomas has a workaround for
that.

tilo is broken with the following error:

376600 TILO
Selecting sun4u kernel...
Illegal Instruction

So I've worked around it using piggyback instead.  After tonight's
automatic upload, there should be stuff in
http://people.debian.org/~jbailey/d-i/sparc/daily that works as I've
described below.

Have a lovely weekend!

----- Forwarded message from Jeff Bailey <jbailey@raspberryginger.com> -----

Old-Return-Path: <jbailey@raspberryginger.com>
X-Original-To: debian-boot@lists.debian.org
From: Jeff Bailey <jbailey@raspberryginger.com>
To: Thomas Poindessous <thomas@poindessous.com>
Cc: debian-boot@lists.debian.org
Subject: Re: Sparc netboot
X-EMSscan-MailScanner: Found to be clean, Found to be clean
X-EMSscan-MailScanner-SpamCheck: not spam, SpamAssassin (score=-9.009,
	required 5, BAYES_00 -4.90, USER_AGENT_MUTT -4.11), not spam, SpamAssassin (score=-9.009,
	required 5, BAYES_00 -4.90, USER_AGENT_MUTT -4.11)
X-Spam-Checker-Version: SpamAssassin 2.60-lists.debian.org_2003_12_03 
	(1.212-2003-09-23-exp) on murphy.debian.org
X-Spam-Status: No, hits=-1.0 required=4.0 tests=LDOSUBSCRIBER autolearn=no 
	version=2.60-lists.debian.org_2003_12_03
X-Spam-Level: 
Resent-Message-ID: <w5p5eD.A.A9.y2VLAB@murphy>
Resent-From: debian-boot@lists.debian.org
X-Mailing-List: <debian-boot@lists.debian.org> archive/latest/53216
List-Id: <debian-boot.lists.debian.org>
List-Post: <mailto:debian-boot@lists.debian.org>
List-Help: <mailto:debian-boot-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-boot-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-boot-request@lists.debian.org?subject=unsubscribe>
List-Archive: <http://lists.debian.org/debian-boot/>
Resent-Sender: debian-boot-request@lists.debian.org
Resent-Date: Fri, 13 Feb 2004 17:28:51 -0600 (CST)

(added debian-boot to the cc: list)

Thomas,

Blargh.  My machine won't let me do a netboot for my final test.  Ah
well.  It has problems synchronising with the hub sometimes and I have
to run to meet my wife for dinner.

unifont.bgf is generated based on what's needed.  I don't understand why
they should be that much different - much less why the cdrom one is
*smaller*.

If you want to play with what I've got, apply this patch to tftpboot:

RCS file: /cvsroot/d-i/debian-installer/build/tftpboot.sh,v
retrieving revision 1.8
diff -u -p -r1.8 tftpboot.sh
--- tftpboot.sh 9 Feb 2004 00:38:54 -0000       1.8
+++ tftpboot.sh 13 Feb 2004 23:18:43 -0000
@@ -62,7 +62,7 @@ case "$arch" in
     sparc)
        elftoaout -o $tftpimage $tftpimage.tmp
        case $tftpimage in
-           *sun4u*) piggyback=piggyback64 ;;
+           *sparc64*) piggyback=piggyback64 ;;
            *) piggyback=piggyback ;;
        esac
        # Piggyback appends the ramdisk to the a.out image in-place

And grab http://people.debian.org/~jbailey/config.tgz - I've changed
almost everything in the sparc section.

Particularily:

I'm generating separate tftpboot images for sparc32 and sparc64 using
tftpboot.sh until tilo works properly again.

I've started generating the miniiso bits that ths says are The Way Of
The Future.

The generated image in dest/sparc64/netboot actually will run as well as
anything else has so far.  If you do a:

boot net init=/bin/sh

You can walk around the filesystem and see that it's all there, run
things, etc.

I'll be away from my Sparc all weekend, so hopefully this will help
other people.  I'd like to commit what I have for the config/ tree, but
I want a couple more people to look at it first.

For those who want to play along, my nightly snapshot for Sparc will
include this patch.

Tks,
Jeff Bailey

On Fri, Feb 13, 2004 at 09:01:15PM +0100, Thomas Poindessous wrote:
> Hi,
> 
> about the problem with the "bus error", I think it's coming from the
> file unifont.bgf
> it's the only file which is different between the two initrd.
> 
> I did that :
> 
> mount -o loop initrd-netboot /mnt
> cp -a /mmt/ /tmp/new/
> cp unifont-cdrom.bgf /tmp/new
> genromfs -f initrd.netboot -d /tmp/new/
> 
> and this initrd works !
> 
> I will try to find why, but since I must leave for 3h, I thought you
> would be interessed.
> 
> -- 
> Thomas Poindessous


-- 
To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

----- End forwarded message -----



Reply to: