Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Billingham <richard@billingham.co.uk>
To: <axp-list@redhat.com>
Subject: Re: Porting siocons to Alpha
Date: Tue, 7 Jan 2003 23:27:06 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.4.33.0301072314430.1299-100000@huygens.demon.co.uk> (raw)
In-Reply-To: <20030106110321.A22763@linux04.mro.cpqcorp.net>

On Mon, 6 Jan 2003, Jay Estabrook wrote:

> When you say "hangs", do you mean the "siocons" program itself, the
> playstation, or both?

hello Jay.

the siocons program seems to hang during the transfer, the playstation
indicates that the transfer is 'done'. both the address and size reported
by the playstation are erroneous.

>
> >From a cursory look, the program appears to have two parts: the
> file-reading part (ecoff.c), and the downloading part (the rest).
>
> Do you know if the file-reading part works correctly? What I mean is,
> can you determine if the ecoff binary is read correctly by the code, and
> set-up correctly to be downloaded. If it IS, then you know that the
> problem is in the downloading...
>
>  --Jay++

while having a poke around with some rudimentary reporting, to try to
figure out if the size was being calculated wrongly i inserted a line in
handshake_send from file.c :

	/* write */
	if ((n = write(ps_fd, &dat, 1)) < 0)
	        perror("write");
	fprintf(stderr, "Writing: [%08x]", &dat); <-- inserted line
	return n;

this seemed to affect the size the playstation was reporting. the first
time i tried it the transfer worked and the game loaded correctly, however
on subsequent tries the transfer aborted with a 'sync error'. i'm guessing
i've stumbled on a time-critical portion of the code? redirecting the rest
of the output to /dev/null got the transfers working again.

i've tried the program with a few other transfers and they are hit and
miss - sometimes they work, sometimes they don't. curiouser and curiouser!

is there some difference in the timings between the intel/alpha platforms
that would affect the transfer?

Regards,

Richard.




  reply	other threads:[~2003-01-07 23:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 19:46 raid 1 and nfs Nelson Brito
2003-01-03 20:59 ` James Fowler
2003-01-04  5:55 ` Maurice Hilarius
2003-01-05 17:53 ` Porting siocons to Alpha Richard Billingham
2003-01-05 20:06   ` Falk Hueffner
2003-01-06 16:03   ` Jay Estabrook
2003-01-07 23:27     ` Richard Billingham [this message]
2003-01-08  2:04   ` Stiring the Alpha pot William H. Magill
2003-01-08  3:27     ` Michael Huntingdon
2003-01-08  5:37       ` axp
2003-01-08 17:55         ` William H. Magill
2003-01-08 19:34           ` Ted Goodridge, Jr
2003-01-08 20:28             ` Ted Goodridge, Jr
2003-01-09  0:38           ` Maurice Hilarius
2003-01-16 21:35       ` WWID vs UUID William H. Magill
  -- strict thread matches above, loose matches on Subject: below --
2003-01-05 18:09 Porting siocons to Alpha Robert M. Riches Jr.
2003-01-06  1:01 ` Richard Billingham
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox