Re: 2.0.35 turbosparc kernel

1998-08-12 Thread Eric Delaunay
Stephen Zander wrote:
> > "Kris" == Kris Boulez <[EMAIL PROTECTED]> writes:
> Kris> How does one go about installing this kernel on a virgin
> Kris> disk (no linux yet).  With other words: does someone has a
> Kris> bootable image that I can use to install a complete
> Kris> distribution from ? (I just got a second HD for my SS5/170
> Kris> and would like to install Linux on it).
> 
> This relates specifically to Debian/sparc...
> 
> You can get most of the way there following the boot-disk instruction.
> The section on TFTP/NFS-root should explain things.  The only catch,
> however, is that the base system install won't be able to read
> resc1440.bin r drv1440.bin as loopback devices aren't supported on NFS
> mounted volumes.
> 
> It's not terribly complicated to manually extract their contents but
> I've completely forgotten how I did it... and my mirror seems to have
> lost everything sparc related (*WTFIRFT*) so I can't recheck.

Hmm, latest boot floppies take care of this problem and copy the images to
the local disk (under /target) if mounting them via loop device is not working
(just ignore the I/O error message you could see on the installation screen: it
is sent by the kernel in the first try, so I don't have a chance not to display
it.  However I catch the error, copy the image to the local disk, then remount
it loopback).

Regards.

-- 
 Eric Delaunay | "La guerre justifie l'existence des militaires.
 [EMAIL PROTECTED] | En les supprimant." Henri Jeanson (1900-1970)


Re: 2.0.35 turbosparc kernel

1998-08-12 Thread Alex Yung
On Thu, 30 Jul 1998, Kris Boulez wrote:
> Quoting Derrick J Brashear ([EMAIL PROTECTED]):
> > Well, I'd like to think I solved at least one problem in the last week.
> > For those of you with SS5/170 (Turbosparc) machines, there's a kernel at
> > ftp://ftp.dementia.org/pub/linux/2.0.35-turbosparc, along with modules
> > for it. The patches have been checked into the CVS tree and will be in
> > the next snapshot (which hopefully will be when there's a handle on the
> > egcs/sun4c/esp problems)
> >
> > Try it out with your favorite Turbosparc.
>
> How does one go about installing this kernel on a virgin disk (no linux
> yet).  With other words: does someone has a bootable image that I can
> use to install a complete distribution from ? (I just got a second HD
> for my SS5/170 and would like to install Linux on it).

I assume that you have figured this out already.  My replied is intended
for others who try to do the same thing.  Basically, you would use
the current image disk.  It is "disks-sparc/1998-05-25" at the time of
this message.  After you created the boot disk, you would copy the new
Turbosparc kernel and its System.map file to the boot disk (make sure
you use the same file name as the existing disk).  You will copy the
module tarball to the driver disk.  By the way, the current Turbosparc
kernel is in ftp://vger.rutgers.edu/pub/linux/Sparc/kernel/v2.0/980805/.

This newer kernel works for me.  It appears that there is some timing
problem on the boot script.  It tried to eject the floppy too soon before
the root disk prompt message.  But a paper clip worked very well for me.

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


Re: 2.0.35 turbosparc kernel

1998-07-31 Thread Stephen Zander
> "Kris" == Kris Boulez <[EMAIL PROTECTED]> writes:
Kris> How does one go about installing this kernel on a virgin
Kris> disk (no linux yet).  With other words: does someone has a
Kris> bootable image that I can use to install a complete
Kris> distribution from ? (I just got a second HD for my SS5/170
Kris> and would like to install Linux on it).

This relates specifically to Debian/sparc...

You can get most of the way there following the boot-disk instruction.
The section on TFTP/NFS-root should explain things.  The only catch,
however, is that the base system install won't be able to read
resc1440.bin r drv1440.bin as loopback devices aren't supported on NFS
mounted volumes.

It's not terribly complicated to manually extract their contents but
I've completely forgotten how I did it... and my mirror seems to have
lost everything sparc related (*WTFIRFT*) so I can't recheck.

