Re: OpenBSD install on a g5 imac power pc
Mehma Sarja wrote: > Installed openbsd on a model A1058, imac g5. The install was uneventful. > However, I cannot boot to it. I've tried what the documentation says for > booting off the HD using open prom and the error is that /bsd does not > exist. I'm going off memory now. > > Is anyone running off a g5? > > Yudhvir Can you explain how do you proceed for booting?
Re: OpenBSD install on a g5 imac power pc
I've tried openbsd on an old imac g5 but I've installed onto an usb drive because I didn't want to lose osx since the internal cdrom is broken and it would be a PITA to reinstall... this is how I did: 1) copy bsd, bsd.rd, ofwboot in the root of the osx boot drive (which is the only internal drive) 2) reboot and press windows+alt+o+f after the boot sound to go into openfirmware (I have pc keyboard...) 3) 0 > boot hd:,ofwboot bsd.rd 4) check the dmesg, install openbsd on the usb drive which should be sd0 (NOT the internal disk which should be wd0) 5) reboot, go to openfirmware again 6) 0 > boot hd:,ofwboot bsd -a boot> bsd -a when it asks root: /dev/sd0a this is my dmesg: [ using 1263408 bytes of bsd ELF symbol table ] console out [NVDA,Display-A] console in [keyboard], using USB using parent NVDA,Parent:: memaddr a000, size 1000 : consaddr a0008000 : ioaddr 9100, size 100: width 1680 linebytes 2048 height 1050 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2018 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.4 (GENERIC) #231: Thu Oct 11 17:55:03 MDT 2018 dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC real mem = 2147483648 (2048MB) avail mem = 2053451776 (1958MB) warning: no entropy supplied by boot loader mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root: model PowerMac8,1 cpu0 at mainbus0: 970FX (Revision 0x300): 1800 MHz mem0 at mainbus0 spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0 spdmem1 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0 memc0 at mainbus0: u3 rev 0x39 kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 "dart" at memc0 offset 0xf8033000 not configured "mpic" at memc0 offset 0xf804 not configured mpcpcibr0 at mainbus0 pci: u3-agp pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 "Apple U3L AGP" rev 0x00 appleagp0 at pchb0 agp0 at appleagp0: aperture at 0x0, size 0x1000 vgafb0 at pci0 dev 16 function 0 "NVIDIA GeForce FX Go 5200" rev 0xa1 wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) ht0 at mainbus0: u3-ht, 4 devices pci1 at ht0 bus 0 hpb0 at pci1 dev 1 function 0 "Apple Shasta PCI" rev 0x00: 85 sources pci2 at hpb0 bus 3 gem0 at pci2 dev 15 function 0 "Apple Shasta GMAC" rev 0x00: irq 40, address 00:0d:93:b8:ae:70 bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4 ppb0 at pci1 dev 2 function 0 "Apple Shasta PCI" rev 0x00 pci3 at ppb0 bus 1 macobio0 at pci3 dev 7 function 0 "Apple Shasta" rev 0x00 openpic0 at macobio0 offset 0x4: version 0x4614 feature 7b0302 LE macgpio0 at macobio0 offset 0x50 "smu-doorbell" at macgpio0 offset 0x12 not configured "smu-interrupt" at macgpio0 offset 0xd not configured "programmer-switch" at macgpio0 offset 0xc not configured "modem-reset" at macgpio0 offset 0x8 not configured "modem-power" at macgpio0 offset 0x16 not configured "slewing-done" at macgpio0 offset 0x38 not configured "amp-mute" at macgpio0 offset 0x30 not configured "combo-out-sense" at macgpio0 offset 0x29 not configured "hw-reset" at macgpio0 offset 0x34 not configured "linein-detect" at macgpio0 offset 0x2a not configured "lineout-detect" at macgpio0 offset 0x28 not configured "lineout-mute" at macgpio0 offset 0x2e not configured "internal-speaker-id" at macgpio0 offset 0x33 not configured "escc-legacy" at macobio0 offset 0x12000 not configured zs0 at macobio0 offset 0x13000: irq 23,24 zstty0 at zs0 channel 0 zstty1 at zs0 channel 1 kiic1 at macobio0 offset 0x18000 iic1 at kiic1 onyx0 at macobio0 offset 0x0: irq 28,11,12 "timer" at macobio0 offset 0x15000 not configured "backlight" at macobio0 offset 0xf300 not configured audio0 at onyx0 ohci0 at pci3 dev 11 function 0 "NEC USB" rev 0x43: irq 70, version 1.0 ohci1 at pci3 dev 11 function 1 "NEC USB" rev 0x43: irq 70, version 1.0 ehci0 at pci3 dev 11 function 2 "NEC USB" rev 0x04: irq 70 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1 ppb1 at pci1 dev 3 function 0 "Apple Shasta PCI" rev 0x00 pci4 at ppb1 bus 2 pciide0 at pci4 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA pciide0: using irq 10 for native-PCI interrupt pciide0: port 0: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 157066MB, 321672960 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 pciide0: port 1: PHY offline kauaiata0 at pci4 dev 13 function 0 "Apple Shasta ATA" rev 0x00 wdc0 at kauaiata0 irq 38: DMA atapiscsi0 at wdc0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: ATAPI 5/cdrom removable cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
rtable, rdomain for ppp0 with DHCP assigned IP
Stuck when running cvsync in rdomain 1. It seems cvsync does not using second routing table because of pf.conf misconfiguration or something. em0 as a main ISP channel, ppp0 works as reserved wireless ISP channel. Some system services like cvsync, git, ntp should use second routing table (rtable 1) assigned to ppp0. # route -T1 exec cvsync -c /etc/cvsync.conf Connecting to cvsync_server_remote_IP port host cvsync_server_remote_IP port : Can't assing requested address service is not available at cvsync_server_remote_IP port --- configs # cat /etc/hostname.em0 rdomain 0 dhcp # cat /etc/hostname.ppp0 rdomain 1 dhcp # pppd call ISP # ifconfig ppp0 ppp0: flags=8051 rdomain 1 mtu 1500 index 7 priority 0 llprio 3 grups: ppp inet ISP_ppp0_gateway --> local_ppp0_IP netmask 0xffc0 # route -T1 show local_ppp0_IP ISP_ppp0_gateway_IP UH Prio 8 ppp0 ISP_ppp0_gateway_IP ISP_ppp0_gateway_IP UHl Prio 1 ppp0 # cat /etc/pf.conf ... match out on rdomain 0 from lo0 to any nat-to (em0) port 1024:65535 rtable 0 match out on rdomain 1 from lo0 to any nat-to (ppp0) port 1024:65535 rtable 1 ... pass out quick on ppp0 inet proto tcp from (ppp0) to any port flags S/SA modulate state queue cvs ...
libGL error: ...
libGL error: Version 4 or later of flush extension not found libGL error: failed to load driver i915 I got the above when calling glxgears with OpenBSD 6.4 on Samsung nc10 nettop. In /var/log/Xorg.0.log I see no errors except at the gebinning, se below. Any hint? Thanks, Rodrigo. Contents of /var/log/Xorg.0.log follows: [ 562.217] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem (Operation not permitted) Check that you have set 'machdep.allowaperture=1' in /etc/sysctl.conf and reboot your machine refer to xf86(4) for details [ 562.217]linear framebuffer access unavailable [ 562.277] (--) Using wscons driver on /dev/ttyC4 [ 562.298] X.Org X Server 1.19.6 Release Date: 2017-12-20 [ 562.298] X Protocol Version 11, Revision 0 [ 562.298] Build Operating System: OpenBSD 6.4 i386 [ 562.298] Current Operating System: OpenBSD nc10.my.domain 6.4 GENERIC.MP#943 i386 [ 562.299] Build Date: 11 October 2018 02:19:49PM [ 562.299] [ 562.299] Current version of pixman: 0.34.0 [ 562.299]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 562.299] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 562.300] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 9 20:12:02 2018 [ 562.301] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [ 562.302] (==) No Layout section. Using the first Screen section. [ 562.302] (==) No screen section available. Using defaults. [ 562.302] (**) |-->Screen "Default Screen Section" (0) [ 562.302] (**) | |-->Monitor "" [ 562.303] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 562.303] (==) Automatically adding devices [ 562.303] (==) Automatically enabling devices [ 562.303] (==) Not automatically adding GPU devices [ 562.303] (==) Max clients allowed: 256, resource mask: 0x1f [ 562.303] (==) 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/ [ 562.303] (==) ModulePath set to "/usr/X11R6/lib/modules" [ 562.303] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [ 562.303] (II) Loader magic: 0x3550a000 [ 562.303] (II) Module ABI versions: [ 562.303]X.Org ANSI C Emulation: 0.4 [ 562.303]X.Org Video Driver: 23.0 [ 562.303]X.Org XInput driver : 24.1 [ 562.303]X.Org Server Extension : 10.0 [ 562.304] (--) PCI:*(0:0:2:0) 8086:27ae:144d:ca00 rev 3, Mem @ 0xf000/524288, 0xd000/268435456, 0xf030/262144, I/O @ 0x1800/8 [ 562.304] (--) PCI: (0:0:2:1) 8086:27a6:144d:ca00 rev 3, Mem @ 0xf008/524288 [ 562.304] (II) LoadModule: "glx" [ 562.307] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [ 562.314] (II) Module glx: vendor="X.Org Foundation" [ 562.314]compiled for 1.19.6, module version = 1.0.0 [ 562.314]ABI class: X.Org Server Extension, version 10.0 [ 562.314] (==) Matched intel as autoconfigured driver 0 [ 562.314] (==) Assigned the driver to the xf86ConfigLayout [ 562.314] (II) LoadModule: "intel" [ 562.316] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so [ 562.317] (II) Module intel: vendor="X.Org Foundation" [ 562.317]compiled for 1.19.6, module version = 2.99.916 [ 562.317]Module class: X.Org Video Driver [ 562.317]ABI class: X.Org Video Driver, version 23.0 [ 562.317] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [ 562.318] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000 [ 562.318] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100 [ 562.318] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300 [ 562.321] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010 [ 562.324] (--) intel(0): Integrated Graphics Chipset: Intel(R) 945GME [ 562.324] (--) intel(0): CPU: x86, sse2, sse3, ssse3 [ 562.324] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 562.324] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [ 562.324] (==) intel(0): RGB weight 888 [ 562.324] (==) intel(0): Default visual is TrueColor [ 562.325]
Re: radeon driver bug?
On December 9, 2018 1:22:42 AM UTC, "岡本健二" wrote: >I found mesa-libs-18.1.9 for FreeBSD ports. >How can I get it without FreeBSD system? > >Kenji > > >2018年12月8日(土) 14:48 岡本健二 : > >> I installed Ubuntu 18.04 to a AMD 6450 graphic card, and played >> Jahshaka. It has mesa version 18.2, and runs Jahshaka very >> smoothly. >> >> The colors I reported before are same in this machine, so that >> report was not correct. >> >> Kenji >> >> 2018年12月7日(金) 11:09 岡本健二 : >> >>> I checked mesa-18.3.0 sources under src/gallium/drivers/r600 and >compared >>> with those >>> of xenocara. File names are all same, however, individual sizes are >very >>> different for >>> most of those, which would not permit me to copy those to >xenocara... >>> >>> Kenji >>> >>> >>> 2018年12月6日(木) 15:14 岡本健二 : >>> also, it stull has some bugs, because the colors of some parts are different from those of original ones. Kenji 2018年12月6日(木) 15:10 岡本健二 : > Sorry, I'm a novice to OpenBSD. > Yes, it's current branch of xenocara. > I updated my xenocara (stable) to that current, and build new >xenocara > here. > > Wow, it makes the Jahshaka works! > > However, it still has some bugs, because it moves and stop >suddenly and > then > move again. Whine the animation stops, the system seems to >halting... > > Anyway it makes much advance, I included the screenshot of it. > > Kenji > > PS: sorry tfrohwein, this is doubled to you > > 2018年12月6日(木) 13:26 岡本健二 : > >> in-current means stable 6.4? >> >> Kenji >> >> 2018年12月5日(水) 23:58 tfrohw...@fastmail.com >: >> >>> On December 5, 2018 9:41:44 AM UTC, "岡本健二" >>> wrote: >>> >This errors come from >>> >>/usr/xenocara/lib/mesa/src/gallium/drivers/r600/r600_state_common.c. >>> >The mesa version of OpenBSD6.4 is 13.0.6. >>> >I'm running this Jahshaka on Ubutu 18.04, where the mesa >version is >>> >18.x. >>> > >>> >So, it may be the mesa problem... >>> > >>> >Kenji >>> > >>> > >>> >2018年12月4日(火) 16:19 岡本健二 : >>> > >>> >> I'm using AMD HD6450 graphic card which I reported before, >and >>> faced >>> >a >>> >> curious thing >>> >> during running Jahshaka Studio (dev version 7.03a). >>> >> To run Jahshaka on OpenBSD 6.4 I needed to delete google >breakpad >>> >> temporally, which >>> >> is not the problem now. >>> >> >>> >> After start to run 'Jahshaka Studio', I got start 3D >animation >>> sample >>> >> 'Skeletal Animation' data to load, then >>> >> I got many errors included below which seems to come from >radeon >>> drm >>> >> driver's bug to me. >>> >> If you interested please check it. >>> >> >>> >> Thanks in advance >>> >> >>> >> Kenji >>> >> >>> >> >>> >>> There's a known bug where the shader on r600 uses too many >registers: >>> >>> https://bugs.freedesktop.org/show_bug.cgi?id=99349 >>> >>> I encountered this bug with godot on a Radeon HD 7570, too, and >it >>> went away with the updated mesa that's in -current. >>> >> I think you are asking for way more than you (or most misc@ readers) can handle. Porting low-level libraries from FreeBSD is far from trivial. My advice remains: if you want working graphics, you should run OpenBSD-current, not 6.4-release. What you did is try to plug in stuff from -current into 6.4 which is huge gamble and I'm not surprised if the result is weird. Just read the OpenBSD FAQ again for how to install -current. I would stop experimenting like you've one until you understand the system much better than now.
resize SR_CRYPTO?
I'm messing around with resizing a VM disk that contains a softraid crypto volume, and I've not managed to figure out how to non-destructively resize the crypto volume. The man pages only mention creating a crypto volume, not *resizing*, so this strikes me as a "wipe, rebuild, restore" operation. Am I correct in thinking this is a wipe, rebuild, restore situation, or is there an option/program I've missed for resizing? Thanks, Jonathon