Email or username:

Password:

Forgot your password?
75 comments
nil :demisexual_flag:

i spent hours trying to get this program to run for the bit and then gave up and just faked it with a shell script. why am i like this :)

edit: i did a bit of hacking to bypass parts of the code that weren't working in the emulator, and confirmed that the program will behave exactly like the screenshot: furry.engineer/@nil/1137555461

Phil M0OFX

@nil To be fair I'd have probably done the same ... I imagine you did something along the lines of grepping all the binaries for that string and trying to patch them with ghidra (which is what I'd have probably done)

nil :demisexual_flag:

@philpem i tried a quick grep for the string in the binaries and couldn't find it, so i instead wrote a shell script that just prints it out. even if i did find it, at this point i wasn't feeling like putting in the effort to hack a binary just for a funny screenshot

nil :demisexual_flag:

ok now i'm curious. i'm opening up the program in ghidra, and it turns out there's a check for the future and the past?? and there's debug symbols too, so that's nice... i'll try to clean up the decompilation of validate_system_time and show what it does

nil :demisexual_flag:

the majority of this function is just parsing a hardcoded string ("Mar 1 2004") to convert it to year, month, and date integers. this isn't the future limit date, btw. the program also checks if the date is too far in the *past*. looks like the hardcoded last allowed time you can run this program is midnight on December 31, 2009

nil :demisexual_flag:

