Discussion:
OpenBSD on iMac
(too old to reply)
Martijn van Duren
2015-04-17 07:06:55 UTC
Permalink
Hello misc@,

I just got a replacement system (iMac 12,1) at work, so I decided to go
ahead and install OpenBSD on it. To do so I installed refind through
debian and created a GPT/MBR hybrid.

Most of the system runs perfectly (see dmesg pr0n below), but there are
a couple of minor inconveniences:
1) The sound from the speakers sound like they come from a cheap cellphone.
2) When plugging in headphones the main speakers are muted, but there's
no sound from the headphones themselves. I tried setting sndiod to
channels 0:1 (default - main speakers), 2:3 (main speakers) and 4:5 (no
sound)
3) When doing an ifconfig athn0 scan I get a kernel panic. Because my
USB keyboard stops working after the panic I can't provide a trace. I
don't need wifi on this system, so this isn't an issue with me.

$ mixerctl -v
inputs.dac-2:3_mute=off [ off on ]
inputs.dac-2:3=154,154
inputs.dac-0:1_mute=off [ off on ]
inputs.dac-0:1=154,154
record.adc-2:3_source=line-in [ line-in ]
record.adc-2:3_mute=off [ off on ]
record.adc-2:3=124,124
record.adc-0:1_source=mic [ mic ]
record.adc-0:1_mute=off [ off on ]
record.adc-0:1=124,124
record.dig-adc-0:1_sou=SPDIF-in [ SPDIF-in ]
outputs.spkr_source=dac-2:3 [ dac-2:3 ]
outputs.spkr_boost=off [ off on ]
outputs.hp_source=dac-0:1 [ dac-0:1 ]
outputs.spkr2_source= [ ]
inputs.line-in=85,85
inputs.mic=85,85
outputs.mic_dir=input-vr80 [ none input input-vr0 input-vr50 input-vr80 ]
outputs.SPDIF_source=dig-dac-0:1 [ dig-dac-0:1 ]
outputs.hp_sense=unplugged [ unplugged plugged ]
outputs.line-in_sense=unplugged [ unplugged plugged ]
outputs.SPDIF-in_sense=unplugged [ unplugged plugged ]
outputs.spkr_muters=hp { hp }
outputs.master=155,155
outputs.master.mute=off [ off on ]
outputs.master.slaves=dac-2:3,dac-0:1 { dac-2:3 dac-0:1 }
record.volume=124,124
record.volume.mute=off [ off on ]
record.volume.slaves=adc-2:3,adc-0:1 { adc-2:3 adc-0:1 line-in mic }
outputs.mode=analog [ analog digital ]
record.mode=analog [ analog digital ]

