RYB Mac OS

TopicRybka Support & Discussion / Rybka Discussion / Rybka 2.3.2a.mp.x64 and Mac OS X 10.5 Leopard
I am trying to get Rybka running on Mac OS X 10.5.1 using Microwine Darwin 0.5. It works perfectly with the single processor version. However, the MP version Rybkav2.3.2a.mp.x64.exe crashes due to shared memory issues:
./microwine.Darwin Rybkav2.3.2a.mp.x64.exe
Shared memory allocation of 33554432 bytes failed; the program will
probably crash very soon. (shmget: Invalid argument)
Usually, this is the sign of too little shared memory allocated
on the system. Try editing /etc/rc and change the kern.sysv.shmmax
value to 33562624, then reboot. (You may also need to adjust
kern.sysv.shmall to 8194 or higher.)
Segmentation fault

In Leopard, there is no /etc/rc anymore. Any ideas on how to get this running?
P.S.: Tx a lot to Steinar for developing microwine, what a useful hack!

The 'classic' Mac OS is the original Macintosh operating system that was introduced in 1984 alongside the first Macintosh and remained in primary use on Macs until the introduction of Mac OS X in 2001. Apple released the original Macintosh on January 24, 1984; its early system software was partially based on the Lisa OS and the Xerox PARC Alto computer, which former Apple CEO Steve Jobs. LibreOffice / ˈ l iː b r ə / is a free and open-source office productivity software suite, a project of The Document Foundation (TDF). It was forked in 2010 from OpenOffice.org, which was an open-sourced version of the earlier StarOffice. Latest mac os sierra. The macOS High Sierra 10.13.6 Update adds AirPlay 2 multiroom audio support for iTunes and improves the stability and security of your Mac. This update is recommended for all users Apple's macOS High Sierra 10.13.6 may not be the latest Mac OS, but it's still a great operating system.Here's everything you need to know about macOS 10.13 from compatibility to how to.

> Try editing /etc/rc


I have no idea about Mac OS X, but the similar code in Crafty reads:
ERROR. shmget() failed, unable to allocate a shared memory segment.
Please verify that your /proc/sys/kernel/shmmax value is large enough to allow allocating the amount of memory you are requesting.

> echo 1000000000 > /proc/sys/kernel/shmmax


will allow a segment up to one billion bytes. I recall doing this when fooling with Crafty (it worked, and w/o re-booting).
Tx, but there is no such file in Mac OS X.
From some postgresql installation notes
If You Get an Error About Shared Memory
In OS X 10.3.9 and later, create a file named /etc/sysctl.conf containing these variable assignments, and reboot:
kern.sysv.shmmax=4194304
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.sysv.shmall=1024
I'm not sure that this is desired value of kern.sysv.shmmax in your case, though.
BydrommDate 2007-12-21 14:32Edited 2007-12-21 14:50
It works. I created a sysctl.conf in /etc with the following two lines:
kern.sysv.shmmax=33562624
kern.sysv.shmall=8194

Reboot, and whoa, Rybka MP is running smoothly in the Shredder GUI.
Nice, so Rybka is now the strongest engine also on Mac OS X :)
this is amazing. Now there's 3 really strong progs on the Mac
yep, after creating this file and reboting the system the below command does not crash anymore.
./microwine.Darwin Rybkav2.3.2a.mp.x64.exe
how did you install it inside Schredder? When create a new engine inside Schredder I can only navigate to microwine.Darwin, I can not give it the parameter Rybkav2.3.2a.mp.x64.exe.
Kind Regards, Herbert
a shell script works fine, however the MP version crashes a lot and after a crash it is not possible to restart it, the system must first be rebooted.
hgj
That's interesting, I've actually never seen it crash. Granted, I've only used the Mac version for twelve hours or so...
If it's not possible to restart it, it might be due to the shared memory still being in use. You might want to look into the 'ipcs' and 'ipcrm' commands, if OS X has any of those.
/* Steinar */
Below a crashreport, the others look the same.
Process: microwine.Darwin [5078]
Path: ./microwine.Darwin
Identifier: microwine.Darwin
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [5076]
Date/Time: 2008-01-23 00:31:16.861 +0100
OS Version: Mac OS X 10.5.1 (9B18)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xffffffffffffffff
Crashed Thread: 0
Thread 0 Crashed:
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0xffffffffffffffff rbx: 0xffffffffffffffff rcx: 0x0000000000000001 rdx: 0x0000000000000000
rdi: 0x0000000000000020 rsi: 0x0000000000000017 rbp: 0x0000000000000000 rsp: 0x00000000021fcd98
r8: 0x0000000000001fff r9: 0x0101010101010101 r10: 0x00000000008532c4 r11: 0x0000000000000000
r12: 0x0000000002200220 r13: 0x0000000000831708 r14: 0x0000000000000020 r15: 0x0000000000000001
rip: 0x000000000057279b rfl: 0x0000000000000216 cr2: 0xffffffffffffffff
Binary Images:
0x1000 - 0x3fef +microwine.Darwin ??? (???) /Users/hgj/rybka/microwine.Darwin
0x7fff5fc00000 - 0x7fff5fc2e3a3 dyld 95.3 (???) <cd99d065ba4917450dca6958a854c594> /usr/lib/dyld
0x7fff82b3b000 - 0x7fff82b3dfff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x7fff83b70000 - 0x7fff83ceffeb libSystem.B.dylib ??? (???) <a9297f52cb1431e26cd3ffd4b9ca7615> /usr/lib/libSystem.B.dylib
0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

