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 25th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default how to restore last working Xorg settings after many -current upgrades ?

Hi everybody !

This happened to me twice which is I suppose a shame :-)

Some time ago , I installed OpenBSD 5.0 on my beloved Bondie Blue iMac .. X didn't work .. I kept going CLI .. until we were generously offered 5.1 which turned to be great : X working .. then I turned to -current .. and did a few upgrades .. lately I lost X for a 2nd time ..

0- Is it possible to restore those first 5.1 settings where X was success?
1- If not , then what should normally be done to have such a chance at hand when needed ?

I must thank you so much for the help you offer !
Reply With Quote
  #2   (View Single Post)  
Old 26th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,686
Thanked 214 Times in 189 Posts
Default

You have three choices: restore from backup, repair, or reinstall. If you would like to repair, you will need to trot out some diagnostic skill...e.g. define "lost".

If you cannot diagnose and repair, choose one of the other options.
Reply With Quote
  #3   (View Single Post)  
Old 26th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thanks jggimi !
but what should I back up ? etc ? or some more files in /var or .. ? how come an earlier version works and a newest one fails ? what's missing ? just to know ..
Reply With Quote
  #4   (View Single Post)  
Old 26th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,686
Thanked 214 Times in 189 Posts
Default

Slow down and think...

How many people on this blue ball we call Earth have a clue what is wrong? One. You.

How will other people, anywhere else in this universe of ours know as well? You have to tell them. No one else can do this, only you can.

I cannot count the number of times we have been down this road together regarding your problem reporting. As I said above, "lost" is not a problem report.

As for recovery from backup...since we have no clue what is wrong, no guidance is possible regarding restoration.. You might need to restore everything except /var and /home. But there is no guarantee, short of a complete restore, since we don't know what is damaged or broken.

Last edited by jggimi; 26th July 2012 at 02:33 AM. Reason: clarity
Reply With Quote
  #5   (View Single Post)  
Old 26th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Sir jggimi ,
First please accept my apologies .. you're dealing with a dumb enthusiast who doesn't ask well .. I've upgraded iMac to 5.2 .. X -that was once working on 5.1- now fails to start .. I was asking my teacher , since I had it working before with 5.1 current (a former upgrade) what conf files should be kept so that in future similar issue I can reset conf files to previous working state .. this event happened to me twice on two machines , iBook and iMac .. by the way . X rocks on iBook running 5.2 .. just upgraded :-) .. I'll put dmesgs in a while
Reply With Quote
  #6   (View Single Post)  
Old 26th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,686
Thanked 214 Times in 189 Posts
Default

Perhaps FAQ 11.2.10 can provide you with general configuration guidance.

If you wish to report a problem, your dmesg alone will not be enough. You must include a complete description of the symptoms, commands used, and configuration files used, and log file output.. As I have told you too many times.

Added: the FAQ reference is for the macppc architecture. If your Mac is i386, try 11.3

Last edited by jggimi; 26th July 2012 at 03:21 AM. Reason: clarity, addendum
Reply With Quote
  #7   (View Single Post)  
Old 26th July 2012
Reinhold Reinhold is offline
New User
 
Join Date: Jul 2010
Posts: 5
Thanked 0 Times in 0 Posts
Default

Hi daemonfowl,

I happen to have an iMac G3 (bondie blue) running OpenBSD -current. X seems to need an xorg.conf file like this one:
Code:
section "ServerLayout"
   Identifier   "wsfb"
   Screen   0   "Screen0" 0 0
EndSection

Section "Monitor"
   Identifier   "Monitor"
   VendorName   "Unknown"
   ModelName    "Unknown"
   HorizSync    59-62
   VertRefresh  60-110
EndSection

Section "Device"
   Identifier   "Wsdisplay0"
   Driver  "mach64"
   Option "XaaNoScreenToScreenCopy"
   Option "XaaNoScanlineCPUToScreenColorExpandFill"
   Option "XaaNoMono8x8PatternFillRect"
   Option "XaaNoSolidFillRect"
EndSection
   
Section "Screen"
   Identifier "Screen0"
   Device     "Wsdisplay0"
   Monitor    "Monitor"
   DefaultDepth 16
   SubSection "Display"
      Depth    16
      Modes   "1024x768" "800x600"
   EndSubSection
EndSection
It seems to be necessary to disable those four acceleration options in section "Device".

Regards,
Reinhold

Last edited by ocicat; 26th July 2012 at 10:06 AM. Reason: Please use [code] & [/code] tags when posting text file contents.
Reply With Quote
  #8   (View Single Post)  
Old 26th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,686
Thanked 214 Times in 189 Posts
Default

Thank you, Reinhold, for trying to help daemonfowl. Unfortunately, I foresee only negative outcomes, based on history with him here.
  1. This works for him. Now he has a magical black box he does not understand and cannot support or maintain. He does not know how the contents were created nor how you arrived at your solution. Nor does he care. This will solve his immediate need, and he can turn his attention elsewhere, without needing to learn anything. Another thread will follow this with a poorly described, vague problem, on some other topic, and this cycle of ignorance will repeat.
  2. This fails to work. He will now drop all attempts at answering my questions and focus on this one configuration file as the only possible solution to his yet-to-be described problem. The problem solution may lie elsewhere, and if so we will never know, as the thread will be abandoned once his attention drifts to some other issue.