$ sudo pcidump -v
Password:
Domain /dev/pci0:
0:0:0: Intel Core 2G Host
0x0000: Vendor ID: 8086 Product ID: 0100
0x0004: Command: 0006 Status: 2090
0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 09
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 2010
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00e0: Capability 0x09: Vendor Specific
0:1:0: Intel Core 2G PCIE
0x0000: Vendor ID: 8086 Product ID: 0101
0x0004: Command: 0007 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 09
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 1 Subordinate Bus: 1
Secondary Latency Timer: 00
0x001c: I/O Base: 20 I/O Limit: 20 Secondary Status: 2000
0x0020: Memory Base: a880 Memory Limit: a880
0x0024: Prefetch Memory Base: 9001 Prefetch Memory Limit: 9ff1
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0008
0x0088: Capability 0x0d: PCI-PCI
0x0080: Capability 0x01: Power Management
0x0090: Capability 0x05: Message Signaled Interrupts (MSI)
0x00a0: Capability 0x10: PCI Express
Link Speed: 5.0 / 5.0 GT/s Link Width: x16 / x16
0:22:0: Intel 6 Series MEI
0x0000: Vendor ID: 8086 Product ID: 1c3a
0x0004: Command: 0006 Status: 0010
0x0008: Class: 07 Subclass: 80 Interface: 00 Revision: 04
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR mem 64bit addr: 0x00000000a8907100/0x00000010
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x008c: Capability 0x05: Message Signaled Interrupts (MSI)
0:26:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1c2c
0x0004: Command: 0005 Status: 0290
0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 05
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x00003140/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 02 Line: 0a Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x13: PCI Advanced Features
0:26:7: Intel 6 Series USB
0x0000: Vendor ID: 8086 Product ID: 1c2d
0x0004: Command: 0006 Status: 0290
0x0008: Class: 0c Subclass: 03 Interface: 20 Revision: 05
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR mem 32bit addr: 0xa8906c00/0x00000400
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0058: Capability 0x0a: Debug Port
0x0098: Capability 0x13: PCI Advanced Features
0:27:0: Intel 6 Series HD Audio
0x0000: Vendor ID: 8086 Product ID: 1c20
0x0004: Command: 0006 Status: 0010
0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 05
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 40
0x0010: BAR mem 64bit addr: 0x00000000a8900000/0x00004000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0060: Capability 0x05: Message Signaled Interrupts (MSI)
0x0070: Capability 0x10: PCI Express
0:28:0: Intel 6 Series PCIE
0x0000: Vendor ID: 8086 Product ID: 1c10
0x0004: Command: 0007 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: b5
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 2 Subordinate Bus: 2
Secondary Latency Timer: 00
0x001c: I/O Base: f0 I/O Limit: 00 Secondary Status: 2000
0x0020: Memory Base: a870 Memory Limit: a870
0x0024: Prefetch Memory Base: a841 Prefetch Memory Limit: a841
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0000
0x0040: Capability 0x10: PCI Express
Link Speed: 2.5 / 5.0 GT/s Link Width: x1 / x1
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0090: Capability 0x0d: PCI-PCI
0x00a0: Capability 0x01: Power Management
0:28:1: Intel 6 Series PCIE
0x0000: Vendor ID: 8086 Product ID: 1c12
0x0004: Command: 0007 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: b5
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 3 Subordinate Bus: 3
Secondary Latency Timer: 00
0x001c: I/O Base: f0 I/O Limit: 00 Secondary Status: 2000
0x0020: Memory Base: a860 Memory Limit: a860
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: ffffffff
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 02 Line: ff Bridge Control: 0000
0x0040: Capability 0x10: PCI Express
Link Speed: 2.5 / 5.0 GT/s Link Width: x1 / x1
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0090: Capability 0x0d: PCI-PCI
0x00a0: Capability 0x01: Power Management
0:28:2: Intel 6 Series PCIE
0x0000: Vendor ID: 8086 Product ID: 1c14
0x0004: Command: 0007 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: b5
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 4 Subordinate Bus: 4
Secondary Latency Timer: 00
0x001c: I/O Base: f0 I/O Limit: 00 Secondary Status: 2000
0x0020: Memory Base: a850 Memory Limit: a850
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: ffffffff
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 03 Line: ff Bridge Control: 0000
0x0040: Capability 0x10: PCI Express
Link Speed: 2.5 / 5.0 GT/s Link Width: x1 / x1
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0090: Capability 0x0d: PCI-PCI
0x00a0: Capability 0x01: Power Management
0:28:4: Intel 6 Series PCIE
0x0000: Vendor ID: 8086 Product ID: 1c18
0x0004: Command: 0007 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: b5
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 5 Subordinate Bus: 155
Secondary Latency Timer: 00
0x001c: I/O Base: 40 I/O Limit: 40 Secondary Status: 2000
0x0020: Memory Base: a8a0 Memory Limit: ace0
0x0024: Prefetch Memory Base: acf1 Prefetch Memory Limit: b0e1
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0000
0x0040: Capability 0x10: PCI Express
Link Speed: 5.0 / 5.0 GT/s Link Width: x4 / x4
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0090: Capability 0x0d: PCI-PCI
0x00a0: Capability 0x01: Power Management
0:29:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1c27
0x0004: Command: 0005 Status: 0290
0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 05
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x000030e0/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x13: PCI Advanced Features
0:29:7: Intel 6 Series USB
0x0000: Vendor ID: 8086 Product ID: 1c26
0x0004: Command: 0006 Status: 0290
0x0008: Class: 0c Subclass: 03 Interface: 20 Revision: 05
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR mem 32bit addr: 0xa8906800/0x00000400
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0058: Capability 0x0a: Debug Port
0x0098: Capability 0x13: PCI Advanced Features
0:31:0: Intel Z68 LPC
0x0000: Vendor ID: 8086 Product ID: 1c44
0x0004: Command: 0007 Status: 0210
0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 05
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00e0: Capability 0x09: Vendor Specific
0:31:2: Intel 6 Series SATA
0x0000: Vendor ID: 8086 Product ID: 1c00
0x0004: Command: 0007 Status: 02b0
0x0008: Class: 01 Subclass: 01 Interface: 8f Revision: 05
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR io addr: 0x00003168/0x0008
0x0014: BAR io addr: 0x0000317c/0x0004
0x0018: BAR io addr: 0x00003160/0x0008
0x001c: BAR io addr: 0x00003178/0x0004
0x0020: BAR io addr: 0x00003060/0x0010
0x0024: BAR io addr: 0x0000ffe0/0x0010
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
0x0070: Capability 0x01: Power Management
0x00b0: Capability 0x13: PCI Advanced Features
0:31:3: Intel 6 Series SMBus
0x0000: Vendor ID: 8086 Product ID: 1c22
0x0004: Command: 0003 Status: 0280
0x0008: Class: 0c Subclass: 05 Interface: 00 Revision: 05
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 00
0x0010: BAR mem 64bit addr: 0x00000000a8907000/0x00000100
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x0000efa0/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 03 Line: 0b Min Gnt: 00 Max Lat: 00
1:0:0: ATI Radeon HD 6600M
0x0000: Vendor ID: 1002 Product ID: 6741
0x0004: Command: 0007 Status: 0010
0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
Size: 40
0x0010: BAR mem prefetchable 64bit addr:
0x0000000090000000/0x10000000
0x0018: BAR mem 64bit addr: 0x00000000a8800000/0x00020000
0x0020: BAR io addr: 0x00002000/0x0100
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 106b Product ID: 6741
0x0030: Expansion ROM Base Address: a8820000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0058: Capability 0x10: PCI Express
Link Speed: 5.0 / 5.0 GT/s Link Width: x16 / x16
0x00a0: Capability 0x05: Message Signaled Interrupts (MSI)
1:0:1: ATI Radeon HD 6670 Audio
0x0000: Vendor ID: 1002 Product ID: aa90
0x0004: Command: 0007 Status: 0010
0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
Size: 40
0x0010: BAR mem 64bit addr: 0x00000000a8840000/0x00004000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 106b Product ID: aa90
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0058: Capability 0x10: PCI Express
Link Speed: 5.0 / 5.0 GT/s Link Width: x16 / x16
0x00a0: Capability 0x05: Message Signaled Interrupts (MSI)
2:0:0: Broadcom BCM57765
0x0000: Vendor ID: 14e4 Product ID: 16b4
0x0004: Command: 0006 Status: 0010
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 10
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 40
0x0010: BAR mem prefetchable 64bit addr:
0x00000000a8400000/0x00010000
0x0018: BAR mem prefetchable 64bit addr:
0x00000000a8410000/0x00010000
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 14e4 Product ID: 16b4
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0048: Capability 0x01: Power Management
0x0058: Capability 0x05: Message Signaled Interrupts (MSI)
0x00a0: Capability 0x11: Extended Message Signaled Interrupts
(MSI-X)
0x00ac: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x1 / x1
3:0:0: Atheros AR9300
0x0000: Vendor ID: 168c Product ID: 0030
0x0004: Command: 0007 Status: 0010
0x0008: Class: 02 Subclass: 80 Interface: 00 Revision: 01
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 40
0x0010: BAR mem 64bit addr: 0x00000000a8600000/0x00020000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 106b Product ID: 009a
0x0030: Expansion ROM Base Address: ffff0000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0040: Capability 0x01: Power Management
0x0050: Capability 0x05: Message Signaled Interrupts (MSI)
0x0070: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x1 / x1
4:0:0: AT&T/Lucent FW643 1394
0x0000: Vendor ID: 11c1 Product ID: 5901
0x0004: Command: 0007 Status: 0010
0x0008: Class: 0c Subclass: 00 Interface: 10 Revision: 08
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 40
0x0010: BAR mem 64bit addr: 0x00000000a8500000/0x00001000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 11c1 Product ID: 5900
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0044: Capability 0x01: Power Management
0x004c: Capability 0x05: Message Signaled Interrupts (MSI)
0x0060: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x1 / x1
5:0:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1513
0x0004: Command: 0007 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 5 Secondary Bus: 6 Subordinate Bus: 107
Secondary Latency Timer: 00
0x001c: I/O Base: f1 I/O Limit: 01 Secondary Status: 0000
0x0020: Memory Base: a8a0 Memory Limit: a8e0
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: ffffffff
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: ffff I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0000
0x0080: Capability 0x01: Power Management
0x0088: Capability 0x05: Message Signaled Interrupts (MSI)
0x00c0: Capability 0x10: PCI Express
Link Speed: 5.0 / 5.0 GT/s Link Width: x4 / x4
6:0:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1513
0x0004: Command: 0007 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 6 Secondary Bus: 7 Subordinate Bus: 7
Secondary Latency Timer: 00
0x001c: I/O Base: f1 I/O Limit: 01 Secondary Status: 0000
0x0020: Memory Base: a8c0 Memory Limit: a8c0
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: ffffffff
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: ffff I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0000
0x0080: Capability 0x01: Power Management
0x0088: Capability 0x05: Message Signaled Interrupts (MSI)
0x00c0: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
6:3:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1513
0x0004: Command: 0000 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 6 Secondary Bus: 8 Subordinate Bus: 8
Secondary Latency Timer: 00
0x001c: I/O Base: f1 I/O Limit: 01 Secondary Status: 0000
0x0020: Memory Base: fff0 Memory Limit: 0000
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: ffff I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0000
0x0080: Capability 0x01: Power Management
0x0088: Capability 0x05: Message Signaled Interrupts (MSI)
0x00c0: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
6:4:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1513
0x0004: Command: 0000 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 6 Secondary Bus: 9 Subordinate Bus: 57
Secondary Latency Timer: 00
0x001c: I/O Base: f1 I/O Limit: 01 Secondary Status: 0000
0x0020: Memory Base: fff0 Memory Limit: 0000
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: ffff I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0000
0x0080: Capability 0x01: Power Management
0x0088: Capability 0x05: Message Signaled Interrupts (MSI)
0x00c0: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
6:5:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1513
0x0004: Command: 0000 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 6 Secondary Bus: 58 Subordinate Bus: 106
Secondary Latency Timer: 00
0x001c: I/O Base: f1 I/O Limit: 01 Secondary Status: 0000
0x0020: Memory Base: fff0 Memory Limit: 0000
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: ffff I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0000
0x0080: Capability 0x01: Power Management
0x0088: Capability 0x05: Message Signaled Interrupts (MSI)
0x00c0: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
6:6:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1513
0x0004: Command: 0000 Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line
Size: 40
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 6 Secondary Bus: 107 Subordinate Bus: 107
Secondary Latency Timer: 00
0x001c: I/O Base: f1 I/O Limit: 01 Secondary Status: 0000
0x0020: Memory Base: fff0 Memory Limit: 0000
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: ffff I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: ff Bridge Control: 0000
0x0080: Capability 0x01: Power Management
0x0088: Capability 0x05: Message Signaled Interrupts (MSI)
0x00c0: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
7:0:0: Intel unknown
0x0000: Vendor ID: 8086 Product ID: 1513
0x0004: Command: 0007 Status: 0010
0x0008: Class: 08 Subclass: 80 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line
Size: 40
0x0010: BAR mem 32bit addr: 0xa8c00000/0x00040000
0x0014: BAR mem 32bit addr: 0xa8c40000/0x00001000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 2222 Product ID: 1111
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
0x0088: Capability 0x05: Message Signaled Interrupts (MSI)
0x00c0: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
0x00a0: Capability 0x11: Extended Message Signaled Interrupts
(MSI-X)


