Re: Suspend on Macbook Pro Retina (MacbookPro 11,1)

2015-12-06 Thread Mike Larkin
On Fri, Dec 04, 2015 at 03:33:10PM -0500, Bryan C. Everly wrote:
> Hi everyone,
> 
> With the latest snapshot installed, I can confirm that this machine will
> (sort of) suspend.  Unfortunately it won't wake up.
> 
> When it suspends (via 'zzz' from the console), the screen turns off.
> However, the keyboard backlight, the USB network adapter I'm using, and the
> "red cylon eye" in the headphone jack are all still active.
> 
> Any information I can provide to help further the cause here?  Anyone who
> is willing to work with me to help figure out how we can unlock more of the
> potential in this hardware?
> 
> Thanks,
> Bryan
>

Considering that you didn't even give us a dmesg ...

man sendbug



Re: Suspend on Macbook Pro Retina (MacbookPro 11,1)

2015-12-06 Thread Bryan C. Everly
Hi,

Happy to do so.  Here is an imgur link that has three shots.  I am using
the i3 desktop currently so I can have a little more control over the
fine-grained settings for HiDPI (I had previously been running Gnome 3).
Let me know if there is anything in particular you'd like to see:

https://imgur.com/a/CiQ82

Thanks,
Bryan

On Sun, Dec 6, 2015 at 6:46 AM, Артур Истомин
 wrote:

> On Fri, Dec 04, 2015 at 03:33:10PM -0500, Bryan C. Everly wrote:
> > Hi everyone,
>
> Hi, Bryan!
>
> Sorry for off-top and off-list, but can You please upload two or three
> screenshots of web-pages and any GUI application. I'm interesting how
> OpenBSD's
> fonts look at retina display.
>
> Thank You.



Re: Suspend on Macbook Pro Retina (MacbookPro 11,1)

2015-12-06 Thread Bryan C. Everly
Sorry Mike.  Feeling like a real dork here.  Here's my dmesg (I also read
the manpage for sendbug and used it to send one):

