View previous topic :: View next topic |
Author |
Message |
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Sun Oct 09, 2005 1:05 am Post subject: |
|
|
I updated the MOL release with fixes compiling with GCC 4 and better Tiger support
I've just rolled a 0.9.71_pre3 release of MOL to make it easier for users from other distros. This contains all of the Gentoo patches and should work for you in place of the actual release.
You can get the release here:
http://dev.gentoo.org/~josejx/mol-0.9.71_pre3.tar.bz2
Hope that helps, feel free to ask if you have questions. (Unless it's about building on other distros, I can't really help you there.) _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Last edited by JoseJX on Mon Oct 10, 2005 8:40 pm; edited 2 times in total |
|
Back to top |
|
|
bz31 Tux's lil' helper
Joined: 20 Apr 2005 Posts: 108
|
Posted: Sun Oct 09, 2005 7:48 pm Post subject: |
|
|
Have you a patch for using gcc-4 ? |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Mon Oct 10, 2005 1:20 am Post subject: |
|
|
I've never tried building it with gcc-4, but if you have some error messages I'll take a look. Email me at my dev email address with the errors. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
bz31 Tux's lil' helper
Joined: 20 Apr 2005 Posts: 108
|
Posted: Mon Oct 10, 2005 6:17 am Post subject: |
|
|
JoseJX wrote: | I've never tried building it with gcc-4, but if you have some error messages I'll take a look. Email me at my dev email address with the errors. | I am using debian unstable.
Your mol-0.9.71_pre1-r3.ebuild works on my ibook g4 1.2 Ghz (I'll try your mol-0.9.71_pre2.tar.bz, thanks), but I must using gcc-3.4 and build it under root.
I'll try gcc-4 (the default debian unstable gcc) and email you the errors message, thanks again. |
|
Back to top |
|
|
kohzak n00b
Joined: 10 Oct 2005 Posts: 7
|
Posted: Mon Oct 10, 2005 5:59 pm Post subject: |
|
|
Hi.
I have followed instruction and mol work fine, patch ok, but osx don't find my airport card.
No airport hardware found.
There is no other solution than reinstall Osx ? |
|
Back to top |
|
|
Cenrim Tux's lil' helper
Joined: 04 Dec 2004 Posts: 142 Location: Germany
|
Posted: Mon Oct 10, 2005 7:48 pm Post subject: |
|
|
did you configure MOL for pci-proxying, kohzak? |
|
Back to top |
|
|
kohzak n00b
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Oct 11, 2005 9:03 am Post subject: |
|
|
yes,
i have
enable_pciproxy: yes
pci_proxy_device: 0001:10:12.0
in /etc/mol/molrc.osx
koh |
|
Back to top |
|
|
kohzak n00b
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Oct 11, 2005 9:36 am Post subject: |
|
|
there is anything else to do ? |
|
Back to top |
|
|
koem n00b
Joined: 08 Oct 2005 Posts: 5
|
Posted: Tue Oct 11, 2005 9:40 am Post subject: |
|
|
- Giving mol 256MB of memory helped in my configuration
- is the pci-address 0001:10:12.0 the right one (lspci)?
- in make menuconfig: did you enable pci proxying?
koem |
|
Back to top |
|
|
kohzak n00b
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Oct 11, 2005 10:02 am Post subject: |
|
|
1 - how to you setup ram for mol ?
2 - yes
lspci
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
3 -
cat /boot/config-2.6.12 | grep PCI
# CONFIG_CPCI690 is not set
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IEEE1394_PCILYNX is not set
# CONFIG_NET_PCI is not set
# Wireless 802.11b ISA/PCI cards support
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
# CONFIG_RADIO_GEMTEK_PCI is not set
# PCI devices
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_CMIPCI is not set
It seems that i don't have pci proxy option in my kernel..
Do i have to get a new kernel ?
koh |
|
Back to top |
|
|
koem n00b
Joined: 08 Oct 2005 Posts: 5
|
Posted: Tue Oct 11, 2005 10:08 am Post subject: |
|
|
kohzak wrote: | 1 - how to you setup ram for mol ? |
I think it is in /etc/mol/molrc.osx. Do a fgrep 96 /etc/mol/* to find it.
kohzak wrote: | 3 -
cat /boot/config-2.6.12 | grep PCI |
no, I mean "make menuconfig" in the mol directory. It has an own menuconfig dialog. Or didn't you compile it yourself?
btw. I had to compile a Kernel with gcc-3.4 and mol with gcc-3.4 also.
koem |
|
Back to top |
|
|
kohzak n00b
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Oct 11, 2005 10:23 am Post subject: |
|
|
i have installed mol with
apt-get install mol
So i'have tried
cd /etc/mol/
make menuconfig
"No rulez to create target menuconfig" (translate from french, so i'm not sure about the translation
koh |
|
Back to top |
|
|
bz31 Tux's lil' helper
Joined: 20 Apr 2005 Posts: 108
|
Posted: Tue Oct 11, 2005 10:40 am Post subject: |
|
|
kohzak wrote: | apt-get install mol |
apt-get is for debian.
For debian, I wrote what I did (in french) here.
Last edited by bz31 on Fri Oct 21, 2005 4:36 pm; edited 1 time in total |
|
Back to top |
|
|
kohzak n00b
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Oct 11, 2005 10:42 am Post subject: |
|
|
yes, i'm under debian :p
So i'm going to follow your instruction and try (nice it's in french !
koh |
|
Back to top |
|
|
kohzak n00b
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Oct 11, 2005 11:24 am Post subject: |
|
|
ok.
every things work fine until i try to launch mol
startmol -X
Mac-on-Linux 0.9.71-pre1 [oct 11 2005 13:05]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Removing stale lockfile /var/lock/mol-1
Fatal error: The MOL kernel module is not loaded
I have mol module source in /usr/src/modules/mol/
so make && make install
And try again startmol -X but have the same error.. |
|
Back to top |
|
|
koem n00b
Joined: 08 Oct 2005 Posts: 5
|
Posted: Tue Oct 11, 2005 11:34 am Post subject: |
|
|
bz31 wrote: | For debian, I wrote what I did (in french) here. |
I think you forgot "make install-modules" after compiling mol.
koem |
|
Back to top |
|
|
bz31 Tux's lil' helper
Joined: 20 Apr 2005 Posts: 108
|
Posted: Tue Oct 11, 2005 11:45 am Post subject: |
|
|
kohzak,
I am not sure if we should discuss debian problem here in a gentoo forum.
For your problem, check if your kernel and mol are built using the same gcc version.
PS: email me or go to http://forum.macbidouille.com/index.php?showtopic=141571
koem
Il seems we don't need "make install-modules". |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Wed Oct 12, 2005 5:53 pm Post subject: |
|
|
I've uploaded another tarball here: http://dev.gentoo.org/~josejx/mol-0.9.71_pre4.tar.bz2
It contains a few more fixes from bz31 and other minor things for other distro users. I'll keep updating this tarball as I fix things untill there's a Gentoo release with the same version.
If you have other patches you'd like to see included, please let me know via my gentoo email address. Thanks.
Changelog for all of the MOL versions up to now:
mol-0.9.71_pre4:
* Big filesystem fix is applied in build system instead of the ebuild
* Tiger nvram fix is applied in the build system instead of the ebuild
* Fix for improper binutils handling of some ASM (thanks Bin Zhang)
* Fixed versions and a few minor typos
mol-0.9.71_pre3:
* Tiger Acceleration fix by adding NW compatible NVRAM image
* GCC4 compile fixes
mol-0.9.71_pre2:
* Based on MOL BK development pull
* Build fix for 2.6.9
* Build fix for 2.6.10
* Build fix for 2.6.12
* Scheduler Fixes (fixes lag in newer kernels)
* .tmp_offset patch fixes sandbox issues on Gentoo
* Tiger support (Mattias Nissler's patch)
* PCI Proxy support
* MOL module loading name fix
* Tiger 8GB Disk install patch
* 96MB BootX fix
* XSHM fix
* Sheep building typo fixed
* Probably other minor things
Known Issues:
* Jaguar support is broken (Doesn't boot, probably a driver issue, use pre1-r3 if you need it)
* Installing Panther/Jaguar is broken with the included nvram file (need to make it generic). _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
Fugee47 Apprentice
Joined: 25 Nov 2004 Posts: 196 Location: Germany
|
Posted: Thu Oct 13, 2005 7:06 pm Post subject: |
|
|
when i start mac osx via mol it doesnt find the airport-card !!
i have extracted the driver from the install-cd and patched it (the patch said it was successfull).
The newest mol is installed with the pci-use-flag and pci-proxying is enabled in the mol-config.
I dont know whats wrong ...
Ethernet is working via the tun-device ....
maybee someone has a solution ?? |
|
Back to top |
|
|
bz31 Tux's lil' helper
Joined: 20 Apr 2005 Posts: 108
|
Posted: Thu Oct 20, 2005 8:35 pm Post subject: Linux applications --> AirportExtreme --> Internet |
|
|
Some OSX config information for linux_applications --> AirportExtreme --> Internet:
In OSX/MOL, go to SystemPreferences:Sharing. Under Internet : Share your connection from: AirPort, choose Ethernet Adaptor (en3) (It's en3 for me, but maybe en2 for you).
* If you don't use the built-in firewall. OK. It works. Code: | $ sudo ipfw list
00010 divert 8668 ip from any to any via en1
65535 allow ip from any to any | (no firewall, only natd listens to the port 8668)
* If you start the built-in firewall. Code: | $ sudo ipfw list
00010 divert 8668 ip from any to any via en1
02000 allow ip from any to any via lo*
02010 deny ip from 127.0.0.0/8 to any in
02020 deny ip from any to 127.0.0.0/8 in
02030 deny ip from 224.0.0.0/3 to any in
02040 deny tcp from any to 224.0.0.0/3 in
02050 allow tcp from any to any out
02060 allow tcp from any to any established
12190 deny tcp from any to any
65535 allow ip from any to any | (line 2 to last line is the built-in firewall's default setting).
You should reconfigure the OSX firewall. For example Code: | $ sudo ipfw add 00020 allow ip from any to any via en3 | Note : This disable the built-in firewall's GUI config, if you want use it again, you must first do a "sudo ipfw -f flush", or reboot OS X. |
|
Back to top |
|
|
raimundex n00b
Joined: 24 Oct 2005 Posts: 18
|
Posted: Mon Oct 24, 2005 2:40 am Post subject: mol |
|
|
add this lines on /etc/mol/molrc.osx
enable_pciproxy: yes
pci_proxy_device: 0001:10:12.0
and startmol.
i have this error
PCIPROXY: warning: PCI bus mastering not working with MOL |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
raimundex n00b
Joined: 24 Oct 2005 Posts: 18
|
Posted: Mon Oct 24, 2005 10:51 am Post subject: hmm |
|
|
yes, when i insert the lines, mac os not start, BUT if i remove the lines it start BUT the airport not is identified |
|
Back to top |
|
|
raimundex n00b
Joined: 24 Oct 2005 Posts: 18
|
Posted: Mon Oct 24, 2005 4:17 pm Post subject: mol |
|
|
? help-me :[ |
|
Back to top |
|
|
raimundex n00b
Joined: 24 Oct 2005 Posts: 18
|
Posted: Tue Oct 25, 2005 12:53 am Post subject: mol |
|
|
? help?? |
|
Back to top |
|
|
|