Re: pcppi boot hang

2018-10-29 Thread Katherine Rohl
I have that same motherboard and I don’t have any problems with pcppi...

Do you have a PC speaker hooked up? I’d just disable the driver completely if 
not.

> On Oct 29, 2018, at 3:47 AM, kasak  wrote:
> 
> hello everybody!
> 
> i have ASUS Z170-K board with i7-6700 CPU.
> 
> It has a problem, it hangs on boot when probing pcppi0.
> 
> Every time when i have to reboot i enter UKC and disable pcppi, only after 
> that i can boot.
> 
> Is there any workaround to this ?
> 



Re: macppc - Booting with a SATA PCI drive

2018-10-26 Thread Katherine Rohl
Oh no, the SATA adapter works fine. It’s recognized by Open Firmware and the 
boot menu lets me select the Tiger install. 

What I don’t know is how to *manually* boot it through the Open Firmware 
console so I can load the OpenBSD boot loader.

Sent from my iPhone

> On Oct 26, 2018, at 8:13 PM, Nick Holland  wrote:
> 
>> On 10/25/18 14:51, Katherine Rohl wrote:
>> I’m trying to run OpenBSD and Tiger on one hard drive on a Mac G4
>> tower. I’ve successfully installed 6.4 onto the drive and I can still
>> boot from Tiger, so that’s good. I then copied ofwboot to the Tiger
>> partition (since it’s the first HFS+ partition).
>> 
>> I have an Silicon Image 3112-based PCI SATA controller that’s
>> recognized by OF. Unfortunately, I can’t remember how to tell Open
>> Firmware to boot from a SATA drive attached to a PCI controller so I
>> can specify the OpenBSD boot image!
>> 
>> Does anyone know how to find out the partition’s location in the
>> device tree so I can boot to BSD? I’m not good with Open Firmware,
>> unfortunately. I’m more of a Classic person, with my Mac usually in
>> OS 9.
> 
> You have much greater faith in Apple firmware doing things with
> non-Apple HW than I do. :)
> 
> Apple built their firmware to boot MacOS from MacHW, and anything beyond
> that that actually works is more good luck than their intent.  I'm not
> saying it's impossible, it's just not guaranteed. And it might be buggy
> if it does try to work.
> 
> I'd suggest just booting off your IDE disk and use your SATA disk as
> non-boot space.  Or perhaps a SATA to IDE adapter and attach it to the
> factory IDE port.
> 
> Nick.
> 



macppc - Booting with a SATA PCI drive

2018-10-25 Thread Katherine Rohl
I’m trying to run OpenBSD and Tiger on one hard drive on a Mac G4 tower. I’ve 
successfully installed 6.4 onto the drive and I can still boot from Tiger, so 
that’s good. I then copied ofwboot to the Tiger partition (since it’s the first 
HFS+ partition).

I have an Silicon Image 3112-based PCI SATA controller that’s recognized by OF. 
Unfortunately, I can’t remember how to tell Open Firmware to boot from a SATA 
drive attached to a PCI controller so I can specify the OpenBSD boot image!

Does anyone know how to find out the partition’s location in the device tree so 
I can boot to BSD? I’m not good with Open Firmware, unfortunately. I’m more of 
a Classic person, with my Mac usually in OS 9.

Sent from my iPhone



USB Audio, Serial Terminal

2018-10-08 Thread Katherine Rohl
Hi,

I’ve been using OpenBSD 6.3 for a few weeks and I really like it! There are 
only two major things left that I haven’t been able to figure out.

The first is using my USB headphones. I’ve tried following the instructions in 
the FAQ (making sure that the audio device is set to the correct uaudio) but to 
no avail. I’ve disabled my system’s onboard AC’97 audio to make sure that there 
is only one audio device (confirmed with dmesg, my headphones show up as 
uaudio0). Which configuration stuff do I need to post for y’all to help me? :(

The second is that I have a VT420 serial terminal I’d like to use with OpenBSD. 
I have it connected to a PL2303 USB-to-serial adapter. I’ve successfully 
connected it to other systems using the USB-to-serial adapter, but I’m having 
some problems with connecting it to OpenBSD. I’ve added entries to ttys for the 
USB-to-serial adapter and I’ve set it up to use the regular 9600bps gettytab 
entry. The terminal is configured for 9600 8N1, no XON/XOFF, no RTS/CTS 
handshaking. 

It connects to my system and I’m able to log in but after 15 seconds or so, the 
terminal loses its DSR signal and the connection resets, sending me back to a 
new login screen. Anyone have one of these terminals that may be able to advise 
me on gettytab settings?

Other than that, I’m very pleased with the OS, especially with how quiet my 
computer is when idle compared to running, say, Windows 10 ;)

Thank you for your assistance!

- Katherine



Problem building GCC 8.2.0 amd64-to-i386 cross-compiler

2018-09-24 Thread Katherine Rohl
I need to build a GCC cross-compiler targeting i386-pc-elf. I'm running 
into problems with the build on OpenBSD 6.3.


I've already successfully built a binutils-2.31.1 for i386-pc-elf.

Trying to use the GCC 4.9.4 package (as GCC 4.2 is too old to build GCC 
8), my configure is:


CC=egcc CXX=eg++ ../gcc-8.2.0/configure --prefix=/usr/local/gcc-i386 
--target=i386-pc-elf --with-gmp=/usr/local


And I'm just running gmake -j7. The error I get is in this build log: 
https://pastebin.com/k0ygAN5t


***
/usr/bin/ld: build/genmodes.o: relocation R_X86_64_32 against `a local 
symbol' can not be used when making a shared object; recompile with -fPIC

***

If I use the clang that's built into OpenBSD, I get a bunch of C errors 
that presumably mean that you can't do it with clang. Here is the build 
log: https://pastebin.com/Dv5gQ4aS


My configure for that is:

CC=clang CXX=clang ../gcc-8.2.0/configure --prefix=/usr/local/gcc-i386 
--target=i386-pc-elf --with-gmp=/usr/local


Has anyone ran into this problem before, and if so, what do I need to do 
to build my cross-compiler on OpenBSD? Apologies if this is not the 
right place to ask.