Annotation of wikisrc/users/ryoon/how_to_install_netbsd_amd64_to_macbook_air_11_inch.mdwn, revision 1.13

1.1       ryoon       1: # How to install NetBSD/amd64 current on MacBook Air 11 inch (mid 2012)
                      2: 
                      3: For older MacBook, please read [how to install netbsd on an apple macbook with core2duo](http://wiki.netbsd.org/tutorials/how_to_install_netbsd_on_an_apple_macbook_with_core2duo/)
                      4: 
                      5: This tutorial is based on it.
                      6: 
1.4       ryoon       7: [[!toc startlevel=2    levels=2]]
1.1       ryoon       8: 
1.12      ryoon       9: # Caution
1.1       ryoon      10: 
1.12      ryoon      11: * With this tutorial, you will remove OS X from your MacBook Air (no dual boot).
                     12: And you can install it to USB 3.0 stick (20GB or larger is required).
1.1       ryoon      13: 
1.12      ryoon      14: * NetBSD/i386 installation is not tested.
1.1       ryoon      15: 
                     16: * I have not tested modular-xorg (X.org from pkgsrc).
                     17: 
                     18: 
1.12      ryoon      19: # What works and what doesn't
1.1       ryoon      20: 
1.12      ryoon      21: ## This stuff all seems to work fine
1.1       ryoon      22: 
                     23: * SATA disk drivers
                     24: 
                     25: * Keyboard
                     26: 
                     27: * TrackPad (as one button mouse, no multitouch extension)
                     28: 
1.12      ryoon      29: * USB 2.0/1.0 (no USB 3.0!, it causes kernel panic.)
1.1       ryoon      30: 
1.8       ryoon      31: * FaceTime HD Camera (uvideo device)
1.1       ryoon      32: 
1.12      ryoon      33: * Intel HD video support
                     34: 
                     35: 
                     36: ## What Doesn't work
                     37: 
                     38: * Internal BCM43224 WiFi adapter
                     39: 
                     40: * Sound from internal speaker (hdaudio works fine, but if you disable boot
                     41: sound, you have no audio from internal speaker)
                     42: 
1.1       ryoon      43: * Keyboard backlight
                     44: 
1.12      ryoon      45: * Low battery shutdown with powerd(8)
                     46: 
                     47: * Automated LCD power-off when lid is closed
                     48: 
                     49: 
                     50: # Setup NetBSD
                     51: ## Creating NetBSD installation image USB stick
                     52: Download
                     53: http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/(date_and_time)/images/NetBSD-6.99.43-amd64-install.img.gz
                     54: and write it to your USB stick.
                     55: 
                     56: If you have Unix-like OS machine (including out-of-the-box MacBook Air),
                     57: you can use gunzip(1) and dd(1).
                     58: If you have Microsoft Windows machine, you can use Rawrite32 from
                     59: <http://www.netbsd.org/~martin/rawrite32/index.html>.
                     60: gunzip is not needed.
                     61: 
                     62: 
                     63: ## Boot NetBSD from the USB stick
                     64: Connect the USB stick, push power button, and press and hold Option keys to
                     65: Startup Manager (builtin boot selector).
                     66: See <http://support.apple.com/kb/HT1948?viewlocale=en_US>.
                     67: Select USB stick icon, and NetBSD is booted.
                     68: Then you will see sysinst's blue screen.
                     69: 
                     70: 
                     71: ## Create new partitions for NetBSD and EFI
                     72: sysinst does not support GPT installation yet.
                     73: You should create partitions manually.
                     74: Press Ctrl+c and get shell prompt.
                     75: 
                     76:        # gpt show wd0
                     77:        (Current GPT map is shown.)
                     78:        # gpt destroy wd0
                     79:        (All partition has been removed.)
                     80:        # gpt create wd0
                     81:        (New GPT headers and tables has been created.)
                     82:        # gpt add -s (your EFI partition size) -t efi -l EFI wd0
                     83:        # gpt add -s (your FFSv2 root partition size) -t ffs -l ROOT wd0
                     84:        # gpt add -s (your Swap partition size) -t swap -l SWAP wd0
                     85: 
                     86:        # gpt biosboot -i 2 wd0
                     87:        (GPT biosboot is installed.)
                     88: 
                     89: Reboot your MacBook Air, and get shell prompt again.
                     90: 
                     91: 
                     92: ## Prepare the partitions
                     93: You should run newfs(8) to create NetBSD FFSv2 partition,
                     94: and run newfs_msdos(8) to create EFI partition.
                     95: 
                     96:        # newfs -O2 /dev/dk1
                     97:        # newfs_msdos /dev/dk0
                     98: 
                     99: ## Install rEFInd
                    100: rEFInd is good boot loader for out Hybrid MBR installation.
                    101: Download latest rEFInd zip archive from
                    102: <http://www.rodsbooks.com/refind/getting.html>.
                    103: But you have no web browser now.
                    104: You can download rEFInd zip archive from ftp.jaist.ac.jp (sourceforge.net ftp
                    105: mirror site)
                    106: 
                    107:        # cd /
                    108:        # ftp ftp.jaist.ac.jp
                    109: <pre><code>
                    110: Connected to ftp.jaist.ac.jp.
                    111: 220 (vsFTPd 3.0.2)
                    112: Name (ftp.jaist.ac.jp:ryo_on): ftp
                    113: 331 Please specify the password.
                    114: Password:
                    115: 230-Welcome to JAIST Public Mirror Service (ftp.jaist.ac.jp).
                    116: 230-If you have any problem, please contact ftp-admin@jaist.ac.jp.
                    117: 230 Login successful.
                    118: Remote system type is UNIX.
                    119: Using binary mode to transfer files.
                    120: 
                    121: ftp> get pub/sourceforge/r/re/refind/0.8.2/refind-bin-0.8.2.zip
                    122: </code></pre>
                    123: 
                    124:        # unzip refind-bin-0.8.2.zip
                    125:        # mount_msdos /dev/dk0 /mnt2
                    126:        # cd /mnt2
                    127:        # mkdir -p EFI/BOOT
                    128:        # cd EFI/BOOT
                    129:        # cp -r /refind-bin-0.8.2/refind/drivers_x64 .
                    130:        # cp -r /refind-bin-0.8.2/refind/tools_x64 .
                    131:        # cp -r /refind-bin-0.8.2/refind/icons .
                    132:        # cp /refind-bin-0.8.2/refind/refind_x64.efi bootx64.efi
                    133:        # cp /refind-bin-0.8.2/refind/refind.conf.sample refind.conf
                    134: 
                    135: ## Install NetBSD
                    136: Un-tar NetBSD distribution tarballs in the USB stick.
                    137: 
                    138:        # mount -o log /dev/dk1 /mnt
                    139:        # cd /mnt
                    140:        # mkdir proc kern
                    141:        # tar zxvfp amd64/binary/sets/base.tgz
                    142:        # tar zxvfp amd64/binary/sets/comp.tgz
                    143:        # tar zxvfp amd64/binary/sets/comp.tgz
                    144:        # tar zxvfp amd64/binary/sets/etc.tgz
                    145:        # tar zxvfp amd64/binary/sets/games.tgz
                    146:        # tar zxvfp amd64/binary/sets/kern-GENERIC.tgz
                    147:        # tar zxvfp amd64/binary/sets/man.tgz
                    148:        # tar zxvfp amd64/binary/sets/misc.tgz
                    149:        # tar zxvfp amd64/binary/sets/modules.tgz
                    150:        # tar zxvfp amd64/binary/sets/tests.tgz
                    151:        # tar zxvfp amd64/binary/sets/text.tgz
                    152:        # tar zxvfp amd64/binary/sets/xbase.tgz
                    153:        # tar zxvfp amd64/binary/sets/xcomp.tgz
                    154:        # tar zxvfp amd64/binary/sets/xetc.tgz
                    155:        # tar zxvfp amd64/binary/sets/xfont.tgz
                    156:        # tar zxvfp amd64/binary/sets/xserver.tgz
                    157: 
                    158: 
                    159: ## Create nodes in /dev
                    160: You should have nodes in /dev. If you have no node in /dev, tmpfs is used.
                    161: It is annoying for me.
                    162: 
                    163:        # cd dev
                    164:        # ./MAKEDEV all
1.1       ryoon     165: 
                    166: 
1.12      ryoon     167: ## Setup /etc/rc.conf and /etc/fstab
                    168: To boot your NetBSD properly, you should write etc/rc.conf and etc/fstab.
                    169: 
                    170:        # cat etc/rc.conf
                    171: <pre><code>
                    172: rc_configured=YES
                    173: wscons=YES
                    174: hostname="hostname.example.com"
                    175: powerd=YES
                    176: sshd=YES
                    177: </code></pre>
                    178: 
                    179:        # cat etc/fstab
                    180: <pre><code>
                    181: NAME=ROOT       /       ffs     rw,log  1 1
                    182: NAME=SWAP       none    swap    sw,dp   0 0
                    183: kernfs          /kern   kernfs  rw
                    184: ptyfs           /dev/pts        ptyfs   rw
                    185: procfs          /proc   procfs  rw
                    186: tmpfs   /var/shm        tmpfs   rw,-m1777,-sram%25
                    187: </code></pre>
                    188: 
                    189: 
                    190: ## Run gdisk utility and enable legacy BIOS emulation mode
                    191: To create Hybrid MBR, gdisk (GPT fdisk) utility is required.
                    192: gdisk is ported to OS X and Linux.
                    193: Hopefully, Linux version may work fine.
                    194: But I have no Linux version experience.
                    195: 
                    196: To disable boot sound, you can use OS X's environment setting panel.
                    197: I have no idea about another Linux utility to disable the sound.
                    198: 
1.1       ryoon     199: 
1.12      ryoon     200: ### Install OS X to the USB stick
                    201: Boot you MacBook Air, and press and hold Command and R keys.
                    202: And you will get the Internet restore menu.
                    203: See <http://support.apple.com/kb/HT4718?viewlocale=en_US>.
1.1       ryoon     204: 
1.12      ryoon     205: It takes long time, if you use WiFi for network connection.
                    206: Using Thunderbolt to Gigabit Ethernet adapter is recommended.
1.1       ryoon     207: 
1.12      ryoon     208: And reboot pressing and holding Option key, and get Startup Manager
                    209: and select OS in the USB stick.
1.1       ryoon     210: 
                    211: 
1.12      ryoon     212: ### Create Hybrid MBR
                    213: NetBSD has no UEFI boot support yet.
                    214: If you select to use GPT partitions to host NetBSD, you should boot
                    215: you MacBook Air with legacy BIOS emulation mode.
                    216: To enable legacy BIOS emulation mode, you should have the disk that
                    217: has MBR or Hybrid MBR.
1.1       ryoon     218: 
1.12      ryoon     219: Download and extarct gdisk utility from
                    220: <http://sourceforge.net/projects/gptfdisk/>.
1.1       ryoon     221: 
1.12      ryoon     222: Run Terminal application under OS X, and follow these steps.
                    223: In detail, see <http://www.rodsbooks.com/gdisk/hybrid.html>.
1.1       ryoon     224: 
1.12      ryoon     225:        # gdisk /dev/disk0
                    226: <pre>
                    227: GPT fdisk (gdisk) version 0.7.2
1.1       ryoon     228: 
1.12      ryoon     229: Partition table scan:
                    230:   MBR: protective
                    231:   BSD: not present
                    232:   APM: not present
                    233:   GPT: present
1.1       ryoon     234: 
1.12      ryoon     235: Found valid GPT with protective MBR; using GPT.
1.1       ryoon     236: 
1.12      ryoon     237: Command (? for help): r
1.1       ryoon     238: 
1.12      ryoon     239: recovery/transformation command (m for help): h
1.1       ryoon     240: 
1.12      ryoon     241: WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
                    242: just hit the Enter key at the below prompt and your MBR partition table will
                    243: be untouched.
1.1       ryoon     244: 
1.12      ryoon     245: Type from one to three GPT partition numbers, separated by spaces, to be
                    246: added to the hybrid MBR, in sequence: 1
                    247: Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
1.1       ryoon     248: 
1.12      ryoon     249: Creating entry for partition #1
                    250: Enter an MBR hex code (default AF): af (be default)
                    251: Set the bootable flag? (Y/N): y
1.1       ryoon     252: 
1.12      ryoon     253: Unused partition space(s) found. Use one to protect more partitions? (Y/N): y
                    254: Enter an MBR hex code (EE is EFI GPT, but may confuse MacOS): EE
                    255: </pre>
1.1       ryoon     256: 
                    257: 
1.12      ryoon     258: ## Clear NVRAM of MacBook Air
                    259: Now your MacBook Air is configured to boot OS X from the USB stick.
1.13    ! ryoon     260: You should reset NVRAM with the steps described in
1.12      ryoon     261: <http://support.apple.com/kb/HT1379?viewlocale=en_US>.
                    262: If NVRAM is not cleared, it takes long time to boot NetBSD from
                    263: internal SSD.
1.1       ryoon     264: 
1.12      ryoon     265: ### Disable boot sound
                    266: After NVRAM is reset, volume of the internal speaker is cleared.
                    267: You can disable boot sound in OS X's enviromnet setting panel.
                    268: Set sound volume to zero.
                    269: Be sure to power-on with pressing and holding Option key.
1.1       ryoon     270: 
                    271: 
1.12      ryoon     272: ## Boot NetBSD
                    273: Disconnect the OS X USB stick from your MacBook Air, and boot your
                    274: MacBook Air normally.
1.1       ryoon     275: 
                    276: 
1.12      ryoon     277: # Appendix
1.1       ryoon     278: 
1.12      ryoon     279: ## dmesg
1.1       ryoon     280: 
1.12      ryoon     281: xhci is disabled, and i915drmkms and drmkms are enabled.
1.1       ryoon     282: 
                    283: <pre>
                    284: Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
1.12      ryoon     285:     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
1.1       ryoon     286:     The NetBSD Foundation, Inc.  All rights reserved.
                    287: Copyright (c) 1982, 1986, 1989, 1991, 1993
                    288:     The Regents of the University of California.  All rights reserved.
                    289: 
1.12      ryoon     290: NetBSD 6.99.43 (DTRACE2) #31: Fri Jun  6 17:28:03 JST 2014
                    291:        ryo_on@tellurium.elements.tetera.org:/usr/obj/amd64/sys/arch/amd64/compile/DTRACE2
1.1       ryoon     292: total memory = 4002 MB
1.12      ryoon     293: avail memory = 3869 MB
1.1       ryoon     294: timecounter: Timecounters tick every 10.000 msec
1.12      ryoon     295: RTC BIOS diagnostic error 0xff<clock_battery,ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
1.1       ryoon     296: timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
                    297: Apple Inc. MacBookAir5,1 (1.0)
                    298: mainbus0 (root)
1.12      ryoon     299: ACPI: RSDP 0xfe020 000024 (v02 APPLE )
                    300: ACPI: XSDT 0x8ad8e1c0 0000B4 (v01 APPLE   Apple00 00000000      01000013)
                    301: ACPI: FACP 0x8ad8c000 0000F4 (v04 APPLE   Apple00 00000000 Loki 0000005F)
                    302: ACPI: DSDT 0x8ad82000 004708 (v01 APPLE  MacBookA 00050001 INTL 20100915)
                    303: ACPI: FACS 0x8ad1c000 000040
                    304: ACPI: HPET 0x8ad8b000 000038 (v01 APPLE   Apple00 00000001 Loki 0000005F)
                    305: ACPI: APIC 0x8ad8a000 0000BC (v02 APPLE   Apple00 00000001 Loki 0000005F)
                    306: ACPI: SBST 0x8ad88000 000030 (v01 APPLE   Apple00 00000001 Loki 0000005F)
                    307: ACPI: ECDT 0x8ad87000 000053 (v01 APPLE   Apple00 00000001 Loki 0000005F)
                    308: ACPI: SSDT 0x8ad7f000 0001EE (v01 APPLE  SataAhci 00001000 INTL 20100915)
                    309: ACPI: SSDT 0x8ad7e000 000024 (v01 APPLE   SmcDppt 00001000 INTL 20100915)
                    310: ACPI: SSDT 0x8ad79000 000D68 (v01 APPLE    UsbPpt 00001000 INTL 20100915)
                    311: ACPI: SSDT 0x8ad77000 000159 (v02 APPLE     IGHda 00001000 INTL 20100915)
                    312: ACPI: SSDT 0x8ad75000 000032 (v01 APPLE    SsdtS3 00001000 INTL 20100915)
                    313: ACPI: SSDT 0x8ad73000 0015EB (v02 APPLE  SsdtIGPU 00001000 INTL 20100915)
                    314: ACPI: SSDT 0x8ad72000 000FAA (v01 APPLE   PcieTbt 00001000 INTL 20100915)
                    315: ACPI: SSDT 0x8ad6d000 0004EC (v01  PmRef  Cpu0Ist 00003000 INTL 20100915)
                    316: ACPI: SSDT 0x8ad6c000 000B3D (v01  PmRef    CpuPm 00003000 INTL 20100915)
                    317: ACPI: SSDT 0x8ad6b000 000315 (v01  PmRef  Cpu0Tst 00003000 INTL 20100915)
                    318: ACPI: SSDT 0x8ad6a000 00037A (v01  PmRef    ApTst 00003000 INTL 20100915)
                    319: ACPI: DMAR 0x8ad69000 000088 (v01 APPLE      IVB  00000001 AAPL 00000001)
                    320: ACPI: MCFG 0x8ad89000 00003C (v01 APPLE   Apple00 00000001 Loki 0000005F)
                    321: ACPI: All ACPI Tables successfully acquired
1.1       ryoon     322: cpu0 at mainbus0 apid 0: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
                    323: cpu1 at mainbus0 apid 2: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
                    324: cpu2 at mainbus0 apid 1: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
                    325: cpu3 at mainbus0 apid 3: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
1.12      ryoon     326: ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
                    327: acpi0 at mainbus0: Intel ACPICA 20131218
1.1       ryoon     328: acpi0: X/RSDT: OemId <APPLE , Apple00,00000000>, AslId <    ,01000013>
                    329: acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
1.12      ryoon     330: ACPI: SSDT 0x8ad17190 0008AD (v01  PmRef  Cpu0Cst 00003001 INTL 20100915)
                    331: ACPI: SSDT 0x0 0008AD (v01  PmRef  Cpu0Cst 00003001 INTL 20100915)
                    332: ACPI: SSDT 0x8ad18710 0003A4 (v01  PmRef    ApIst 00003000 INTL 20100915)
                    333: ACPI: SSDT 0x0 0003A4 (v01  PmRef    ApIst 00003000 INTL 20100915)
                    334: ACPI: SSDT 0x8ad16d90 000119 (v01  PmRef    ApCst 00003000 INTL 20100915)
                    335: ACPI: SSDT 0x0 000119 (v01  PmRef    ApCst 00003000 INTL 20100915)
1.1       ryoon     336: acpi0: SCI interrupting at int 9
                    337: timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
                    338: hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
                    339: timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
                    340: acpiec0 at acpi0 (EC, PNP0C09-0): using acpiecdt0
                    341: acpivga0 at acpi0 (IGPU): ACPI Display Adapter
                    342: acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
                    343: acpiout1 at acpivga0 (DD02, 0x0400): ACPI Display Output Device
                    344: acpiout1: brightness levels: 0 7 13 20 27 33 40 47 53 60 67 73 80 87 93 100
                    345: acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
                    346: acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
                    347: acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
                    348: acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
                    349: acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
                    350: acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
                    351: acpivga0: unknown output device acpiout0
                    352: acpivga0: unknown output device acpiout2
                    353: acpivga0: unknown output device acpiout3
                    354: acpivga0: unknown output device acpiout4
                    355: acpivga0: unknown output device acpiout5
                    356: acpivga0: unknown output device acpiout6
                    357: acpivga0: unknown output device acpiout7
                    358: acpivga0: connected output devices:
                    359: acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0
1.12      ryoon     360: FWHD (INT0800) [Intel Firmware Hub Device] at acpi0 not configured
                    361: LDRC (PNP0C02) [Motherboard Register Resources] at acpi0 not configured
1.1       ryoon     362: attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
                    363: SMC (APP0001) at acpi0 not configured
1.12      ryoon     364: ALS0 (ACPI0008) [Ambient Light Sensor] at acpi0 not configured
                    365: SBS0 (ACPI0002) [Smart Battery Subsystem] at acpi0 not configured
                    366: PDRC (PNP0C02) [Motherboard Register Resources] at acpi0 not configured
1.1       ryoon     367: acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
                    368: acpiacad0 at acpi0 (ADP1, ACPI0003): ACPI AC Adapter
                    369: acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
                    370: acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
                    371: PNLF (APP0002) at acpi0 not configured
                    372: acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
1.12      ryoon     373: MEM2 (PNP0C01) [System Board] at acpi0 not configured
                    374: ACPI: Enabled 3 GPEs in block 00 to 3F
                    375: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-646)
                    376: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-646)
                    377: acpi0: [MADT] LAPIC          : CPU ID 1, LAPIC ID 0, FLAGS 0x01
                    378: acpi0: [MADT] LAPIC          : CPU ID 2, LAPIC ID 2, FLAGS 0x01
                    379: acpi0: [MADT] LAPIC          : CPU ID 3, LAPIC ID 1, FLAGS 0x01
                    380: acpi0: [MADT] LAPIC          : CPU ID 4, LAPIC ID 3, FLAGS 0x01
                    381: acpi0: [MADT] LAPIC          : CPU ID 5, LAPIC ID 255, FLAGS 0x00
                    382: acpi0: [MADT] LAPIC          : CPU ID 6, LAPIC ID 255, FLAGS 0x00
                    383: acpi0: [MADT] LAPIC          : CPU ID 7, LAPIC ID 255, FLAGS 0x00
                    384: acpi0: [MADT] LAPIC          : CPU ID 8, LAPIC ID 255, FLAGS 0x00
                    385: acpi0: [MADT] I/O APIC       : ID 2, GSI 0, ADDR 0xFEC00000
                    386: acpi0: [MADT] INTR OVERRIDE  : BUS 0, IRQ 0, GSI 2, FLAGS 0x00
                    387: acpi0: [MADT] INTR OVERRIDE  : BUS 0, IRQ 9, GSI 9, FLAGS 0x0D
                    388: acpi0: [MADT] LAPIC NMI      : CPU ID 1, LINT 1, FLAGS 0x05
                    389: acpi0: [MADT] LAPIC NMI      : CPU ID 2, LINT 1, FLAGS 0x05
                    390: acpi0: [MADT] LAPIC NMI      : CPU ID 3, LINT 1, FLAGS 0x05
                    391: acpi0: [MADT] LAPIC NMI      : CPU ID 4, LINT 1, FLAGS 0x05
                    392: acpi0: [MADT] LAPIC NMI      : CPU ID 5, LINT 1, FLAGS 0x05
                    393: acpi0: [MADT] LAPIC NMI      : CPU ID 6, LINT 1, FLAGS 0x05
                    394: acpi0: [MADT] LAPIC NMI      : CPU ID 7, LINT 1, FLAGS 0x05
                    395: acpi0: [MADT] LAPIC NMI      : CPU ID 8, LINT 1, FLAGS 0x05
                    396: acpi0: [FADT] FACS           : 0x000000008AD1C000
                    397: acpi0: [FADT] DSDT           : 0x000000008AD82000
                    398: acpi0: [FADT] INT_MODEL      : 0x0000000000000000
                    399: acpi0: [FADT] PM_PROFILE     : 0x0000000000000002
                    400: acpi0: [FADT] SCI_INT        : 0x0000000000000009
                    401: acpi0: [FADT] SMI_CMD        : 0x00000000000000B2
                    402: acpi0: [FADT] ACPI_ENABLE    : 0x00000000000000F0
                    403: acpi0: [FADT] ACPI_DISABLE   : 0x00000000000000F1
                    404: acpi0: [FADT] S4BIOS_REQ     : 0x0000000000000000
                    405: acpi0: [FADT] PSTATE_CNT     : 0x0000000000000000
                    406: acpi0: [FADT] PM1a_EVT_BLK   : 0x0000000000000400
                    407: acpi0: [FADT] PM1b_EVT_BLK   : 0x0000000000000000
                    408: acpi0: [FADT] PM1a_CNT_BLK   : 0x0000000000000404
                    409: acpi0: [FADT] PM1b_CNT_BLK   : 0x0000000000000000
                    410: acpi0: [FADT] PM2_CNT_BLK    : 0x0000000000000450
                    411: acpi0: [FADT] PM_TMR_BLK     : 0x0000000000000408
                    412: acpi0: [FADT] GPE0_BLK       : 0x0000000000000420
                    413: acpi0: [FADT] GPE1_BLK       : 0x0000000000000000
                    414: acpi0: [FADT] PM1_EVT_LEN    : 0x0000000000000004
                    415: acpi0: [FADT] PM1_CNT_LEN    : 0x0000000000000002
                    416: acpi0: [FADT] PM2_CNT_LEN    : 0x0000000000000001
                    417: acpi0: [FADT] PM_TMR_LEN     : 0x0000000000000004
                    418: acpi0: [FADT] GPE0_BLK_LEN   : 0x0000000000000010
                    419: acpi0: [FADT] GPE1_BLK_LEN   : 0x0000000000000000
                    420: acpi0: [FADT] GPE1_BASE      : 0x0000000000000010
                    421: acpi0: [FADT] CST_CNT        : 0x0000000000000085
                    422: acpi0: [FADT] P_LVL2_LAT     : 0x0000000000000065
                    423: acpi0: [FADT] P_LVL3_LAT     : 0x00000000000003E9
                    424: acpi0: [FADT] FLUSH_SIZE     : 0x0000000000000000
                    425: acpi0: [FADT] FLUSH_STRIDE   : 0x0000000000000000
                    426: acpi0: [FADT] DUTY_OFFSET    : 0x0000000000000001
                    427: acpi0: [FADT] DUTY_WIDTH     : 0x0000000000000003
                    428: acpi0: [FADT] DAY_ALRM       : 0x000000000000000D
                    429: acpi0: [FADT] MON_ALRM       : 0x0000000000000000
                    430: acpi0: [FADT] CENTURY        : 0x0000000000000032
                    431: acpi0: [FADT] IAPC_BOOT_ARCH : 0x0000000000000001
                    432: acpi0: [FADT] RESET_VALUE    : 0x0000000000000006
                    433: acpi0: [FADT] WBINVD         : 0x0000000000000001
                    434: acpi0: [FADT] WBINVD_FLUSH   : 0x0000000000000000
                    435: acpi0: [FADT] PROC_C1        : 0x0000000000000004
                    436: acpi0: [FADT] P_LVL2_UP      : 0x0000000000000000
                    437: acpi0: [FADT] PWR_BUTTON     : 0x0000000000000000
                    438: acpi0: [FADT] SLP_BUTTON     : 0x0000000000000020
                    439: acpi0: [FADT] FIX_RTC        : 0x0000000000000000
                    440: acpi0: [FADT] RTC_S4         : 0x0000000000000080
                    441: acpi0: [FADT] TMR_VAL_EXT    : 0x0000000000000000
                    442: acpi0: [FADT] DCK_CAP        : 0x0000000000000000
                    443: acpi0: [FADT] RESET_REG_SUP  : 0x0000000000000400
                    444: acpi0: [FADT] SEALED_CASE    : 0x0000000000000000
                    445: acpi0: [FADT] HEADLESS       : 0x0000000000000000
                    446: acpi0: [FADT] CPU_SW_SLP     : 0x0000000000000000
                    447: acpi0: [FADT] PCI_EXP_WAK    : 0x0000000000004000
                    448: acpi0: [FADT] PLATFORM_CLK   : 0x0000000000008000
                    449: acpi0: [FADT] S4_RTC_STS     : 0x0000000000000000
                    450: acpi0: [FADT] REMOTE_POWER   : 0x0000000000000000
                    451: acpi0: [FADT] APIC_CLUSTER   : 0x0000000000000000
                    452: acpi0: [FADT] APIC_PHYSICAL  : 0x0000000000000000
                    453: acpi0: [\   ] HID -          UID -    STA 0xFFFFFFFF ADR -
                    454: acpi0: [CPU0] HID -          UID -    STA 0xFFFFFFFF ADR -
                    455: acpi0: [CPU1] HID -          UID -    STA 0xFFFFFFFF ADR -
                    456: acpi0: [CPU2] HID -          UID -    STA 0xFFFFFFFF ADR -
                    457: acpi0: [CPU3] HID -          UID -    STA 0xFFFFFFFF ADR -
                    458: acpi0: [CPU4] HID -          UID -    STA 0xFFFFFFFF ADR -
                    459: acpi0: [CPU5] HID -          UID -    STA 0xFFFFFFFF ADR -
                    460: acpi0: [CPU6] HID -          UID -    STA 0xFFFFFFFF ADR -
                    461: acpi0: [CPU7] HID -          UID -    STA 0xFFFFFFFF ADR -
                    462: acpi0: [_SB ] HID -          UID -    STA 0xFFFFFFFF ADR -
                    463: acpi0: [PCI0] HID PNP0A08    UID 0    STA 0xFFFFFFFF ADR 0x0000000000000000
                    464: acpi0: [MCHC] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    465: acpi0: [P0P2] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000010000
                    466: acpi0: [PEG2] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000010002
                    467: acpi0: [SATA] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    468: acpi0: [PRT0] HID -          UID -    STA 0xFFFFFFFF ADR 0x000000000000FFFF
                    469: acpi0: [IGPU] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000020000
                    470: acpi0: [DD01] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000100
                    471: acpi0: [DD02] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000400
                    472: acpi0: [DD03] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000200
                    473: acpi0: [DD04] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000004
                    474: acpi0: [DD05] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000005
                    475: acpi0: [DD06] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000006
                    476: acpi0: [DD07] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000007
                    477: acpi0: [DD08] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000008
                    478: acpi0: [SATA] HID -          UID -    STA 0xFFFFFFFF ADR 0x00000000001F0002
                    479: acpi0: [PRT0] HID -          UID -    STA 0xFFFFFFFF ADR 0x000000000000FFFF
                    480: acpi0: [SBUS] HID -          UID -    STA 0xFFFFFFFF ADR 0x00000000001F0003
                    481: acpi0: [BUS0] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    482: acpi0: [MKY0] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    483: acpi0: [BUS1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000001
                    484: acpi0: [LPCB] HID -          UID -    STA 0xFFFFFFFF ADR 0x00000000001F0000
                    485: acpi0: [DMAC] HID PNP0200    UID -    STA 0xFFFFFFFF ADR -
                    486: acpi0: [FWHD] HID INT0800    UID -    STA 0xFFFFFFFF ADR -
                    487: acpi0: [HPET] HID PNP0103    UID -    STA 0x0000000F ADR -
                    488: acpi0: [IPIC] HID PNP0000    UID -    STA 0xFFFFFFFF ADR -
                    489: acpi0: [MATH] HID PNP0C04    UID -    STA 0xFFFFFFFF ADR -
                    490: acpi0: [LDRC] HID PNP0C02    UID 2    STA 0xFFFFFFFF ADR -
                    491: acpi0: [RTC ] HID PNP0B00    UID -    STA 0xFFFFFFFF ADR -
                    492: acpi0: [TIMR] HID PNP0100    UID -    STA 0xFFFFFFFF ADR -
                    493: acpi0: [SMC ] HID APP0001    UID -    STA 0x0000000B ADR -
                    494: acpi0: [ALS0] HID ACPI0008   UID -    STA 0x0000000F ADR -
                    495: acpi0: [EC  ] HID PNP0C09    UID 0    STA 0xFFFFFFFF ADR -
                    496: acpi0: [SMB0] HID ACPI0001   UID -    STA 0x00000000 ADR -
                    497: acpi0: [SBS0] HID ACPI0002   UID -    STA 0xFFFFFFFF ADR -
                    498: acpi0: [HDEF] HID -          UID -    STA 0xFFFFFFFF ADR 0x00000000001B0000
                    499: acpi0: [RP02] HID -          UID -    STA 0x0000000F ADR 0x00000000001C0001
                    500: acpi0: [ARPT] HID -          UID -    STA 0x0000000F ADR 0x0000000000000000
                    501: acpi0: [RP05] HID -          UID -    STA 0xFFFFFFFF ADR 0x00000000001C0004
                    502: acpi0: [UPSB] HID -          UID -    STA 0x0000000F ADR 0x0000000000000000
                    503: acpi0: [DSB0] HID -          UID -    STA 0x0000000F ADR 0x0000000000000000
                    504: acpi0: [NHI0] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    505: acpi0: [DSB1] HID -          UID -    STA 0x0000000F ADR 0x0000000000030000
                    506: acpi0: [UPS0] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    507: acpi0: [UPS1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000010000
                    508: acpi0: [UPS2] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000020000
                    509: acpi0: [UPS3] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000030000
                    510: acpi0: [UPS4] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000040000
                    511: acpi0: [UPS5] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000050000
                    512: acpi0: [UPS6] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000060000
                    513: acpi0: [DSB2] HID -          UID -    STA 0x0000000F ADR 0x0000000000040000
                    514: acpi0: [UPS0] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    515: acpi0: [UPS1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000010000
                    516: acpi0: [UPS2] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000020000
                    517: acpi0: [UPS3] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000030000
                    518: acpi0: [UPS4] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000040000
                    519: acpi0: [UPS5] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000050000
                    520: acpi0: [UPS6] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000060000
                    521: acpi0: [DSB3] HID -          UID -    STA 0x00000009 ADR 0x0000000000050000
                    522: acpi0: [DSB4] HID -          UID -    STA 0x00000009 ADR 0x0000000000060000
                    523: acpi0: [PDRC] HID PNP0C02    UID 1    STA 0xFFFFFFFF ADR -
                    524: acpi0: [EHC1] HID -          UID -    STA 0xFFFFFFFF ADR 0x00000000001D0000
                    525: acpi0: [RHUB] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    526: acpi0: [PRT1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000001
                    527: acpi0: [PRT1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000001
                    528: acpi0: [PRT2] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000002
                    529: acpi0: [PRT3] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000003
                    530: acpi0: [PRT8] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000008
                    531: acpi0: [PRT1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000001
                    532: acpi0: [PRT2] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000002
                    533: acpi0: [PRT3] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000003
                    534: acpi0: [EHC2] HID -          UID -    STA 0xFFFFFFFF ADR 0x00000000001A0000
                    535: acpi0: [RHUB] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    536: acpi0: [PRT1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000001
                    537: acpi0: [PRT1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000001
                    538: acpi0: [PRT2] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000002
                    539: acpi0: [PRT3] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000003
                    540: acpi0: [XHC1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000140000
                    541: acpi0: [RHUB] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000000
                    542: acpi0: [PRT1] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000001
                    543: acpi0: [PRT2] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000002
                    544: acpi0: [PRT3] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000003
                    545: acpi0: [PRT4] HID -          UID -    STA 0xFFFFFFFF ADR 0x0000000000000004
                    546: acpi0: [LNKA] HID PNP0C0F    UID 1    STA 0x0000000B ADR -
                    547: acpi0: [LNKB] HID PNP0C0F    UID 2    STA 0x0000000B ADR -
                    548: acpi0: [LNKC] HID PNP0C0F    UID 3    STA 0x00000009 ADR -
                    549: acpi0: [LNKD] HID PNP0C0F    UID 4    STA 0x0000000B ADR -
                    550: acpi0: [LNKE] HID PNP0C0F    UID 5    STA 0x00000009 ADR -
                    551: acpi0: [LNKF] HID PNP0C0F    UID 6    STA 0x00000009 ADR -
                    552: acpi0: [LNKG] HID PNP0C0F    UID 7    STA 0x0000000B ADR -
                    553: acpi0: [LNKH] HID PNP0C0F    UID 8    STA 0x0000000B ADR -
                    554: acpi0: [BAT0] HID PNP0C0A    UID 0    STA 0x0000001F ADR -
                    555: acpi0: [ADP1] HID ACPI0003   UID -    STA 0xFFFFFFFF ADR -
                    556: acpi0: [LID0] HID PNP0C0D    UID -    STA 0xFFFFFFFF ADR -
                    557: acpi0: [PWRB] HID PNP0C0C    UID -    STA 0xFFFFFFFF ADR -
                    558: acpi0: [PNLF] HID APP0002    UID 14   STA 0x0000000B ADR 0x0000000000000000
                    559: acpi0: [SLPB] HID PNP0C0E    UID -    STA 0x0000000B ADR -
                    560: acpi0: [MEM2] HID PNP0C01    UID 2    STA 0xFFFFFFFF ADR -
                    561: acpi0: [_TZ ] HID -          UID -    STA 0xFFFFFFFF ADR -
                    562: 
                    563: \     [06] []
                    564:     CPU0  [12] []
                    565:     CPU1  [12] []
                    566:     CPU2  [12] []
                    567:     CPU3  [12] []
                    568:     CPU4  [12] []
                    569:     CPU5  [12] []
                    570:     CPU6  [12] []
                    571:     CPU7  [12] []
                    572:     _SB   [06] []
                    573:         PCI0  [06] [] (PCI) @ 0x00:0x00:0x00:0x00 [R] [B] -> 0x00:0x00
                    574:             MCHC  [06] [] (PCI) @ 0x00:0x00:0x00:0x00
                    575:             P0P2  [06] [] (PCI) @ 0x00:0x00:0x01:0x00
                    576:             PEG2  [06] [] (PCI) @ 0x00:0x00:0x01:0x02
                    577:                 SATA  [06] []
                    578:                     PRT0  [06] []
                    579:             IGPU  [06] [] <acpivga0> (PCI) @ 0x00:0x00:0x02:0x00
                    580:                 DD01  [06] [] <acpiout0>
                    581:                 DD02  [06] [] <acpiout1>
                    582:                 DD03  [06] [] <acpiout2>
                    583:                 DD04  [06] [] <acpiout3>
                    584:                 DD05  [06] [] <acpiout4>
                    585:                 DD06  [06] [] <acpiout5>
                    586:                 DD07  [06] [] <acpiout6>
                    587:                 DD08  [06] [] <acpiout7>
                    588:             SATA  [06] [] (PCI) @ 0x00:0x00:0x1F:0x02
                    589:                 PRT0  [06] []
                    590:             SBUS  [06] [] (PCI) @ 0x00:0x00:0x1F:0x03
                    591:                 BUS0  [06] []
                    592:                     MKY0  [06] []
                    593:                 BUS1  [06] []
                    594:             LPCB  [06] [] (PCI) @ 0x00:0x00:0x1F:0x00
                    595:                 DMAC  [06] []
                    596:                 FWHD  [06] []
                    597:                 HPET  [06] []
                    598:                 IPIC  [06] []
                    599:                 MATH  [06] []
                    600:                 LDRC  [06] []
                    601:                 RTC   [06] []
                    602:                 TIMR  [06] [] <attimer1>
                    603:                 SMC   [06] []
                    604:                 ALS0  [06] []
                    605:                 EC    [06] [] <acpiec0>
                    606:                     SMB0  [06] []
                    607:                         SBS0  [06] []
                    608:             HDEF  [06] [] (PCI) @ 0x00:0x00:0x1B:0x00
                    609:             RP02  [06] [] (PCI) @ 0x00:0x00:0x1C:0x01 [B] -> 0x00:0x02
                    610:                 ARPT  [06] [] (PCI) @ 0x00:0x02:0x00:0x00
                    611:             RP05  [06] [] (PCI) @ 0x00:0x00:0x1C:0x04 [B] -> 0x00:0x03
                    612:                 UPSB  [06] [] (PCI) @ 0x00:0x03:0x00:0x00 [B] -> 0x00:0x04
                    613:                     DSB0  [06] [] (PCI) @ 0x00:0x04:0x00:0x00 [B] -> 0x00:0x05
                    614:                         NHI0  [06] [] (PCI) @ 0x00:0x05:0x00:0x00
                    615:                     DSB1  [06] [] (PCI) @ 0x00:0x04:0x03:0x00 [B] -> 0x00:0x06
                    616:                         UPS0  [06] [] (PCI) @ 0x00:0x06:0x00:0x00
                    617:                         UPS1  [06] [] (PCI) @ 0x00:0x06:0x01:0x00
                    618:                         UPS2  [06] [] (PCI) @ 0x00:0x06:0x02:0x00
                    619:                         UPS3  [06] [] (PCI) @ 0x00:0x06:0x03:0x00
                    620:                         UPS4  [06] [] (PCI) @ 0x00:0x06:0x04:0x00
                    621:                         UPS5  [06] [] (PCI) @ 0x00:0x06:0x05:0x00
                    622:                         UPS6  [06] [] (PCI) @ 0x00:0x06:0x06:0x00
                    623:                     DSB2  [06] [] (PCI) @ 0x00:0x04:0x04:0x00 [B] -> 0x00:0x37
                    624:                         UPS0  [06] [] (PCI) @ 0x00:0x37:0x00:0x00
                    625:                         UPS1  [06] [] (PCI) @ 0x00:0x37:0x01:0x00
                    626:                         UPS2  [06] [] (PCI) @ 0x00:0x37:0x02:0x00
                    627:                         UPS3  [06] [] (PCI) @ 0x00:0x37:0x03:0x00
                    628:                         UPS4  [06] [] (PCI) @ 0x00:0x37:0x04:0x00
                    629:                         UPS5  [06] [] (PCI) @ 0x00:0x37:0x05:0x00
                    630:                         UPS6  [06] [] (PCI) @ 0x00:0x37:0x06:0x00
                    631:                     DSB3  [06] []
                    632:                     DSB4  [06] []
                    633:             PDRC  [06] []
                    634:             EHC1  [06] [] (PCI) @ 0x00:0x00:0x1D:0x00
                    635:                 RHUB  [06] []
                    636:                     PRT1  [06] []
                    637:                         PRT1  [06] []
                    638:                         PRT2  [06] []
                    639:                         PRT3  [06] []
                    640:                         PRT8  [06] []
                    641:                             PRT1  [06] []
                    642:                             PRT2  [06] []
                    643:                             PRT3  [06] []
                    644:             EHC2  [06] [] (PCI) @ 0x00:0x00:0x1A:0x00
                    645:                 RHUB  [06] []
                    646:                     PRT1  [06] []
                    647:                         PRT1  [06] []
                    648:                         PRT2  [06] []
                    649:                         PRT3  [06] []
                    650:             XHC1  [06] [] (PCI) @ 0x00:0x00:0x14:0x00
                    651:                 RHUB  [06] []
                    652:                     PRT1  [06] []
                    653:                     PRT2  [06] []
                    654:                     PRT3  [06] []
                    655:                     PRT4  [06] []
                    656:         LNKA  [06] []
                    657:         LNKB  [06] []
                    658:         LNKC  [06] []
                    659:         LNKD  [06] []
                    660:         LNKE  [06] []
                    661:         LNKF  [06] []
                    662:         LNKG  [06] []
                    663:         LNKH  [06] []
                    664:         BAT0  [06] [] <acpibat0>
                    665:         ADP1  [06] [] <acpiacad0>
                    666:         LID0  [06] [] <acpilid0>
                    667:         PWRB  [06] [] <acpibut0>
                    668:         PNLF  [06] []
                    669:         SLPB  [06] [] <acpibut1>
                    670:         MEM2  [06] []
                    671:     _TZ   [06] []
1.1       ryoon     672: pci0 at mainbus0 bus 0: configuration mode 1
                    673: pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
                    674: pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x0154 (rev. 0x09)
1.12      ryoon     675: i915drmkms0 at pci0 dev 2 function 0: vendor 0x8086 product 0x0166 (rev. 0x09)
                    676: drmkms0 at i915drmkms0
                    677: drm: Memory usable by graphics device = 2048M
                    678: drm: Supports vblank timestamp caching Rev 1 (10.10.2010).
                    679: drm: Driver supports precise vblank timestamp query.
                    680: drmkms0: interrupting at ioapic0 pin 16 (i915)
                    681: drm: GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
                    682: i915drmkms0: framebuffer at 0xffff800047287000, size 1366x768, depth 32, stride 5504
                    683: wsdisplay0 at i915drmkms0 kbdmux 1: console (default, vt100 emulation)
1.1       ryoon     684: wsmux1: connecting to wsdisplay0
1.12      ryoon     685: drmkms0: info: registered panic notifier
                    686: vendor 0x8086 product 0x1e31 (USB serial bus, xHCI, revision 0x04) at pci0 dev 20 function 0 not configured
1.1       ryoon     687: vendor 0x8086 product 0x1e3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
                    688: ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x1e2d (rev. 0x04)
                    689: ehci0: interrupting at ioapic0 pin 23
                    690: ehci0: EHCI version 1.0
                    691: usb0 at ehci0: USB revision 2.0
                    692: hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
                    693: hdaudio0: interrupting at ioapic0 pin 22
1.12      ryoon     694: hdafg0 at hdaudio0: vendor 0x1013 product 0x4206
1.1       ryoon     695: hdafg0: ADC00 2ch: Mic In [Built-In]
                    696: hdafg0: DAC01 2ch: Speaker [Built-In]
                    697: hdafg0: DAC02 2ch: HP Out [Jack]
                    698: hdafg0: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 PCM32 AC3
1.12      ryoon     699: audio0 at hdafg0: full duplex, playback, capture, mmap, independent
                    700: hdafg1 at hdaudio0: Intel product 0x2806
1.1       ryoon     701: hdafg1: duplicate pin in association
                    702: hdafg1: duplicate pin in association
                    703: hdafg1: 0ch/0ch 48000Hz PCM16*
                    704: ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x1e10 (rev. 0xc4)
1.12      ryoon     705: ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
1.1       ryoon     706: pci1 at ppb0 bus 1
                    707: pci1: i/o space, memory space enabled, rd/line, wr/inv ok
                    708: ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x1e12 (rev. 0xc4)
1.12      ryoon     709: ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
                    710: ppb1: link is x1 @ 2.5Gb/s
1.1       ryoon     711: pci2 at ppb1 bus 2
                    712: pci2: i/o space, memory space enabled, rd/line, wr/inv ok
                    713: vendor 0x14e4 product 0x4353 (miscellaneous network, revision 0x01) at pci2 dev 0 function 0 not configured
                    714: ppb2 at pci0 dev 28 function 4: vendor 0x8086 product 0x1e18 (rev. 0xc4)
1.12      ryoon     715: ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex> x4 @ 5.0Gb/s
1.1       ryoon     716: pci3 at ppb2 bus 3
                    717: pci3: i/o space, memory space enabled, rd/line, wr/inv ok
                    718: ppb3 at pci3 dev 0 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
                    719: ppb3: PCI Express 2.0 <Upstream Port of PCI-E Switch>
                    720: pci4 at ppb3 bus 4
                    721: pci4: i/o space, memory space enabled, rd/line, wr/inv ok
                    722: ppb4 at pci4 dev 0 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
1.12      ryoon     723: ppb4: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
1.1       ryoon     724: pci5 at ppb4 bus 5
                    725: pci5: i/o space, memory space enabled, rd/line, wr/inv ok
                    726: vendor 0x8086 product 0x1547 (miscellaneous system, revision 0x03) at pci5 dev 0 function 0 not configured
                    727: ppb5 at pci4 dev 3 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
1.12      ryoon     728: ppb5: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
1.1       ryoon     729: pci6 at ppb5 bus 6
                    730: pci6: i/o space, memory space enabled, rd/line, wr/inv ok
1.12      ryoon     731: ppb6 at pci4 dev 4 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
                    732: ppb6: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
                    733: pci7 at ppb6 bus 55
1.1       ryoon     734: pci7: i/o space, memory space enabled, rd/line, wr/inv ok
1.12      ryoon     735: ppb7 at pci4 dev 5 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
                    736: ppb7: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
                    737: pci8 at ppb7 bus 104
1.1       ryoon     738: pci8: i/o space, memory space enabled, rd/line, wr/inv ok
1.12      ryoon     739: ppb8 at pci4 dev 6 function 0: vendor 0x8086 product 0x1547 (rev. 0x03)
                    740: ppb8: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
                    741: pci9 at ppb8 bus 105
1.1       ryoon     742: pci9: i/o space, memory space enabled, rd/line, wr/inv ok
                    743: ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x1e26 (rev. 0x04)
                    744: ehci1: interrupting at ioapic0 pin 22
                    745: ehci1: EHCI version 1.0
                    746: usb1 at ehci1: USB revision 2.0
1.12      ryoon     747: ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x1e56 (rev. 0x04)
                    748: timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
                    749: ichlpcib0: 24-bit timer
                    750: ichlpcib0: TCO timer reboot disabled by hardware; hope SMBIOS properly handles it.
                    751: ichlpcib0: TCO (watchdog) timer configured.
1.1       ryoon     752: ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x1e03 (rev. 0x04)
                    753: ahcisata0: interrupting at ioapic0 pin 19
                    754: ahcisata0: 64-bit DMA
1.12      ryoon     755: ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xc730ff45<EMS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SALP,SNCQ,S64A>
1.1       ryoon     756: atabus0 at ahcisata0 channel 0
1.12      ryoon     757: ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x1e22 (rev. 0x04)
                    758: ichsmb0: interrupting at ioapic0 pin 18
                    759: iic0 at ichsmb0: I2C bus
                    760: isa0 at ichlpcib0
1.1       ryoon     761: com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
                    762: pcppi0 at isa0 port 0x61
                    763: midi0 at pcppi0: PC speaker
                    764: sysbeep0 at pcppi0
                    765: attimer1: attached to pcppi0
                    766: acpicpu0 at cpu0: ACPI CPU
                    767: acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
                    768: acpicpu0: C2: FFH, lat 148 us, pow   500 mW
                    769: acpicpu0: C3: FFH, lat 198 us, pow   200 mW
                    770: acpicpu0: P0: FFH, lat  10 us, pow 17000 mW, 1701 MHz, turbo boost
                    771: acpicpu0: P1: FFH, lat  10 us, pow 17000 mW, 1700 MHz
                    772: acpicpu0: P2: FFH, lat  10 us, pow 15798 mW, 1600 MHz
                    773: acpicpu0: P3: FFH, lat  10 us, pow 14620 mW, 1500 MHz
                    774: acpicpu0: P4: FFH, lat  10 us, pow 13467 mW, 1400 MHz
                    775: acpicpu0: P5: FFH, lat  10 us, pow 12337 mW, 1300 MHz
                    776: acpicpu0: P6: FFH, lat  10 us, pow 11231 mW, 1200 MHz
                    777: acpicpu0: P7: FFH, lat  10 us, pow 10150 mW, 1100 MHz
                    778: acpicpu0: P8: FFH, lat  10 us, pow  9090 mW, 1000 MHz
                    779: acpicpu0: P9: FFH, lat  10 us, pow  8053 mW,  900 MHz
                    780: acpicpu0: P10: FFH, lat  10 us, pow  7192 mW,  800 MHz
1.12      ryoon     781: acpicpu0: T0: FFH, lat   1 us, pow  7192 mW, 100 %
                    782: acpicpu0: T1: FFH, lat   1 us, pow  6712 mW,  94 %
                    783: acpicpu0: T2: FFH, lat   1 us, pow  6233 mW,  88 %
                    784: acpicpu0: T3: FFH, lat   1 us, pow  5753 mW,  82 %
                    785: acpicpu0: T4: FFH, lat   1 us, pow  5274 mW,  75 %
                    786: acpicpu0: T5: FFH, lat   1 us, pow  4794 mW,  69 %
                    787: acpicpu0: T6: FFH, lat   1 us, pow  4315 mW,  63 %
                    788: acpicpu0: T7: FFH, lat   1 us, pow  3835 mW,  57 %
                    789: acpicpu0: T8: FFH, lat   1 us, pow  3356 mW,  50 %
                    790: acpicpu0: T9: FFH, lat   1 us, pow  2876 mW,  44 %
                    791: acpicpu0: T10: FFH, lat   1 us, pow  2397 mW,  38 %
                    792: acpicpu0: T11: FFH, lat   1 us, pow  1917 mW,  32 %
                    793: acpicpu0: T12: FFH, lat   1 us, pow  1438 mW,  25 %
                    794: acpicpu0: T13: FFH, lat   1 us, pow   958 mW,  19 %
                    795: acpicpu0: T14: FFH, lat   1 us, pow   479 mW,  13 %
1.1       ryoon     796: coretemp0 at cpu0: thermal sensor, 1 C resolution
                    797: acpicpu1 at cpu1: ACPI CPU
                    798: coretemp1 at cpu1: thermal sensor, 1 C resolution
                    799: acpicpu2 at cpu2: ACPI CPU
                    800: acpicpu3 at cpu3: ACPI CPU
                    801: timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
1.12      ryoon     802: timecounter: Timecounter "TSC" frequency 1696254480 Hz quality 3000
1.1       ryoon     803: acpiacad0: AC adapter online.
1.12      ryoon     804: acpilid0: lid closed.
1.1       ryoon     805: uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
                    806: uhub0: 2 ports with 2 removable, self powered
                    807: uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
                    808: uhub1: 2 ports with 2 removable, self powered
                    809: ahcisata0 port 0: device present, speed: 6.0Gb/s
1.12      ryoon     810: drm: Enabling RC6 states: RC6 on, RC6p on, RC6pp off
1.1       ryoon     811: wd0 at atabus0 drive 0
                    812: wd0: <APPLE SSD TS128E>
                    813: wd0: drive supports 16-sector PIO transfers, LBA48 addressing
                    814: wd0: 113 GB, 235097 cyl, 16 head, 63 sec, 512 bytes/sect x 236978176 sectors
1.12      ryoon     815: wd0: GPT GUID: 0de7ba53-f76d-11e2-a888-406c8f586cc5
                    816: dk0 at wd0: EFI
                    817: dk0: 524288 blocks at 64, type: msdos
                    818: dk1 at wd0: ROOT
                    819: dk1: 2097152 blocks at 524352, type: ffs
                    820: dk2 at wd0: SWAP
                    821: dk2: 16777216 blocks at 2621504, type: swap
                    822: dk3 at wd0: USR
                    823: dk3: 134217728 blocks at 19398720, type: ffs
                    824: dk4 at wd0: HOME
                    825: dk4: 83361695 blocks at 153616448, type: ffs
1.1       ryoon     826: wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
                    827: wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
                    828: uhub2 at uhub1 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
                    829: uhub2: single transaction translator
                    830: uhub3 at uhub0 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
                    831: uhub3: single transaction translator
1.12      ryoon     832: uhub3: 6 ports with 5 removable, self powered
1.1       ryoon     833: uhub2: 8 ports with 7 removable, self powered
1.12      ryoon     834: uplcom0 at uhub2 port 2
                    835: uplcom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 3
                    836: ucom0 at uplcom0
                    837: uvideo0 at uhub3 port 1 configuration 1 interface 0: Apple Inc. FaceTime HD Camera (Built-in), rev 2.00/80.25, addr 3
                    838: video0 at uvideo0: Apple Inc. FaceTime HD Camera (Built-in), rev 2.00/80.25, addr 3
                    839: uhub4 at uhub2 port 8: vendor 0x0424 product 0x2512, class 9/0, rev 2.00/b.b3, addr 4
1.1       ryoon     840: uhub4: multiple transaction translators
                    841: uhub4: 2 ports with 0 removable, self powered
1.12      ryoon     842: uhub5 at uhub4 port 1: Apple Inc. BRCM20702 Hub, class 9/0, rev 2.00/1.00, addr 5
1.1       ryoon     843: uhub5: 3 ports with 0 removable, self powered
                    844: uhidev0 at uhub5 port 1 configuration 1 interface 0
1.12      ryoon     845: uhidev0: vendor 0x05ac product 0x820a, rev 2.00/1.00, addr 6, iclass 3/1
1.1       ryoon     846: uhidev0: 1 report ids
                    847: ukbd0 at uhidev0 reportid 1: 8 modifier keys, 6 key codes
                    848: wskbd0 at ukbd0: console keyboard, using wsdisplay0
                    849: uhidev1 at uhub5 port 2 configuration 1 interface 0
1.12      ryoon     850: uhidev1: vendor 0x05ac product 0x820b, rev 2.00/1.00, addr 7, iclass 3/1
1.1       ryoon     851: uhidev1: 2 report ids
                    852: ums0 at uhidev1 reportid 2: 3 buttons
                    853: wsmouse0 at ums0 mux 0
                    854: ubt0 at uhub5 port 3
1.12      ryoon     855: ubt0: Apple Inc. Bluetooth USB Host Controller, rev 2.00/1.31, addr 8
1.1       ryoon     856: uhidev2 at uhub4 port 2 configuration 1 interface 0
1.12      ryoon     857: uhidev2: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 9, iclass 3/1
1.1       ryoon     858: uhidev2: 9 report ids
                    859: ukbd1 at uhidev2 reportid 1: 8 modifier keys, 6 key codes, apple fn key
                    860: wskbd1 at ukbd1 mux 1
                    861: wskbd1: connecting to wsdisplay0
                    862: uhid0 at uhidev2 reportid 9: input=0, output=0, feature=3
                    863: uhidev3 at uhub4 port 2 configuration 1 interface 1
1.12      ryoon     864: uhidev3: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 9, iclass 3/0
1.1       ryoon     865: uhidev3: 68 report ids
                    866: uhid1 at uhidev3 reportid 68: input=511, output=0, feature=0
                    867: uhidev4 at uhub4 port 2 configuration 1 interface 2
1.12      ryoon     868: uhidev4: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 9, iclass 3/1
1.1       ryoon     869: uhidev4: 2 report ids
                    870: ums1 at uhidev4 reportid 2: 3 buttons
                    871: wsmouse1 at ums1 mux 0
                    872: Kernelized RAIDframe activated
                    873: pad0: outputs: 44100Hz, 16-bit, stereo
                    874: audio1 at pad0: half duplex, playback, capture
                    875: boot device: wd0
1.12      ryoon     876: root on dk1 dumps on dk2
1.1       ryoon     877: root file system type: ffs
                    878: clock: unknown CMOS layout
1.12      ryoon     879: wsdisplay0: screen 1 added (default, vt100 emulation)
                    880: wsdisplay0: screen 2 added (default, vt100 emulation)
                    881: wsdisplay0: screen 3 added (default, vt100 emulation)
                    882: wsdisplay0: screen 4 added (default, vt100 emulation)
1.1       ryoon     883: </pre>
                    884: 
1.9       ryoon     885: 
1.12      ryoon     886: ## /etc/X11/xorg.conf for native X.org
                    887: With this xorg.conf, you can use i915 video device with intel driver.
1.1       ryoon     888: 
                    889: <pre><code>
                    890: Section "ServerLayout"
                    891:        Identifier     "X.org Configured"
                    892:        Screen      0  "Screen0" 0 0
                    893:        InputDevice    "Mouse0" "CorePointer"
                    894:        InputDevice    "Keyboard0" "CoreKeyboard"
                    895: EndSection
                    896: 
                    897: Section "Files"
                    898:        ModulePath   "/usr/X11R7/lib/modules"
                    899:        FontPath     "/usr/X11R7/lib/X11/fonts/misc/"
                    900:        FontPath     "/usr/X11R7/lib/X11/fonts/TTF/"
                    901:        FontPath     "/usr/X11R7/lib/X11/fonts/Type1/"
                    902:        FontPath     "/usr/X11R7/lib/X11/fonts/75dpi/"
                    903:        FontPath     "/usr/X11R7/lib/X11/fonts/100dpi/"
                    904:        FontPath     "/usr/pkg/lib/X11/fonts/local/"
                    905:        FontPath     "/usr/pkg/lib/X11/fonts/TTF/"
                    906: EndSection
                    907: 
                    908: Section "Module"
                    909:        Load  "dbe"
                    910:        Load  "dri"
                    911:        Load  "dri2"
                    912:        Load  "extmod"
                    913:        Load  "glx"
                    914:        Load  "record"
                    915:        Load  "shadow"
                    916: EndSection
                    917: 
                    918: Section "InputDevice"
                    919:        Identifier  "Keyboard0"
                    920:        Driver      "kbd"
                    921:        Option  "XkbOptions"    "ctrl:nocaps"
                    922: EndSection
                    923: 
                    924: Section "InputDevice"
                    925:        Identifier  "Mouse0"
                    926:        Driver      "mouse"
                    927:        Option      "Protocol" "wsmouse"
                    928:        Option      "Device" "/dev/wsmouse"
                    929: #      Option      "ZAxisMapping" "4 5 6 7"
                    930: EndSection
                    931: 
                    932: Section "Monitor"
                    933:        Identifier   "Monitor0"
                    934:        VendorName   "Monitor Vendor"
                    935:        ModelName    "Monitor Model"
                    936: EndSection
                    937: 
                    938: Section "Device"
                    939:         ### Available Driver options are:-
                    940:         ### [arg]: arg optional
                    941:         #Option     "ShadowFB"                 # [<bool>]
                    942:         #Option     "DefaultRefresh"           # [<bool>]
                    943:         #Option     "ModeSetClearScreen"       # [<bool>]
                    944:        Identifier  "Card0"
1.12      ryoon     945:        Driver      "intel"
1.1       ryoon     946:        BusID       "PCI:0:2:0"
                    947: EndSection
                    948: 
                    949: Section "Screen"
                    950:        Identifier "Screen0"
                    951:        Device     "Card0"
                    952:        Monitor    "Monitor0"
                    953:        SubSection "Display"
                    954:                Viewport   0 0
                    955:                Depth     1
                    956:        EndSubSection
                    957:        SubSection "Display"
                    958:                Viewport   0 0
                    959:                Depth     4
                    960:        EndSubSection
                    961:        SubSection "Display"
                    962:                Viewport   0 0
                    963:                Depth     8
                    964:        EndSubSection
                    965:        SubSection "Display"
                    966:                Viewport   0 0
                    967:                Depth     15
                    968:        EndSubSection
                    969:        SubSection "Display"
                    970:                Viewport   0 0
                    971:                Depth     16
                    972:        EndSubSection
                    973:        SubSection "Display"
                    974:                Viewport   0 0
                    975:                Depth     24
                    976:        EndSubSection
                    977: EndSection
                    978: </code></pre>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb