309a1
![]() |
|
|
|
|
|||||||
| Other Architectures FreeBSD on Alpha, PC98, PowerPC or Sparc64. This forum is also for questions related to porting FreeBSD to new architectures. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
[ Post number 30 in this thread contains new insights and should be read as the first post in this thread -> http://forums.freebsd.org/showthread...420#post124420 - Mod. ]
FreeBSD is a rich and robust operating system with its origins in UNIX which was began when Dennis Ritchie decided to port a game called Space Traveler to a PDP7. From here, he, Ken Thomson, and Rudd Carnady would develop a hierarchal system that would define the computing industry. Forty-one years have passed since that decision was made and UNIX has branched off into different operating systems. It has become a standard within itself. FreeBSD was born from a project based on AT&T UNIX and has developed into a stable and trustworthy operating system. With a kernel and userland bound together as a single system, FreeBSD can be installed on anything from routers to supercomputers, from Desktops to laptops, and from PDAs to embedded devices. It is used by all walks of life. From the research scientist to the cafe owner, from government agencies to small cafes, FreeBSD is available as an Open and Free operating system in many languages. In the early nineteen nineties, Apple, IBM, and Motorola formed an alliance into which the creation of the POWER architecture became one of the first RISC processors to be used by the general public for personal use. The load-store mechanism of the Power cpu allows it to "predict" the next set of commands, making it efficient in executing code. It is no wonder why Apple, Genesi, IBM, and others have preferred this chip in previous and/or current products. Today, we shall combine the efficiency of this processor with the stability of FreeBSD by installing FreeBSD 9.0 PowerPC SNAPSHOT on a Blue & White G3.You will need the following equipment. 1) An Apple G3 or G4 with New World Open Firmware, a 60G ATA hard disk, 386M RAM, a working CD-RW/DVD-ROM, and the rest of the tower plus monitor, mouse, and keyboard. 2) A Debian PowerPC Install disk. The Net install image or business card will do. 3) An Ubuntu PPC live CD. "Hoary Hedgehog" 5.0x is what I used. There are also live images available from the Debian live project if you wish to use one. 4) Disc 1 of 9.0 PowerPC SNAPSHOT. 5) Lots of patience. Let us begin, shall we. Start by burning all three discs with your favorite CD burning program. My preference is to use k3b. Either with the G3/4 or on another computer, place the SNAPSHOT Disc 1 in the tray and close it. Do not let the disc be autmoatically mounted. You are going to create a directory and mount the disc through the command line. Open a terminal and issue the following commands. Code:
$mkdir /home/$USER/cdrom $su Password: # mount -t cd9660 -o ro /dev/$CDROM /home/$USER/cdrom Code:
# cp /home/$USER/cdrom/path/to/hfs1.boot /home/$USER && chmod 0666 /home/$USER/hfs1.boot # cd # umount /dev/$CDROM # rmdir /home/$USER/cdrom # exit $ exit Place the Debian install cd into the drive of the G3/4 and reboot the computer while holding down the Option and Alt buttons. Immediately press the O and F buttons while still holding down the others until you see the white background of the Open Firmware Forth prompt. Issue the following commands. Code:
> setenv boot-device cd:0 > mac-boot a) 2600M mounted as / b) 1G as swap c) 2200M mounted as /tmp d) 2200M mounted as /var e) 25G mounted as /usr f) the remaining area mounted as /home. Commit the changes to the disk and let Debian begin downloading the distribution. Immediately shutoff the computer and restart it in the Open Firmware Forth prompt. Remove the Debian CD and place the SNAPSHOT disc 1 into the tray. Issue the same commands to set the cd as the first boot device followed by the Code:
>mac-boot Code:
gpart show ad0 Code:
gpart modify -i2 -t freebsd ad0 gpart modify -i3 -t freebsd-swap ad0 gpart modify -i4 -t freebsd ad0 gpart modify -i5 -t freebsd ad0 gpart modify -i6 -t freebsd ad0 gpart modify -i7 -t freebsd ad0 Code:
gpart show ad0 Code:
$ sudo -s # ls /dev (hdc is the hard disk) # fdisk /dev/hdc p: (/dev/hdc2 is the boot partition.) q: # dd if=/home/ubuntu/Desktop/hfs1.boot of=/dev/hdc2 # exit $ exit Let the system start and log in as the normal user. You will create a directory from which the rest of the system can be obtained. Place the SNAPSHOT disc 1 into the drive, close it, and issue the following commands. Code:
$ mkdir cdrom $ su Password: # mount -t cd9660 -o ro /dev/acd0 cdrom/ # cd 9* (Here you can either enter each directory and install or use the following. Do not reinstall the base set or kernel.) # sh $DIRECTORY/install.sh Because you are using another processor architecture, you must set the flags in make.conf. I have a G3/750 so a few of these values will be different. Look for the proper flags for your G4. Code:
vi /etc/make.conf (Add the following values under the decleration of the PERL version) CPUTYPE?=powerpc CFLAGS= -mcpu=G3 -Os -mmultiple -mstring -fno-strict-aliasing -pipe Code:
# cd /usr/ports/sysutls/pciutils # make install clean Code:
# cd /usr/ports/x11/xorg && make install clean Code:
sysctl hw.ofwfb.relax_mmap=1 Code:
/usr/libexec/locate.updatedb Code:
# cd /usr/ports/devel/subversion # make install clean Code:
# cd # Xorg -configure -retro Code:
Option "UseFBDev" "False"
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. Last edited by DutchDaemon; February 23rd, 2011 at 18:29. |
|
#2
|
||||
|
||||
|
Copy xorg.conf.new to xorg.conf
Code:
# cp /root/xorg.conf.new /etc/X11/xorg.conf {Now we will setup firefox and install libxul to be used later. Code:
# cd /usr/ports/www/libxul # rm -rf * # svn co https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental/www/libxul-devl # cd libxul-devel # make -j 2 && make install && make clean Code:
# cd /usr/ports/www/firefox # rm -rf * # svn co https://trillian.chruetertee.ch/svn/freebsd-gecko/trunk/www/firefox/ # cd firefox # make -j2 Code:
cd work/moz*/browser # sh confvars.sh # cd /usr/ports/www/firefox/firefox # make -j2 && make install && make clean Edit May 5, 2010: The above was built with an experimental build. I will add according to ports status. Reboot your computer and do a system check. When the boot menu comes up, hit the spacebar and enter the following at the prompt: Code:
boot -s Code:
# fsck -y /dev/ad0s3 # fsck -y /dev/ad0s5 # fsck -y /dev/ad0s6 # fsck -y /dev/ad0s7 # fsck -y /dev/ad0s8 # exit Until it is fixed, please remember the following. 1) You are limited to only using TWM. 2) You cannot switch ttys after starting your X session. 3) The mouse must remain in the firefox window while using firefox. If it leaves, it can get "caught" in a terminal and you will have to do a hard reboot. 4) There is a firmware issue which has not yet been resolved. When you leave an X session you must switch to another tty then switch back to tty0. there will be no working monitor but still type in the following commands. Code:
$ su Password: # halt -p (Or if you want to reboot) # reboot I had some problems with firefox, so I rewrote this howto using vi on the G3. I would like to thank the FreeBSD developers- especially FreeBSD-gecko and the FreeBSD PowerPC team- along with the BSD communities for their help, patience, and understanding through this project.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. Last edited by sossego; May 5th, 2010 at 10:51. |
|
#3
|
||||
|
||||
|
Xorg.conf if someone wants to use it.
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AllowEmptyInput" "Off"
Option "UseFBDev" "False"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
HorizSync 30-85
VertRefresh 48-160
ModelName "StudioDsply1"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CCEPIOMode" # [<bool>]
#Option "CCENoSecurity" # [<bool>]
#Option "CCEusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnablePageFlip" # [<bool>]
#Option "Display" # <str>
#Option "PanelWidth" # <i>
#Option "PanelHeight" # <i>
#Option "ProgramFPRegs" # [<bool>]
Option "UseFBDev" "False"
#Option "VideoKey" # <i>
#Option "ShowCache" # [<bool>]
#Option "VGAAccess" # [<bool>]
Identifier "Card0"
Driver "r128"
VendorName "ATI Technologies Inc"
BoardName "Rage 128 RE/SG"
BusID "PCI:0:16:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Code:
FreeBSD tima.tiza 9.0-20100418-SNAP FreeBSD 9.0-20100418-SNAP #0: Sun Apr 18 06:51:02 UTC 2010 root@dynode.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC powerpc
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. Last edited by sossego; May 3rd, 2010 at 02:05. |
|
#4
|
||||
|
||||
|
We are going to add a window manager, a faster browser, and a text editor.
Code:
$ su Password: # cd /usr/ports/www/dillo2 # make -j 1 && make install && make clean # cp /usr/local/etc/dillo/dillorc /home/$USER/.dillo/ # chown $USER dillorc Code:
# cd /usr/ports/editors/scite # make -j 1 && make install && make clean Code:
# cd /usr/ports/x11-wm/enlightenment # make -j 1 && make install && make clean You are going to want to edit a few lines in dillorc. Code:
# exit (It's about time we left root.) Code:
$ cd $ /usr/local/bin/startx Code:
$ cd /home/$USER/.dillo $ SciTE (Use the drop down menu and choose "All files". Font size from 10 to 20. Font size factor leave at 1. Send http referrer heading as none. Privacy is a must. Download directory. Code:
$ mkdir /home/$USER/dillo_downloads Set all other values to what you want. You'll have to save the file as dillorc2. Now let's apply our changes Code:
$ pwd (Should be /home/$USER/.dillo) $ rm dillorc $ mv dillorc2 dillorc Code:
$ /usr/local/bin/enlightenment_start Let's set it up to be started much easier. Code:
$ SciTE Enter the following values. Code:
/usr/local/bin/startx /usr/local/bin/enlightenment_start When next you turn on your G3/4, you can use Code:
$ sh gui.sh Just remember what I mentioned earlier about X and the firmware. Even though you can't see it, the commands can still be and will still be enabled once you hit enter.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. Last edited by sossego; May 4th, 2010 at 10:54. |
|
#5
|
||||
|
||||
|
Note May 5, 2010: If you are having troubles building firefox because svn doesn't allow access, then wait. The howto will be updated and noted according to ports. The update and edit dates will be noted for each change. Older entries will be in brackets followed by before and after edit/update changes.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. Last edited by sossego; May 5th, 2010 at 10:55. |
|
#6
|
||||
|
||||
|
Note May 5, 2010: I have libxul-devel and xulrunner if you need them. You may ask me for my BSD/Linux only email and I will give it to you.
Write me from the address you want the items sent to and I will reply within a day or two. I also have the firefox 3.6.3,1 build from earlier if you need that.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#7
|
||||
|
||||
|
You can install kde4 on the PowerPC with a few exceptions.
Do not install kdeedu because ocaml is x86 dependent. You may also need to set the path for kdelibs when installing kde3.x.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#8
|
||||
|
||||
|
Note that agp has issues and that such a system run great as a server. Until it is dealt with, try to remain with pci graphics. If you do decide to use agp and wish to build the modules- There is some trouble with drm, check the mailing lists for discussions.- use the 9.0 snapshot.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#9
|
||||
|
||||
|
If you are using the PowerPC snapshot 9 for the 32 bit architecture, you will need to update your ports tree to the latest version.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#10
|
||||
|
||||
|
Here goes.
On Powermacs with agp graphics cards. Code:
# cd /usr/src/sys/modules/agp # make install clean # kldload agp Code:
agp_load="NO" Code:
agp_load="YES" Oh, and thanks to tingo for the encouragement.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. Last edited by sossego; January 17th, 2011 at 00:42. Reason: broken thoughts. |
|
#11
|
||||
|
||||
|
I currently am running lxde on the machine.
Current problems are: The mouse pointer will go to the upper left corner of the screen when I physically lift the mouse. Xxxterm would not completely exit. Since neither of these occured on the previous- make that a few hours ago- run with fluxbox, I'll say that lxde may not be the desktop you want to try. After kazehakase finishes building, I'll try another wm/desktop session manager.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#12
|
|||
|
|||
|
Just one small correction: you shouldn't edit files in */defaults/* directories; instead, edit the correct file. so for /boot/defaults/loader.conf, that would be /boot/loader.conf. If such a file doesn't exist, create it. Hope this helps.
__________________
Torfinn Last edited by DutchDaemon; January 18th, 2011 at 00:48. |
|
#13
|
||||
|
||||
|
He's right on that one.
For installing bash, there may be a break in the build. When this happens, do the following: Code:
# cd work/bash* # ./configure # gmake && gmake install clean # cd /usr/ports/shells/bash # make install clean
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#14
|
||||
|
||||
|
If any port build breaks, try the following:
1) Cd to the work directory then to the application directory. Code:
# cd work/<application name> Code:
# ./configure && gmake && gmake install clean Code:
# cd .. && cd .. Code:
# make install clean Code:
# /usr/libexec/locate.updatedb Since the kernel of the snapshot has witnessed enabled, you may want to rebuild it with that option disabled. Be sure to: 1) Have the kernel parameters in /boot/defaults/loader.conf set to the defaults. 2) Follow the handbook instructions for rebuilding the kernel. 3) Backup the old kernel. After it finishes, you will need to reboot. Before you do, write down the exact location of the new kernel. 4) Reboot the machine. 5) Halt the boot process by hitting the space bar. 6) Type "help" at the console. 7) Look for the option for loading the kernel. 8) Follow the directions.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#15
|
|||
|
|||
|
Quote:
# kldload agp, do you get output related to that on console and / or in /var/log/messages?I just tried on my PowerMac G4 (which now runs 8.2-prerelease), and I didn't get any output after loading agp, and # Xorg -configure -retro still hangs the machine. :-/
__________________
Torfinn |
|
#16
|
||||
|
||||
|
Add the Modelines.
Give me a sec to login from the G4.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#17
|
||||
|
||||
|
Here is my /etc/X11/xorg.conf from the G4. Use it as a guide to compare it with your own.
It built for me using the snapshot 9 that I constantly mention. I'll need to edit .xinitrc to use fluxbox because Xfce4 and lxde are strange. Once I do, I'll post the full dmesg here. Hold on again. Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "UseFBDev" "False"
Option "AllowEmptyInput" "Off"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "DELL"
ModelName "D1025TM"
HorizSync 30.0-85.0
VertRefresh 50.0-120.0
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
Option "AGPMode" "4"
#Option "AGPFastWrite" # [<bool>]
Option "AGPSize" "64"
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
Option "BufferSize" "2"
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
Option "ColorTiling" "True"
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "MacModel" # <str>
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Radeon RV200 QW [Radeon 7500]"
BusID "PCI:0:16:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1024x768" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1024x768" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "1280x1024"
EndSubSection
EndSection
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#18
|
|||
|
|||
|
Or perhaps the problem is that my G4 doesn't have an AGP gfx card?
Code:
root@kg-g4# pciconf -lv | grep -A4 vga
vgapci0@pci0:0:16:0: class=0x030000 card=0xa5b80208 chip=0x011010de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'NVIDIA GeForce2 MX/MX 400 (NV11)'
class = display
subclass = VGA
__________________
Torfinn |
|
#19
|
||||
|
||||
|
Use pastebinit to upload your xorg.conf.new from /root and I'll see if there is anything that i can do to help further.
You may also want to post a pastebinit of /var/log/Xorg.0.log, dmesg, and /root/xorg.conf.new to the ppc mailing lists. You can rerun with Code:
/usr/local/bin/Xorg -logverbose -9 -verbose 9 -logfile <make a logfile in /root or /home/$USER> -config -retro Code:
-config /root/xorg.conf.new I know that it is a *beep**beep**beep**beep**beep* to get it working. Trust me, it took a while for the G3 to work and just a few days ago for the G4 to work.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#20
|
|||
|
|||
|
There is nothing to see; Xorg never wrote anything to the xorg.conf.new file:
Code:
root@kg-g4# ls -l /root/xorg.conf.new -rw-r--r-- 1 root wheel 0 Jan 21 23:43 /root/xorg.conf.new
__________________
Torfinn |
|
#21
|
||||
|
||||
|
Quote:
Code:
Option "Log" "sync" |
|
#22
|
||||
|
||||
|
Tingo, install pastebinit from the ports and then
Code:
$ /usr/local/bin/pastebinit -b http://slexy.org -i /var/log/Xorg.0.log Code:
$ cd $ dmesg|tee dmesg-output.txt $ /usr/local/bin/pastebinit -b http://slexy.org -i dmesg-output.txt Code:
# cd # /usr/local/bin/Xorg -config -retro Look to see if agp is in your kernel directory. Post the kldstat here. When you restart the machine. Hit the space bar and type boot -s at the command prompt. Follow that with Code:
fsck -y && exit Hold down ctrl + alt + f1 an then hit ctrl + c. Xorg will be stopped. For assurance, hit ctrl + c once more. Type in reboot and then enter. It will reboot. Post the slexy view links here and we'll try to work through it with you.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#23
|
|||
|
|||
|
wblock, sossego - you make good suggestions. There is only one problem; the machine is locked hard. As soon as I press enter on the Xorg... command line, the machine locks up. It doesn't even switch to another vty first. Hard, as in "completely unresponsive". It doesn't react to input at all. I have ssh'ed in from another machine; that shell is dead. I've tried ctrl-alt-f1 (and the others) even if the first console is still visible; no reaction. The /var/log/Xorg.log file isn't even created, and nothing is written in /var/log/messages (not even if I boot verbose). dmesg output for both normal and verbose is available at: http://sites.google.com/site/tingox/powermac_g4_freebsd
__________________
Torfinn Last edited by tingo; January 22nd, 2011 at 19:51. Reason: added info about verbose boot |
|
#24
|
||||
|
||||
|
Code:
boot -s Code:
fsck -y && exit Code:
dmesg|tail Also, since I am not running FreeBSD right now, look at the man pages for Xorg and related to see if there is still the probe only option and then use it.
__________________
Smiles and laughter are the medicines for tears and sadness. Um humano, sou eu com culpa e dificuldades. Stay a child with a child's view of the world and life is worth more every moment you live it. |
|
#25
|
|||
|
|||
|
No; if I don't try to run Xorg, the machine works fine (in fact it is running portupgrade right now). I will try the Xorg -probeonly later, but I guess that it will lock the machine too.
__________________
Torfinn |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Powermac g3: will it perform? [Solved] | sossego | Other Architectures | 11 | April 28th, 2010 08:11 |
| Intel i3 and i5 series | Graaf_van_Vlaanderen | System Hardware | 0 | January 28th, 2010 14:58 |
| IBM series 335 | dictator88 | System Hardware | 3 | September 27th, 2009 19:23 |
| FreeBSD on PowerMac G4? | neogranas | Installing & Upgrading | 3 | July 29th, 2009 21:39 |
| Asus 600Q-KM series | Aemon | Mobile Computing | 1 | November 28th, 2008 02:26 |