NetBSD/evbearmv7hf-el VEXPRESS_A15カーネルをqemu-system-armで動かす

Jared McNeillさんがNetBSD/evbarmのVEXPRESS_A15カーネルをqemu-system-arm -M vexpress-a15で動かせるようにしてくれた。 fdt(4)を使うようになったのが注目点なのかもしれないが、私としてはqemuのSDカードエミュレーションがNetBSDから使えるようになったことに注目している。 以前、INTEGRATOR_CPカーネルやGUMSTIXカーネルを起動させた際には、SDカードコントローラーの想定しない状態変化をNetBSDが設定しようとしてエラーになり、使えなかったような記憶があるためだ。

INTEGRATOR_CPカーネルやGUMSTIXカーネルは後ほど試してみるとして、まずはhttp://mail-index.netbsd.org/port-arm/2017/06/02/msg004154.htmlにある内容をやってみた。 qemuは、pkgsrc/emulators/qemuからインストールしたqemu-2.9.0nb1であり、ホストはNetBSD/amd64 8.99.1である。

まずは、以下のように実行し、最新のevbearmv7hf-elのreleaseディレクトリーを用意する。場所は、/usr/world/8.99/evbearmv7hf-el/releaseにする。


$ cd /usr/src
$ cvs up -dPA
$ ./build.sh -U -O /usr/world/8.99.1/evbearmv7hf-el/obj -T  /usr/world/8.99.1/evbearmv7hf-el/tools -D  /usr/world/8.99.1/evbearmv7hf-el/destdir -R  /usr/world/8.99.1/evbearmv7hf-el/release -u -x -j 4 -m evbearmv7hf-el release

次に、作業用ディレクトリーを作り、必要なファイルを用意する。注意事項としては、dtbファイルは最新のNetBSD-currentではbuild.shの実行の中で生成されるので、pkgsrcからインストールする必要はない点がある。


$ mkdir ~/tmp
$ cd ~/tmp
$ cp /usr/world/8.99/evbearmv7hf-el/release/evbarm/binary/gzimg/armv7.img.gz .
$ gunzip armv7.img.gz
$ cp /usr/world/8.99/evbearmv7hf-el/release/evbarm/binary/kernel/vexpress-v2p-ca15-tc1.dtb.gz .
$ gunzip vexpress-v2p-ca15-tc1.dtb.gz
次に、2GBのディスクイメージを用意する。初回起動時に2GBにパーティションが伸長される。

$ dd if=/dev/zero of=sdcard.img bs=1m count=2048
$ dd if=armv7.img of=sdcard.img bs=1m conv=notrunc

qemuの起動とdmesgは以下のようになった。オーディオ機能も使えるようだが、試せていない。


