help please to install on gentoo

田中 元 mol-general@lists.maconlinux.org
Wed, 14 Jul 2004 22:57:44 +0900


	I am not good at English, so I think that this is unclear mail. I ask you to 
bear beforehand. 
	I am using gentoo ppc (gentoo-dev-sources-2.6.7-r9) /iMac rev.A, B, and G3/DT
. Since it is thought that using mol on OldWorld ppc machines is comparatively
 difficult, I am at first trying to install mol to an iMac. Although GUI/X/win
dowmaker is realized, when I do 
# startmol
, the screen  become white out for a moment and error messages appear. The mes
sages are as follows.

# --------------------------------------------
Mac-on-Linux 0.9.70-gentoo -gentoo  [Jul 12 2004 19:57]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 0
The kernel module '/usr/lib/mol/0.9.70/modules/2.6.7-gentoo-r9/sheep.o' appear
s to be missing.
The kernel module '/usr/lib/mol/0.9.70/modules/2.6.7-gentoo-r9/tun.o' appears 
to be missing.
Running in PowerPC 750 mode, 48 MB RAM
Timebase: 16.66 MHz, Bus: 66.65 MHz, Clock: 266 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered 
Could not connect to X server 
Fullscreen video on VT 7.
Could not open '/var/lib/mol/console.kbd'
Cache enabled for console-video
Video driver(s): [console_video] 

    1024* 768, depth 8,15,32   { 0.0, 75.0 } Hz

No video mode match the default one.
Autoswitching to console
---> The network interface 'eth0' is not configured!
Failed to initialize the sheep-<eth0> device
Failed to open /dev/net/tun: No such device
Failed to initialize the tun-<tun0> device
MOL SCSI controller registered


    <No SCSI Devices>

    CD   /dev/cdrom       CD-ROM         <read-only>   ------ 
    HFS  /dev/hda6        MacOS-9.2.2    <rw> 2000 MB 
    HFS  /dev/hda7        test           <rw> 2000 MB 
----> /dev/hda8 might be a boot-strap partition.
No volumes found in '/dev/hdb'
No volumes found in '/dev/sda'
No volumes found in '/dev/sdb'



>> =============================================================
>> Mac-on-Linux OpenFirmware 0.9.12


>> --- No bootable disk was found! -----------------------------
>> If this is an oldworld machine, try booting from the MacOS
>> install CD and install MacOS from within MOL.
>> -------------------------------------------------------------

cleaning up...
Terminating threads...
DONE
# --------------------------------------------

	There seems to be some defects. 
	It is lack of a few modules, such as sheep and tun, but I don't think they ar
e essential. I think that the defects are in video setting or macos configurat
ion. For the latter I editted in molrc.macos the part

# --------------------------------------------
blkdev:			/dev/cdrom	-cd ${cdboot}

ifeq ${session} 0 {
    # default configuration
    blkdev:		/dev/hda	-rw
    blkdev:		/dev/hdb	-rw
    blkdev:		/dev/sda	-rw
    blkdev:		/dev/sdb	-rw
}
# --------------------------------------------
to
# --------------------------------------------
blkdev:			/dev/cdrom	-cd ${cdboot}

ifeq ${session} 0 {
    # default configuration
    blkdev:		/dev/hda	-rw
    blkdev:		/dev/hdb	-rw
    blkdev:		/dev/sda	-rw
    blkdev:		/dev/sdb	-rw
###
    blkdev:		/dev/hda6	-rw
}
# --------------------------------------------

but the messages showed no change (I saw "No bootable disk was found!" ). 
	About video setting I some times atempted # molvconfig. Although the contents
 are not investigated yet, I put on below /var/lib/mol/fb_modes built by molvc
onfig. 
# --------------------------------------------

# Version 1
# Mac-on-Linux Video Mode Configuration
#
# DO NOT EDIT THIS FILE BY HAND
#
# Created by 'molvconfig'
#
1024 768 1024 768 0 0 12698 176 16 28 1 96 3 3 0
3 4917232 8 1024 0 15 2048 0 32 4096 0
#
1024 768 1024 768 0 0 12735 160 32 28 1 96 3 3 0
3 0 8 1024 0 15 2048 0 32 4096 0

# --------------------------------------------

	I show my /etc/mol/molrc.video next. 
# --------------------------------------------

# -*- perl -*- (for emacs syntax coloring)
#
# Mac-on-Linux video configuration
#


# --------------------------------------------
# Startup Resolution (this is used as a hint only)
# --------------------------------------------
#	

resolution:		640/480/75	# width/height/Hz
depth:			32		 


# --------------------------------------------
# X11 Settings
# --------------------------------------------
#
#	Some config options: 
#
#		xdisplay:		remote.host:0.0
#		use_backing_store:	yes/no
#
#	Backing store is primarily useful if the X-connection is remote.
#	Note: X11-video is not as fast as full-screen video.

enable_xvideo:		yes


# --------------------------------------------
# Fullscreen (Console/fbdev) Settings
# --------------------------------------------
#
#	The tool 'molvconfig' is used to configure the fullscreen mode.
#
#	Some config options:
#
#	    vt:		9		# VT-number to use
#	    gamma:	1.0		# gamma (parameter between 0.1 and 1.0)
#	    gamma:	1.0 1.0 1.0	# gamma (r,g,b)
#
#	Ctrl-Cmd-Space switches back to the orignal VT

enable_console_video:	yes

start_on_console:	no		# switch to console initially
autoswitch_console:	yes		# allow automatic switching to console

#fb_modes:		/etc/fb.modes	# extra video modes for molvconfig


# --------------------------------------------
# XDGA (X11 fullscreen) Settings
# --------------------------------------------
#
#	At startup, all available XDGA modes are listed. Unfortunately,
#	some of the modes might be broken (depending on the video card
#	and the XFree86 version).
#
#	By default, MOL uses just a single mode with high
#	probability of working. However, it is possible to manually
#	specify multiple modes. For instance
#
#	    xdga_modes:		3 5 9		
#
#	instructs MOL to use mode 3, 5 and 9.
#
#	Cntrl-Cmd-Space leaves XDGA mode and switches back to X

enable_xdga_video:	no


# --------------------------------------------
# VNC Settings
# --------------------------------------------
#
#	For VNC information, visit http://www.uk.research.att.com/vnc/
#

enable_vncvideo:	no	# Enable the VNC server
vnc_port:  		5900	# port to use for VNC

# --------------------------------------------

	I have no idea what points I should care of. Please give me a piece of advice
. 


--
Hajime TANAKA  BYH01337@nifty.ne.jp