$ dmesg
OpenBSD 5.6 (GENERIC.MP) #5: Thu Dec 11 09:51:08 CET 2014

***@stable-56-amd64.mtier.org:/binpatchng/work-binpatch56-amd64/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error d1<clock_battery,ROM_cksum,memory_size>
real mem = 4253237248 (4056MB)
avail mem = 4131225600 (3939MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0000 (61 entries)
bios0: vendor Apple Inc. version "IM121.88Z.0047.B1F.1201241648" date
01/24/12
bios0: Apple Inc. iMac12,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 MCFG SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) GFX0(S4) EC__(S4) HDEF(S4) GIGE(S4)
RP01(S4) ARPT(S4) RP02(S4) RP03(S4) RP05(S4) EHC1(S3) EHC2(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz, 2500.39 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
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.1.0, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz, 2500.03 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz, 2500.03 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz, 2500.03 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-155
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P2)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus 5 (RP05)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpicpu2 at acpi0: C3, C2, C1, PSS
acpicpu3 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
cpu0: Enhanced SpeedStep 2500 MHz: speeds: 2501, 2500, 2400, 2300, 2200,
2100, 2000, 1900, 1800, 1700, 1600 MHz
memory map conflict 0xe00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xffed8000/0x28000
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 2G PCIE" rev 0x09: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 6600M" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 6670 Audio" rev 0x00: msi
azalia0: no supported codecs
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
uhci0 at pci0 dev 26 function 0 vendor "Intel", unknown product 0x1c2c
rev 0x05: apic 2 int 21
ehci0 at pci0 dev 26 function 7 "Intel 6 Series USB" rev 0x05: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
azalia1: codecs: Cirrus Logic CS4206
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM57765" rev 0x10, BCM57765 B0
(0x57785100): msi, address c8:2a:14:1e:02:68
brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4
ppb2 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi
pci3 at ppb2 bus 3
athn0 at pci3 dev 0 function 0 "Atheros AR9300" rev 0x01: apic 2 int 17
athn0: AR9380 rev 3 (2T3R), ROM rev 0, address 00:00:ef:be:ad:de
ppb3 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: msi
pci4 at ppb3 bus 4
"AT&T/Lucent FW643 1394" rev 0x08 at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb5: msi
pci5 at ppb4 bus 5
ppb5 at pci5 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev
0x00
pci6 at ppb5 bus 6
ppb6 at pci6 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci7 at ppb6 bus 7
vendor "Intel", unknown product 0x1513 (class system subclass
miscellaneous, rev 0x00) at pci7 dev 0 function 0 not configured
ppb7 at pci6 dev 3 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci8 at ppb7 bus 8
ppb8 at pci6 dev 4 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci9 at ppb8 bus 9
ppb9 at pci6 dev 5 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci10 at ppb9 bus 58
ppb10 at pci6 dev 6 function 0 vendor "Intel", unknown product 0x1513
rev 0x00: msi
pci11 at ppb10 bus 107
uhci1 at pci0 dev 29 function 0 vendor "Intel", unknown product 0x1c27
rev 0x05: apic 2 int 19
ehci1 at pci0 dev 29 function 7 "Intel 6 Series USB" rev 0x05: apic 2 int 22
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel Z68 LPC" rev 0x05
pciide0 at pci0 dev 31 function 2 "Intel 6 Series SATA" rev 0x05: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 2 int 19 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST3500418AS>
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <OPTIARC, DVD RW AD-5680H, 3AHF> ATAPI
5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic
2 int 18
iic0 at ichiic0
iic0: addr 0x4a 01=20 05=d1 0a=08 10=0a 11=04 12=02 13=02 14=02 15=02
20=f2 21=01 23=88 words 00=0020 01=2000 02=0000 03=0000 04=00d1 05=d100
06=0000 07=0000
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nvram: invalid checksum
uhub4 at uhub0 port 1 "Standard Microsystems product 0x2514" rev
2.00/0.03 addr 2
uhub5 at uhub4 port 1 "Apple Inc. BRCM2046 Hub" rev 2.00/1.00 addr 3
ugen0 at uhub5 port 1 "Apple Inc. Bluetooth USB Host Controller" rev
2.00/2.07 addr 4
uhidev0 at uhub5 port 2 configuration 1 interface 0 "Apple Computer
product 0x820a" rev 2.00/1.00 addr 5
uhidev0: iclass 3/1, 1 report id
ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard
uhidev1 at uhub5 port 3 configuration 1 interface 0 "Apple Computer
product 0x820b" rev 2.00/1.00 addr 6
uhidev1: iclass 3/1, 2 report ids
ums0 at uhidev1 reportid 2: 3 buttons
wsmouse0 at ums0 mux 0
uhidev2 at uhub4 port 3 configuration 1 interface 0 " USB Keyboard" rev
1.10/1.01 addr 7
uhidev2: iclass 3/1
ukbd1 at uhidev2: 8 variable keys, 6 key codes
wskbd1 at ukbd1 mux 1
uhidev3 at uhub4 port 3 configuration 1 interface 1 " USB Keyboard" rev
1.10/1.01 addr 7
uhidev3: iclass 3/0, 2 report ids
uhid0 at uhidev3 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev3 reportid 2: input=3, output=0, feature=0
uvideo0 at uhub0 port 2 configuration 1 interface 0 "Apple Inc. FaceTime
HD Camera (Built-in)" rev 2.00/7.55 addr 8
video0 at uvideo0
ugen1 at uhub0 port 2 configuration 1 "Apple Inc. FaceTime HD Camera
(Built-in)" rev 2.00/7.55 addr 8
uhub6 at uhub1 port 1 "Standard Microsystems product 0x2514" rev
2.00/0.03 addr 2
umass0 at uhub6 port 1 configuration 1 interface 0 "Apple Card Reader"
rev 2.00/98.33 addr 3
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd0 at scsibus2 targ 1 lun 0: <APPLE, SD Card Reader, 1.00> SCSI0
0/direct removable serial.05ac8403000000009833
uhidev4 at uhub6 port 2 configuration 1 interface 0 "Apple Computer,
Inc. IR Receiver" rev 2.00/0.16 addr 4
uhidev4: iclass 3/0, 38 report ids
uhid2 at uhidev4 reportid 36: input=4, output=0, feature=0
uhid3 at uhidev4 reportid 37: input=4, output=0, feature=0
uhid4 at uhidev4 reportid 38: input=4, output=0, feature=0
uhidev5 at uhub6 port 4 configuration 1 interface 0 "Sunplus USB Optical
Mouse" rev 2.00/0.10 addr 5
uhidev5: iclass 3/1, 2 report ids
ums1 at uhidev5 reportid 1: 3 buttons, Z dir
wsmouse1 at ums1 mux 0
uhid5 at uhidev5 reportid 2: input=1, output=0, feature=0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd1 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd1: 425057MB, 512 bytes/sector, 870518697 sectors
root on sd1a (6bb75aae4f92eb77.a) swap on sd1b dump on sd1b
clock: unknown CMOS layout
drm: initializing kernel modesetting (TURKS 0x1002:0x6741 0x106B:0x6741).
radeondrm0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
radeondrm0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
drm: probing gen 2 caps for device 0x8086:0x0101 = 2/0
drm: enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
drm: PCIE GART of 512M enabled (table at 0x0000000000040000).
drm: Special thermal controller config
radeondrm0: 1920x1080
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

