Re: Netra T5220

2018-11-19 Thread Don NetBSD

On 11/19/2018 2:21 PM, Brett Lymn wrote:

On Sun, Nov 18, 2018 at 03:57:53PM -0700, Don NetBSD wrote:

Think of it as having a similar function wrt the ILOM as the OBP has to
the OS in older Sun boxen.


No, this is a totally different processor, the SP is, effectively, a
separate computer that has hooks into the main machine's hardware for
monitoring and control.  Changing things at the u-boot level has no real
effect on the main machine, just the SP.  You can still access the OBP
when you start the host console.


That's not what I said.  I made the analogy that u-boot is to the SP
as OBP is to SunOS (on an "older", no-SP box).

I.e., if you look at the SP as a product in itself, u-boot is the
preboot environment -- in much the same way that OBP provides a
"preboot environment" for Solaris.


Of course, at $WORK, you're not trying to get INTO a box that someone
has locked up -- as YOU are the party who likely locked it up in the first
place!


Indeed, what I really meant is that I have never seen any official
Oracle documentation for the SP boot.  It is not something that they
encourage you to poke at.


Actually, they do!  Just not for THIS product!  I've been grep-ing
documentation for other (Sun) products with SP equivalents and
taking my cue from what I find, there, to decide what to poke at,
here.


OTOH, when a system falls into your lap, you don't always have that sort
of access.  So, you need to rely on mechanisms that the designers put in
place to make this sort of thing possible!


Yes, it sounds like a lot of it is aimed at disaster recovery, when the
machine has cratered.  At $WORK that usually means somebody's services
are down which they normally get agitated about at which point we
usually just either have an Oracle field engineer out or have support
guiding us.


With rescued kit, I don't have the luxury (or expense!) of a support contract.
So, the more I can learn about a box, on my own, the better off I will be in
the longrun.

I create elaborate sets of notes for the stuff that I uncover/discover as
it will likely be "a long time" before I find myself staring at the
same box in some degraded capacity (I don't trust my meatware to hold onto
all of those sorts of details)



Re: Netra T5220

2018-11-19 Thread Brett Lymn
On Sun, Nov 18, 2018 at 03:57:53PM -0700, Don NetBSD wrote:
> 
> [Of course, I suspect I'll uncover additional uses as I tinker more with 
> it!]
> 

Yep, I am sure there are plenty of things there :)

> Think of it as having a similar function wrt the ILOM as the OBP has to
> the OS in older Sun boxen.
> 

No, this is a totally different processor, the SP is, effectively, a
separate computer that has hooks into the main machine's hardware for
monitoring and control.  Changing things at the u-boot level has no real
effect on the main machine, just the SP.  You can still access the OBP
when you start the host console.

> Of course, at $WORK, you're not trying to get INTO a box that someone
> has locked up -- as YOU are the party who likely locked it up in the first
> place!
> 

Indeed, what I really meant is that I have never seen any official
Oracle documentation for the SP boot.  It is not something that they
encourage you to poke at.

> OTOH, when a system falls into your lap, you don't always have that sort
> of access.  So, you need to rely on mechanisms that the designers put in
> place to make this sort of thing possible!

Yes, it sounds like a lot of it is aimed at disaster recovery, when the
machine has cratered.  At $WORK that usually means somebody's services
are down which they normally get agitated about at which point we
usually just either have an Oracle field engineer out or have support
guiding us.

-- 
Brett Lymn
Let go, or be dragged - Zen proverb.


Re: Netra T5220

2018-11-18 Thread Don NetBSD

On 11/18/2018 2:09 PM, Brett Lymn wrote:

On Sat, Nov 17, 2018 at 06:53:51PM -0700, Don NetBSD wrote:

On 11/17/2018 1:52 PM, Brett Lymn wrote:

On Fri, Nov 16, 2018 at 02:11:26PM -0700, Don NetBSD wrote:


Yes, but what's the prompt BEFORE that (u-boot>)?  And, where do I
find the capabilities, there, documented?


As someone else mentioned that is the Service Processor boot, it is a
cut down linux image, IIRC running on powerpc.  I doubt if you will find
much publically available information on the guts of the SP... even if
you have access to Oracle support, it is not something that Oracle
customers are meant to mess with.


No.  The prompt BEFORE the service processor starts Linux.


