All of lore.kernel.org
 help / color / mirror / Atom feed
* [CALL FOR TESTERS] pre-release of silo 0.7.3
@ 1998-08-11 12:52 Jakub Jelinek
  1998-08-11 22:39 ` Kevin Milans
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jakub Jelinek @ 1998-08-11 12:52 UTC (permalink / raw)
  To: ultralinux

Hi!

I've put a pre-release of SILO 0.7.3 to
ftp://ultra.linux.cz/OS/Linux/Sparc/local/silo/testing/silo-pre0.7.3-1.tgz
I've welcome any feedback on it.
I haven't been able to test this on any 32bit SPARC, so please be careful
(make sure you have a running tftp server close to you with your kernel).

This release should remove the 2.5MB limit from sparc64 kernels by
dynamically relocating silo second stage loader if enough memory is found.
Also, I have tried to incorporate some of the changes a couple of people
wanted (I think mostly for sun4c with newer PROM).

There is still no support for sun4, although I started looking into it. I
think it is doable, but I'll need some way how to test it, know what
configurations should I support (if only SBUS based are enough, or if I need
to support VME based machines as well).

Also, this code should be compilable even with most recent linux ufs
headers, I hope both under libc5 and glibc. Tell me if I'm wrong.

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.115 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [CALL FOR TESTERS] pre-release of silo 0.7.3
  1998-08-11 12:52 [CALL FOR TESTERS] pre-release of silo 0.7.3 Jakub Jelinek
@ 1998-08-11 22:39 ` Kevin Milans
  1998-08-12 12:52 ` Korey O'Dell
  1998-08-12 17:20 ` Michael Mraka
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Milans @ 1998-08-11 22:39 UTC (permalink / raw)
  To: ultralinux

Hello,

	I tested what I could from the pre-release.  My environment is a
sun4c running linux 2.1.115.

	The first problem was an undefined reference to S_ISLNK in
second/ufs.c, which is easily fixed by including <linux/stat.h> which
defines this macro, at least for 2.1.115.

	The second problem is a little more difficult, it seems that the
second/util program didn't like the files it was working with -- 

ld -N -Ttext 0x280000 -Bstatic -o second crt0.o decomp.o console.o
printf.o malloc.o jmp.o prom.o tree.o urem.o udiv.o stringops1.o bmark.o main.o
cmdline.o disk.o file.o misc.o cfg.o strtol.o ranges.o timer.o memory.o
ufs.o divdi3.o mul.o rem.o sdiv.o umul.o stringops2.o  -lext2fs mark.o
ld -N -Ttext 0x380000 -Bstatic -o second2 crt0.o decomp.o console.o
printf.o malloc.o jmp.o prom.o tree.o urem.o udiv.o stringops1.o bmark.o
main.o cmdline.o disk.o file.o misc.o cfg.o strtol.o ranges.o timer.o
memory.o ufs.o divdi3.o mul.o rem.o sdiv.o umul.o stringops2.o  -lext2fs
mark.o
nm second | grep -v '*ABS*' | sort > second.map
gcc  -o util util.c
util.c: In function `main':
util.c:69: warning: return type of `main' is not `int'
cp second second.tmp
cp second2 second2.tmp
strip second.tmp
strip second2.tmp
elftoaout -o second.image.tmp second.tmp
PT 0 Entry: Loadable to 0x280000[0x21864] from 0x60[0x13990] align 0x100
elftoaout -o second2.image.tmp second2.tmp
PT 0 Entry: Loadable to 0x380000[0x21864] from 0x60[0x13990] align 0x100
./util -z second.map second.image.tmp second2.image.tmp second.b second.b2
Distance between two changes larger than 64K 0 66337 11302
make: *** [second.b] Error 1
 
	I was confused, because 66337 - 11302 < 64K.  A quick glance at
util.c showed that the error message came from the save() function, line
50 (not 42, where a similar error message can be printed):

fprintf(stderr, "Distance between two changes larger than 64K %d %d %d\n", \
	type, curoff + j, lastv[type]);

I believe that the last argument should be lastv[type+1] as that value is
what is actually being compared in the if expression above the error
message. Upon making that change, util gives

Distance between two changes larger than 64K 0 66337 0 

as its error.  I was curious as to how far along util got and added
some debugging printf statements.  The first two calls to save() are
okay, the problem happens with the third call (line 115 in main()):

save (g, rodata_start - first_end, 0);

Any idea as to what could be happening here?  

Kevin Milans

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [CALL FOR TESTERS] pre-release of silo 0.7.3
  1998-08-11 12:52 [CALL FOR TESTERS] pre-release of silo 0.7.3 Jakub Jelinek
  1998-08-11 22:39 ` Kevin Milans
@ 1998-08-12 12:52 ` Korey O'Dell
  1998-08-12 17:20 ` Michael Mraka
  2 siblings, 0 replies; 4+ messages in thread
From: Korey O'Dell @ 1998-08-12 12:52 UTC (permalink / raw)
  To: ultralinux

Jakub Jelinek wrote:
> 
> Hi!
> 
> I've put a pre-release of SILO 0.7.3 to
> ftp://ultra.linux.cz/OS/Linux/Sparc/local/silo/testing/silo-pre0.7.3-1.tgz
> I've welcome any feedback on it.

Hi Jakub,

I've got an Ultra 5 and SparcStation10 I could do some testing on. What
would I look for? I've got UltraPenguin1.0.9 installed on both right now
and that silo works great. Although, I never been able to boot the sun
OS with silo. Does this newest release fix that? Let me know.

Thanks Jakub,

Korey

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [CALL FOR TESTERS] pre-release of silo 0.7.3
  1998-08-11 12:52 [CALL FOR TESTERS] pre-release of silo 0.7.3 Jakub Jelinek
  1998-08-11 22:39 ` Kevin Milans
  1998-08-12 12:52 ` Korey O'Dell
@ 1998-08-12 17:20 ` Michael Mraka
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Mraka @ 1998-08-12 17:20 UTC (permalink / raw)
  To: ultralinux

PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.1.115 
ARCH: SUN4M
TYPE: SPARCstation LX

Silo boots excelently :-), only S_ISLNK compile problem mentioned by
Kevin Milans.


--mm                                                            Michael Mráka
                                                        michael(at)fi.muni.cz 
                                               http://www.fi.muni.cz/~michael

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-08-12 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-11 12:52 [CALL FOR TESTERS] pre-release of silo 0.7.3 Jakub Jelinek
1998-08-11 22:39 ` Kevin Milans
1998-08-12 12:52 ` Korey O'Dell
1998-08-12 17:20 ` Michael Mraka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.