On Sun, Sep 15, 2013 at 10:55:20AM +0300, Claudiu Tanaselia wrote:
> Hi,
> 
> I've installed OpenBSD 5.3 and -current on an iMac G3 (summer 2000 model)
> and I get the same behaviour while trying to run or configure X
> (unsuccessfully). Yes, 'machdep.allowaperture' is set to '2'
> on /etc/sysctl.conf.
> 
> 'startx' would give me a black screen, no mouse cursor. Ctrl-Alt-Backspace
> would kill X and return to console.
> 
> Running 'X -configure' as root hangs the machine: ctrl-alt-backspace has no
> effect. Ctrl+C would display ^C character on the screen, but that's it,
> nothing more. On 5.3, it would hang on line '(==) Log file:
> "/var/log/Xorg.0.log", Time: Sun Sep 15 10:38:31 2013' and on -current it
> shows just a black screen. I have to ssh into it for a proper
> reboot.

Hi,

This is strange, this model should just work, without the need of a
configuration file. 

can you try to build an X server with debugging information and get a
backtrace, following the instructions in /usr/xenocara/README ?

> 
> Here's the Xorg.0.log for -current:
> 
> # cat /var/log/Xorg.0.log
> 
> [   103.342]
> X.Org X Server 1.14.2
> Release Date: 2013-06-25
> [   103.373] X Protocol Version 11, Revision 0
> [   103.388] Build Operating System: OpenBSD 5.4 macppc
> [   103.403] Current Operating System: OpenBSD cronos.my.domain 5.4
> GENERIC#43 macppc
> [   103.421] Build Date: 13 September 2013  12:42:45AM
> [   103.435]
> [   103.450] Current version of pixman: 0.30.2
> [   103.465]    Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
> [   103.465] Markers: (--) probed, (**) from config file, (==) default
> setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [   103.527] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 15
> 10:38:31 2013
> [   103.539] (II) Loader magic: 0x1a1b580
> [   103.539] (II) Module ABI versions:
> [   103.539]    X.Org ANSI C Emulation: 0.4
> [   103.539]    X.Org Video Driver: 14.1
> [   103.539]    X.Org XInput driver : 19.1
> [   103.539]    X.Org Server Extension : 7.0
> [   104.029] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility
> mode (version 3.32)
> [   104.081] (--) PCI:*(0:0:16:0) 1002:5052:1002:5052 rev 0, Mem @
> 0x94000000/67108864, 0x90000000/16384, I/O @ 0x00000400/256, BIOS @
> 0x????????/131072
> [   104.157] (EE) Segmentation fault at address 0x0
> [   104.158] (EE)
> Fatal server error:
> [   104.158] (EE) Caught signal 11 (Segmentation fault). Server aborting
> [   104.158] (EE)
> [   104.158] (EE)
> Please consult the The X.Org Foundation support
>          at http://wiki.x.org
>  for help.
> [   104.159] (EE) Please also check the log file at "/var/log/Xorg.0.log"
> for additional information.
> [   104.159] (EE)
> [   104.193] (EE) Server terminated with error (1). Closing log file.
> 
> And here's dmesg output:
> 
> [ using 549656 bytes of bsd ELF symbol table ]
> console out [ATY,Rage128Pk]console in [keyboard] , using USB
> : memaddr 94000000 size 4000000, : consaddr 96008000, : ioaddr 90020000,
> size 20000: width 1024 linebytes 1024 height 768 depth 8
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2013 OpenBSD. All rights reserved.
> http://www.OpenBSD.org
> 
> OpenBSD 5.4-current (GENERIC) #43: Fri Sep 13 03:15:19 MDT 2013
>     t...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
> real mem = 268435456 (256MB)
> avail mem = 246091776 (234MB)
> mainbus0 at root: model PowerMac2,2
> cpu0 at mainbus0: 750 (Revision 0x8300): 400 MHz: 512KB backside cache
> mem0 at mainbus0
> spdmem0 at mem0: 128MB SDRAM non-parity PC133CL3
> spdmem1 at mem0: 128MB SDRAM non-parity PC100CL2
> memc0 at mainbus0: uni-n rev 0x8
> kiic0 at memc0 offset 0xf8001000
> iic0 at kiic0
> mpcpcibr0 at mainbus0 pci: uni-north
> pci0 at mpcpcibr0 bus 0
> pchb0 at pci0 dev 11 function 0 "Apple Uni-N AGP" rev 0x00
> vgafb0 at pci0 dev 16 function 0 "ATI Rage 128" rev 0x00, mmio
> wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> mpcpcibr1 at mainbus0 pci: uni-north
> pci1 at mpcpcibr1 bus 0
> macobio0 at pci1 dev 23 function 0 "Apple Keylargo" rev 0x03
> openpic0 at macobio0 offset 0x40000: version 0x4614 feature 3f0302 LE
> macgpio0 at macobio0 offset 0x50
> macgpio1 at macgpio0: irq 47
> pgs0 at macgpio0: irq 55
> "escc-legacy" at macobio0 offset 0x12000 not configured
> zsc0 at macobio0 offset 0x13000: irq 22,50
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> awacs0 at macobio0 offset 0x14000: irq 24,9,10 speaker
> audio0 at awacs0
> "timer" at macobio0 offset 0x15000 not configured
> adb0 at macobio0 offset 0x16000
> apm0 at adb0: battery flags 0x9, 0% charged
> kiic1 at macobio0 offset 0x18000
> iic1 at kiic1
> wdc0 at macobio0 offset 0x1f000 irq 19: DMA
> wd0 at wdc0 channel 0 drive 0: <QUANTUM FIREBALLlct15 10>
> wd0: 16-sector PIO, LBA, 9736MB, 19941264 sectors
> atapiscsi0 at wdc0 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <MATSHITA, CD-ROM CR-1750, 0A0C> ATAPI
> 5/cdrom removable
> wd0(wdc0:0:0): using PIO mode 4, DMA mode 2
> cd0(wdc0:0:1): using PIO mode 4, DMA mode 2
> wdc1 at macobio0 offset 0x20000 irq 20: DMA
> wdc2 at macobio0 offset 0x21000 irq 21: DMA
> ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version 1.0
> ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 28, version 1.0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 "Apple OHCI root hub" rev 1.00/1.00 addr 1
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1 "Apple OHCI root hub" rev 1.00/1.00 addr 1
> mpcpcibr2 at mainbus0 pci: uni-north
> pci2 at mpcpcibr2 bus 0
> "Apple Uni-N Eth Firewire" rev 0x01 at pci2 dev 14 function 0 not configured
> gem0 at pci2 dev 15 function 0 "Apple Uni-N GMAC" rev 0x01: irq 41, address
> 00:30:65:6d:ed:3c
> bmtphy0 at gem0 phy 0: BCM5201 10/100 PHY, rev. 2
> uhub2 at uhub1 port 1 "NEC hub" rev 1.00/1.00 addr 2
> uhidev0 at uhub2 port 1 configuration 1 interface 0 "Alps Electric M2452"
> rev 1.00/1.01 addr 3
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 13
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> uhidev1 at uhub2 port 3 configuration 1 interface 0 "Fujitsu Takamisawa
> Component Apple Optical USB Mouse" rev 1.10/1.06 addr 4
> uhidev1: iclass 3/1
> ums0 at uhidev1: 1 button
> wsmouse0 at ums0 mux 0
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> bootpath: /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:/bsd
> root on wd0a (33b1eec0ce3de68d.a) swap on wd0b dump on wd0b
> syncing disks...
> [ using 549656 bytes of bsd ELF symbol table ]
> console out [ATY,Rage128Pk]console in [keyboard] , using USB
> : memaddr 94000000 size 4000000, : consaddr 96008000, : ioaddr 90020000,
> size 20000: width 1024 linebytes 1024 height 768 depth 8
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2013 OpenBSD. All rights reserved.
> http://www.OpenBSD.org
> 
> OpenBSD 5.4-current (GENERIC) #43: Fri Sep 13 03:15:19 MDT 2013
>     t...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
> real mem = 268435456 (256MB)
> avail mem = 246091776 (234MB)
> mainbus0 at root: model PowerMac2,2
> cpu0 at mainbus0: 750 (Revision 0x8300): 400 MHz: 512KB backside cache
> mem0 at mainbus0
> spdmem0 at mem0: 128MB SDRAM non-parity PC133CL3
> spdmem1 at mem0: 128MB SDRAM non-parity PC100CL2
> memc0 at mainbus0: uni-n rev 0x8
> kiic0 at memc0 offset 0xf8001000
> iic0 at kiic0
> mpcpcibr0 at mainbus0 pci: uni-north
> pci0 at mpcpcibr0 bus 0
> pchb0 at pci0 dev 11 function 0 "Apple Uni-N AGP" rev 0x00
> vgafb0 at pci0 dev 16 function 0 "ATI Rage 128" rev 0x00, mmio
> wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> mpcpcibr1 at mainbus0 pci: uni-north
> pci1 at mpcpcibr1 bus 0
> macobio0 at pci1 dev 23 function 0 "Apple Keylargo" rev 0x03
> openpic0 at macobio0 offset 0x40000: version 0x4614 feature 3f0302 LE
> macgpio0 at macobio0 offset 0x50
> macgpio1 at macgpio0: irq 47
> pgs0 at macgpio0: irq 55
> "escc-legacy" at macobio0 offset 0x12000 not configured
> zsc0 at macobio0 offset 0x13000: irq 22,50
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> awacs0 at macobio0 offset 0x14000: irq 24,9,10 speaker
> audio0 at awacs0
> "timer" at macobio0 offset 0x15000 not configured
> adb0 at macobio0 offset 0x16000
> apm0 at adb0: battery flags 0x9, 0% charged
> kiic1 at macobio0 offset 0x18000
> iic1 at kiic1
> wdc0 at macobio0 offset 0x1f000 irq 19: DMA
> wd0 at wdc0 channel 0 drive 0: <QUANTUM FIREBALLlct15 10>
> wd0: 16-sector PIO, LBA, 9736MB, 19941264 sectors
> atapiscsi0 at wdc0 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <MATSHITA, CD-ROM CR-1750, 0A0C> ATAPI
> 5/cdrom removable
> wd0(wdc0:0:0): using PIO mode 4, DMA mode 2
> cd0(wdc0:0:1): using PIO mode 4, DMA mode 2
> wdc1 at macobio0 offset 0x20000 irq 20: DMA
> wdc2 at macobio0 offset 0x21000 irq 21: DMA
> ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version 1.0
> ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 28, version 1.0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 "Apple OHCI root hub" rev 1.00/1.00 addr 1
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1 "Apple OHCI root hub" rev 1.00/1.00 addr 1
> mpcpcibr2 at mainbus0 pci: uni-north
> pci2 at mpcpcibr2 bus 0
> "Apple Uni-N Eth Firewire" rev 0x01 at pci2 dev 14 function 0 not configured
> gem0 at pci2 dev 15 function 0 "Apple Uni-N GMAC" rev 0x01: irq 41, address
> 00:30:65:6d:ed:3c
> bmtphy0 at gem0 phy 0: BCM5201 10/100 PHY, rev. 2
> uhub2 at uhub1 port 1 "NEC hub" rev 1.00/1.00 addr 2
> uhidev0 at uhub2 port 1 configuration 1 interface 0 "Alps Electric M2452"
> rev 1.00/1.01 addr 3
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 13
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> uhidev1 at uhub2 port 3 configuration 1 interface 0 "Fujitsu Takamisawa
> Component Apple Optical USB Mouse" rev 1.10/1.06 addr 4
> uhidev1: iclass 3/1
> ums0 at uhidev1: 1 button
> wsmouse0 at ums0 mux 0
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> bootpath: /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:/bsd
> root on wd0a (33b1eec0ce3de68d.a) swap on wd0b dump on wd0b
> 
> Claudiu.
> 

-- 
Matthieu Herrb

Reply via email to