btw: I'm very happy I can run Rybka in SP mode on my new MacBook, the problem only is with the MP version, and off course the SP is also much stronger then me, thanks for your work.>

Mac Os Catalina

RYB Mac OS
Maybe it is the some problem between Schredder and microwine about the size of the Hashtable, sometimes the input box for the hashtable inside Schredder is not working anymore. It is reset to zero and the arrow keys to change it is not working, see screenshots.
http://herbert.groot.jebbink.nl/sp.png
http://herbert.groot.jebbink.nl/mp.png
is there a way so see all communication between Schredder and microwine? Maybe schredder is sending strange values for the size of the hashtable
hgj
Hm, it's crashing somewhere outside of the Rybka code segment, it seems. It's going to be really hard to debug that without a stack trace.
It's odd that it is so different in SP and MP; I've only tried it with MP on Mac, IIRC. The only thing I could think of immediately would be recompiling with the second half of fixup_code() removed (the one after the comment starting with 'c1 e0 03'), but I doubt it would help much.
/* Steinar */
ByDennis BrederDate 2008-08-26 12:09Edited 2008-08-26 12:21
Hello, I intend to install Rybka on a new Mac Pro, too. I do not have any experience with Macs so far, only some with Linux.
In OS X 10.3.9 and later, create a file named /etc/sysctl.conf containing these variable assignments, and reboot:
kern.sysv.shmmax=4194304
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.sysv.shmall=1024
I'm not sure that this is desired value of kern.sysv.shmmax in your case, though.
Reply:
Parent - N/- By dromm [de] Date 2007-12-21 14:32 Edited 2007-12-21 14:50
It works. I created a sysctl.conf in /etc with the following two lines:
kern.sysv.shmmax=33562624
kern.sysv.shmall=8194

How do I know which numbers I will have to choose ?
I read you use the Shredder GUI. Are there any other GUIs for Mac available (maybe even freeware ?) which can be used for Rybka ?
Is it actually possible to install GUI+Rybka on a new iphone (I was told that the iphone has Mac OS, but I do not know which one) ,too ?
The value of shmmax depends on the hash size you want to use.
You cannot install Rybka on iPhone. Even though it's running the Darwin kernel (and probably other parts of OS X, although far from all of it) it's not an x86; it's an ARM.
/* Steinar */
Its a dual core notebook with 4 GB RAM.
If I intend to choose 128 MB (or 512 MB as a second example) hash, which numbers I will have to use ? What does the parameter shmall mean ?
ByNaltap312Date 2008-08-31 15:26Edited 2008-08-31 15:55
Hi Rybka Community,
I have read some topics about X11 and Mac OSX to use Rybka.
I think i have found a solution for Leopard.
I have downloaded the freeware DarWine in beta version http://www.kronenberg.org/darwine/
and the other freeware X11http://xquartz.macosforge.org/trac/wiki , The X11 package.
First install the X11 package, the leopard X11 have a lot of problems on my Leopard.
Second, install DarWine.
Then, start X11 and wait than the xterm is started.
Then start Darwine and select Arena.exe and logically all is fine.
I have so used the 2.2 version of rybka with success.
I hope this will help some users.
I haven't found some upload action to put a screenshot, but sure it's work.
So with these options all is freeware and and is fine, what more for people ;)
I have just test it with Shredder 8 Interface Fritz and all is fine.
I think it is the best way.
Regards
Naltap312
TopicRybka Support & Discussion / Rybka Discussion / Rybka 2.3.2a.mp.x64 and Mac OS X 10.5 Leopard

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill

Is your Mac up to date with the latest version of the Mac operating system? Is it using the version required by a product that you want to use with your Mac? Which versions are earlier (older) or later (newer, more recent)? To find out, learn which version is installed now.

If your macOS isn't up to date, you may be able to update to a later version.

Ryb Mac Os Catalina

Which macOS version is installed?

From the Apple menu  in the corner of your screen, choose About This Mac. You should see the macOS name, such as macOS Big Sur, followed by its version number. If you need to know the build number as well, click the version number to see it.

Which macOS version is the latest?

These are all Mac operating systems, starting with the most recent. When a major new macOS is released, it gets a new name, such as macOS Big Sur. As updates that change the macOS version number become available, this article is updated to show the latest version of that macOS.

If your Mac is using an earlier version of any Mac operating system, you should install the latest Apple software updates, which can include important security updates and updates for the apps that are installed by macOS, such as Safari, Books, Messages, Mail, Music, Calendar, and Photos.

macOSLatest version
macOS Big Sur11.3
macOS Catalina
10.15.7
macOS Mojave10.14.6
macOS High Sierra10.13.6
macOS Sierra10.12.6
OS X El Capitan10.11.6
OS X Yosemite10.10.5
OS X Mavericks10.9.5
OS X Mountain Lion10.8.5
OS X Lion10.7.5
Mac OS X Snow Leopard10.6.8
Mac OS X Leopard10.5.8
Mac OS X Tiger10.4.11
Mac OS X Panther10.3.9
Mac OS X Jaguar10.2.8
Mac OS X Puma10.1.5
Mac OS X Cheetah10.0.4