Yes, I know what you are talking about.  I deal with Sun/Oracle
equipment at $WORK.  I have seen that prompt.  I have never seen any
documentation as to what you can do there.  I would be surprised if
there is anything available at all outside Oracle - I think the attitude
is that the customers don't need to mess with the SP at all and should
be treated just as a firmware blob (which is, in fact, how the updates
are provided - a blov for the linux image plus OFW update)


With it, you can:
- reconfigure the serial port parameters
- adjust the delay before Linux boots (give you more time to interrupt
  that process)
- reset the password (that Linux will request at it's "login:" prompt)
- upgrade the ILOM firmware (without ILOM *or* OS being functional!)
- reset the default ILOM parameters (e.g., for network settings)
- configure the ILOM network parameters
- test the ILOM's network connection (e.g., ping other hosts)
- indicate whether or not physical presence is required to break autoboot
- connect to the "system's" serial port (bypassing ILOM)
- add/delete "users"
- examine SP settings
- enable/disable the front panel power button
- power down the host
- reset the SP and/or host
- run diagnostics on the SP

and, of course:

- boot the ILOM

[Of course, I suspect I'll uncover additional uses as I tinker more with it!]

Think of it as having a similar function wrt the ILOM as the OBP has to
the OS in older Sun boxen.

Of course, at $WORK, you're not trying to get INTO a box that someone
has locked up -- as YOU are the party who likely locked it up in the first
place!

OTOH, when a system falls into your lap, you don't always have that sort
of access.  So, you need to rely on mechanisms that the designers put in
place to make this sort of thing possible!


Re: Netra T5220

2018-11-18 Thread Brett Lymn
On Sat, Nov 17, 2018 at 06:53:51PM -0700, Don NetBSD wrote:
> On 11/17/2018 1:52 PM, Brett Lymn wrote:
> >On Fri, Nov 16, 2018 at 02:11:26PM -0700, Don NetBSD wrote:
> >>
> >>Yes, but what's the prompt BEFORE that (u-boot>)?  And, where do I
> >>find the capabilities, there, documented?
> >
> >As someone else mentioned that is the Service Processor boot, it is a
> >cut down linux image, IIRC running on powerpc.  I doubt if you will find
> >much publically available information on the guts of the SP... even if
> >you have access to Oracle support, it is not something that Oracle
> >customers are meant to mess with.
> 
> No.  The prompt BEFORE the service processor starts Linux.
> 

Yes, I know what you are talking about.  I deal with Sun/Oracle
equipment at $WORK.  I have seen that prompt.  I have never seen any
documentation as to what you can do there.  I would be surprised if
there is anything available at all outside Oracle - I think the attitude
is that the customers don't need to mess with the SP at all and should
be treated just as a firmware blob (which is, in fact, how the updates
are provided - a blov for the linux image plus OFW update)

-- 
Brett Lymn
Let go, or be dragged - Zen proverb.


Re: Netra T5220

2018-11-18 Thread Don NetBSD

On 11/18/2018 2:01 AM, Sad Clouds wrote:

On Sat, 17 Nov 2018 18:53:51 -0700
Don NetBSD  wrote:


The earlier "u-boot" prompt is significant as it lets you tinker with
the "pre-Linux" environment.  Among other things, it lets you erase
the Linux password so you CAN log into the SP (if you'd lost that
information)

I want to know what else it is useful for (besides exploring "help" at
that prompt)


U-Boot is just a bootloader, like Grub, the only useful thing it does,
is booting embedded Linux. Not sure why you'd want to tinker with that,
because if you misconfigure/damage it, you may find your hardware no
longer boots.


Actually, it does a fair bit more than "just boot Linux" -- hence the
reason to tinker with it!  :>  (why would it have a command interpreter if
the only thing it could do was "boot"?)

[Hint: ask yourself what you'd do if you didn't have the password to the ILOM;
or, if the Linux image had been corrupted/wouldn't boot; or if you wanted to
reflash that image (e.g., to support 11.4); or, if the serial port wasn't
"connected" to the ILOM]

For folks like me who acquire these devices without being able to
speak to the previous owner ("what's root's password?"), it's an
essential tool to getting into a box that may typically have been
locked up to prevent casual access (esp as you can't "pull the SP's
disk" to alter its contents off-line)

The hooks have been placed there, for a reason.  Silly NOT to understand
them and use them!


But anyway, good luck with your investigations


Re: Netra T5220

2018-11-17 Thread Don NetBSD

On 11/17/2018 1:52 PM, Brett Lymn wrote:

On Fri, Nov 16, 2018 at 02:11:26PM -0700, Don NetBSD wrote:


Yes, but what's the prompt BEFORE that (u-boot>)?  And, where do I
find the capabilities, there, documented?


As someone else mentioned that is the Service Processor boot, it is a
cut down linux image, IIRC running on powerpc.  I doubt if you will find
much publically available information on the guts of the SP... even if
you have access to Oracle support, it is not something that Oracle
customers are meant to mess with.


No.  The prompt BEFORE the service processor starts Linux.

Apply power...

   U-Boot 1.1.1

   custom Sun Microsystems U-Boot 1.3 (Dec  6 2011 - 11:01:09) r61032

   CPU:   MPC885ZPnn at 133 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
   Board: SPARC885
  Watchdog enabled
   I2C:   ready
   DRAM:
   trying 128 MBytes
   (128 MB SDRAM) 128 MB
   Memory Tests: DA A1 A2 00 FF 55 AA T2 T3 T4
   POST memory PASSED
   FLASH: 32 MB
   In:serial
   Out:   serial
   Err:   serial
   Net:   FEC ETHERNET
   POST i2c  c  d 14 18 2a 2d 2e 30 40 43 46 51 53 54 56 59 68 69 6a 6b 70 71 


   PASSED
   POST cpu PASSED
   POST ethernet PASSED
   Booting linux in 30 seconds...

At this point, Linux hasn't booted.  You can abort the process (by asserting
your physical presence or with magic keystrokes).  You end up with a "preboot"
prompt:

   u-boot> version

   U-Boot 1.1.1

   custom Sun Microsystems U-Boot 1.3 (Dec  6 2011 - 11:01:09) r61032
   u-boot> boot

Now, you've issued the boot command to boot Linux on the SP:

   ## Booting image at fe08 ...
  Image Name:   Linux-2.4.22
  Image Type:   PowerPC Linux Kernel Image (gzip compressed)
  Data Size:815088 Bytes = 796 kB
  Load Address: 
  Entry Point:  
  Verifying Checksum ... OK
  Uncompressing Kernel Image ... OK
   do_bootm_linux():
 argv[0]=bootm
 argv[1]=0xfe08
   ## Current stack ends at 0x07D388B8 => set upper limit to 0x0080
   No initrd
   ## cmdline at 0x007FFF00 ... 0x007FFF80

yada yada yada... eventually, you get a login prompt:

   login: root
   Password: changeme
   Waiting for daemons to initialize...
   .
   Timed out waiting for daemons to start
   sccd daemon has shutdown

   Oracle(R) Integrated Lights Out Manager

   Version 3.0.10.4 r61032

   Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

   Warning: password is set to factory default.

   ->

And now you have the SP prompt.

The earlier "u-boot" prompt is significant as it lets you tinker with
the "pre-Linux" environment.  Among other things, it lets you erase the
Linux password so you CAN log into the SP (if you'd lost that information)

I want to know what else it is useful for (besides exploring "help" at
that prompt)


Re: Netra T5220

2018-11-17 Thread Brett Lymn
On Fri, Nov 16, 2018 at 02:11:26PM -0700, Don NetBSD wrote:
> 
> Yes, but what's the prompt BEFORE that (u-boot>)?  And, where do I
> find the capabilities, there, documented?
> 

As someone else mentioned that is the Service Processor boot, it is a
cut down linux image, IIRC running on powerpc.  I doubt if you will find
much publically available information on the guts of the SP... even if
you have access to Oracle support, it is not something that Oracle
customers are meant to mess with.

> [I'm sure that a console won't let me into whatever OS is installed
> as I've no idea what the root password is likely to be]
> 

Well, depending on what they have done it could be as easy as booting
from the CD and editing the password file.  If root is on zfs then there
is a little bit of a dance to get the root fs mounted but nothing
insurmountable.  If they have put a OFW password on the thing then it
will be a bit more challenging.

> BTW, examining some of the logs suggest it is (was?) running
> Solaris 5.10
> 

That is feasible, Solaris 10 was supported by that platform.  Solaris 10
went end of service life at the end of 2017.

-- 
Brett Lymn
Let go, or be dragged - Zen proverb.


Re: Netra T5220

2018-11-17 Thread Sad Clouds
On Fri, 16 Nov 2018 13:22:19 -0700
Don NetBSD  wrote:

> So, it seems like there are a boat load of prompts -- "u-boot>",
> "->", "ok" ...  And, nothing that seems to summarize ALL of
> the pertinent environments in which you can be interacting with
> the box.

You're getting confused between various consoles. This is what I do to
log in

I have a Linux laptop connected to T5220 via serial cable


Here I use 'cu' to initiate connection:

# chmod 666 /dev/ttyUSB0
# cu -l /dev/ttyUSB0


First login takes me to service processor console:

SUNSP00212824CA7D login: root
Password: 
Waiting for daemons to initialize...

Daemons ready

Sun(TM) Integrated Lights Out Manager

Version 2.0.4.27.g

Warning: password is set to factory default.


The following command takes me to system console. After I type 'y' and
hit Enter key, Solaris login prompt appears:

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y

Serial console started.  To stop, type #.

t5220 console login:


I don't know if your system is bootable and if it has Solaris running.
If not, then download ISO, burn to DVD and try booting from that.



Re: Netra T5220

2018-11-17 Thread Palle Lyckegaard

On Wed, 14 Nov 2018, Julien Savard wrote:


Date: Thu, 15 Nov 2018 02:28:07
From: Julien Savard 
To: netbsd-embed...@gmx.com
Cc: netbsd-users@netbsd.org
Subject: Re: Netra T5220

Unfortunately, as of 5 Nov 2017 ( 
http://mail-index.netbsd.org/port-sparc64/2017/11/05/msg002700.html ) and 
according to the official
netbsd wiki page ( http://wiki.netbsd.org/ports/sparc64/ ), netbsd does not 
support sun4v architecture yet... it does seems however
somebody at netbsd is trying to make it work ( 
http://www.netbsd.org/~palle/sun4v/ ).



(shouldn't this belong to port-spar...@netbsd.org instead?)

anyway, NetBSD is not avaiable on sparc/sun4v systems yet. Working on 
in from time to time...


Use OpenBSD instead until NetBSD is ready or try the illumos based 
distros, like tribblix.


Regards
Palle

Re: Netra T5220

2018-11-16 Thread Don NetBSD

On 11/16/2018 2:53 PM, Sad Clouds wrote:

On Fri, 16 Nov 2018 13:22:19 -0700
Don NetBSD  wrote:


So, it seems like there are a boat load of prompts -- "u-boot>",
"->", "ok" ...  And, nothing that seems to summarize ALL of
the pertinent environments in which you can be interacting with
the box.


You're getting confused between various consoles. This is what I do to
log in

I have a Linux laptop connected to T5220 via serial cable


Here I use 'cu' to initiate connection:

# chmod 666 /dev/ttyUSB0
# cu -l /dev/ttyUSB0


Fine, I use tip(1)...


First login takes me to service processor console:

SUNSP00212824CA7D login: root
Password:
Waiting for daemons to initialize...

Daemons ready

Sun(TM) Integrated Lights Out Manager

Version 2.0.4.27.g

Warning: password is set to factory default.


This is where we differ.  I get a U-Boot banner (actually, TWO of them)
followed by a "u-boot>" prompt.  If I issue the "boot" command at that
prompt, the service processor boots (lots of diagnostic output before
finally offering up the "->" prompt)

Once at the SP prompt, I can progress to a console, as below.  I just
have this "extra step" BEFORE the SP prompt is available.

And, am unsure of what I can do, there (e.g., I was able to reset
the password for the SP using commands from the "u-boot>" prompt)


The following command takes me to system console. After I type 'y' and
hit Enter key, Solaris login prompt appears:

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y

Serial console started.  To stop, type #.

t5220 console login:




I don't know if your system is bootable and if it has Solaris running.
If not, then download ISO, burn to DVD and try booting from that.


The system boots (5.10) -- if I want to go that far.  Right now, I want
to sort out how to get the box into a configuration that I can at least
document.  Then, figure out how I might want to CHANGE that to suit my
specific needs.

Starting at the "u-boot level" seems the most prudent...



Re: Netra T5220

2018-11-16 Thread Don NetBSD

On 11/16/2018 1:56 PM, Brett Lymn wrote:

On Fri, Nov 16, 2018 at 01:22:19PM -0700, Don NetBSD wrote:

Version 3.0.10.4 r61032

Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

Warning: password is set to factory default.

-> version
SP firmware 3.0.10.4
SP firmware build number: 61032
SP firmware date: Tue Dec  6 10:59:21 PST 2011
SP filesystem version: 0.1.22

->


ok, that is the SP prompt. Get a console using:

start /HOST/console


Yes, but what's the prompt BEFORE that (u-boot>)?  And, where do I
find the capabilities, there, documented?

[I'm sure that a console won't let me into whatever OS is installed
as I've no idea what the root password is likely to be]

BTW, examining some of the logs suggest it is (was?) running
Solaris 5.10



Re: Netra T5220

2018-11-16 Thread Brett Lymn
On Fri, Nov 16, 2018 at 01:22:19PM -0700, Don NetBSD wrote:
> Version 3.0.10.4 r61032
> 
> Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
> 
> Warning: password is set to factory default.
> 
> -> version
> SP firmware 3.0.10.4
> SP firmware build number: 61032
> SP firmware date: Tue Dec  6 10:59:21 PST 2011
> SP filesystem version: 0.1.22
> 
> ->

ok, that is the SP prompt. Get a console using:

start /HOST/console


-- 
Brett Lymn
Let go, or be dragged - Zen proverb.


Re: Netra T5220

2018-11-16 Thread Don NetBSD

On 11/16/2018 1:27 AM, Sad Clouds wrote:

On Fri, 16 Nov 2018 01:01:18 -0700
Don NetBSD  wrote:


[probably best to take this off list?]


I am hoping to make some time to play with this over the weekend
(or, over the holiday).  Right now, its just "in the way"  :-/


Not sure about your case specifically, but on my system there is an
ILOM SP (service processor), this is separate from UltraSPARC T2
processor.


Yes, this was my first source of confusion (I was expecting the OFW
to more resemble my Voyager/U60/SB2000).


They use embedded Linux that boots into SP, which is what you see on
the banner. This allows you to ssh into the system when it is not
running and configure/upgrade firmware, start/stop OS, etc. By default,
ILOM uses DHCP to acquire IP address and the default login/password is
root/changeme. There is a special management port that you need to plug
to the rest of your network. Alternatively you can use serial-to-usb
cable, which I guess is what you're doing since you can see SP boot
messages.


I'm using tip(1) over a regular serial port.


I think the SP is some kind of embedded IBM Power processor.

https://docs.oracle.com/cd/E19350-01/820-3010-12/820-3010-12.pdf


Note, however, that neither "U-Boot" (which is part of the banner)
NOR "u-boot>" (which is the prompt that appears) exists anywhere in
this text!

So, it seems like there are a boat load of prompts -- "u-boot>",
"->", "ok" ...  And, nothing that seems to summarize ALL of
the pertinent environments in which you can be interacting with
the box.

Note, for example, the different responses to the "version" command
(no doubt, this is "old" -- but HOW old?  Which versions of Slowaris
might it support -- without a firmware upgrade?):
---
U-Boot 1.1.1

custom Sun Microsystems U-Boot 1.3 (Dec  6 2011 - 11:01:09) r61032

CPU:   MPC885ZPnn at 133 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board: SPARC885
   Watchdog enabled
I2C:   ready
DRAM:
trying 128 MBytes
(128 MB SDRAM) 128 MB
Memory Tests: DA A1 A2 00 FF 55 AA T2 T3 T4
POST memory PASSED
FLASH: 32 MB
In:serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET
POST i2c  c  d 14 18 2a 2d 2e 30 40 43 46 51 53 54 56 59 68 69 6a 6b 70 71 
PASSED
POST cpu PASSED
POST ethernet PASSED
Booting linux in 30 seconds...

(*** abort boot ***)

u-boot> version

U-Boot 1.1.1

custom Sun Microsystems U-Boot 1.3 (Dec  6 2011 - 11:01:09) r61032
u-boot> boot
## Booting image at fe08 ...
   Image Name:   Linux-2.4.22
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:815088 Bytes = 796 kB
   Load Address: 
   Entry Point:  
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
do_bootm_linux():
  argv[0]=bootm
  argv[1]=0xfe08
## Current stack ends at 0x07D388B8 => set upper limit to 0x0080
No initrd
## cmdline at 0x007FFF00 ... 0x007FFF80
...yada yada yada

login: root
Password: changeme
Waiting for daemons to initialize...
.
Timed out waiting for daemons to start
sccd daemon has shutdown

Oracle(R) Integrated Lights Out Manager

Version 3.0.10.4 r61032

Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

Warning: password is set to factory default.

-> version
SP firmware 3.0.10.4
SP firmware build number: 61032
SP firmware date: Tue Dec  6 10:59:21 PST 2011
SP filesystem version: 0.1.22

->


Re: Netra T5220

2018-11-16 Thread Sad Clouds
On Fri, 16 Nov 2018 01:01:18 -0700
Don NetBSD  wrote:

> The banner says:
> U-Boot 1.1.1
> 
> 
> custom Sun Microsystems U-Boot 1.3
> ^^
> 
> And, autoboots a Linux 2.4.22 kernel (which must reside on internal
> FLASH as it boots even with the drives pulled!)
> 
> I am hoping to make some time to play with this over the weekend
> (or, over the holiday).  Right now, its just "in the way"  :-/

Not sure about your case specifically, but on my system there is an
ILOM SP (service processor), this is separate from UltraSPARC T2
processor.

They use embedded Linux that boots into SP, which is what you see on
the banner. This allows you to ssh into the system when it is not
running and configure/upgrade firmware, start/stop OS, etc. By default,
ILOM uses DHCP to acquire IP address and the default login/password is
root/changeme. There is a special management port that you need to plug
to the rest of your network. Alternatively you can use serial-to-usb
cable, which I guess is what you're doing since you can see SP boot
messages.

I think the SP is some kind of embedded IBM Power processor.

https://docs.oracle.com/cd/E19350-01/820-3010-12/820-3010-12.pdf



Re: Netra T5220

2018-11-16 Thread Sad Clouds
On Thu, 15 Nov 2018 22:10:26 -0700
Don NetBSD  wrote:

> This may well be the killer.  Someone appears to have flashed a
> custom OFW image -- which I'll have to rid the machine of before I
> can do ANYTHING with it.

If someone put the latest firmware version there, then keep it. There
is probably a way to reset passwords without flashing firmware, could
be a jumper on the mainboard.



Re: Netra T5220

2018-11-16 Thread Don NetBSD

On 11/16/2018 12:05 AM, Sad Clouds wrote:

On Thu, 15 Nov 2018 22:10:26 -0700
Don NetBSD  wrote:


This may well be the killer.  Someone appears to have flashed a
custom OFW image -- which I'll have to rid the machine of before I
can do ANYTHING with it.


If someone put the latest firmware version there, then keep it. There
is probably a way to reset passwords without flashing firmware, could
be a jumper on the mainboard.


The banner says:
U-Boot 1.1.1


custom Sun Microsystems U-Boot 1.3
^^

And, autoboots a Linux 2.4.22 kernel (which must reside on internal FLASH
as it boots even with the drives pulled!)

I am hoping to make some time to play with this over the weekend
(or, over the holiday).  Right now, its just "in the way"  :-/


Re: Netra T5220

2018-11-15 Thread Don NetBSD

On 11/15/2018 3:46 AM, Sad Clouds wrote:

On Wed, 14 Nov 2018 17:00:06 -0700
Don NetBSD  wrote:


I've rescued a Netra T5220 (haven't attached a console, yet).



2. Solaris 11.3 is pretty good and has many features not available
in NetBSD, such as LDOMs, Zones, ZFS, good multithreading in kernel. It
also has its native pkg, so you can install additional software, or you
can use pkgsrc. I've not tried it yet, but I think you could run
Solaris as a primary LDOM and then a number of Solaris/OpenBSD
instances in guest LDOMs.


These (and the 20 inch depth) are what originally attracted me to the box.
I was hoping I could add a pair of dual channel SAS controller PCIe
cards to attach external arrays (I see *some* support for these under 11).


3. Not sure how Solaris is licensed these days, but if you're going to
use it for commercial purpose, you will probably need to pay. It may
also need latest firmware upgrades, which you cannot get without Oracle
support contract.


This may well be the killer.  Someone appears to have flashed a custom OFW
image -- which I'll have to rid the machine of before I can do ANYTHING
with it.

I have a colleague who worked for Sun before the Oracle buyout who may still
have access to current (or even previous!) patches.  If not, I'll probably swap
the box for something more convenient.


4. Future versions of Solaris have a tendency of removing support for
older hardware, so your upgrade path is rather limited. However if
you're not using hardware in a production environment, then you may not
need all the latest features and bug fixes.


Exactly.  OTOH, NetBSD support would have left that door open for me...  :-/


Re: Netra T5220

2018-11-15 Thread Sad Clouds
On Wed, 14 Nov 2018 17:00:06 -0700
Don NetBSD  wrote:

> I've rescued a Netra T5220 (haven't attached a console, yet).
> 
> I'm soliciting comments as to whether I should leave/install
> Slowaris on it or NetBSD.  I think the Slowaris option gives
> me more "out-of-the-box" functionality (without having to
> build/install the apps I might want)

It would be helpful if you could tell what you're going to use this
machine for. I have Sun Enterprise T5220 and here are some of my
opinions:

1. Currently NetBSD does not have good support for this CPU
architecture, so it probably won't run. I think OpenBSD supports it
much better and also has support for LDOMs. So if you want BSD then
OpenBSD is the only option (I think FreeBSD dropped sun4v a long time
ago due to lack of interest/resources?).

2. Solaris 11.3 is pretty good and has many features not available
in NetBSD, such as LDOMs, Zones, ZFS, good multithreading in kernel. It
also has its native pkg, so you can install additional software, or you
can use pkgsrc. I've not tried it yet, but I think you could run
Solaris as a primary LDOM and then a number of Solaris/OpenBSD
instances in guest LDOMs.

3. Not sure how Solaris is licensed these days, but if you're going to
use it for commercial purpose, you will probably need to pay. It may
also need latest firmware upgrades, which you cannot get without Oracle
support contract.

4. Future versions of Solaris have a tendency of removing support for
older hardware, so your upgrade path is rather limited. However if
you're not using hardware in a production environment, then you may not
need all the latest features and bug fixes.



Re: Netra T5220

2018-11-15 Thread Julien Savard
Unfortunately, as of 5 Nov 2017 (
http://mail-index.netbsd.org/port-sparc64/2017/11/05/msg002700.html ) and
according to the official netbsd wiki page (
http://wiki.netbsd.org/ports/sparc64/ ), netbsd does not support sun4v
architecture yet... it does seems however somebody at netbsd is trying to
make it work ( http://www.netbsd.org/~palle/sun4v/ ).

IMHO, you should stick to solaris 10 or 11 if you want to get the maximum
from the hardware ( LDOMs and possibility to write to eeprom from OS ). If
you want an alternative, Oracle has ported RHEL6 to sun4v. You can download
it here :
https://www.oracle.com/technetwork/server-storage/linux/downloads/oracle-linux-sparc-3665558.html
Nevertheless, RHEL6 is kinda old ( Released on 2010 alongside NetBSD 5.1
). Red Hat should EOL it on 2020. Oracle should EOL OEL6 (x86_64?) in 2021.
Else, if you really want to help NetBSD project you should contact the
sparc64 port admin.

Choice is yours.

On Wed, Nov 14, 2018 at 7:00 PM Don NetBSD  wrote:

> I've rescued a Netra T5220 (haven't attached a console, yet).
>
> I'm soliciting comments as to whether I should leave/install
> Slowaris on it or NetBSD.  I think the Slowaris option gives
> me more "out-of-the-box" functionality (without having to
> build/install the apps I might want)
>


Re: Netra T5220

2018-11-14 Thread Brett Lymn
On Wed, Nov 14, 2018 at 05:00:06PM -0700, Don NetBSD wrote:
> 
> I'm soliciting comments as to whether I should leave/install
> Slowaris on it or NetBSD.  I think the Slowaris option gives
> me more "out-of-the-box" functionality (without having to
> build/install the apps I might want)


Unsure about NetBSD support but do keep in mind that the T5520 and
friends are deprecated in Solaris 11.4.  You will be stuck on Solaris
11.3 if you take that path... just saying :)

-- 
Brett Lymn
Let go, or be dragged - Zen proverb.