Subject: Re: Succesfull booting under Beige G3, but...
To: Ladislav Popov <gandalf@mraveniste.cz>
From: Chris <talon16m@hotmail.com>
List: port-macppc
Date: 08/07/2000 23:45:15
on 8/6/00 12:40 AM, charlie allom at charlie@rubberduck.com wrote something
like:

>> Every time, after loading kernel, I am asked for root partition of disk,
>> swap device etc. Could you help me, how to disable this asks and force
>> volume to boot?
> 
> i had this problem a well, i figured it was something to do with
> defining your main partition in a kernel conf. couldn't remember if i
> had to do that in port-mac68k so i let it slide.

    He/you will probably have to build your own kernel from the 1.4.2
sources. (You'll need sys.tar.gz and config.tar.gz(?) only) and modify the
line in a copy of the GENERIC kernel config from:

netbsd root on ? type ? to => netbsd root on wd0a type ffs (or whatever
device/type you used) There is a FAQ on how to do this on the main NetBSD
web page under documentation.
 
    There should be a way to make the boot blocks pass the root device down
properly or hack together a working auto-magic root detect. Has this been
fixed in -current, 1.4.3 Alpha or 1.5_Alpha does anyone know?
    *<heckle>all the other platforms are doing it </heckle>* =)

> sounds like a sweet machine to play with. i wish that X would support
> more than 8bpp tho =(

    Well Tsubai has X running on his (OEM) ATI Rage 128 in his G4 under the
XF86 ATI driver. Now *that* would be a site to see. (his dmesg and patch
attached at the end of the message) If someone has the intuition, I bet they
could back port Tsubai's patch and the XF86 Rage Pro (64 bit) driver for the
chip that is in the Rev. 2 G3's or the Rage II+ in Rev 1's without a whole
lot of trouble. (Provided they know their way around grackle, etc.)

> other PPC nix's seem to be able to do this (i think?) .. there must
> be a serious reason why we cant?

    Not really, just no one has done it yet. (I plead ignorance, because I
am)  :) FWIW, I *think* I heard that XFree86 4.0 was going to be merged into
the NetBSD source tree for 1.5 Which should mean: a.) true type font support
and management b.) PCI&AGP ATI/Cirrus Logic/3DFX*.* drivers c.) multi-screen
X. Anyone here tracking -current or 1.5Alpha that could comment on this?


Chris


now it's drooling time: (in True Color I think!)

> Hi,
> 
> I managed to run XFree86 4.0 on the G4 (so, only UniNorth machines for now).
> Currently only RAGE 128 is tested.
> 
> Patch is ftp://nandra.iri.co.jp/pub/NetBSD/macppc/XFree86/
> 
> Enjoy!
> 
> % xinit
> 
> XFree86 Version 4.0 / X Window System
> (protocol Version 11, revision 0, vendor release 6400)
> Release Date: 8 March 2000
> If the server is older than 6-12 months, or if your card is newer
> than the above date, look for a newer version before reporting
> problems.  (see http://www.XFree86.Org/FAQ)
> Operating System: NetBSD/macppc 1.4ZD [ELF] The NetBSD Foundation, Inc.
> (==) Log file: "/var/log/XFree86.0.log", Time: Thu Jun 22 01:03:37 2000
> (==) Using config file: "/etc/X11/XF86Config"
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (??) unknown.
> (==) ServerLayout "Main Layout"
> (**) |-->Screen "Screen1" (0)
> (**) |   |-->Monitor "Generic Monitor"
> (**) |   |-->Device "Rage128 Pro"
> (**) |-->Input Device "Mouse1"
> (**) |-->Input Device "Keyboard1"
> (**) Keyboard: Protocol: wskbd
> (**) XKB: rules: "xfree86"
> (**) XKB: model: "macusb"
> (**) XKB: layout: "jp"
> (**) XKB: variant: "altjp"
> (**) FontPath set to
> "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib
> /X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R
> 6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/
> Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
> (==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
> (--) Using wscons driver
> xf86OpenConsole
> macppcPciInit
> (--) PCI: (0:16:0) ATI Rage 128 Pro PF rev 0, Mem @ 0x94000000/26,
> 0x90000000/14, I/O @ 0x0400/8
> (II) r128: Driver for ATI Rage 128 chipset: ATI Rage 128 RE (PCI),
> ATI Rage 128 RF (AGP), ATI Rage 128 RK (PCI), ATI Rage 128 RL (AGP),
> ATI Rage 128 Pro PF (AGP)
> (II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
> mga2164w AGP, mgag100, mgag200, mgag200 PCI, mgag400
> (--) Chipset ATI Rage 128 Pro PF (AGP) found
> (II) r128(0): PCI bus 0 card 16 func 0
> (**) r128(0): Depth 16, (--) framebuffer bpp 16
> (II) r128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
> (==) r128(0): Default visual is TrueColor
> (==) r128(0): RGB weight 565
> (II) r128(0): Using 6 bits per RGB (8 bit DAC)
> (--) r128(0): Chipset: "ATI Rage 128 Pro PF (AGP)" (ChipID = 0x5046)
> (--) r128(0): Linear framebuffer at 0x94000000
> (--) r128(0): MMIO registers at 0x90000000
> (--) r128(0): BIOS at 0x90020000
> mapVidMem 90000000, 4000, fd = 5
> (--) r128(0): VideoRAM: 16384 kByte (64-bit SDR SGRAM 2:1)
> xf86ReadBIOS() 90020000 0, 40
> (WW) r128(0): Video BIOS not detected in PCI space!
> (WW) r128(0): Attempting to read Video BIOS from legacy ISA space!
> xf86ReadBIOS() c0000 0, 40
> No VGA
> (WW) r128(0): Video BIOS not detected, using default PLL parameters!
> (II) r128(0): PLL parameters: rf=2950 rd=65 min=12500 max=25000; xclk=10300
> (==) r128(0): Using gamma correction (1.0, 1.0, 1.0)
> (II) r128(0): clock range:  12.50 to 250.00 MHz