-- 
Stephen
---
Linux - the Frodo Baggins of Computing.


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


Re: 2.0.35 turbosparc kernel

1998-07-30 Thread Kris Boulez
Quoting Derrick J Brashear ([EMAIL PROTECTED]):
> Well, I'd like to think I solved at least one problem in the last week.
> For those of you with SS5/170 (Turbosparc) machines, there's a kernel at
> ftp://ftp.dementia.org/pub/linux/2.0.35-turbosparc, along with modules for
> it. The patches have been checked into the CVS tree and will be in the
> next snapshot (which hopefully will be when there's a handle on the
> egcs/sun4c/esp problems)
> 
> Try it outwith your favorite Turbosparc.
> 
How does one go about installing this kernel on a virgin disk (no linux yet). 
With other words: does someone has a bootable image that I can use to install a 
complete distribution from ? (I just got a second HD for my SS5/170 and would 
like to install Linux on it).


Kris,
-- 
Kris Boulez [EMAIL PROTECTED]


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


Re: 2.0.35 turbosparc kernel

1998-07-29 Thread Jakub Jelinek
> It's contained entirely in arch/sparc/mm/srmmu.c and
> include/asm-sparc/turbosparc.h. Essentially:
> 
> When we initialize the turbosparc, call init_vac_layout() to figure out
> line size; Continue as before initializing the Turbosparc including
> turning of microsparc 2 (swift) compat. leave icache snoop turned on.
> 
> now, copy *all* of the swift routines and rename them as turbosparc
> routines. in the init handler replace direct calls and references with
> refs to the new routines you just created. fix cache size in the flush
> routines in turbosparc.h as appropriate. 

Actually, don't copy anything unless you change it. Otherwise, just
BTFIXUPSET_CALL to some swift_ or whatever routine you'd copy.

Cheers,
Jakub
___
Jakub Jelinek | [EMAIL PROTECTED] | 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.111 on a sparc64 machine (498.80 BogoMips).
___


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


Re: 2.0.35 turbosparc kernel

1998-07-29 Thread Derrick J Brashear
On Wed, 29 Jul 1998, Marc Duponcheel wrote:

> I could give it a chance.
> 
> But I am confused: which CVS archive are you actually talking about
> (I only know about vger the CVS 2.1.xxx)?

2.0 is a branch off the same CVS tree (tagged "sparclinux-stable")
> 
> So if the 2.0.35 patch is not too big, what about
> putting it (maybe even with the original next to it) in
> ftp://ftp.dementia.org/pub/linux/2.0.35-turbosparc ?

Well, you can of course do the diff yourself with CVS! (Or, get 980625,
and a current stable kernel from the CVS tree, and diff as below). What
you should see is as follows.

It's contained entirely in arch/sparc/mm/srmmu.c and
include/asm-sparc/turbosparc.h. Essentially:

When we initialize the turbosparc, call init_vac_layout() to figure out
line size; Continue as before initializing the Turbosparc including
turning of microsparc 2 (swift) compat. leave icache snoop turned on.

now, copy *all* of the swift routines and rename them as turbosparc
routines. in the init handler replace direct calls and references with
refs to the new routines you just created. fix cache size in the flush
routines in turbosparc.h as appropriate. make flush_sig_isns do nothing as
icache snoop is turned on. build. boot. with any luck, it will boot. if it
does, try say building a kernel. if that works, try building a kernel and
doing something else; running X and building a kernel, etc...

If you exercise the machine heavily and you can't get anything to crash
inside about an hour or so (most it took me was about 5 minutes, one time)
then you're probably ok.

-D



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


Re: 2.0.35 turbosparc kernel

1998-07-29 Thread David S. Miller
   Date: Wed, 29 Jul 1998 12:55:31 +0200 (MET DST)
   From: Marc Duponcheel <[EMAIL PROTECTED]>

   But I am confused: which CVS archive are you actually talking about
   (I only know about vger the CVS 2.1.xxx)?

The CVS tree on vger has a special branch, named "sparclinux-stable"
which is the current 2.0.x sources.  This is mainly what Derrick's
2.0.x source base is derived of.