Sincerely,

Martijn van Duren
Alexandre Ratchov
2015-04-17 07:36:00 UTC
Permalink
Post by Martijn van Duren
I just got a replacement system (iMac 12,1) at work, so I decided to go
ahead and install OpenBSD on it. To do so I installed refind through debian
and created a GPT/MBR hybrid.
Most of the system runs perfectly (see dmesg pr0n below), but there are a
1) The sound from the speakers sound like they come from a cheap cellphone.
You mean the level is to low? Does "mixerctl outputs.spkr_boost=on"
improves things?
Post by Martijn van Duren
2) When plugging in headphones the main speakers are muted, but there's no
sound from the headphones themselves. I tried setting sndiod to channels 0:1
(default - main speakers), 2:3 (main speakers) and 4:5 (no sound)
You could set sndiod_flags to "-c0:3" to make it output to all
dacs. Does this help?
Martijn van Duren
2015-04-17 07:57:49 UTC
Permalink
Post by Alexandre Ratchov
Post by Martijn van Duren
I just got a replacement system (iMac 12,1) at work, so I decided to go
ahead and install OpenBSD on it. To do so I installed refind through debian
and created a GPT/MBR hybrid.
Most of the system runs perfectly (see dmesg pr0n below), but there are a
1) The sound from the speakers sound like they come from a cheap cellphone.
You mean the level is to low? Does "mixerctl outputs.spkr_boost=on"
improves things?
It's not that the volume is low, but it sounds like it sounds rather
high pitched and a narrow with a narrow bandwith.
Post by Alexandre Ratchov
Post by Martijn van Duren
2) When plugging in headphones the main speakers are muted, but there's no
sound from the headphones themselves. I tried setting sndiod to channels 0:1
(default - main speakers), 2:3 (main speakers) and 4:5 (no sound)
You could set sndiod_flags to "-c0:3" to make it output to all
dacs. Does this help?
This doesn't help unfortunately.
Jonathan Gray
2015-04-17 09:07:02 UTC
Permalink
Post by Alexandre Ratchov
Post by Martijn van Duren
I just got a replacement system (iMac 12,1) at work, so I decided to go
ahead and install OpenBSD on it. To do so I installed refind through debian
and created a GPT/MBR hybrid.
Most of the system runs perfectly (see dmesg pr0n below), but there are a
1) The sound from the speakers sound like they come from a cheap cellphone.
You mean the level is to low? Does "mixerctl outputs.spkr_boost=on"
improves things?
It's not that the volume is low, but it sounds like it sounds rather high
pitched and a narrow with a narrow bandwith.
Does undoing the gpio quirk for that subid change anything?