Edited to add:


If it appears I am disheartened, frustrated, and upset; of course I am. I have been trying without success to provide daemonfowl with the skills needed to obtain minimum technical self-reliance for more than seven months.

Last edited by jggimi; 26th July 2012 at 11:52 AM. Reason: typo, addendum
Reply With Quote
  #9   (View Single Post)  
Old 26th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi Reinhold ! Thank you for your help ! I edited the sections as suggested then renamed the file xorg.conf.d and put it in /etc/X11 to be started as user .. it didn't work .. What should I have done otherwise ? -- Sir jggimi , sorry if I've been a burden & cumbersome 'DumbBie' -my coinage , coz there are smart newbie out there- .. I never drop attempts I just postpone them .. The Spanish would say : De gota gota llena el mar .. (drop after drop the river flows) .. it may take more time for some to advance than others & I admit I'm slowest .. don't get upset about it as you've done more than enough .. :-) Cheer up Man !! OpenBSD 5.2 is being served :-) .. it just rocks ..

Last edited by daemonfowl; 26th July 2012 at 04:06 PM.
Reply With Quote
Old 26th July 2012
Reinhold Reinhold is offline
New User
 
Join Date: Jul 2010
Posts: 5
Thanked 0 Times in 0 Posts
Default

Quote:
I edited the sections as suggested then renamed the file xorg.conf.d and put it in /etc/X11 to be started as user .. it didn't work .. What should I have done otherwise ?
Choose the name "xorg.conf" instead of "xorg.conf.d".
Reply With Quote
Old 26th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thanks again .. I renamed it and X started but ................ :-) frozen .. all I could do on an iMac is power down .. 5th time fsck .. It'a a Bondie Blue too.
Reply With Quote
Old 27th July 2012
Reinhold Reinhold is offline
New User
 
Join Date: Jul 2010
Posts: 5
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
X started but ................ :-) frozen
Well, daemonfowl, I told you what works for me; can't do much guesswork for you. Maybe you have a different graphics processor (I have ATI Rage Pro). Read FAQ 11.3.3, check /var/log/Xorg.0.log and so on.
Reply With Quote
Old 30th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thanks Reinhold !
dmesg :
Code:
real mem = 402653184 (384MB)
avail mem = 379011072 (361MB)
mainbus0 at root: model iMac,1
cpu0 at mainbus0: 750 (Revision 0x8202): 333 MHz: 512KB 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
macobio0 at pci0 dev 16 function 0 "Apple Paddington" rev 0x00
macintr0 at macobio0 offset 0x10
mesh0 at macobio0 offset 0x10000 irq 12: 50MHz
scsibus0 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
"fdc" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 18: via-cuda, 0 targets
wdc0 at macobio0 offset 0x20000 irq 13: DMA
wd0 at wdc0 channel 0 drive 0: <ST320011A>
wd0: 16-sector PIO, LBA, 19092MB, 39102336 sectors
wd0(wdc0:0:0): using BIOS timings, DMA mode 2
wdc1 at macobio0 offset 0x21000 irq 14: DMA
atapiscsi0 at wdc1 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <LG, CD-ROM CRN-8241B, LAD4> ATAPI 5/cdrom removable
cd0(wdc1:0:0): using BIOS timings, DMA mode 2
bm0 at macobio0 offset 0x11000 irq 42,33: address 00:50:e4:99:89:75
lxtphy0 at bm0 phy 0: LXT970 10/100 PHY, rev. 3
"nvram" at macobio0 offset 0x60000 not configured
vgafb0 at pci0 dev 18 function 0 "ATI Mach64" rev 0x5c, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 20 function 0 "AT&T/Lucent USB" rev 0x12: irq 28, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "AT&T/Lucent OHCI root hub" rev 1.00/1.00 addr 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /pci/mac-io/ide@20000/disk@0:/bsd
root on wd0a swap on wd0b dump on wd0b
wskbd0: disconnecting from wsdisplay0
wskbd0 detached
ukbd0 detached
uhidev0 detached
uhid0 detached
uhid1 detached
uhidev1 detached
uhidev0 at uhub0 port 1 configuration 1 interface 0 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
wskbd0: disconnecting from wsdisplay0
wskbd0 detached
ukbd0 detached
uhidev0 detached
uhid0 detached
uhid1 detached
uhidev1 detached
uhidev0 at uhub0 port 1 configuration 1 interface 0 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "USB USB Keykoard" rev 1.10/1.10 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
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
XXXterm settings questions sepuku OpenBSD Packages and Ports 12 29th August 2011 04:44 PM
HOWTO: xorg/x11 without hald/dbus and with CTRL-ALT-BACKSPACE working vermaden Guides 16 27th March 2010 09:17 PM
/etc/ppp settings for Earthlink shep OpenBSD General 3 24th December 2009 04:17 AM
please help me understand wpa settings gosha OpenBSD General 1 14th July 2009 11:37 AM
Network settings guitarscn OpenBSD General 13 18th February 2009 01:45 AM


All times are GMT. The time now is 06:03 PM.


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