DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th March 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default Xorg stays at 800x600 on apple g3 monitor.

I've recently installed OpenBSD on a G3. Both editing the original xorg.conf and using xorgconfig or Xorg -configure leaves me with an unusable file.
Reply With Quote
  #2   (View Single Post)  
Old 26th March 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Try this 1024x768 VESA xorg.conf, Mr-Biscuit, and see if it makes a difference. I don't have a G3, nor, any other Apple product. Not even an iPod. But this 8MB RAM Video, simple xorg.conf does work for a number of people. It's an option with my live media:
Code:
# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **********************************************************************
# Refer to the xorg.conf(5) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"      # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

#    RgbPath    "/usr/X11R6/share/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/OTF"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "kbd"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option    "Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"    "xorg"
    Option "XkbModel"    "pc101"
    Option "XkbLayout"    "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier    "Mouse1"
    Driver    "mouse"
    Option "Protocol"    "wsmouse"    # wsmouse protocol
    Option "Device"      "/dev/wsmouse"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"    "256"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"    "9600"
#    Option "SampleRate"    "150"

# Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.

    Option "ZAxisMapping"   "4 5 6 7"

# Emulate3Buttons is an option for 2-button mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

# ZaxisMapping is an option for handling the wheel
    Option "ZAxisMapping" "4 5"

EndSection


# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice" 
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "vesa"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31.5 - 48.5

#    HorizSync    30-64         # multisync
#    HorizSync    31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync    15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-70

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier    "Standard VGA"
    VendorName    "Unknown"
    BoardName    "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset    "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam    256

#    Clocks    25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "vesa"
    Driver      "vesa"
    #VideoRam    8192
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "vesa"
    Monitor     "vesa"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection
Reply With Quote
  #3   (View Single Post)  
Old 26th March 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

VESA vbe is not an option on non-x86 architectures jggimi, as described in FAQ 11.2.10 there are two ways of getting X on macppc.. the unaccelerated framebuffer (..wsfb(4)) or the accelerated X drivers like xf86-video-ati (..and maybe nv).

If you use the unaccelerated framebuffer you'll be stuck in 8bpp mode at a resolution controlled by the Mac firmware.. it cannot changed after the kernel takes over.

@Mr-Biscuit, please read /usr/X11R6/README.
Reply With Quote
  #4   (View Single Post)  
Old 26th March 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The benefit of Xorg auto-configuration is not available on OpenBSD/macppc as of yet, so unless you want to use the default unaccelerated framebuffer.. you'll have to customize /etc/X11/xorg.conf accordingly.

If your unable to determine your video card, just post a dmesg here in [code][/code] blocks and we'll be able to tell you how to proceed..
Reply With Quote
  #5   (View Single Post)  
Old 26th March 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Well then, I should just have kept quiet, and left this for the Mac users to answer.

Thanks for the correction, education, etc.
Reply With Quote
  #6   (View Single Post)  
Old 27th March 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Quote:
Originally Posted by jggimi View Post
Well then, I should just have kept quiet, and left this for the Mac users to answer.

Thanks for the correction, education, etc.
Never, what fun what that be?

I don't own any Mac's myself, but I'd surely accept one as a gift..
Reply With Quote
  #7   (View Single Post)  
Old 27th March 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

I'm not able to post any message until I get a router.
It's a standard rage128 16meg card.
Reply With Quote
  #8   (View Single Post)  
Old 29th March 2010
wilfried's Avatar
wilfried wilfried is offline
Real Name: Peter Strömberg
Port Guard
 
Join Date: May 2008
Location: Teckomatorp, Sweden
Posts: 11
Default

I have an eMac (G4), the one with a build-in crt

My xorg.conf

Code:
Section "ServerLayout"
        Identifier      "wsfb"
        Screen  0       "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
        
Section "Files"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/OTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "Protocol"    "standard"
        Option      "XkbRules"    "xorg"
        Option      "XkbModel"    "macintosh"
        Option      "XkbLayout"   "se"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device"   "/dev/wsmouse"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor"
        VendorName   "Unknown"
        ModelName    "Unknown"
        DisplaySize  324 243
        Option       "DPMS" "on"