$ qemu-system-arm -M vexpress-a15 -kernel netbsd-VEXPRESS_A15.ub -dtb vexpress-v2p-ca15-tc1.dtb -nographic -sd sdcard.img -append 'root=ld0a'
WARNING: Image format was not specified for 'sdcard.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
audio: Could not init `oss' audio driver
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 8.99.1 (VEXPRESS_A15) #1: Thu Jun 29 15:22:18 JST 2017
        ryoon@brownie:/usr/world/8.99/evbearmv7hf-el/obj/sys/arch/evbarm/compile/VEXPRESS_A15
total memory = 128 MB
avail memory = 121 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
armfdt0 (root)
fdt0 at armfdt0: V2P-CA15
fdt1 at fdt0
fdt2 at fdt1: V2M-P1
fdt3 at fdt2
fdt4 at fdt0
cpus0 at fdt0
cpu0 at cpus0: Cortex-A15 r2p1 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/64B 2-way L1 PIPT Instruction cache
cpu0: 32KB/64B 2-way write-back-locking-C L1 PIPT Data cache
cpu0: 2304KB/64B 16-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at cpus0: disabled (unresponsive)
gic0 at fdt0: GIC
armgic0 at gic0: Generic Interrupt Controller, 160 sources (160 valid)
armgic0: 256 Priorities, 128 SPIs, 16 PPIs, 16 SGIs
gtmr0 at fdt0: Generic Timer
armgtmr0 at gtmr0: ARMv7 Generic 64-bit Timer (62500 kHz)
armgtmr0: interrupting on irq 27
fregulator0 at fdt2: 3V3
fclock0 at fdt2: 32768 Hz fixed clock
fclock1 at fdt2: 1000000 Hz fixed clock
fclock2 at fdt2: 24000000 Hz fixed clock
/dcc at fdt0 not configured
vxsysreg0 at fdt3
/smb@08000000/motherboard/iofpga@3,00000000/sysctl@020000 at fdt3 not configured
/smb@08000000/motherboard/mcc at fdt2 not configured
/smb@08000000/motherboard/vram@2,00000000 at fdt2 not configured
genfb0 at fdt3
wsdisplay0 at genfb0 kbdmux 1
/virtio_mmio@1c130000 at fdt0 not configured
/virtio_mmio@1c130200 at fdt0 not configured
/virtio_mmio@1c130400 at fdt0 not configured
/virtio_mmio@1c130600 at fdt0 not configured
/hdlcd@2b000000 at fdt0 not configured
/memory-controller@2b0a0000 at fdt0 not configured
/memory-controller@7ffd0000 at fdt0 not configured
/dma@7ffb0000 at fdt0 not configured
/pmu at fdt0 not configured
/smb@08000000/motherboard/flash@0,00000000 at fdt2 not configured
/smb@08000000/motherboard/psram@1,00000000 at fdt2 not configured
smsh0 at fdt2: SMSC LAN9118 Rev 1
smsh0: MAC address 52:54:00:12:34:56
ukphy0 at smsh0 phy 1: OUI 0x00800f, model 0x000d, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
smsh0: interrupting on GIC irq 47
/smb@08000000/motherboard/usb@2,03000000 at fdt2 not configured
/smb@08000000/motherboard/leds at fdt2 not configured
/smb@08000000/motherboard/iofpga@3,00000000/i2c@030000 at fdt3 not configured
aaci0 at fdt3: Advanced Audio CODEC
aaci0: ac97: National Semiconductor LM4549 codec; headphone, 18 bit DAC, 18 bit ADC, National Semi 3D
aaci0: ac97: ext id 0x1
audio0 at aaci0: half duplex, playback, mmap
aaci0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
aaci0: interrupting on GIC irq 43
plmmc0 at fdt3
sdmmc0 at plmmc0
plkmi0 at fdt3: PS2 controller
pckbd0 at plkmi0 (kbd slot)
wskbd0 at pckbd0 mux 1
plkmi0: interrupting on GIC irq 44
plkmi1 at fdt3: PS2 controller
pms0 at plkmi1 (aux slot)
wsmouse0 at pms0 mux 0
plkmi1: interrupting on GIC irq 45
plcom0 at fdt3
plcom0: txfifo disabled
plcom0: console
plcom1 at fdt3
plcom1: txfifo disabled
plcom2 at fdt3
plcom2: txfifo disabled
plcom3 at fdt3
plcom3: txfifo disabled
/smb@08000000/motherboard/iofpga@3,00000000/wdt@0f0000 at fdt3 not configured
/smb@08000000/motherboard/iofpga@3,00000000/timer@110000 at fdt3 not configured
/smb@08000000/motherboard/iofpga@3,00000000/timer@120000 at fdt3 not configured
/smb@08000000/motherboard/iofpga@3,00000000/i2c@160000 at fdt3 not configured
plrtc0 at fdt3: RTC
/smb@08000000/motherboard/iofpga@3,00000000/compact-flash@1a0000 at fdt3 not configured
ld0 at sdmmc0: <0xaa:0x5859:QEMU!:0x01:0xdeadbeef:0x062>
ld0: 2048 MB, 1040 cyl, 64 head, 63 sec, 512 bytes/sect x 4194304 sectors
ld0: 4-bit width, 12.000 MHz
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
kern.module.path=/stand/evbarm/8.99.1/modules

NetBSD/amd64 8.99.1 on dynabook R73/U

ちょっと古いマシンになるがdynabook R73/Uを使う機会があったので、NetBSD/amd64 8.99.1を起動させてみた。 起動は、build.sh live-imageで作成したUSBメモリー用のライブイメージファイルを使用した。

以下について、動作確認した。

  • NetBSDに附属のX Windows SystemはVESAビデオドライバーでフルHD表示が可能。
  • Wi-Fi機能は、iwm(4)で使用可能。5GHz帯も使用可能。


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 8.99.1 (GENERIC) #0: Thu Jun 15 16:51:16 JST 2017
 ryoon@brownie:/usr/world/8.99/amd64/obj/sys/arch/amd64/compile/GENERIC
total memory = 4017 MB
avail memory = 3879 MB
cpu_rng: RDSEED
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
TOSHIBA dynabook R73/U (PR73UFAA437AD81)
mainbus0 (root)
ACPI: RSDP 0x00000000000F0030 000024 (v02 TOSHIB)
ACPI: XSDT 0x00000000D92B6188 0000EC (v01 TOSHIB A00A0    20160115      01000013)
ACPI: FACP 0x00000000D92F5000 0000F4 (v05 TOSHIB A00A0    20160115 MSFT 0000005F)
ACPI: DSDT 0x00000000D92C4000 02AED3 (v02 TOSHIB A00A0    20160115 INTL 20141107)
ACPI: FACS 0x00000000D9281000 000040
ACPI: UEFI 0x00000000D9298000 000042 (v01 INTEL  EDK2     00000002      01000013)
ACPI: SSDT 0x00000000D92F7000 005548 (v02 SaSsdt SaSsdt   00003000 INTL 20141107)
ACPI: SSDT 0x00000000D92F6000 0005C5 (v02 Intel  PerfTune 00001000 INTL 20141107)
ACPI: HPET 0x00000000D92F4000 000038 (v01 TOSHIB A00A0    20160115 MSFT 0000005F)
ACPI: LPIT 0x00000000D92F3000 000094 (v01 TOSHIB A00A0    20160115 MSFT 0000005F)
ACPI: APIC 0x00000000D92F2000 0000BC (v03 TOSHIB A00A0    20160115 MSFT 0000005F)
ACPI: MCFG 0x00000000D92F1000 00003C (v01 TOSHIB A00A0    20160115 MSFT 0000005F)
ACPI: MSDM 0x00000000D92F0000 000055 (v03 TOSHIB A00A0    20160115 MSFT 0000005F)
ACPI: SLIC 0x00000000D92EF000 000176 (v01 TOSHIB A00A0    20160115 MSFT 0000005F)
ACPI: SSDT 0x00000000D92C3000 000248 (v02 TOSHIB sensrhub 00000000 INTL 20141107)
ACPI: SSDT 0x00000000D92C2000 0002D4 (v01 TOSHIB EInkApp  00000000 INTL 20141107)
ACPI: SSDT 0x00000000D92BF000 002BAE (v02 TOSHIB PtidDevc 00001000 INTL 20141107)
ACPI: SSDT 0x00000000D92BE000 0001D2 (v02 TOSHIB Sata0Ide 00001000 INTL 20141107)
ACPI: SSDT 0x00000000D92BD000 000B49 (v02 TOSHIB UsbCTabl 00001000 INTL 20141107)
ACPI: SSDT 0x00000000D92BC000 0001D9 (v02 TOSHIB zpodd    00001000 INTL 20141107)
ACPI: DBGP 0x00000000D92BB000 000034 (v01 INTEL           00000000 MSFT 0000005F)
ACPI: DBG2 0x00000000D92BA000 000054 (v00 INTEL           00000000 MSFT 0000005F)
ACPI: SSDT 0x00000000D92B9000 0006E4 (v02 TOSHIB SYSTEM-1 00001000 INTL 20141107)
ACPI: BOOT 0x00000000D92B8000 000028 (v01 INTEL  TIANO    00000002 MSFT 01000013)
ACPI: SSDT 0x00000000D92B7000 000E73 (v02 CpuRef CpuSsdt  00003000 INTL 20141107)
ACPI: DMAR 0x00000000D92FD000 0000A8 (v01 INTEL  SKL      00000001 INTL 00000001)
ACPI: FPDT 0x00000000D92B5000 000044 (v01 TOSHIB A00A0    00000000      00000000)
ACPI: ASF! 0x00000000D92B4000 0000A5 (v32 INTEL   HCG     00000001 TFSM 000F4240)
ACPI: BGRT 0x00000000D92B3000 000038 (v01 INTEL  EDK2     00000002      01000013)
ACPI: Executed 19 blocks of module-level executable AML code
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: 11 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 120 pins
x2APIC available but disabled by DMAR table
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, id 0x406e3
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, id 0x406e3
cpu1: package 0, core 1, smt 0
cpu2 at mainbus0 apid 1
cpu2: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, id 0x406e3
cpu2: package 0, core 0, smt 1
cpu3 at mainbus0 apid 3
cpu3: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, id 0x406e3
cpu3: package 0, core 1, smt 1
acpi0 at mainbus0: Intel ACPICA 20170303
acpi0: X/RSDT: OemId , AslId <    ,01000013>
acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f8000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFE60121E0DC10 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20141107)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFE60107319810 00070E (v02 PmRef  Cpu0Ist  00003000 INTL 20141107)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFE6010732F010 0005AA (v02 PmRef  ApIst    00003000 INTL 20141107)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFE60107234010 000119 (v02 PmRef  ApCst    00003000 INTL 20141107)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 24000000 Hz quality 2000
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (DD01, 0x0300): ACPI Display Output Device
acpiout1 at acpivga0 (DD02, 0x0301): ACPI Display Output Device
acpiout2 at acpivga0 (DD03, 0x0302): ACPI Display Output Device
acpiout3 at acpivga0 (DD04, 0x0303): ACPI Display Output Device
acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
acpiout8 at acpivga0 (DD09, 0x0009): ACPI Display Output Device
acpiout9 at acpivga0 (DD0A, 0x000a): ACPI Display Output Device
acpiout10 at acpivga0 (DD0B, 0x000b): ACPI Display Output Device
acpiout11 at acpivga0 (DD0C, 0x000c): ACPI Display Output Device
acpiout12 at acpivga0 (DD0D, 0x000d): ACPI Display Output Device
acpiout13 at acpivga0 (DD0E, 0x000e): ACPI Display Output Device
acpiout14 at acpivga0 (DD0F, 0x000f): ACPI Display Output Device
acpiout15 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
acpiout15: brightness levels: [0-100]
acpiout16 at acpivga0 (SKC0, 0xca00): ACPI Display Output Device
acpivga0: unknown output device acpiout0
acpivga0: unknown output device acpiout1
acpivga0: unknown output device acpiout2
acpivga0: unknown output device acpiout3
acpivga0: unknown output device acpiout4
acpivga0: unknown output device acpiout5
acpivga0: unknown output device acpiout6
acpivga0: unknown output device acpiout7
acpivga0: unknown output device acpiout8
acpivga0: unknown output device acpiout9
acpivga0: unknown output device acpiout10
acpivga0: unknown output device acpiout11
acpivga0: unknown output device acpiout12
acpivga0: unknown output device acpiout13
acpivga0: unknown output device acpiout14
acpivga0: unknown output device acpiout16
acpivga0: connected output devices:
acpivga0:   0x0400 (acpiout15): Unknown Output Device, head 0
IOTR (PNP0C02) at acpi0 not configured
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
CWDT (INT3F0D) at acpi0 not configured
PEC2 (PNP0401) at acpi0 not configured
pckbc1 at acpi0 (PS2K, MSFT0001) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, TOS0208) (aux port): irq 12
PDRC (PNP0C02) at acpi0 not configured
acpiwmi0 at acpi0 (AMW0, PNP0C14-0): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
acpiwmi1 at acpi0 (WMTF, PNP0C14-TBFP): ACPI WMI Interface
acpiwmibus at acpiwmi1 not configured
PEPD (INT33A1) at acpi0 not configured
valz0 at acpi0 (VALZ, TOS6208): Toshiba VALZ
BT (TOS6205) at acpi0 not configured
acpiacad0 at acpi0 (ADP1, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery
HAPS (TOS620A) at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
PTMD (INT3394) at acpi0 not configured
PTID (INT340E) at acpi0 not configured
acpitz0 at acpi0 (TZ01)
acpitz0: levels: critical 102.0 C, passive cooling
ACPI: Enabled 4 GPEs in block 00 to 7F
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 8.2
pms0: Extended W mode, Palm detect, Multi-finger Report, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product 1904 (rev. 0x08)
vga0 at pci0 dev 2 function 0: vendor 8086 product 1916 (rev. 0x07)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
xhci0 at pci0 dev 20 function 0: vendor 8086 product 9d2f (rev. 0x21)
xhci0: interrupting at msi0 vec 0
xhci0: xHCI version 1.0
xhci0: timed out waiting for BIOS
usb0 at xhci0: USB revision 3.0
usb1 at xhci0: USB revision 2.0
vendor 8086 product 9d31 (miscellaneous DASP, revision 0x21) at pci0 dev 20 function 2 not configured
vendor 8086 product 9d3a (miscellaneous communications, revision 0x21) at pci0 dev 22 function 0 not configured
ahcisata0 at pci0 dev 23 function 0: vendor 8086 product 9d03 (rev. 0x21)
ahcisata0: interrupting at ioapic0 pin 16
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.31, 2 ports, 32 slots, CAP 0xc734ff01
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
ppb0 at pci0 dev 28 function 0: vendor 8086 product 9d11 (rev. 0xf1)
ppb0: PCI Express capability version 2  x1 @ 8.0GT/s
ppb0: link is x1 @ 2.5GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
rtsx0 at pci1 dev 0 function 0: vendor 10ec product 5227 (rev. 0x01)
rtsx0: interrupting at msi1 vec 0
sdmmc0 at rtsx0
ppb1 at pci0 dev 28 function 2: vendor 8086 product 9d12 (rev. 0xf1)
ppb1: PCI Express capability version 2  x1 @ 8.0GT/s
ppb1: link is x1 @ 2.5GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
iwm0 at pci2 dev 0 function 0: vendor 8086 product 24f3 (rev. 0x3a)
iwm0: interrupting at msi2 vec 0
pcib0 at pci0 dev 31 function 0: vendor 8086 product 9d48 (rev. 0x21)
vendor 8086 product 9d21 (miscellaneous memory, revision 0x21) at pci0 dev 31 function 2 not configured
hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
hdaudio0: interrupting at msi3 vec 0
hdafg0 at hdaudio0: vendor 10ec product 0255
hdafg0: DAC00 2ch: Speaker [Built-In]
hdafg0: DAC01 2ch: HP Out [Jack]
hdafg0: ADC02 2ch: Mic In [Jack]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, mmap, independent
hdafg0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
hdafg1 at hdaudio0: vendor 8086 product 2809
hdafg1: DP00 8ch: Digital Out [Jack]
hdafg1: 8ch/0ch 48000Hz PCM16*
ichsmb0 at pci0 dev 31 function 4: vendor 8086 product 9d23 (rev. 0x21)
ichsmb0: interrupting at ioapic0 pin 16
iic0 at ichsmb0: I2C bus
vendor 8086 product 1570 (ethernet network, revision 0x21) at pci0 dev 31 function 6 not configured
isa0 at pcib0
tpm0 at isa0 iomem 0xfed40000-0xfed44fff irq 7: device 0x001a15d1 rev 0x10
pcppi0 at isa0 port 0x61
spkr1 at pcppi0: PC Speaker
wsbell at spkr1 not configured
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat 151 us, pow   200 mW
acpicpu0: C3: FFH, lat 1034 us, pow   200 mW
acpicpu0: P0: FFH, lat  10 us, pow 15000 mW, 2301 MHz, turbo boost
acpicpu0: P1: FFH, lat  10 us, pow 15000 mW, 2300 MHz
acpicpu0: P2: FFH, lat  10 us, pow 14088 mW, 2200 MHz
acpicpu0: P3: FFH, lat  10 us, pow 12462 mW, 2000 MHz
acpicpu0: P4: FFH, lat  10 us, pow 11745 mW, 1900 MHz
acpicpu0: P5: FFH, lat  10 us, pow 11042 mW, 1800 MHz
acpicpu0: P6: FFH, lat  10 us, pow  9542 mW, 1600 MHz
acpicpu0: P7: FFH, lat  10 us, pow  8882 mW, 1500 MHz
acpicpu0: P8: FFH, lat  10 us, pow  7471 mW, 1300 MHz
acpicpu0: P9: FFH, lat  10 us, pow  6855 mW, 1200 MHz
acpicpu0: P10: FFH, lat  10 us, pow  6121 mW, 1100 MHz
acpicpu0: P11: FFH, lat  10 us, pow  4955 mW,  900 MHz
acpicpu0: P12: FFH, lat  10 us, pow  4267 mW,  800 MHz
acpicpu0: P13: FFH, lat  10 us, pow  3718 mW,  700 MHz
acpicpu0: P14: FFH, lat  10 us, pow  2538 mW,  500 MHz
acpicpu0: P15: FFH, lat  10 us, pow  2028 mW,  400 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
acpicpu2 at cpu2: ACPI CPU
acpicpu3 at cpu3: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 2304694040 Hz quality 3000
acpiacad0: AC adapter online.
uhub0 at usb0: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev 1.00/1.00, addr 0
uhub0: 6 ports with 6 removable, self powered
uhub1 at usb1: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev 2.00/1.00, addr 0
uhub1: 12 ports with 12 removable, self powered
IPsec: Initialized Security Association Processing.
ahcisata0 port 1: device present, speed: 3.0Gb/s
ahcisata0 port 0: PHY offline
wd0 at atabus1 drive 0
wd0: 
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
umass0 at uhub0 port 3 configuration 1 interface 0
umass0: SanDisk (0x781) Extreme (0x5580), rev 3.00/0.10, addr 1
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0:  disk fixed
sd0: fabricating a geometry
sd0: 29923 MB, 29923 cyl, 64 head, 32 sec, 512 bytes/sect x 61282631 sectors
sd0: fabricating a geometry
sd0: 58136903 trailing sectors not covered by disklabel
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture, mmap
pad0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 44100
spkr2 at audio1: PC Speaker (synthesized)
wsbell at spkr2 not configured
sd0: 58136903 trailing sectors not covered by disklabel
sd0: 58136903 trailing sectors not covered by disklabel
sd0: 58136903 trailing sectors not covered by disklabel
sd0: 58136903 trailing sectors not covered by disklabel
WARNING: 18 errors while detecting hardware; check system log.
boot device: sd0
root on sd0a dumps on sd0b
sd0: 58136903 trailing sectors not covered by disklabel
sd0: 58136903 trailing sectors not covered by disklabel
root file system type: ffs
kern.module.path=/stand/amd64/8.99.1/modules
iwm0: hw rev 0x200, fw ver 22.361476.0, address 44:85:00:a3:60:88
iwm0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

NetBSD/amd64 8.99.1 on VAIO S13

前回は、インストール用のUBSスティック用イメージでNetBSD/amd64 7.99.70を起動させたが、ただ起動させただけであまりどうさ検証はできんなかった。

今回は、build.sh live-imageで作成したXも起動できる環境でテストしてみた。

結果としては、以下のようになった、

  • X Wndow Systemは、VESAドライバーでフルHDでの表示ができた。
  • Wi-Fi機能は、iwm(4)動作する。5 GHz帯も使える。
  • オーディオ機能は未検証。


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 8.99.1 (GENERIC) #0: Thu Jun 15 16:51:16 JST 2017
 ryoon@brownie:/usr/world/8.99/amd64/obj/sys/arch/amd64/compile/GENERIC
total memory = 3894 MB
avail memory = 3759 MB
cpu_rng: RDSEED
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
VAIO Corporation VJS131 (Reserved)
mainbus0 (root)
ACPI: RSDP 0x00000000000F0120 000024 (v02 VAIO  )
ACPI: XSDT 0x00000000B7FD2188 0000DC (v01 Sony   VAIO     20161014 PTEC 00000002)
ACPI: FACP 0x00000000B7FF0000 0000F4 (v05 Sony   VAIO     20161014 PTEC 00000002)
ACPI: DSDT 0x00000000B7FDB000 010598 (v02 VAIO   VAIO     20161014 INTL 20141107)
ACPI: FACS 0x00000000B7F65000 000040
ACPI: TCPA 0x00000000B7FFB000 000032 (v02 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: SLIC 0x00000000B7FFA000 000176 (v01 Sony   VAIO     20161014 PTEC 00000002)
ACPI: SSDT 0x00000000B7FF9000 0004C5 (v02 VAIO   VAIO     20161014 INTL 20141107)
ACPI: SSDT 0x00000000B7FF8000 00004B (v02 VAIO   VAIO     20161014 INTL 20141107)
ACPI: TPM2 0x00000000B7FF7000 000034 (v03 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: UEFI 0x00000000B7F7B000 000042 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: SSDT 0x00000000B7FF1000 0052DE (v02 VAIO   VAIO     20161014 INTL 20141107)
ACPI: HPET 0x00000000B7FEF000 000038 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: LPIT 0x00000000B7FEE000 000094 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: APIC 0x00000000B7FED000 0000BC (v03 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: MCFG 0x00000000B7FEC000 00003C (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: SSDT 0x00000000B7FDA000 0002D4 (v01 VAIO   VAIO     20161014 INTL 20141107)
ACPI: DBGP 0x00000000B7FD9000 000034 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: DBG2 0x00000000B7FD8000 000054 (v00 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: BOOT 0x00000000B7FD7000 000028 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: BATB 0x00000000B7FD6000 000046 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: SSDT 0x00000000B7FD5000 000E73 (v02 VAIO   VAIO     20161014 INTL 20141107)
ACPI: MSDM 0x00000000B7FD4000 000055 (v03 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: FPDT 0x00000000B7FD3000 000044 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: UEFI 0x00000000B7F62000 0001A2 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: SSDT 0x00000000B7FD0000 001450 (v01 VAIO   VAIO     20161014 INTL 20141107)
ACPI: BGRT 0x00000000B7FFC000 000038 (v01 VAIO   VAIO     20161014 PTEC 00000002)
ACPI: Executed 3 blocks of module-level executable AML code
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: 7 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 120 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, id 0x406e3
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, id 0x406e3
cpu1: package 0, core 1, smt 0
cpu2 at mainbus0 apid 1
cpu2: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, id 0x406e3
cpu2: package 0, core 0, smt 1
cpu3 at mainbus0 apid 3
cpu3: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, id 0x406e3
cpu3: package 0, core 1, smt 1
acpi0 at mainbus0: Intel ACPICA 20170303
acpi0: X/RSDT: OemId <  Sony,    VAIO,20161014>, AslId 
acpi0: MCFG: segment 0, bus 0-255, address 0x00000000e0000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFE60142E0DC10 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20141107)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFE60106F46810 0005FD (v02 PmRef  Cpu0Ist  00003000 INTL 20141107)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFE60106FED810 0005AA (v02 PmRef  ApIst    00003000 INTL 20141107)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFE60106EB0010 000119 (v02 PmRef  ApCst    00003000 INTL 20141107)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 24000000 Hz quality 2000
acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (DD01, 0x0001): ACPI Display Output Device
acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
acpiout2 at acpivga0 (DD03, 0x0003): ACPI Display Output Device
acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
acpiout8 at acpivga0 (DD09, 0x0009): ACPI Display Output Device
acpiout9 at acpivga0 (DD0A, 0x000a): ACPI Display Output Device
acpiout10 at acpivga0 (DD0B, 0x000b): ACPI Display Output Device
acpiout11 at acpivga0 (DD0C, 0x000c): ACPI Display Output Device
acpiout12 at acpivga0 (DD0D, 0x000d): ACPI Display Output Device
acpiout13 at acpivga0 (DD0E, 0x000e): ACPI Display Output Device
acpiout14 at acpivga0 (DD0F, 0x000f): ACPI Display Output Device
acpiout15 at acpivga0 (DD1F, 0x001f): ACPI Display Output Device
acpiout15: brightness levels: [0-100]
acpivga0: unknown output device acpiout0
acpivga0: unknown output device acpiout1
acpivga0: unknown output device acpiout2
acpivga0: unknown output device acpiout3
acpivga0: unknown output device acpiout4
acpivga0: unknown output device acpiout5
acpivga0: unknown output device acpiout6
acpivga0: unknown output device acpiout7
acpivga0: unknown output device acpiout8
acpivga0: unknown output device acpiout9
acpivga0: unknown output device acpiout10
acpivga0: unknown output device acpiout11
acpivga0: unknown output device acpiout12
acpivga0: unknown output device acpiout13
acpivga0: unknown output device acpiout14
acpivga0: unknown output device acpiout15
acpivga0: connected output devices:
acpivga0:   0x0400: Unknown Output Device, head 0
IOTR (PNP0C02) at acpi0 not configured
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
CWDT (INT3F0D) at acpi0 not configured
pckbc1 at acpi0 (PS2K, VAI0002) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, SYN2714) (aux port): irq 12
PDRC (PNP0C02) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery
acpibat0: VAIO Corp.  LION rechargeable battery
acpibat0: granularity: low->warn 0.064 Wh, warn->full 0.064 Wh
acpiwmi0 at acpi0 (WMTF, PNP0C14-TBFP): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
TPM (MSFT0101) at acpi0 not configured
acpitz0 at acpi0 (THRM)
acpitz0: levels: critical 130.0 C, hot 97.0 C, passive 130.0 C, passive cooling
ACPI: Enabled 5 GPEs in block 00 to 7F
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 8.1
pms0: Extended W mode, Palm detect, Multi-finger Report, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product 1904 (rev. 0x08)
vga0 at pci0 dev 2 function 0: vendor 8086 product 1916 (rev. 0x07)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
xhci0 at pci0 dev 20 function 0: vendor 8086 product 9d2f (rev. 0x21)
xhci0: interrupting at msi0 vec 0
xhci0: xHCI version 1.0
usb0 at xhci0: USB revision 3.0
usb1 at xhci0: USB revision 2.0
vendor 8086 product 9d31 (miscellaneous DASP, revision 0x21) at pci0 dev 20 function 2 not configured
vendor 8086 product 9d3a (miscellaneous communications, revision 0x21) at pci0 dev 22 function 0 not configured
ahcisata0 at pci0 dev 23 function 0: vendor 8086 product 9d03 (rev. 0x21)
ahcisata0: interrupting at ioapic0 pin 16
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.31, 1 port, 32 slots, CAP 0xc734ff00
atabus0 at ahcisata0 channel 2
ppb0 at pci0 dev 28 function 0: vendor 8086 product 9d10 (rev. 0xf1)
ppb0: PCI Express capability version 2  x1 @ 8.0GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ppb1 at pci0 dev 28 function 1: vendor 8086 product 9d11 (rev. 0xf1)
ppb1: PCI Express capability version 2  x1 @ 8.0GT/s
ppb1: link is x1 @ 2.5GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
iwm0 at pci2 dev 0 function 0: vendor 8086 product 24f3 (rev. 0x3a)
iwm0: interrupting at msi1 vec 0
ppb2 at pci0 dev 28 function 2: vendor 8086 product 9d12 (rev. 0xf1)
ppb2: PCI Express capability version 2  x1 @ 8.0GT/s
ppb2: link is x1 @ 2.5GT/s
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
vendor 10ec product 522a (undefined, subclass 0x00, revision 0x01) at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 3: vendor 8086 product 9d13 (rev. 0xf1)
ppb3: PCI Express capability version 2  x1 @ 8.0GT/s
ppb3: link is x1 @ 2.5GT/s
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
re0 at pci4 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x15)
re0: interrupting at msi2 vec 0
re0: Ethernet address cc:30:80:13:26:44
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
pcib0 at pci0 dev 31 function 0: vendor 8086 product 9d48 (rev. 0x21)
vendor 8086 product 9d21 (miscellaneous memory, revision 0x21) at pci0 dev 31 function 2 not configured
hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
hdaudio0: interrupting at msi3 vec 0
hdafg0 at hdaudio0: vendor 10ec product 0233
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
hdafg0: ADC01 2ch: Mic In [Jack]
hdafg0: ADC02 2ch: Mic In [Built-In]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, mmap, independent
hdafg0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
hdafg1 at hdaudio0: vendor 8086 product 2809
hdafg1: DP00 8ch: Digital Out [Jack]
hdafg1: 8ch/0ch 48000Hz PCM16*
ichsmb0 at pci0 dev 31 function 4: vendor 8086 product 9d23 (rev. 0x21)
ichsmb0: interrupting at ioapic0 pin 16
iic0 at ichsmb0: I2C bus
isa0 at pcib0
pcppi0 at isa0 port 0x61
spkr1 at pcppi0: PC Speaker
wsbell at spkr1 not configured
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat 151 us, pow   200 mW
acpicpu0: C3: FFH, lat 1034 us, pow   200 mW
acpicpu0: P0: FFH, lat  10 us, pow 15000 mW, 2301 MHz, turbo boost
acpicpu0: P1: FFH, lat  10 us, pow 15000 mW, 2300 MHz
acpicpu0: P2: FFH, lat  10 us, pow 13340 mW, 2100 MHz
acpicpu0: P3: FFH, lat  10 us, pow 12462 mW, 2000 MHz
acpicpu0: P4: FFH, lat  10 us, pow 11745 mW, 1900 MHz
acpicpu0: P5: FFH, lat  10 us, pow 11042 mW, 1800 MHz
acpicpu0: P6: FFH, lat  10 us, pow  9542 mW, 1600 MHz
acpicpu0: P7: FFH, lat  10 us, pow  8882 mW, 1500 MHz
acpicpu0: P8: FFH, lat  10 us, pow  7471 mW, 1300 MHz
acpicpu0: P9: FFH, lat  10 us, pow  6855 mW, 1200 MHz
acpicpu0: P10: FFH, lat  10 us, pow  6121 mW, 1100 MHz
acpicpu0: P11: FFH, lat  10 us, pow  4955 mW,  900 MHz
acpicpu0: P12: FFH, lat  10 us, pow  4267 mW,  800 MHz
acpicpu0: P13: FFH, lat  10 us, pow  3718 mW,  700 MHz
acpicpu0: P14: FFH, lat  10 us, pow  2538 mW,  500 MHz
acpicpu0: P15: FFH, lat  10 us, pow  2028 mW,  400 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
acpicpu2 at cpu2: ACPI CPU
acpicpu3 at cpu3: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 2304432660 Hz quality 3000
uhub0 at usb0: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev 1.00/1.00, addr 0
uhub0: 6 ports with 6 removable, self powered
uhub1 at usb1: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev 2.00/1.00, addr 0
uhub1: 12 ports with 12 removable, self powered
acpiacad0: AC adapter online.
IPsec: Initialized Security Association Processing.
acpibat0: VAIO Corp.  LION rechargeable battery
acpibat0: granularity: low->warn 0.064 Wh, warn->full 0.064 Wh
ahcisata0 port 2: device present, speed: 6.0Gb/s
wd0 at atabus0 drive 0
wd0: 
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 238 GB, 496149 cyl, 16 head, 63 sec, 512 bytes/sect x 500118192 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
umass0 at uhub0 port 3 configuration 1 interface 0
umass0: SanDisk (0x781) Extreme (0x5580), rev 3.00/0.10, addr 1
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0:  disk fixed
sd0: fabricating a geometry
sd0: 29923 MB, 29923 cyl, 64 head, 32 sec, 512 bytes/sect x 61282631 sectors
sd0: fabricating a geometry
sd0: 58136903 trailing sectors not covered by disklabel
uvideo0 at uhub1 port 4 configuration 1 interface 0: Chicony Electronics Co.,Ltd. (0x4f2) Front Camera (0xb517), rev 2.01/58.30, addr 2
video0 at uvideo0: Chicony Electronics Co.,Ltd. (0x4f2) Front Camera (0xb517), rev 2.01/58.30, addr 2
ubt0 at uhub1 port 5
ubt0: vendor 8087 (0x8087) product 0a2b (0xa2b), rev 2.00/0.01, addr 3
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture, mmap
pad0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 44100
spkr2 at audio1: PC Speaker (synthesized)
wsbell at spkr2 not configured
sd0: 58136903 trailing sectors not covered by disklabel
sd0: 58136903 trailing sectors not covered by disklabel
sd0: 58136903 trailing sectors not covered by disklabel
sd0: 58136903 trailing sectors not covered by disklabel
WARNING: 16 errors while detecting hardware; check system log.
boot device: sd0
root on sd0a dumps on sd0b
sd0: 58136903 trailing sectors not covered by disklabel
sd0: 58136903 trailing sectors not covered by disklabel
root file system type: ffs
kern.module.path=/stand/amd64/8.99.1/modules
iwm0: hw rev 0x200, fw ver 22.361476.0, address 28:16:ad:1b:86:8b
iwm0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

インストールされていないOpenTypeやTrueTypeのフォントのプレビュー方法

以前からNetBSDとX.orgの環境で、OpenTypeやTrueTypeのフォントをfontconfigやXで使うようにしてからではなく、 プレビューしたいと考えていた。 Linux用のfont viewerを検索しても、依存関係が複雑だったり、利用できるようにしてからしか...