Skip to contentSkip to conversation

sparc sun4c support - time to drop it?

DISCUSSION Sam Ravnborg 8 participants 20 messages May 5, 2012 – May 7, 2012

lore
Share & tools
lore
#0 lore raw

Is anyone having any sun4c boxes alive and running Linux?

I have a nice box myself that does not boot - I do not know why. But we are talking abot slow and old stuff here.

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

Looking into recent history of the kernel only one person (Mark - copied) seems to have contributed
solely for the purpose of getting a sun4c box working.

Sunstuff has a list of boxes based on sun4c here:
http://sunstuff.org/hardware/systems/sun4/sun4c/

SPARCstation 1, SLC, IPC, 1+, 2, ELC, IPX
SPARCengine 1

Sam

#1 lore raw
Quoted 7 lines · Sam Ravnborg

Is anyone having any sun4c boxes alive and running Linux?

I have a nice box myself that does not boot - I do not know why. But we are talking abot slow and old stuff here.

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

I do.

I collect the Sun lunchbox systems (IPC, IPX, Classic, Classic/X and LX), which includes sun4c machines. I run Linux and *BSD on them. But the Linux that I am running on them is pretty old.

I have interest in keeping the platform alive, but my day job (Solaris kernel developer at Oracle) prevents me from working on the platform.

alan

Quoted 19 lines

Looking into recent history of the kernel only one person (Mark - copied) seems to have contributed
solely for the purpose of getting a sun4c box working.

Sunstuff has a list of boxes based on sun4c here:
http://sunstuff.org/hardware/systems/sun4/sun4c/

SPARCstation 1, SLC, IPC, 1+, 2, ELC, IPX
SPARCengine 1

Sam

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Sam Ravnborg
Quoted 1 line · Sam Ravnborg

Is anyone having any sun4c boxes alive and running Linux?

I have not had much time to do any more work on Linux + sun4c but I do have a sun4c box waiting for a new external disk to put Linux on (the last one stopped, I thing due to a ded PSU).

Quoted 22 lines

I have a nice box myself that does not boot - I do not know why. But we are talking abot slow and old stuff here.

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

Looking into recent history of the kernel only one person (Mark - copied) seems to have contributed
solely for the purpose of getting a sun4c box working.

Sunstuff has a list of boxes based on sun4c here:
http://sunstuff.org/hardware/systems/sun4/sun4c/

SPARCstation 1, SLC, IPC, 1+, 2, ELC, IPX
SPARCengine 1

Sam

#3 lore raw
In reply to Sam Ravnborg
Quoted 7 lines · Mark Fortescue
Quoted 1 line · Sam Ravnborg

Is anyone having any sun4c boxes alive and running Linux?

I have not had much time to do any more work on Linux + sun4c but I do have a sun4c box waiting for a new external disk to put Linux on (the last one stopped, I thing due to a ded PSU).

I have come a long way using tftpboot.img and a ram-dsik. This allows me to keep Solaris on the disk, and booting Linux. It is a bit slow as I always fetch the full kernel via the network but this is acceptable.

I hacked busybox to support sparc32 - patches are upstream.

Sam

#4 lore raw
In reply to Sam Ravnborg

Hi Mark,

Quoted 5 lines · Mark Fortescue

On Sat, 5 May 2012, Sam Ravnborg wrote:

I have not had much time to do any more work on Linux + sun4c but I do have a sun4c box waiting for a new external disk to put Linux on (the last one stopped, I thing due to a ded PSU).

I have one of the standard Sun 411 external narrow-scsi CD-ROM boxes.

If you're in Australia, I could ship it to you.

I don't need it anymore as I'm finding different solutions to my storage issues with my sun4m boxen.

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#5 lore raw
In reply to Sam Ravnborg
Quoted 2 lines · Sam Ravnborg

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

I'd probably be running my sun4c from time to time, unfortunately that Really-Bad-Choice of clock+battery module that Sun made has "killed" many of my older suns.

Signature · 1 line
Kaj-Michael Lang <[email protected]>
#6 lore raw
In reply to Sam Ravnborg

Hi Kaj,

Quoted 7 lines · Kaj-Michael Lang
Quoted 2 lines · Sam Ravnborg

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

I'd probably be running my sun4c from time to time, unfortunately that Really-Bad-Choice of clock+battery module that Sun made has "killed" many of my older suns.

You know, with a few simple hand tools, a replacement battery, and some knowledge of OpenFirmware, you can fix them.

See here:

http://www.squirrel.com/sun-nvram-hostid.faq.html

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#7 lore raw
In reply to Sam Ravnborg

From: Sam Ravnborg <[email protected]>
Date: Sat, 5 May 2012 18:21:04 +0200