# Adjust those to your monitor before using another device than wsfb 
# or you can destroy it !!
# http://ppcconfdb.sourceforge.net/conf/eMac_G4_1000MHz-ATI_Graphics/etc/X11/XF86Config-4
        HorizSync    30-72
        VertRefresh  50-72
        Modeline     "1280x960@72" 122.25 1280 1328 1424 1696 960 961 964 1002 +hsync +vsync
EndSection
 
# 1280x960 @ 72
# 1152x864 @ 80
# 1024x768 @ 89
#  800x600 @ 112
#  640x480 @ 138

Section "Device"
        Identifier      "Wsdisplay0"
        Driver          "wsfb"
        Option          "device" "/dev/ttyC0"
EndSection

Section "Device"
        Identifier      "Card0"
        Driver          "ati"
        VendorName      "ATI"
        BoardName       "Radeon 7500 QW (AGP/PCI)"
        BusID           "PCI:0:16:0"
EndSection

Section "Screen"
        Identifier "Screen0"
#       Device     "Wsdisplay0"
        Device     "Card0"
        Monitor    "Monitor"
        DefaultDepth 24
        SubSection "Display"
                Depth     8
                Modes     "1280x960@72"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes     "1280x960@72"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes     "1280x960@72"
        EndSubSection
EndSection
__________________
HP ProCurve 1800-24G, Phenom 9750, Dual Opteron 265, AMD64 3000+,
Dual P3-800, eMac G4 1.0GHz, Sun Blade 150, Alpha PWS 433 and more ...
Reply With Quote
  #9   (View Single Post)  
Old 30th March 2010
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Google can be your friend. A quick search of
Quote:
emac g4 xorg.conf
yielded
http://mac.linux.be/content/tweaked-...nf-emac-compiz

In particular the instruction under device may be of interest.
Quote:
Option "monitor-DVI-0" "iMac"
You might want to copy the xorg.conf file on the page and try it.
Reply With Quote
Old 30th March 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

No, he shouldn't.. an xorg.conf from a Linux system will most likely NOT work on OpenBSD, not without significant changes.. keyboards and mice are handled differently for example.

You should use the default /etc/X11/xorg.conf and read the file I mentioned before, it explains how to set things up.

Configuration of accelerated X is fully explained, if the OP refuses to read it or post relevant information.. we cannot help him.
Reply With Quote
Old 31st March 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

Quote:
Originally Posted by BSDfan666 View Post
No, he shouldn't.. an xorg.conf from a Linux system will most likely NOT work on OpenBSD, not without significant changes.. keyboards and mice are handled differently for example.

You should use the default /etc/X11/xorg.conf and read the file I mentioned before, it explains how to set things up.

Configuration of accelerated X is fully explained, if the OP refuses to read it or post relevant information.. we cannot help him.
The OP had to travel to another city,the OP returned a day later, the OP had to order a router, the OP had to wait for a router, the OP had to be there when the router arrived, the OP had to have the DHCP address reset, the OP had to setup the router, the OP is working on one machine, the OP had to setup a laptop, the OP had to setup another laptop,
the OP got sick, the OP went through depression.

Don't be a jackass, you can ask why I was delayed.
I'll connect the G3 soon and run everything, including a reinstall of OpenBSD so that everything is a fresh install.
Reply With Quote
Old 31st March 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

That's good to hear, but I won't be helping you any further.
Reply With Quote
Old 31st March 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

Quote:
Originally Posted by BSDfan666 View Post
That's good to hear, but I won't be helping you any further.
You didn't bother to ask if the machine in question was connected to the internet or not.
How am I to post a dmesg when I am not even connected?