so if it makes anyone feel better i just got the actual real code to print out the message. i had to nop out everything before the time validation function so it would run (the sunpci hardware isn't emulated on qemu), but indeed this program does check the date and exit if it's too far in the future

The same message in the previous screenshot, but from a program called "patched.elf".
saxnot

@nil lol wtf how shortsighted of them

total L for not having a force option

Bex, considering Verena as her new name
@nil what point in time does Solaris consider to be too far into the future?
Walter van Holst

@nil That is one way to solve the 2038 problem...

Sebastian Hagedorn :koeln:

@nil I think I ran into the past check back in the day, because the system came up with epoch as boot time, or something like that.

Solarbird :flag_cascadia:

@nil holy shit

now _that_ is a warning message!

does it use the time despite not believing it? as in, does it behave correctly?

nil :demisexual_flag:

@moira this is an edited screenshot since the program (SunPCi) depends on hardware that as far as i know isn't emulated yet. but from what i know, the program will refuse to run in this situation

Julius Schwartzenberg

@nil @moira I have that hardware actually (SunPCi II). Not used in quite a while, but this kind of sucks if it really just doesn't work anymore at all now :(

nil :demisexual_flag:

@jschwart @moira i did some binary hacking to see how the date validation works. it's just one function, and takes a 4 byte change in sunpcbinary to replace the call with a nop. where that call is depends on what version of the software you have

Julius Schwartzenberg

@nil @moira many thanks for looking into this. I won't be able to try it soon, but when I do and run into this, I'll be sure to reach out!! You seem to be using the program for the SunPCi III whereas I have a SunPCi II. Possibly they are different. I still had the Ultra 5 on my desk in 2010-2011, so possibly the check isn't in that version or I indeed didn't boot up the card after 2009.

There is relatively little point in emulating that card btw. (A 2nd QEMU x86 instance will help more.)

nil :demisexual_flag:

@jschwart @moira for sure, i only emulated it since i wanted to get this error message and don't have a sun workstation of my own, let alone a SunPCi. if i wanted to run old x86 software i'd use 86Box or DOSBox. but it would be nice for the sake of preservation, if really impractical, if someone could implement an emulator for the SunPCi.

Julius Schwartzenberg

@nil @moira I see where you're coming from but basically you'd end up hooking up a second QEMU instance with some rather limited and peculiar hardware. The SunPCi II board for instance is just this en.wikipedia.org/wiki/SiS_630/ on a PCI card with some tricks that allow rerouting the display in a window and using disk images stored on the Solaris filesystem.

You'd be dealing with emulating the SiS 630/730 and even if you do that, you then already have a superior independent stand-alone emulator :)

@nil @moira I see where you're coming from but basically you'd end up hooking up a second QEMU instance with some rather limited and peculiar hardware. The SunPCi II board for instance is just this en.wikipedia.org/wiki/SiS_630/ on a PCI card with some tricks that allow rerouting the display in a window and using disk images stored on the Solaris filesystem.

nsfw :donor:

@jschwart @nil @moira I have the original SunPCi running on the 1.3 software and I don't remember it having the date problem.

Sun Ultra 10 installing Windows 98
Sun Ultra 10 playing Doom on Windows
nil :demisexual_flag:

@timjclevenger @jschwart @moira maybe it's something they added later on, then... i can't think of why they would, if it works just fine without the date check

WooShell

@timjclevenger @jschwart @nil @moira This check seems to only have been present in the 3.x versions for the SunPCI 2 and 2+ cards. Apparently there was a patch published in Jan 2010 that removes that check, but the old SunSolve patch repos are long gone, thanks to Oracle.

nil :demisexual_flag:

@moira it's exactly what the program would look like if you ran it, as i was able to hack the program to bypass other checks and jump right to the date check

furry.engineer/@nil/1137555461

onyx :neobot_flag_transbian:

@nil congrats, you just inspired this lmao: forge.katzen.cafe/katzen-cafe/

anyway, may I also include a screenshot of this in the source tree for potential far future reference?

Large Format Projectionist

@nil

Oh man, you just made long for my old Sparc 5.

ΜΆsΜΆeΜΆtΜΆhΜΆ ΜΆ ΜΆ

@nil More proof that there's no such thing as test code; all code is production code.

You never know if your "hack" will be running on a computer/VM/nuclear reactor/starship/tardis at some unknown date in the future (or the past).

Though with some systems, you can be reasonably sure you're that the time is always somewhere between 1970 and 2038 πŸ˜‚

Frank MΓΌller

@nil Never hat this message, but reminds me of my good old pal end of the 90s. After too many years with DOS and WIN I’ve been proud running my Sparc Workstation to manage a set of Sun and Linux servers.

Robbie Coleman :verified:

@nil wow! I haven't seen that desktop in 25 years!

Π“Ρ€ΠΈΠ³ΠΎΡ€ΠΈΠΉ Клюшников

As far as I'm concerned, the time has stopped in early 2020 and hasn't resumed yet.

Till Kamppeter

@nil Planned obsolescence ... This workstation was not meant to be used for so long ...

Michael Critz

@nil @helge Solaris was my first distro. Thanks for the DeLorian ride, Dr. Brown.

Helge Heß

@pixelscience @nil BTTF 2 was 2015 though. We should all have Mr. Fusion's by now.

Rob

@nil hahahaha so this is the day my SunPCI card will stop being useful

Bob Collins

@nil That is the Motif desktop environment.

Dragon-sided D

@nil now there's a desktop that takes me back...

Steven G. Harms

@nil God that gorgeous deep purple CDE desktop. I can smell the jasmine in the planters, the garlic up from Gilroy, the dump in Milpitas, the herds being sacrificed to a bloodthirsty god at the Showers Drive In-and-Out. Deftones "White Pony" and Tool's "Lateralus." Perl 5. XEmacs. Those were the good times.

(btw. if you have a quick 0-60 guide on getting this desktop on #freebsd, I would be eternally grateful. Present small human demands make digging into a #retrolaris build impossible at present.)

@nil God that gorgeous deep purple CDE desktop. I can smell the jasmine in the planters, the garlic up from Gilroy, the dump in Milpitas, the herds being sacrificed to a bloodthirsty god at the Showers Drive In-and-Out. Deftones "White Pony" and Tool's "Lateralus." Perl 5. XEmacs. Those were the good times.

tjhowse

@nil This reminds me that I need to get out of the software profession before 2038.

Cyclophora

@nil common desktop environment my beloved

Kevin Karhan :verified:

@nil #WhatIfItoldYou that I know some #Solaris 7 Systems that are still up and running in production?

- Sadly I can't tell you where exactpy, but the company that does have them pays very well for anyone able and willing to upkeep those.

DrScriptt

@kkarhan @nil is it wrong that I’d like to know more about the company?

I like to keep my options open.

Kevin Karhan :verified:

@drscriptt @nil it's not wrong...

- I'll just not violate NDAs though...

So sorry to not feed your curiousity m8...

DrScriptt

@kkarhan @nil fair enough.

I retract my question and instead ask you to not violate NDAs. πŸ˜‡

Daniil Baturin

@kkarhan @nil I once got an offer to maintain some software running on Solaris 9 systems.
I'm a huge fan of Solaris but I chose to decline the offer despite the fact that it involved a then-outdated version of my beloved System V flavor.
If I accepted, I guess a lot of things in my life would be very different. I was more excited of the future of Sun products β€” a future that I didn't know was already doomed.
I should finally start contributing something to OpenIndiana, though.

Goose is eyeballing you

@dmbaturin former Solaris 8/9 admin here, and you have my sympathies.

Kevin Karhan :verified:

@dmbaturin @nil yeah, #Oracle ruined #OpemSolaris...

- #Illumos as successor prokect hosever seems to still be up and running tho.

And yes, you ain't the only ones disappointed.

- Been at places that did #HPC computing for #science and they were originally like #Sun fanboys who still had millions in #SPARC & #Solaris invested until Oracle backstabbed them.

Nowadays they run #Linux...

Tom Hayward

@kkarhan @dmbaturin @nil $dayjob migrated desktops from Solaris thin desktops to Linux about 1-2 years ago. Still a few Solaris machines in the background I think, though not sure how many left.

Toasterson

@dmbaturin @kkarhan @nil We are always looking for contributors, hit me up when you need help I am a maintainer with OpenIndiana. What package would you like to do?

Cursed Silicon

@nil Huh. I've not seen that before

Gotta get my 420R running and try it

Moppi

@nil

now im feeling old :thisisfine:

the last time on Solaris was 2010 .... to shutdown the system 4 ever

Wenslauw

@nil feeling so nostalgic seeing that Solaris desktop @xerge

Jack Wagner

@nil Hi there, how’re you doing today? I hope you’re good though. Your name sounds familiar can you send me a dm?

lobingera

@nil btw: olwm/olvwm is the REAL Solaris. Xcde is just an experiment.

β˜• Head Crashing Informatics 🀘

@nil This proofs that programmers often have "great" ideas that simply are bullshit.

divVerent
@nil Protip: set the year to 1997, which has the same week days and leap year rules as 2025. ;)
BardMoss the Linux Guy

@nil that might explain why the Los Angeles Police Department systems shut down because their systems won't work beyond 2024...

Go Up