Quoted 2 lines

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

I have no objections and if we go this route I can make the the 32-bit sparc configurations of GCC under Linux start generating V8 code by default.

#8 lore raw
In reply to Sam Ravnborg
Quoted 2 lines · Julian Calaby

You know, with a few simple hand tools, a replacement battery, and some knowledge of OpenFirmware, you can fix them.

Yes, I know, I've done it for an ELC once. But I'm lazy :)

Signature · 1 line
Kaj-Michael Lang <[email protected]>
#9 lore raw
In reply to Sam Ravnborg
Quoted 5 lines · Kaj-Michael Lang
Quoted 2 lines · Julian Calaby

You know, with a few simple hand tools, a replacement battery, and some knowledge of OpenFirmware, you can fix them.

Yes, I know, I've done it for an ELC once. But I'm lazy :)

I am in favour of dropping Sun4c (and possibly Sun4d but thats a different story) for all new kernels.
All of the possible hardware combinations for Sun4c have been covered since 2.2.x and nothing new will happen. Modern kernels need more memory and these machines are all limited to 64Mb or less.

Those who want to keep thse antiques alive should just use the older kernels. BSD is faster on Sun4c anyway due to task swapping issues.

#10 lore raw
In reply to Sam Ravnborg

Hi,

Replacing the NVRAM is not that dificult and replacements are still available.

Reprogramming the hostid/mac address is a pain. I have some notes from the web as I can never remember how to do it.

If you re really adventurous you can just replace the battery. I replaced one of mine with a rechargeable version so it will probably outlast the rest of the hardware.

Regards
Mark.

Quoted 16 lines · Kaj-Michael Lang
Quoted 2 lines · Sam Ravnborg

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

I'd probably be running my sun4c from time to time, unfortunately that Really-Bad-Choice of clock+battery module that Sun made has "killed" many of my older suns.

Signature · 6 lines
Kaj-Michael Lang <[email protected]>

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#11 lore raw
In reply to Sam Ravnborg
Quoted 8 lines · On Mon, 7 May 2012 [email protected] wrote:
Quoted 4 lines · Kaj-Michael Lang
Quoted 2 lines · Julian Calaby

You know, with a few simple hand tools, a replacement battery, and some knowledge of OpenFirmware, you can fix them.

Quoted 7 lines
Quoted 1 line

Yes, I know, I've done it for an ELC once. But I'm lazy :)

I am in favour of dropping Sun4c (and possibly Sun4d but thats a different story) for all new kernels.
All of the possible hardware combinations for Sun4c have been covered since 2.2.x and nothing new will happen. Modern kernels need more memory and these machines are all limited to 64Mb or less.

Not strictly true. My SPARCStation 1+ clone has a 4 port SBUS serial card that is not supported by Linux. :).

Quoted 9 lines

Those who want to keep thse antiques alive should just use the older kernels. BSD is faster on Sun4c anyway due to task swapping issues.

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#12 lore raw
In reply to Sam Ravnborg
Quoted 13 lines · Sam Ravnborg

Is anyone having any sun4c boxes alive and running Linux?

I have a nice box myself that does not boot - I do not know why. But we are talking abot slow and old stuff here.

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

Looking into recent history of the kernel only one person (Mark - copied) seems to have contributed
solely for the purpose of getting a sun4c box working.

Quoted 5 lines

Sunstuff has a list of boxes based on sun4c here:
http://sunstuff.org/hardware/systems/sun4/sun4c/

SPARCstation 1, SLC, IPC, 1+, 2, ELC, IPX
SPARCengine 1

To summarize this thread...

There are unsuprisingly some that for sentimental reasons would like to keep sun4c support in-kernel.

But sun4c is outdated and if anyone want to run something on a sun4c box the *BSD variants has better performance.

Also considering that sun4c support has been broken for some time and there is a few changes pending where sun4c does not make things simpler we will drop sun4c support.

I already took a quick look at it and in the process I think I uncovered a bug in NMI handling for sun4m in UP mode. We would call the sun4c nmi trap despite being a sun4m box - this would not go well.

When I have something tested I will forward my patches.

Sam

#13 lore raw
In reply to Sam Ravnborg
Quoted 9 lines · Sam Ravnborg

There are unsuprisingly some that for sentimental reasons would like to keep sun4c support in-kernel.

But sun4c is outdated and if anyone want to run something on a sun4c box the *BSD variants has better performance.

Also considering that sun4c support has been broken for some time and there is a few changes pending where sun4c does not make things simpler we will drop sun4c support.

I haven't powered on any of my sun4c (or older) kit in several years, so I'm also supportive of this change.

~tom

=
Fedora Project

