This is an old 12" Powerbook G4 hw.model=7455 (Revision 0x303) with a freshly installed current/macppc. See full dmesg below.
I can't switch consoles with ctrl+alt+Fx - is that expected? Or is there another way to do that on a Powerbook? Ethernet works (gem). Sound works: I can record a file with aucat -o file.wav and play i back with aucat -i file.wav. X doesn't work (NVIDIA GeForce4 440). I got the machine for peanuts so didn't bother checking http://marc.info/?l=openbsd-ppc&m=136178209416987&w=2 Trying `startx' without any configuration segfaults like this: [ 104.289] (--) NV: Found NVIDIA GeForce4 MX (Mac) at 00@00:16:0 [ 104.290] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 104.290] (II) Loading sub module "int10" [ 104.290] (II) LoadModule: "int10" [ 104.295] (II) Loading /usr/X11R6/lib/modules/libint10.so [ 104.296] (II) Module int10: vendor="X.Org Foundation" [ 104.296] compiled for 1.14.5, module version = 1.0.0 [ 104.296] ABI class: X.Org Video Driver, version 14.1 [ 104.296] (--) NV(0): Chipset: "GeForce4 MX (Mac)" [ 104.297] (==) NV(0): Depth 24, (--) framebuffer bpp 32 [ 104.297] (==) NV(0): RGB weight 888 [ 104.297] (==) NV(0): Default visual is TrueColor [ 104.297] (II) Loading sub module "vgahw" [ 104.297] (II) LoadModule: "vgahw" [ 104.302] (II) Loading /usr/X11R6/lib/modules/libvgahw.so [ 104.303] (II) Module vgahw: vendor="X.Org Foundation" [ 104.303] compiled for 1.14.5, module version = 0.1.0 [ 104.303] ABI class: X.Org Video Driver, version 14.1 [ 104.304] (==) NV(0): Using HW cursor [ 104.305] (--) NV(0): Linear framebuffer at 0x94000000 [ 104.305] (--) NV(0): MMIO registers at 0x91000000 [ 104.306] (EE) NV(0): pci_device_map_range failed: Invalid argument [ 104.306] (EE) Segmentation fault at address 0x4 [ 104.306] (EE) Fatal server error: [ 104.306] (EE) Caught signal 11 (Segmentation fault). Server aborting Searching the archives, I found this http://marc.info/?l=openbsd-ppc&m=130989111504071&w=2 With the macppc you can either run in console mode or in X. Unlike i386 where you can switch between the two at will. So, if you want X, you need to set ttyC0 status 'off', start X from your rc.conf.local with something like xdm(1) It was surprising to me that you can't switch between X and console (because I was raised on i386). Is this mentioned somewhere in the FAQ? Is the /etc/ttys remark still applicable? Running `Xorg -configure' as root produces a xorg.conf.new but leaves a blank screen there. After I log in remotely, I see no X related processes running. Usually I change whataver the Driver is to "vesa" and things work, but there is no vesa here. With a wsfb Driver, X almost works: it's black and white and the default fvwmrc menu is just a black rectangle. Windows have no borders (or possibyl black borders?) A lot of things are black-on-black, such as the tmux status line and the mutt index page. See Xorg log and xdpyinfo below. In summary, it is pretty usable besides X. (My fault, should have checked for NV.) Jan [ using 554672 bytes of bsd ELF symbol table ] console out [NVDA,Display-A]console in [keyboard] , using ADB using parent NVDA,Parent:: memaddr 94000000 size 4000000, : consaddr 94004000, : ioaddr 91000000, size 1000000: 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-2014 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.5 (GENERIC) #166: Tue Mar 4 13:58:36 MST 2014 dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC real mem = 671088640 (640MB) avail mem = 635527168 (606MB) mainbus0 at root: model PowerBook6,1 cpu0 at mainbus0: 7455 (Revision 0x303): 533 MHz: 256KB L2 cache mem0 at mainbus0 spdmem0 at mem0: no EEPROM found spdmem1 at mem0: 512MB DDR SDRAM non-parity PC2100CL2.5 memc0 at mainbus0: uni-n rev 0xd2 "hw-clock" at memc0 not configured kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 admtmp0 at iic0 addr 0xac mpcpcibr0 at mainbus0 pci: uni-north pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 "Apple UniNorth AGP" rev 0x00 vgafb0 at pci0 dev 16 function 0 "NVIDIA GeForce4 440 Go 64M" rev 0xa3, 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 Intrepid" rev 0x00 openpic0 at macobio0 offset 0x40000: version 0x4614 feature 3f0302 LE macgpio0 at macobio0 offset 0x50 macgpio1 at macgpio0 offset 0x9: irq 47 "programmer-switch" at macgpio0 offset 0x11 not configured "gpio4" at macgpio0 offset 0x1e not configured "gpio5" at macgpio0 offset 0x6f not configured "gpio6" at macgpio0 offset 0x70 not configured "extint-gpio4" at macgpio0 offset 0x5c not configured "gpio11" at macgpio0 offset 0x75 not configured "extint-gpio15" at macgpio0 offset 0x67 not configured "escc-legacy" at macobio0 offset 0x12000 not configured zsc0 at macobio0 offset 0x13000: irq 22,23 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 snapper0 at macobio0 offset 0x10000: irq 30,1,2 "timer" at macobio0 offset 0x15000 not configured adb0 at macobio0 offset 0x16000: irq 25, via-pmu, 3 targets apm0 at adb0: battery flags 0x5, 0% charged piic0 at adb0 iic1 at piic0 akbd0 at adb0 addr 2: iBook keyboard with inverted T (ISO layout) wskbd0 at akbd0: console keyboard, using wsdisplay0 ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi wsmouse0 at ams0 mux 0 abtn0 at adb0 addr 7: brightness/volume/eject buttons "battery" at macobio0 offset 0x0 not configured "backlight" at macobio0 offset 0xf300 not configured kiic1 at macobio0 offset 0x18000 iic2 at kiic1 wdc0 at macobio0 offset 0x20000 irq 24: DMA atapiscsi0 at wdc0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <MATSHITA, CD-RW CW-8122, BA21> ATAPI 5/cdrom removable cd0(wdc0:0:0): using BIOS timings, DMA mode 2 audio0 at snapper0 ohci0 at pci1 dev 24 function 0 "Apple Intrepid USB" rev 0x00: irq 27, version 1.0, legacy support ohci1 at pci1 dev 25 function 0 "Apple Intrepid USB" rev 0x00: irq 28, version 1.0, legacy support ohci2 at pci1 dev 26 function 0 "Apple Intrepid USB" rev 0x00: irq 29, version 1.0, legacy support 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 usb2 at ohci2: USB revision 1.0 uhub2 at usb2 "Apple OHCI root hub" rev 1.00/1.00 addr 1 mpcpcibr2 at mainbus0 pci: uni-north pci2 at mpcpcibr2 bus 0 kauaiata0 at pci2 dev 13 function 0 "Apple Intrepid ATA" rev 0x00 wdc1 at kauaiata0 irq 39: DMA wd0 at wdc1 channel 0 drive 0: <ELITE PRO CF CARD 4GB> wd0: 1-sector PIO, LBA, 3847MB, 7880544 sectors wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 "Apple UniNorth Firewire" rev 0x81 at pci2 dev 14 function 0 not configured gem0 at pci2 dev 15 function 0 "Apple Uni-N2 GMAC" rev 0x80: irq 41, address 00:03:93:cb:bc:4c bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets bootpath: /pci@f4000000/ata-6@d/disk@0:/bsd root on wd0a (d4c2ce2b09da27dd.a) swap on wd0b dump on wd0b [ 1004.285] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32) [ 1004.530] X.Org X Server 1.14.5 Release Date: 2013-12-12 [ 1004.530] X Protocol Version 11, Revision 0 [ 1004.530] Build Operating System: OpenBSD 5.5 macppc [ 1004.531] Current Operating System: OpenBSD pbk.stare.cz 5.5 GENERIC#166 macppc [ 1004.533] Build Date: 26 February 2014 11:01:48PM [ 1004.533] [ 1004.534] Current version of pixman: 0.32.4 [ 1004.534] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 1004.534] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 1004.536] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 15 14:01:50 2014 [ 1004.539] (==) Using config file: "/etc/X11/xorg.conf" [ 1004.539] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [ 1004.540] (==) ServerLayout "X.org Configured" [ 1004.541] (**) |-->Screen "Screen0" (0) [ 1004.541] (**) | |-->Monitor "Monitor0" [ 1004.542] (**) | |-->Device "Card0" [ 1004.542] (**) |-->Input Device "Mouse0" [ 1004.542] (**) |-->Input Device "Keyboard0" [ 1004.542] (==) Disabling SIGIO handlers for input devices [ 1004.542] (==) Automatically adding devices [ 1004.542] (==) Automatically enabling devices [ 1004.542] (==) Not automatically adding GPU devices [ 1004.543] (**) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/, /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [ 1004.544] (**) ModulePath set to "/usr/X11R6/lib/modules" [ 1004.544] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 1004.544] (WW) Disabling Mouse0 [ 1004.544] (WW) Disabling Keyboard0 [ 1004.544] (II) Loader magic: 0x1a1d010 [ 1004.544] (II) Module ABI versions: [ 1004.544] X.Org ANSI C Emulation: 0.4 [ 1004.544] X.Org Video Driver: 14.1 [ 1004.544] X.Org XInput driver : 19.1 [ 1004.544] X.Org Server Extension : 7.0 [ 1004.554] (--) PCI:*(0:0:16:0) 10de:0179:10de:0010 rev 163, Mem @ 0x91000000/16777216, 0x94000000/67108864, 0x00000000/524288, BIOS @ 0x????????/131072 [ 1004.554] Initializing built-in extension Generic Event Extension [ 1004.555] Initializing built-in extension SHAPE [ 1004.555] Initializing built-in extension MIT-SHM [ 1004.555] Initializing built-in extension XInputExtension [ 1004.555] Initializing built-in extension XTEST [ 1004.555] Initializing built-in extension BIG-REQUESTS [ 1004.555] Initializing built-in extension SYNC [ 1004.556] Initializing built-in extension XKEYBOARD [ 1004.556] Initializing built-in extension XC-MISC [ 1004.556] Initializing built-in extension SECURITY [ 1004.556] Initializing built-in extension XINERAMA [ 1004.556] Initializing built-in extension XFIXES [ 1004.556] Initializing built-in extension RENDER [ 1004.557] Initializing built-in extension RANDR [ 1004.557] Initializing built-in extension COMPOSITE [ 1004.557] Initializing built-in extension DAMAGE [ 1004.557] Initializing built-in extension MIT-SCREEN-SAVER [ 1004.557] Initializing built-in extension DOUBLE-BUFFER [ 1004.558] Initializing built-in extension RECORD [ 1004.558] Initializing built-in extension DPMS [ 1004.558] Initializing built-in extension X-Resource [ 1004.558] Initializing built-in extension XVideo [ 1004.558] Initializing built-in extension XVideo-MotionCompensation [ 1004.559] Initializing built-in extension XFree86-VidModeExtension [ 1004.559] Initializing built-in extension XFree86-DGA [ 1004.559] Initializing built-in extension XFree86-DRI [ 1004.559] Initializing built-in extension DRI2 [ 1004.559] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 1004.559] (II) LoadModule: "glx" [ 1004.562] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [ 1004.565] (II) Module glx: vendor="X.Org Foundation" [ 1004.565] compiled for 1.14.5, module version = 1.0.0 [ 1004.565] ABI class: X.Org Server Extension, version 7.0 [ 1004.565] (==) AIGLX enabled [ 1004.566] Loading extension GLX [ 1004.566] (II) LoadModule: "wsfb" [ 1004.568] (II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.so [ 1004.569] (II) Module wsfb: vendor="X.Org Foundation" [ 1004.569] compiled for 1.14.5, module version = 0.4.1 [ 1004.569] ABI class: X.Org Video Driver, version 14.1 [ 1004.570] (II) wsfb: driver for wsdisplay framebuffer: wsfb [ 1004.570] (WW) Falling back to old probe method for wsfb [ 1004.571] (II) wsfb(0): using default device [ 1004.571] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 1004.572] (II) wsfb(0): Creating default Display subsection in Screen section "Screen0" for depth/fbbpp 8/8 [ 1004.572] (==) wsfb(0): Depth 8, (==) framebuffer bpp 8 [ 1004.572] (==) wsfb(0): Default visual is PseudoColor [ 1004.572] (==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0) [ 1004.572] (II) wsfb(0): Vidmem: 768k [ 1004.572] (==) wsfb(0): DPI set to (96, 96) [ 1004.572] (**) wsfb(0): Using "Shadow Framebuffer" [ 1004.572] (II) Loading sub module "shadow" [ 1004.572] (II) LoadModule: "shadow" [ 1004.577] (II) Loading /usr/X11R6/lib/modules/libshadow.so [ 1004.579] (II) Module shadow: vendor="X.Org Foundation" [ 1004.579] compiled for 1.14.5, module version = 1.1.0 [ 1004.579] ABI class: X.Org ANSI C Emulation, version 0.4 [ 1004.579] (II) Loading sub module "fb" [ 1004.579] (II) LoadModule: "fb" [ 1004.584] (II) Loading /usr/X11R6/lib/modules/libfb.so [ 1004.587] (II) Module fb: vendor="X.Org Foundation" [ 1004.587] compiled for 1.14.5, module version = 1.0.0 [ 1004.587] ABI class: X.Org ANSI C Emulation, version 0.4 [ 1004.590] (==) wsfb(0): Backing store disabled [ 1004.592] (==) RandR enabled [ 1005.280] (II) AIGLX: Screen 0 is not DRI2 capable [ 1005.281] (II) AIGLX: Screen 0 is not DRI capable [ 1005.340] (II) AIGLX: Loaded and initialized swrast [ 1005.340] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 1007.323] (II) config/wscons: checking input device /dev/wskbd [ 1007.324] (II) wskbd: using layout us [ 1007.324] (II) wskbd: using model macintosh [ 1007.324] (II) LoadModule: "kbd" [ 1007.328] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so [ 1007.329] (II) Module kbd: vendor="X.Org Foundation" [ 1007.330] compiled for 1.14.5, module version = 1.8.0 [ 1007.330] Module class: X.Org XInput Driver [ 1007.330] ABI class: X.Org XInput driver, version 19.1 [ 1007.330] (II) Using input driver 'kbd' for '/dev/wskbd' [ 1007.330] (**) /dev/wskbd: always reports core events [ 1007.330] (**) /dev/wskbd: always reports core events [ 1007.330] (**) Option "Protocol" "standard" [ 1007.330] (**) Option "XkbRules" "base" [ 1007.330] (**) Option "XkbModel" "macintosh" [ 1007.331] (**) Option "XkbLayout" "us" [ 1007.331] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6) [ 1007.520] (II) config/wscons: checking input device /dev/wsmouse [ 1007.520] (II) LoadModule: "ws" [ 1007.525] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so [ 1007.526] (II) Module ws: vendor="X.Org Foundation" [ 1007.526] compiled for 1.14.5, module version = 1.3.0 [ 1007.527] Module class: X.Org XInput Driver [ 1007.527] ABI class: X.Org XInput driver, version 19.1 [ 1007.527] (II) Using input driver 'ws' for '/dev/wsmouse' [ 1007.527] (**) /dev/wsmouse: always reports core events [ 1007.527] (II) ws: /dev/wsmouse: debuglevel 0 [ 1007.527] (**) Option "Device" "/dev/wsmouse" [ 1007.527] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5 [ 1007.527] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7 [ 1007.527] (**) ws: /dev/wsmouse: associated screen: 0 [ 1007.528] (II) ws: /dev/wsmouse: minimum x position: 0 [ 1007.528] (II) ws: /dev/wsmouse: maximum x position: 1023 [ 1007.528] (II) ws: /dev/wsmouse: minimum y position: 0 [ 1007.528] (II) ws: /dev/wsmouse: maximum y position: 767 [ 1007.528] (==) ws: /dev/wsmouse: Buttons: 7 [ 1007.528] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5 [ 1007.529] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 7) [ 1007.530] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1 [ 1007.530] (**) /dev/wsmouse: (accel) acceleration profile 0 [ 1007.530] (**) /dev/wsmouse: (accel) acceleration factor: 2.000 [ 1007.530] (**) /dev/wsmouse: (accel) acceleration threshold: 4 [ 1128.044] (II) UnloadModule: "ws" [ 1128.045] (II) UnloadModule: "kbd" [ 1128.844] (EE) Server terminated successfully (0). Closing log file. screen #0: dimensions: 1024x768 pixels (271x203 millimeters) resolution: 96x96 dots per inch depths (7): 8, 1, 4, 15, 16, 24, 32 root window id: 0xae depth of root window: 8 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x20 default number of colormap cells: 256 preallocated pixels: black 0, white 1 options: backing-store NO, save-unders NO largest cursor: 1024x768 current input event mask: 0x58003d KeyPressMask ButtonPressMask ButtonReleaseMask EnterWindowMask LeaveWindowMask SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask number of visuals: 6 default visual id: 0x21 visual: visual id: 0x21 class: PseudoColor depth: 8 planes available colormap entries: 256 red, green, blue masks: 0x0, 0x0, 0x0 significant bits in color specification: 6 bits visual: visual id: 0x22 class: GrayScale depth: 8 planes available colormap entries: 256 red, green, blue masks: 0x0, 0x0, 0x0 significant bits in color specification: 6 bits visual: visual id: 0x23 class: StaticColor depth: 8 planes available colormap entries: 256 red, green, blue masks: 0x7, 0x38, 0xc0 significant bits in color specification: 6 bits visual: visual id: 0x24 class: TrueColor depth: 8 planes available colormap entries: 8 per subfield red, green, blue masks: 0x7, 0x38, 0xc0 significant bits in color specification: 6 bits visual: visual id: 0x25 class: DirectColor depth: 8 planes available colormap entries: 8 per subfield red, green, blue masks: 0x7, 0x38, 0xc0 significant bits in color specification: 6 bits visual: visual id: 0x26 class: StaticGray depth: 8 planes available colormap entries: 256 red, green, blue masks: 0x0, 0x0, 0x0 significant bits in color specification: 6 bits