[QUOTE}3 Days Ago 06:49 AM
Mr-Biscuit I'm not able to post any message until I get a router.
It's a standard rage128 16meg card. [/QUOTE]
Quote:
Originally Posted by Mr-Biscuit View Post
I'm not able to post any message until I get a router.
It's a standard rage128 16meg card.
Reply With Quote
Old 31st March 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
Originally Posted by Mr-Biscuit View Post
How am I to post a dmesg when I am not even connected?
USB device, diskette, burned optical media, serial console, and in the worst case, cell phone camera.
Reply With Quote
Old 2nd April 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

Currently, I'm having hardware problems with using openbsd fdisk and recognizing the correct drive size.

My cellphone neither has a usb interface, compatibility with linux, nor am I able to send pictures to emails because the account is limited.

When I have it up again, my card reader working, and a card for my camera that doesn't mess up;then, I will post all information maybe even a direct dmesg.
The openBSD 4.6 install is now working on the P4/Xeon tower.
Reply With Quote
Old 5th April 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

I have it back on the g3, xorg is currently running at default.
I've saved dmesg to /home/user and I've edited according to advice given here.
Currently using xorg and compiling. I'm not posting from the g3.
Reply With Quote
Old 5th April 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

The following information is just to verify.

Code:
root@debian:~# mount -o ro -t ufs -o ufstype=44bsd /dev/hdc4 open/
root@debian:~# cd open
root@debian:~/open# ls
altroot  bsd     dev  home  root  stand  tmp  var
bin      bsd.rd  etc  mnt   sbin  sys    usr
root@debian:~/open# cd home
root@debian:~/open/home# ls
root@debian:~/open/home# uname -a
Linux debian 2.6.26-2-powerpc #1 Tue Mar 9 23:07:18 UTC 2010 ppc GNU/Linux
root@debian:~/open/home# cd ..
root@debian:~/open# cd etc/X11
root@debian:~/open/etc/X11# ls
app-defaults  fs  twm  xdm  xinit  xkb  xorg.conf  xsm
root@debian:~/open/etc/X11#
I'm posting from the g3. If there is a way of reading /home from linux or /var from linux, let me know. Dmesg is stored in those directories.

xorg.conf is attached.
Attached Files
File Type: conf xorg.conf (14.1 KB, 59 views)
Reply With Quote
Old 14th April 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

This is the first xorg replacement that I used which didn't work:

Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection


Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "Protocol" 	  "standard"
	Option	    "XkbRules" 	  "xorg"
	Option	    "XkbModel" 	  "macintosh"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol" "wsmouse"
	Option      "Device"   "/dev/wsmouse"
	Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
   Identifier   "StudioDsply1"
   Option      "DPMS"
   HorizSync   30-85
   VertRefresh   48-160
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     "Display"             # <str>
        #Option     "PanelWidth"         # <i>
        #Option     "PanelHeight"         # <i>
        #Option     "ProgramFPRegs"       # [<bool>]
        #Option     "UseFBDev"           # [<bool>]
        #Option     "VideoKey"           # <i>
        #Option     "ShowCache"           # [<bool>]
        #Option     "VGAAccess"           # [<bool>]
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "Rage 128 RE/SG"
        BusID       "PCI:0:16:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 16
        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
                Modes "1024x768" "1280x1024"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1024x768" "1280x1024"
        EndSubSection
EndSection

This is the second xorg.conf I used according to the README.

Code:
Section "ServerLayout"
	Identifier     "Sample Config"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "Protocol"	"standard"
	Option	    "XkbRules"	"xorg"
	Option	    "XkbModel"	"macintosh"
	Option	    "XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol"	"wsmouse"
	Option      "Device"	"/dev/wsmouse"
	Option      "ZAxisMapping"	"4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor"
	VendorName   "Generic"
	ModelName    "TwentyOneInches"
# Adjust those to your monitor or it will be destroyed !!
	HorizSync   30-85
        VertRefresh   48-160
# 	This mode line can be used on the Ti PBG4
#	Modeline "1152x768" 64.995 1152 1213 1349 1472  768 771 777 806 -HSync -VSync
# 	This mode line can be used on the ibook 600
#        ModeLine "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "ati"
	VendorName  "ATI"
	BoardName   "Rage 128 Pro PF"
	BusID       "PCI:0:16:0"