#14 lore raw
In reply to Sam Ravnborg
Quoted 25 lines · Sam Ravnborg
Quoted 13 lines · Sam Ravnborg

Is anyone having any sun4c boxes alive and running Linux?

I have a nice box myself that does not boot - I do not know why. But we are talking abot slow and old stuff here.

Is it time to drop support for sun4c - or is anyone still having an interest keeping that platform alive?

Looking into recent history of the kernel only one person (Mark - copied) seems to have contributed
solely for the purpose of getting a sun4c box working.

Quoted 5 lines

Sunstuff has a list of boxes based on sun4c here:
http://sunstuff.org/hardware/systems/sun4/sun4c/

SPARCstation 1, SLC, IPC, 1+, 2, ELC, IPX
SPARCengine 1

To summarize this thread...

There are unsuprisingly some that for sentimental reasons would like to keep sun4c support in-kernel.

Quoted 7 lines

But sun4c is outdated and if anyone want to run something on a sun4c box the *BSD variants has better performance.

Also considering that sun4c support has been broken for some time and there is a few changes pending where sun4c does not make things simpler we will drop sun4c support.

Will Sun4c be dropped for 3.4 or 3.5 ?

(Just so that I can get my hands on a 'last supported' kernel to build when the network for my remote build host wakes up. :).)

Quoted 14 lines

I already took a quick look at it and in the process I think I uncovered a bug in NMI handling for sun4m in UP mode. We would call the sun4c nmi trap despite being a sun4m box - this would not go well.

When I have something tested I will forward my
patches.

Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#15 lore raw
In reply to Sam Ravnborg
Quoted 4 lines

Will Sun4c be dropped for 3.4 or 3.5 ?

(Just so that I can get my hands on a 'last supported' kernel to build when the network for my remote build host wakes up. :).)

The merge window for 3.4 is closed long time ago - so for sure it is not dropped in 3.4.
It will be dropped in 3.5 I think - if I get the patches prepared fast enough.

Sam

#16 lore raw
In reply to Sam Ravnborg

Hi Tom.

Quoted 8 lines · Tom Callaway
Quoted 6 lines · Sam Ravnborg

There are unsuprisingly some that for sentimental reasons would like to keep sun4c support in-kernel.

But sun4c is outdated and if anyone want to run something on a sun4c box the *BSD variants has better performance.

Quoted 6 lines
Quoted 3 lines

Also considering that sun4c support has been broken for some time and there is a few changes pending where sun4c does not make things simpler we will drop sun4c support.

I haven't powered on any of my sun4c (or older) kit in several years, so I'm also supportive of this change.

Thanks for your feedback!

Sam

#17 lore raw
In reply to Sam Ravnborg

Hi Sam,

Quoted 5 lines · Sam Ravnborg

On Sat, May 05, 2012 at 06:21:04PM +0200, Sam Ravnborg wrote:
Also considering that sun4c support has been broken for some time and there is a few changes pending where sun4c does not make things simpler we will drop sun4c support.

Quoted 7 lines

I already took a quick look at it and in the process I think I uncovered a bug in NMI handling for sun4m in UP mode. We would call the sun4c nmi trap despite being a sun4m box - this would not go well.

When I have something tested I will forward my patches.

Would it be possible to hide sun4c away behind a kconfig variable that is marked as BROKEN with a entry in the feature-removal file?

Or is that just too much work for code which has been broken for a long time.

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#18 lore raw
In reply to Sam Ravnborg

From: Julian Calaby <[email protected]>
Date: Tue, 8 May 2012 09:07:34 +1000

Quoted 4 lines

Would it be possible to hide sun4c away behind a kconfig variable that is marked as BROKEN with a entry in the feature-removal file?

Or is that just too much work for code which has been broken for a long time.

We just want to kill all of this code off, there is zero value keeping it around at all.

It's in the revision history if you just want to look at it, and nobody is going to make changes that try to keep it working so letting this stuff linger has zero value.

#19 lore raw
In reply to Sam Ravnborg

Hi David,

Quoted 6 lines · David Miller

From: Julian Calaby <[email protected]>
Date: Tue, 8 May 2012 09:07:34 +1000

Quoted 3 lines

Would it be possible to hide sun4c away behind a kconfig variable that is marked as BROKEN with a entry in the feature-removal file?

Quoted 8 lines
Quoted 1 line

Or is that just too much work for code which has been broken for a long time.

We just want to kill all of this code off, there is zero value keeping it around at all.

It's in the revision history if you just want to look at it, and nobody is going to make changes that try to keep it working so letting this stuff linger has zero value.

I figured that would be the consensus.

I have no objection to annihilating the code - I just don't like seeing code being thrown away.

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/