Later,
David S. Miller
[EMAIL PROTECTED]


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


Re: 2.0.35 turbosparc kernel

1998-07-29 Thread Marc Duponcheel

Thanks Derrick,

> > > The patches have been checked into the CVS tree and will be in the
> > > next snapshot (which hopefully will be when there's a handle on the
> > > egcs/sun4c/esp problems)
> > 
> > I hope you also mean in the vger CVS 2.1.xxx tree? That would be great.
> > I'll sure want to test that!


> I already answered Marc but forgot to CC here. Short answer: no. Slightly
> longer answer: it was a simple hack, and i'll do it when i get time. Even
> longer answer: if someone wants to do the diff and try patching 2.1
> themselves,

I could give it a chance.

But I am confused: which CVS archive are you actually talking about
(I only know about vger the CVS 2.1.xxx)?

So if the 2.0.35 patch is not too big, what about
putting it (maybe even with the original next to it) in
ftp://ftp.dementia.org/pub/linux/2.0.35-turbosparc ?

Then I can see if it is possible to adapt/apply it to the 2.1.xxx source.

> I can offer tips and I'll be happy to take a patch when you
> have it working. I a) have no turbosparc b) have no time and c) haven't
> done a thing with 2.1 yet


 Greetings,

---  Cisco Systems  ---
Marc Duponcheel [EMAIL PROTECTED] tel: +32 2 778 42 40
CATS Team TAC Brussels  ---*---  pager: +32 72 53 30 01


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


Re: 2.0.35 turbosparc kernel

1998-07-29 Thread Derrick J Brashear
On Wed, 29 Jul 1998, Marc Duponcheel wrote:

> 
> > Well, I'd like to think I solved at least one problem in the last week.
> > For those of you with SS5/170 (Turbosparc) machines, there's a kernel at
> > ftp://ftp.dementia.org/pub/linux/2.0.35-turbosparc, along with modules for
> > it. The patches have been checked into the CVS tree and will be in the
> > next snapshot (which hopefully will be when there's a handle on the
> > egcs/sun4c/esp problems)
> 
> I hope you also mean in the vger CVS 2.1.xxx tree? That would be great.
> I'll sure want to test that!

I already answered Marc but forgot to CC here. Short answer: no. Slightly
longer answer: it was a simple hack, and i'll do it when i get time. Even
longer answer: if someone wants to do the diff and try patching 2.1
themselves, I can offer tips and I'll be happy to take a patch when you
have it working. I a) have no turbosparc b) have no time and c) haven't
done a thing with 2.1 yet

-D



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


Re: 2.0.35 turbosparc kernel

1998-07-28 Thread Marc Duponcheel

> Well, I'd like to think I solved at least one problem in the last week.
> For those of you with SS5/170 (Turbosparc) machines, there's a kernel at
> ftp://ftp.dementia.org/pub/linux/2.0.35-turbosparc, along with modules for
> it. The patches have been checked into the CVS tree and will be in the
> next snapshot (which hopefully will be when there's a handle on the
> egcs/sun4c/esp problems)

I hope you also mean in the vger CVS 2.1.xxx tree? That would be great.
I'll sure want to test that!

 Greetings,

---  Cisco Systems  ---
Marc Duponcheel [EMAIL PROTECTED] tel: +32 2 778 42 40
CATS Team TAC Brussels  ---*---  pager: +32 72 53 30 01


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


2.0.35 turbosparc kernel

1998-07-28 Thread Derrick J Brashear
Well, I'd like to think I solved at least one problem in the last week.
For those of you with SS5/170 (Turbosparc) machines, there's a kernel at
ftp://ftp.dementia.org/pub/linux/2.0.35-turbosparc, along with modules for
it. The patches have been checked into the CVS tree and will be in the
next snapshot (which hopefully will be when there's a handle on the
egcs/sun4c/esp problems)

Try it outwith your favorite Turbosparc.

Thanks to Stephen Zander for trying lots of kernels that I built with
various tweaks so we could find one (some, actually) that worked.

-D



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