# 	These options are required for use on the Ti PBG4.
#	Option      "PanelWidth"  "1152"
#	Option      "PanelHeight" "768"
#	This option enable quirks for specified Mac model, details in Radeon(4)
#	Option      "MacModel" "ibook"

EndSection

# Use the following "Device" section instead for wsfb
#
# Section "Device"
#	Identifier "Card0"
#	Driver	   "wsfb"
#       Option	   "device" "/dev/ttyC0"
# EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor"
# Perhaps change this to DefaultDepth 24 for ati 
	DefaultDepth 24
	SubSection "Display"
		Depth     8
		Modes "1280x1024" "1024x768" "800x600" "640x480"
# For PBG4 uncomment
#		Modes     "1152x768" "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes "1280x1024" "1024x768" "800x600" "640x480"
# For PBG4 uncomment
#		Modes     "1152x768" "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes "1280x1024" "1024x768" "800x600" "640x480"
# For PBG4 uncomment
#		Modes     "1152x768" "1024x768"
	EndSubSection
EndSection


This is the dmesg.
Code:
ation)
uhidev0 at uhub0 port 1 configuration 1 interface 0 "CHESEN USB Keyboard" rev 1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "CHESEN USB Keyboard" rev 1.10/1.10 addr 2
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub0 port 2 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/43.01 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
softraid0 at root
bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:/bsd
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
wd0a: aborted command, interface CRC error reading fsbn 414720 of 414720-414751 (wd0 bn 417744; cn 414 tn 6 sn 54), retrying
wd0: soft error (corrected)
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: aborted command, interface CRC error reading fsbn 1658688 of 1658688-1658719 (wd0 bn 1661712; cn 1648 tn 8 sn 24), retrying
wd0: soft error (corrected)
wd0g: aborted command, interface CRC error reading fsbn 19488896 of 19488896-19488927 (wd0 bn 87914960; cn 87217 tn 3 sn 35), retrying
wd0: soft error (corrected)
wd0g: aborted command, interface CRC error reading fsbn 34001856 of 34001856-34001887 (wd0 bn 102427920; cn 101615 tn 0 sn 0), retrying
wd0: soft error (corrected)
wd0g: aborted command, interface CRC error reading fsbn 41465664 of 41465664-41465695 (wd0 bn 109891728; cn 109019 tn 9 sn 9), retrying
wd0: soft error (corrected)
wd0: transfer error, downgrading to Ultra-DMA mode 0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
wd0g: aborted command, interface CRC error reading fsbn 43124288 of 43124288-43124319 (wd0 bn 111550352; cn 110665 tn 0 sn 32), retrying
wd0: soft error (corrected)
wd0f: aborted command, interface CRC error reading fsbn 26952704 of 26952704-26952735 (wd0 bn 49240592; cn 48849 tn 12 sn 44), retrying
wd0f: aborted command, interface CRC error reading fsbn 26952704 of 26952704-26952735 (wd0 bn 49240592; cn 48849 tn 12 sn 44), retrying
wd0f: aborted command, interface CRC error reading fsbn 26952704 of 26952704-26952735 (wd0 bn 49240592; cn 48849 tn 12 sn 44), retrying
wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd0f: aborted command, interface CRC error reading fsbn 26952704 of 26952704-26952735 (wd0 bn 49240592; cn 48849 tn 12 sn 44), retrying
wd0: soft error (corrected)
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
bm0: device timeout
syncing disks... done
rebooting

[ using 437516 bytes of bsd ELF symbol table ]
console out [ATY,Rage128y]console in [keyboard] USB and ADB found, using ADB
: memaddr 84000000 size 4000000, : consaddr 84000000, : ioaddr 80920000, size 20000: memtag 8000, iotag 8000: width 640 linebytes 640 height 480 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.6 (GENERIC) #43: Thu Jul  9 21:29:23 MDT 2009
    deraadt@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 402653184 (384MB)
