sheep_net module on kernel 2.6

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
chris

sheep_net module on kernel 2.6

Post by chris »

I am running kernel 2.6.3 and cannot compile the sheep_net module under kernel 2.6.
Has anyone had any luck getting networking working on SheepShave or BasiliskII under krnel 2.6
Guest

Post by Guest »

I have not been able to get it to compile under 2.6.4. I switched the linux symlink in /usr/src to my 2.4 kernel sources and it compiled perfectly, however, obviously didn't run with the 2.6 kernel.

Anyone out there know how to get this to compile for 2.6?
Lucy_and_Linux
Space Cadet
Posts: 4
Joined: Sat Jun 26, 2004 1:30 pm
Location: Yokohama

`sheep.ko' from mol-modules worked for kernel-2.6

Post by Lucy_and_Linux »

Finally,
I was able to make sheep_net.o compatible modules,
`sheep.ko'
by doing the following things.
By the way, I use Debian for daily use.
The whole process explained here depends on
Debian's kernel rebuilding system.


I got the precompiled newest binary SheepShaver-2.2-12.i586.rpm
from the net,
debianized this .rpm to the .deb file by

# alien SheepShaver-2.2-12.i586.rpm

this made a sheepshaver_2.2-13_i386.deb in a current directory,

got newest mol-modules-source from the net, in my case,

mol-modules-source_0.9.70-6_powerpc.deb

(which is made for PowerPC architecture computers, )

# dpkg -i --force-architecture mol-modules-source_0.9.70-6_powerpc.deb

This will enforce to expand the package,
placing mol-modules.tar.gz in the /usr/src/

My kernel source tree, which is a /usr/src/linux
is linked to /usr/src/linux-2.6.6,

therefore I ran a make-kpkg (MAKE-KernelPacKaGe command) in a following
manner.


# make-kpkg modules_image

(probably kernel will have to be rebuilt at least a once to run
this command)

The process making this modules image ABORTS in the middle with error,
however, under /usr/src/modules/mol/src/netdriver/build/
there was a sheep.ko module,
which was compatible with 2.4.xx's sheep_net.o module.

# insmod sheep.ko

This worked for me.

I was NOT able to use the hand-compiled SheepShaver from the source.
make sure getting a NEWEST mol-modules-source and SheepShaver-binary
packages.

Wish if this helps.

June 26th, 2004, HFK.
P.S. don't forget to make /dev/sheep_net!
ShadowFox
Tinkerer
Posts: 70
Joined: Thu Feb 05, 2004 4:41 am
Location: Connecticut

Post by ShadowFox »

Would you be able to email me the sheep.ko module? I'd like to test it here and see if the binary is compatible with a few of my gentoo installations. My email is mpolansky AT gmail.com
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

sheep_net.ko

Post by Cat_7 »

I second that petition. Could you please mail the module?

howard_spoelstra at hotmail dot com

Best,

Cat_7
Lucy_and_Linux
Space Cadet
Posts: 4
Joined: Sat Jun 26, 2004 1:30 pm
Location: Yokohama

Sure!

Post by Lucy_and_Linux »

Sure!

Sorry for late reply.

It is named sheep_3.ko
since this is the third version of my sheep.ko;
I've tested many mol-modules-source.tar.gz.

Linux checks for versions,
I'm not sure if this works for your environment.

regards,

Lucy_and_Linux, HFK.
mike
Inquisitive Elf
Posts: 37
Joined: Sun Jun 06, 2004 9:02 pm

Post by mike »

me 3
mikesown [at] optonline.net
Lucy_and_Linux
Space Cadet
Posts: 4
Joined: Sat Jun 26, 2004 1:30 pm
Location: Yokohama

Post by Lucy_and_Linux »

Thanks for having interest at my comment.

Is this legal?

I mean sending only a compiled result of a GPL product,
without the source code without permission of the author.

and another thing;

I realized there are possibility that I am sending a SPAM to the mail address,
which I am not certain.

I will write my address which doesn't much bother. From now on,
for those who wants a sheep.ko, Send a request of sheep.ko at :
fkowata atmark g02 dot itscom dot net

This way I can be sure that person that writes, want the module,
at least this is the better way I believe.

Afterall, what I did was compile a mol (mac-on-linux) modules source,
getting from the ftp site, obtaining a kernel module for the kernel.

Mike, I will sending 'my' sheep.ko with the mol-modules source,
at the address written anyway.

Thanks to the authors of Mac-On-Linux and Mac-On-Linux-modules.

Frank

HFK.
Lucy_and_Linux
Space Cadet
Posts: 4
Joined: Sat Jun 26, 2004 1:30 pm
Location: Yokohama

It seems using TUN/TAP works better

Post by Lucy_and_Linux »

I admit. :cry:
Now I use kernel 2.6.9, couldn't find a way to make `sheep.ko' working on SheepShaver.

As you can find in
http://www.emaculation.com/phpBB/viewtopic.php?t=1987
the TUN/TAP way works, even with a netatalk on the local machine
and using network printer.
Post Reply