Index: sys/dev/pci/azalia_codec.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.165
diff -u -p -r1.165 azalia_codec.c
--- sys/dev/pci/azalia_codec.c 10 Dec 2014 14:18:11 -0000 1.165
+++ sys/dev/pci/azalia_codec.c 17 Apr 2015 09:03:22 -0000
@@ -65,8 +65,7 @@ azalia_codec_init_vtbl(codec_t *this)
switch (this->vid) {
case 0x10134206:
this->name = "Cirrus Logic CS4206";
- if (this->subid == 0xcb8910de || /* APPLE_MBA3_1 */
- this->subid == 0x72708086) { /* APPLE_MBA4_1 */
+ if (this->subid == 0xcb8910de) { /* APPLE_MBA3_1 */
this->qrks |= AZ_QRK_GPIO_UNMUTE_1 |
AZ_QRK_GPIO_UNMUTE_3;
}
Martijn van Duren
2015-04-17 10:06:17 UTC
Permalink
Post by Jonathan Gray
Post by Alexandre Ratchov
Post by Martijn van Duren
I just got a replacement system (iMac 12,1) at work, so I decided to go
ahead and install OpenBSD on it. To do so I installed refind through debian
and created a GPT/MBR hybrid.
Most of the system runs perfectly (see dmesg pr0n below), but there are a
1) The sound from the speakers sound like they come from a cheap cellphone.
You mean the level is to low? Does "mixerctl outputs.spkr_boost=on"
improves things?
It's not that the volume is low, but it sounds like it sounds rather high
pitched and a narrow with a narrow bandwith.
Does undoing the gpio quirk for that subid change anything?
Index: sys/dev/pci/azalia_codec.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.165
diff -u -p -r1.165 azalia_codec.c
--- sys/dev/pci/azalia_codec.c 10 Dec 2014 14:18:11 -0000 1.165
+++ sys/dev/pci/azalia_codec.c 17 Apr 2015 09:03:22 -0000
@@ -65,8 +65,7 @@ azalia_codec_init_vtbl(codec_t *this)
switch (this->vid) {
this->name = "Cirrus Logic CS4206";
- if (this->subid == 0xcb8910de || /* APPLE_MBA3_1 */
- this->subid == 0x72708086) { /* APPLE_MBA4_1 */
+ if (this->subid == 0xcb8910de) { /* APPLE_MBA3_1 */
this->qrks |= AZ_QRK_GPIO_UNMUTE_1 |
AZ_QRK_GPIO_UNMUTE_3;
}
This renders my system completely mute.
Stefan Sperling
2015-04-17 14:50:32 UTC
Permalink
3) When doing an ifconfig athn0 scan I get a kernel panic. Because my USB
keyboard stops working after the panic I can't provide a trace. I don't need
wifi on this system, so this isn't an issue with me.
athn0 at pci3 dev 0 function 0 "Atheros AR9300" rev 0x01: apic 2 int 17
athn0: AR9380 rev 3 (2T3R), ROM rev 0, address 00:00:ef:be:ad:de
Known issue. We've removed this device from the driver's list for 5.7.
The support never worked, the code was enabled without testing on hardware.

CVSROOT: /cvs
Module name: src
Changes by: ***@cvs.openbsd.org 2014/11/11 09:26:28

Modified files:
sys/dev/pci : if_athn_pci.c

Log message:
Stop athn(4) from attaching to AR9300 devices for now. There are unresolved
bugs that panic the kernel and it's unclear if any such device works at all.
Anyone in possession of a working AR9300 device that stops working with this
commit please talk to me. I've only seen evidence of this code not working.
ok kirby@ mpi@ phessler@ dcoppa@

Loading...