From: Joel M. <jo...@wa...> - 2010-03-29 18:44:11
|
Hi I managed to install a full new Gentoo Linux on my laptop and eventually came to the SheepShaver stuff to replace my old WallStreet by an emulator so I can continue to work with the documents created previously. I fell upon the last problems published while building SheepShaver and NetDriver on a Linux 2.6.31 kernel with Gentoo distribution : $ uname -srvmpio Linux 2.6.31-gentoo-r6 #6 SMP Wed Mar 17 20:03:01 CET 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux And try my best to have it going on getting help from basilisk-devel list. Once the whole thing worked I can have Mac OS 9.04 from an X window on my Linux box and get access to the Internet into the emulator through NetDriver and a wired or wireless connection. from the official SheepShaver website I put BasiliskII and SheepShaver side by side into the same root directory. - The first patch "SheepShaver_Makefile.patch" let makefile build relatives links between SheepShaver and BasiliksII so they can be moved anywhere into the file system as long as they stay side by side without having to rebuid the links. This patch is not mandatory. - the second patch "sigsegv.patch" is needed with new GCC as it had become too smart and trigger an error on range address when a page fault was traped. $ gcc --version gcc (Gentoo 4.3.4 p1.1, pie-10.1.5) 4.3.4 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. We need to slice the binary created to be sure the address of the trap is within the test addresses. This is why each trap occur between two case labels and a new section of assembly code is set in between. - The third and forth patches "sheep_net.patch" and "NetDriver_Makefile.patch" come from "Spoelstra, Howard" <How...@ou...> witch talk of them on the Basilisk-devel list. Also the fact that locking kernel is no more allowed. If someone is interested by the four of them they are bind for convenience in "all_4_sheep.patch" that can be applied from the directory containing BasiliskII and SheepShaver loaded from CVS : $ patch -p0 < all_4_sheep.patch To load the driver I need the next commands on my system (only root can set them, so I created a script launched at startup) : modprobe sheep_net chmod o+rw /dev/sheep_net sysctl -w vm.mmap_min_addr=0 Greatings, Joel |