OpenBSD 5.8-current (GENERIC.MP) #1708: Fri Dec  4 10:41:02 MST 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error
ff
real mem = 17065656320 (16275MB)
avail mem = 16544325632 (15777MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x8ad14000 (43 entries)
bios0: vendor Apple Inc. version "MBP111.88Z.0138.B16.1509081438" date
09/08/2015
bios0: Apple Inc. MacBookPro11,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT
SSDT SSDT SSDT MCFG DMAR
acpi0: wakeup devices P0P2(S3) EC__(S3) HDEF(S3) RP01(S3) RP02(S3) RP03(S4)
ARPT(S4) RP05(S3) RP06(S3) XHC1(S3) ADP1(S3) LID0(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz, 2700.37 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,
BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz, 2700.01 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,
BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz, 2700.01 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,
BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz, 2700.01 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA
DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,
BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe000, bus 0-155
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP03)
acpiprt5 at acpi0: bus 5 (RP05)
acpiprt6 at acpi0: bus 4 (RP06)
acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpibat0 at acpi0: BAT0 model "3545797981023400290" type
3545797981528607052 oem "3545797981528673619"
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGPU
acpivout0 at acpivideo0: DD01
cpu0: Enhanced SpeedStep 2700 MHz: speeds: 2801, 2800, 2700, 2400, 2200,
2000, 1700, 1500, 1300, 1100, 900, 756 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel Iris Graphics 5100" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 2560x1600
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x09: msi
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi
usb0 at xhci0: USB revision 3.0

Re: Suspend on Macbook Pro Retina (MacbookPro 11,1)

2015-12-06 Thread Bryan Everly
Performance is great from my perspective. No noticeable lag, etc.

The wifi will probably never get a driver in OpenBSD though (only a
closed source driver in Linux) and power management is flakey (even in
Linux). Just keep that in mind.

Thanks,
Bryan

> On Dec 6, 2015, at 5:06 PM, Артур Истомин 
wrote:
>
>> On Sun, Dec 06, 2015 at 09:28:05AM -0500, Bryan C. Everly wrote:
>> Hi,
>>
>> Happy to do so.  Here is an imgur link that has three shots.  I am using
>> the i3 desktop currently so I can have a little more control over the
>> fine-grained settings for HiDPI (I had previously been running Gnome 3).
>> Let me know if there is anything in particular you'd like to see:
>>
>> https://imgur.com/a/CiQ82
>
> Bryan, what about performance 2D, 3D? Are there any difference between
> "retina" and "standard" dpi on Intel video on OpenBSD? I'm about
performance
> issues, not about aesthetics (yes, fonts are realy awesome, that is why I
want
> to buy laptop with hidpi display).



Re: Suspend on Macbook Pro Retina (MacbookPro 11,1)

2015-12-06 Thread Артур Истомин
On Sun, Dec 06, 2015 at 09:28:05AM -0500, Bryan C. Everly wrote:
> Hi,
> 
> Happy to do so.  Here is an imgur link that has three shots.  I am using
> the i3 desktop currently so I can have a little more control over the
> fine-grained settings for HiDPI (I had previously been running Gnome 3).
> Let me know if there is anything in particular you'd like to see:
> 
> https://imgur.com/a/CiQ82

Bryan, what about performance 2D, 3D? Are there any difference between
"retina" and "standard" dpi on Intel video on OpenBSD? I'm about performance
issues, not about aesthetics (yes, fonts are realy awesome, that is why I want
to buy laptop with hidpi display).



Suspend on Macbook Pro Retina (MacbookPro 11,1)

2015-12-04 Thread Bryan C. Everly
Hi everyone,

With the latest snapshot installed, I can confirm that this machine will
(sort of) suspend.  Unfortunately it won't wake up.

When it suspends (via 'zzz' from the console), the screen turns off.
However, the keyboard backlight, the USB network adapter I'm using, and the
"red cylon eye" in the headphone jack are all still active.

Any information I can provide to help further the cause here?  Anyone who
is willing to work with me to help figure out how we can unlock more of the
potential in this hardware?

Thanks,
Bryan



Re: MacbookPro 11,1

2015-11-27 Thread Bryan C. Everly
Hi guys,

I got a rough cut of my how-to up on my blog.  I'd appreciate any feedback
/ suggestions:

http://functionallyparanoid.com/2015/11/27/hidpi/


Thanks,
Bryan

On Thu, Nov 26, 2015 at 12:25 PM, Bryan Vyhmeister 
wrote:

> On Thu, Nov 26, 2015 at 09:00:48AM +0100, Joerg Jung wrote:
> > Can you send a dmesg for this Air7,2 please?
>
> Here's my dmesg from today's snapshot for the MacBookAir7,2.
>
> Bryan
>
>
>
> OpenBSD 5.8-current (GENERIC.MP) #1667: Thu Nov 26 08:27:08 MST 2015
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> RTC BIOS diagnostic error
> ff
> real mem = 8469352448 (8077MB)
> avail mem = 8208547840 (7828MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x8afad000 (32 entries)
> bios0: vendor Apple Inc. version "MBA71.88Z.0166.B06.1506051511" date
> 06/05/2015
> bios0: Apple Inc. MacBookAir7,2
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT
> SSDT SSDT MCFG DMAR
> acpi0: wakeup devices PEG0(S3) EC__(S3) HDEF(S3) RP01(S3) RP02(S3)
> RP03(S4) ARPT(S4) RP05(S3) RP06(S3) SPIT(S3) XHC1(S3) ADP1(S3) LID0(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz, 2100.32 MHz
> cpu0:
>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT
,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITS
C,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,AR
AT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 100MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz, 2100.00 MHz
> cpu1:
>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT
,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITS
C,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,AR
AT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz, 2100.00 MHz
> cpu2:
>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT
,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITS
C,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,AR
AT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz, 2100.00 MHz
> cpu3:
>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT
,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITS
C,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,AR
AT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
> acpiec0 at acpi0
> acpimcfg0 at acpi0 addr 0xe000, bus 0-155
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG0)
> acpiprt2 at acpi0: bus 1 (RP01)
> acpiprt3 at acpi0: bus 2 (RP02)
> acpiprt4 at acpi0: bus 3 (RP03)
> acpiprt5 at acpi0: bus 5 (RP05)
> acpiprt6 at acpi0: bus 4 (RP06)
> acpicpu0 at acpi0: C3(200@276 mwait.1@0x60), C2(200@148 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C3(200@276 mwait.1@0x60), C2(200@148 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C3(200@276 mwait.1@0x60), C2(200@148 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C3(200@276 mwait.1@0x60), C2(200@148 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpibat0 at acpi0: BAT0 model "3545797981023400290" type
> 3545797981528607052 oem "3545797981528608836"
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: LID0
> acpibtn1 at acpi0: PWRB
> acpibtn2 at acpi0: SLPB
> acpivideo0 at acpi0: IGPU
> acpivout0 at acpivideo0: DD01
> 

Re: MacbookPro 11,1

2015-11-26 Thread Joerg Jung
> Am 26.11.2015 um 00:50 schrieb Bryan Vyhmeister :
>
>> On Thu, Nov 26, 2015 at 12:02:18AM +0100, Joerg Jung wrote:
>> The problem with the MacBook8,1 is the USB trackpad/keyboard is connected
>> via SPI internally.  No SPI driver in OpenBSD.
>> Moreover, the internal SSD is connected via NVMe, also not supported.
>>
>> Also, both seem not really working in any other open source OS yet.
>> See here http://moepi.net/?page_id=213
>>
>> Interesting is, MacBookPro12,1 seems to use same SPI Trackpad as well,
>> but (ACPI?) behaves differently and seems working using Linux, see here:
>> http://www.spinics.net/lists/linux-acpi/msg61848.html
>
> Perhaps all the "Force Touch" trackpads are SPI connected?
>
>>> His solution was a
>>> USB keyboard and a USB hub. I didn't have either handy but may try that
>>> later today. In the case of the 12-inch Retina MacBook, there is only
>>> that single USB-C port so I'm not sure if the USB hub was needed for any
>>> reason other than to provide at least two ports (one for USB flash drive
>>> and one for USB keyboard).
>>
>> No real success here, the USB 3.x hub I tried was passive (likely not
enough power)
>> and crashed the machine on attach/detach.
>
> It sounds like the MacBook8,1 does not work for now then. That's too
> bad. I wonder if the MacBookPro11,4 (2015 15-inch with integrated
> graphics) also has the same SPI trackpad? I wonder if it also has
> storage issues with OpenBSD?
>
> My goal is to document how well OpenBSD works on all the recent Apple
> hardware I can. I'm intending to purchase a MacBookPro11,1 (2014
> 13-inch) which it sounds like from the thread works pretty well. I am
> interested to find out if the SD card slot works.
>
> I'm also hoping to find out more about the storage, SD card, and
> trackpad of the MacBookPro11,4 (2015 15-inch with integrated graphics)
> and also of the MacBookPro11,2 (2014 15-inch with integrated graphics).
> Both of these machines still have Haswell chips (unlike the
> MacBookPro12,1).
>
> The MacBookAir6,1 (2013/2014 11-inch MacBook Air) I have works very well
> in all respects but since it's the 11-inch it does not have an SD card
> and my MacBookAir7,2 (2015 13-inch MacBook Air) works reasonably well
> but lacks X acceleration (due to Broadwell) and the brightness cannot be
> adjusted with xbacklight(1). The SD card slot also is not detected in
> any way.

Can you send a dmesg for this Air7,2 please?

> I'm hoping to get some feedback on the SD card slot on the
> MacBookAir6,2 if possible as well.
>
> Bryan



Re: MacbookPro 11,1

2015-11-26 Thread Bryan Vyhmeister
On Thu, Nov 26, 2015 at 09:00:48AM +0100, Joerg Jung wrote:
> Can you send a dmesg for this Air7,2 please?

Here's my dmesg from today's snapshot for the MacBookAir7,2.

Bryan



OpenBSD 5.8-current (GENERIC.MP) #1667: Thu Nov 26 08:27:08 MST 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 
ff
real mem = 8469352448 (8077MB)
avail mem = 8208547840 (7828MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x8afad000 (32 entries)
bios0: vendor Apple Inc. version "MBA71.88Z.0166.B06.1506051511" date 06/05/2015
bios0: Apple Inc. MacBookAir7,2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT 
SSDT MCFG DMAR
acpi0: wakeup devices PEG0(S3) EC__(S3) HDEF(S3) RP01(S3) RP02(S3) RP03(S4) 
ARPT(S4) RP05(S3) RP06(S3) SPIT(S3) XHC1(S3) ADP1(S3) LID0(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz, 2100.32 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz, 2100.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz, 2100.00 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz, 2100.00 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe000, bus 0-155
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP03)
acpiprt5 at acpi0: bus 5 (RP05)
acpiprt6 at acpi0: bus 4 (RP06)
acpicpu0 at acpi0: C3(200@276 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@276 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@276 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@276 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpibat0 at acpi0: BAT0 model "3545797981023400290" type 3545797981528607052 
oem "3545797981528608836"
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGPU
acpivout0 at acpivideo0: DD01
cpu0: Enhanced SpeedStep 2100 MHz: speeds: 2201, 2200, 2100, 1800, 1600, 1300, 
1100, 900, 700, 500 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 5G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 6000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1440x900
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)

Re: MacbookPro 11,1

2015-11-25 Thread Joerg Jung
> Am 23.11.2015 um 18:15 schrieb Bryan Vyhmeister :
>
>> On Mon, Nov 23, 2015 at 09:22:04AM -0500, Bryan C. Everly wrote:
>> I tried a few months ago to boot this into OpenBSD and one of the big
>> problems I ran into was that this is a USB 3 only machine and as such, the
>> keyboard worked at the boot prompt but did not work when I got to the
first
>> installer prompt.
>
> I never had any success with any Apple machine of recent vintage until
> efiboot became available very recently. Now with the changes to
> inteldrm(4) over the weekend, most things are working well for me.
>
>> I'm seeing people talking about working on Macbook Air machines (some of
>> quite recent vintage) so I'm wondering if:
>>
>> 1.  There is a patch I can apply to get keyboard support working on the
>> Macbook Pro Retina; or
>
> I was corresponding with Joerg Jung about his 2015 12-inch Retina
> MacBook and he also has the same issue. I also booted up my 2015 12-inch
> Retina MacBook yesterday and had no keyboard at all.

The problem with the MacBook8,1 is the USB trackpad/keyboard is connected
via SPI internally.  No SPI driver in OpenBSD.
Moreover, the internal SSD is connected via NVMe, also not supported.

Also, both seem not really working in any other open source OS yet.
See here http://moepi.net/?page_id=213

Interesting is, MacBookPro12,1 seems to use same SPI Trackpad as well,
but (ACPI?) behaves differently and seems working using Linux, see here:
http://www.spinics.net/lists/linux-acpi/msg61848.html

> His solution was a
> USB keyboard and a USB hub. I didn't have either handy but may try that
> later today. In the case of the 12-inch Retina MacBook, there is only
> that single USB-C port so I'm not sure if the USB hub was needed for any
> reason other than to provide at least two ports (one for USB flash drive
> and one for USB keyboard).

No real success here, the USB 3.x hub I tried was passive (likely not enough
power)
and crashed the machine on attach/detach.

>> 2.  The Macbook Air doesn't have all USB 3 ports so this isn't a problem
>> for that hardware
>
> The last several generations only show xhci(4) rather than any uhci(4).
> I don't know what is different about the MacBook Air systems that allows
> the keyboard to work since the keyboard does attach as ukbd(4).
>
>> Any suggestions would be appreciated.
>
> My solution was to create an OpenBSD efiboot flash drive and then things
> worked fairly well. In your case, you probably need a USB keyboard and
> possibly a USB hub. I will post a separate post soon with more
> information about both of my MacBook Air systems but, in short, the 2013
> MacBook Air, which is a Haswell system like your MacBook Pro, works
> quite well.  Obviously wireless is not supported but a urtwn(4) USB
> wireless adapter works fine. X acceleration works fine as does
> xbacklight(1) to set screen brightness. The brightness buttons on the
> keyboard do not work though. Keyboard backlight is functional (although
> not yet adjustable) due to Joerg Jung's recent asmc(4) driver.
>
> The 2015 MacBook Air which is a Broadwell system works almost as well
> but does not have X acceleration at this time (disabled for now due to
> instability) and also does not respond to xbacklight(1) so there is no
> way to adjust screen brightness. To see the state of things in Linux, I
> also installed Fedora 23 last week which comes with Linux kernel 4.2 and
> that also could not adjust the brightness of the display at all even
> though it acted as though it was working.
>
> I am interested to see what you find with your system since I am looking
> to pick up a similar Haswell Retina MacBook Pro from the refurbished
> store to use with OpenBSD as well.
>
> Bryan



Re: MacbookPro 11,1

2015-11-25 Thread Bryan Vyhmeister
On Thu, Nov 26, 2015 at 12:02:18AM +0100, Joerg Jung wrote:
> The problem with the MacBook8,1 is the USB trackpad/keyboard is connected
> via SPI internally.  No SPI driver in OpenBSD.
> Moreover, the internal SSD is connected via NVMe, also not supported.
> 
> Also, both seem not really working in any other open source OS yet.
> See here http://moepi.net/?page_id=213
> 
> Interesting is, MacBookPro12,1 seems to use same SPI Trackpad as well, 
> but (ACPI?) behaves differently and seems working using Linux, see here:
> http://www.spinics.net/lists/linux-acpi/msg61848.html

Perhaps all the "Force Touch" trackpads are SPI connected?

> > His solution was a
> > USB keyboard and a USB hub. I didn't have either handy but may try that
> > later today. In the case of the 12-inch Retina MacBook, there is only
> > that single USB-C port so I'm not sure if the USB hub was needed for any
> > reason other than to provide at least two ports (one for USB flash drive
> > and one for USB keyboard).
> 
> No real success here, the USB 3.x hub I tried was passive (likely not enough 
> power) 
> and crashed the machine on attach/detach.

It sounds like the MacBook8,1 does not work for now then. That's too
bad. I wonder if the MacBookPro11,4 (2015 15-inch with integrated
graphics) also has the same SPI trackpad? I wonder if it also has
storage issues with OpenBSD?

My goal is to document how well OpenBSD works on all the recent Apple
hardware I can. I'm intending to purchase a MacBookPro11,1 (2014
13-inch) which it sounds like from the thread works pretty well. I am
interested to find out if the SD card slot works.

I'm also hoping to find out more about the storage, SD card, and
trackpad of the MacBookPro11,4 (2015 15-inch with integrated graphics)
and also of the MacBookPro11,2 (2014 15-inch with integrated graphics).
Both of these machines still have Haswell chips (unlike the
MacBookPro12,1).

The MacBookAir6,1 (2013/2014 11-inch MacBook Air) I have works very well
in all respects but since it's the 11-inch it does not have an SD card
and my MacBookAir7,2 (2015 13-inch MacBook Air) works reasonably well
but lacks X acceleration (due to Broadwell) and the brightness cannot be
adjusted with xbacklight(1). The SD card slot also is not detected in
any way. I'm hoping to get some feedback on the SD card slot on the
MacBookAir6,2 if possible as well.

Bryan



Re: MacbookPro 11,1

2015-11-24 Thread Bryan Vyhmeister
On Tue, Nov 24, 2015 at 05:17:56PM -0500, Bryan C. Everly wrote:
> The rsu driver I'm using as an external USB network adapter appears to be a
> bit flaky on this hardware (dropping packets and connections entirely
> sometimes) so that's been a barrier as well necessitating multiple retries
> of pkg_add.

I have had excellent success with urtwn(4). I have an Edimax EW-7811Un
and also now a TP-Link TL-WN725N v2 that work great. I believe jcs@ uses
a urtwn(4) as well. As a bonus, the urtwn(4) devices I have are pretty
compact sticking out of the USB port.

> The HiDPI support in Gnome 3.18 worked flawlessly and everything looks
> "normal".

That's good to hear. I'm using spectrwm on my machine. I haven't tried
GNOME yet on either of these MacBook Airs. It sounds like acceleration
is working well for you in X or GNOME would not run well at all.

> tldr; looks pretty promising - thanks to everyone who put in the massive
> hard work to get us to this point!

Likewise! Thanks to everyone for all the hard work!

Bryan



Re: MacbookPro 11,1

2015-11-24 Thread Bryan C. Everly
So I got a usable Gnome3 desktop on this machine!

Trying to install gnome was a bit of a pain due to a library version
mismatch with the snapshot I grabbed.  However, after building
/usr/ports/devel/harfbuzz and /usr/ports/graphics/exiv2 from source
(amazing how fast that build went on this hardware), I managed to get
everything installed.

The rsu driver I'm using as an external USB network adapter appears to be a
bit flaky on this hardware (dropping packets and connections entirely
sometimes) so that's been a barrier as well necessitating multiple retries
of pkg_add.

The HiDPI support in Gnome 3.18 worked flawlessly and everything looks
"normal".

The acid test for me will be to reformat the drive, get OSX installed again
and document each step along the way so I can be certain that I can
reproduce the end state.

tldr; looks pretty promising - thanks to everyone who put in the massive
hard work to get us to this point!



Thanks,
Bryan

On Mon, Nov 23, 2015 at 6:39 PM, Bryan Vyhmeister 
wrote:

> On Mon, Nov 23, 2015 at 06:28:04PM -0500, Bryan Everly wrote:
> > I only had to bless my thumb drive so the keyboard worked. Everything
> > else is native when booting from the hard drive afaik.
>
> Very good. I didn't think about "blessing" the thumb drive. Good idea.
>
> Bryan



MacbookPro 11,1

2015-11-23 Thread Bryan C. Everly
Hi everyone,

I tried a few months ago to boot this into OpenBSD and one of the big
problems I ran into was that this is a USB 3 only machine and as such, the
keyboard worked at the boot prompt but did not work when I got to the first
installer prompt.

I'm seeing people talking about working on Macbook Air machines (some of
quite recent vintage) so I'm wondering if:

1.  There is a patch I can apply to get keyboard support working on the
Macbook Pro Retina; or

2.  The Macbook Air doesn't have all USB 3 ports so this isn't a problem
for that hardware

Any suggestions would be appreciated.

Thanks,
Bryan



Re: MacbookPro 11,1

2015-11-23 Thread Bryan Everly
I only had to bless my thumb drive so the keyboard worked. Everything
else is native when booting from the hard drive afaik.

Thanks,
Bryan

> On Nov 23, 2015, at 4:37 PM, Bryan Vyhmeister  wrote:
>
>> On Mon, Nov 23, 2015 at 04:20:56PM -0500, Bryan C. Everly wrote:
>> The /usr/sbin/bless command was the key that unlocked this for me.  I have
>> managed to get the latest snapshot installed and booting on this machine.
>> I'm in the process of installing a desktop (I run gnome) so I'll let you
>> know how that goes.
>
> You must be using BIOS emulation then? My goal with my install was to
> avoid using BIOS emulation if possible. I wanted to be able to install
> OpenBSD on a Mac without needing to use OS X at all or dual boot. As I'm
> sure you've read, jcs@ has a gist about this process and jasper@ has a
> blog post detailing how to do the efiboot like I did.
>
> I'm looking forward to finding out how it works out for you.
>
> Bryan



Re: MacbookPro 11,1

2015-11-23 Thread Bryan Vyhmeister
On Mon, Nov 23, 2015 at 06:28:04PM -0500, Bryan Everly wrote:
> I only had to bless my thumb drive so the keyboard worked. Everything
> else is native when booting from the hard drive afaik.

Very good. I didn't think about "blessing" the thumb drive. Good idea.

Bryan



Re: MacbookPro 11,1

2015-11-23 Thread Bryan Vyhmeister
On Mon, Nov 23, 2015 at 09:22:04AM -0500, Bryan C. Everly wrote:
> I tried a few months ago to boot this into OpenBSD and one of the big
> problems I ran into was that this is a USB 3 only machine and as such, the
> keyboard worked at the boot prompt but did not work when I got to the first
> installer prompt.

I never had any success with any Apple machine of recent vintage until
efiboot became available very recently. Now with the changes to
inteldrm(4) over the weekend, most things are working well for me.

> I'm seeing people talking about working on Macbook Air machines (some of
> quite recent vintage) so I'm wondering if:
> 
> 1.  There is a patch I can apply to get keyboard support working on the
> Macbook Pro Retina; or

I was corresponding with Joerg Jung about his 2015 12-inch Retina
MacBook and he also has the same issue. I also booted up my 2015 12-inch
Retina MacBook yesterday and had no keyboard at all. His solution was a
USB keyboard and a USB hub. I didn't have either handy but may try that
later today. In the case of the 12-inch Retina MacBook, there is only
that single USB-C port so I'm not sure if the USB hub was needed for any
reason other than to provide at least two ports (one for USB flash drive
and one for USB keyboard).

> 2.  The Macbook Air doesn't have all USB 3 ports so this isn't a problem
> for that hardware

The last several generations only show xhci(4) rather than any uhci(4).
I don't know what is different about the MacBook Air systems that allows
the keyboard to work since the keyboard does attach as ukbd(4).

> Any suggestions would be appreciated.

My solution was to create an OpenBSD efiboot flash drive and then things
worked fairly well. In your case, you probably need a USB keyboard and
possibly a USB hub. I will post a separate post soon with more
information about both of my MacBook Air systems but, in short, the 2013
MacBook Air, which is a Haswell system like your MacBook Pro, works
quite well.  Obviously wireless is not supported but a urtwn(4) USB
wireless adapter works fine. X acceleration works fine as does
xbacklight(1) to set screen brightness. The brightness buttons on the
keyboard do not work though. Keyboard backlight is functional (although
not yet adjustable) due to Joerg Jung's recent asmc(4) driver.

The 2015 MacBook Air which is a Broadwell system works almost as well
but does not have X acceleration at this time (disabled for now due to
instability) and also does not respond to xbacklight(1) so there is no
way to adjust screen brightness. To see the state of things in Linux, I
also installed Fedora 23 last week which comes with Linux kernel 4.2 and
that also could not adjust the brightness of the display at all even
though it acted as though it was working.

I am interested to see what you find with your system since I am looking
to pick up a similar Haswell Retina MacBook Pro from the refurbished
store to use with OpenBSD as well.

Bryan



Re: MacbookPro 11,1

2015-11-23 Thread Bryan C. Everly
Bryan,

The /usr/sbin/bless command was the key that unlocked this for me.  I have
managed to get the latest snapshot installed and booting on this machine.
I'm in the process of installing a desktop (I run gnome) so I'll let you
know how that goes.

Thanks to everyone for their help.


Thanks,
Bryan

On Mon, Nov 23, 2015 at 12:15 PM, Bryan Vyhmeister 
wrote:

> On Mon, Nov 23, 2015 at 09:22:04AM -0500, Bryan C. Everly wrote:
> > I tried a few months ago to boot this into OpenBSD and one of the big
> > problems I ran into was that this is a USB 3 only machine and as such,
> the
> > keyboard worked at the boot prompt but did not work when I got to the
> first
> > installer prompt.
>
> I never had any success with any Apple machine of recent vintage until
> efiboot became available very recently. Now with the changes to
> inteldrm(4) over the weekend, most things are working well for me.
>
> > I'm seeing people talking about working on Macbook Air machines (some of
> > quite recent vintage) so I'm wondering if:
> >
> > 1.  There is a patch I can apply to get keyboard support working on the
> > Macbook Pro Retina; or
>
> I was corresponding with Joerg Jung about his 2015 12-inch Retina
> MacBook and he also has the same issue. I also booted up my 2015 12-inch
> Retina MacBook yesterday and had no keyboard at all. His solution was a
> USB keyboard and a USB hub. I didn't have either handy but may try that
> later today. In the case of the 12-inch Retina MacBook, there is only
> that single USB-C port so I'm not sure if the USB hub was needed for any
> reason other than to provide at least two ports (one for USB flash drive
> and one for USB keyboard).
>
> > 2.  The Macbook Air doesn't have all USB 3 ports so this isn't a problem
> > for that hardware
>
> The last several generations only show xhci(4) rather than any uhci(4).
> I don't know what is different about the MacBook Air systems that allows
> the keyboard to work since the keyboard does attach as ukbd(4).
>
> > Any suggestions would be appreciated.
>
> My solution was to create an OpenBSD efiboot flash drive and then things
> worked fairly well. In your case, you probably need a USB keyboard and
> possibly a USB hub. I will post a separate post soon with more
> information about both of my MacBook Air systems but, in short, the 2013
> MacBook Air, which is a Haswell system like your MacBook Pro, works
> quite well.  Obviously wireless is not supported but a urtwn(4) USB
> wireless adapter works fine. X acceleration works fine as does
> xbacklight(1) to set screen brightness. The brightness buttons on the
> keyboard do not work though. Keyboard backlight is functional (although
> not yet adjustable) due to Joerg Jung's recent asmc(4) driver.
>
> The 2015 MacBook Air which is a Broadwell system works almost as well
> but does not have X acceleration at this time (disabled for now due to
> instability) and also does not respond to xbacklight(1) so there is no
> way to adjust screen brightness. To see the state of things in Linux, I
> also installed Fedora 23 last week which comes with Linux kernel 4.2 and
> that also could not adjust the brightness of the display at all even
> though it acted as though it was working.
>
> I am interested to see what you find with your system since I am looking
> to pick up a similar Haswell Retina MacBook Pro from the refurbished
> store to use with OpenBSD as well.
>
> Bryan



Re: MacbookPro 11,1

2015-11-23 Thread Bryan Vyhmeister
On Mon, Nov 23, 2015 at 04:20:56PM -0500, Bryan C. Everly wrote:
> The /usr/sbin/bless command was the key that unlocked this for me.  I have
> managed to get the latest snapshot installed and booting on this machine.
> I'm in the process of installing a desktop (I run gnome) so I'll let you
> know how that goes.

You must be using BIOS emulation then? My goal with my install was to
avoid using BIOS emulation if possible. I wanted to be able to install
OpenBSD on a Mac without needing to use OS X at all or dual boot. As I'm
sure you've read, jcs@ has a gist about this process and jasper@ has a
blog post detailing how to do the efiboot like I did.

I'm looking forward to finding out how it works out for you.

Bryan



no keyboard during snapshot/amd64 installation on MacBookPro 11,1

2014-10-08 Thread Jindřich Káňa
Hello list,

Trying to install amd64 snapshot on MacBookPro 11,1. Boot process stops on 
message: scsibus1at softraid0: 256 targets. After minute or more the install 
program appear. But keyboard do not work. I tried to use another USB keyboard, 
but its same. In pckbc(4) is written, that device flags should be changed. I 
can use keyboard to go into boot_config, but in UKC I lost keyboard too…it just 
blinking… no possibility to write even with external USB keyboard.

Thanks much for hint!
Jindra



Re: no keyboard during snapshot/amd64 installation on MacBookPro 11,1

2014-10-08 Thread Bryan Steele
On Wed, Oct 08, 2014 at 09:45:59PM +0200, Jind??ich Ka wrote:
 Hello list,
 
 Trying to install amd64 snapshot on MacBookPro 11,1. Boot process stops on 
 message: scsibus1at softraid0: 256 targets. After minute or more the install 
 program appear. But keyboard do not work. I tried to use another USB 
 keyboard, but its same. In pckbc(4) is written, that device flags should be 
 changed. I can use keyboard to go into boot_config, but in UKC I lost 
 keyboard too?it just blinking? no possibility to write even with external USB 
 keyboard.
 
 Thanks much for hint!
 Jindra

Some modern systems no longer emulate the legacy i8042 controller,
which is fine if there is a USB keyboard. Unfortunately, some newer
systems also lack the ehci(4) USB 2.0 controller and it's companions,
uhci(4) and ohci(4). Your Apple system may only include USB 3.0, or
an xHCI controller, which support is still being worked on.

The keyboard works at the boot prompt because boot(8) is using
BIOS services which are emulated by Apple's EFI firmware.

The future is encroaching, but we're catching up. Hold on! :-)

-Bryan.