avail mem = 379437056 (361MB)
mainbus0 at root: model PowerMac1,1
cpu0 at mainbus0: 750 (Revision 0x202): 400 MHz: 1MB backside cache
mem0 at mainbus0
mpcpcibr0 at mainbus0 pci: grackle, Revision 0x40
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 0 function 0 "Motorola MPC106 PCI" rev 0x40
ppb0 at pci0 dev 13 function 0 "DEC 21154 PCI-PCI" rev 0x02
pci1 at ppb0 bus 1
"TI TSB12LV21 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured
pciide0 at pci1 dev 1 function 0 "CMD Technology PCI0646" rev 0x05: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using irq 26 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <Maxtor 4R060J0>
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahc0 at pci1 dev 4 function 0 "Adaptec AHA-2940U2 U2" rev 0x01: irq 25
scsibus0 at ahc0: 16 targets, initiator 7
macobio0 at pci1 dev 5 function 0 "Apple Paddington" rev 0x00
macintr0 at macobio0 offset 0x10
mesh0 at macobio0 offset 0x10000 irq 12: 50MHz
scsibus1 at mesh0: 8 targets, initiator 7
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at macobio0 offset 0x14000: irq 17,8,9 speaker
audio0 at awacs0
"power-mgt" at macobio0 offset 0x0 not configured
"fdc" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 18: via-cuda, 0 targets
piic0 at adb0
iic0 at piic0
wdc0 at macobio0 offset 0x20000 irq 13: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <LITE-ON, COMBO SOHC-4836K, SPJ2> ATAPI 5/cdrom removable
cd0(wdc0:0:0): using BIOS timings, DMA mode 2
bm0 at macobio0 offset 0x11000 irq 42,33: address 00:50:e4:20:cd:77
lxtphy0 at bm0 phy 0: LXT970 10/100 PHY, rev. 1
"nvram" at macobio0 offset 0x60000 not configured
ohci0 at pci1 dev 6 function 0 "Opti 82C861" rev 0x10: irq 28, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Opti OHCI root hub" rev 1.00/1.00 addr 1
vgafb0 at pci0 dev 16 function 0 "ATI Rage 128" rev 0x00, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
uhidev0 at uhub0 port 1 configuration 1 interface 0 "CHESEN USB Keyboard" rev 1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "CHESEN USB Keyboard" rev 1.10/1.10 addr 2
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub0 port 2 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/43.01 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
softraid0 at root
bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:/bsd
root on wd0a swap on wd0b dump on wd0b
wd0e: aborted command, interface CRC error reading fsbn 3317312 of 3317312-3317343 (wd0 bn 17215616; cn 17078 tn 15 sn 47), retrying
wd0: soft error (corrected)
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: aborted command, interface CRC error reading fsbn 3317312 of 3317312-3317343 (wd0 bn 3320336; cn 3293 tn 15 sn 47), retrying
wd0: soft error (corrected)
This is uname -a:
Code:
$uname -a
OpenBSD moo.my.domain 4.6 GENERIC#43 macppc
I'm adding this edit. I had to set everything up by using Debian and Ubuntu to get the machine started, then an internet connection, then hardware changing, then a NetBSD install to fix the disk, and then finally OpenBSD as the permanent install.

Last edited by Mr-Biscuit; 14th April 2010 at 03:19 AM.
Reply With Quote
Old 14th April 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

I will explain and not excuse my behavior with this post:
I have depression, go through mood swings, and don't always think in a linear fashion. I'm on medication and am in therapy.

Or to make it short, I'm crazy and smart.
if the admin and mods want to delete this post, they may.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm/ new monitor issue jimbus FreeBSD General 3 4th August 2009 07:39 PM
Kuro5hin: FreeBSD Owes Apple Big quique FreeBSD General 24 22nd November 2008 07:43 PM
What is best way to monitor for bad sectors? PeterSteele FreeBSD General 9 16th August 2008 02:41 AM


All times are GMT. The time now is 05:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick