[RPI3] Kernel Relink

2017-08-23 Thread R0me0 ***
I have noticed this just with RPI3, every reboot, kernel relink fails. ( It
comes from 6.1-current )

/usr/share/compile/GENERIC/relink.log

(SHA256) /bsd: OK
LD="ld" sh makegap.sh 0xd4d4d4d4 gapdummy.o
ld: error: gap.link:11: unknown command ;
ld: error: gap.link:11: LONG(0xd4d4d4d4);
ld: error: gap.link:11:   ^
ld: error: cannot open gapdummy.o: No such file or directory
ld: error: target emulation unknown: -m or at least one .o file required
*** Error 1 in /usr/share/compile/GENERIC (Makefile:531 'newbsd')


is it expected?

Thanks in advance,


dmesg:


OpenBSD 6.2-beta (GENERIC) #0: Tue Aug 22 17:53:50 AEST 2017
   j...@arm64.jsg.id.au:/usr/src/sys/arch/arm64/compile/GENERIC
real mem  = 965042176 (920MB)
avail mem = 909217792 (867MB)
mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
cpu0 at mainbus0: ARM Cortex-A53 r0p4
simplefb0 at mainbus0: 656x416
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0 added (std, vt100 emulation)
simplebus0 at mainbus0: "soc"
bcmintc0 at simplebus0
bcmdog0 at simplebus0
pluart0 at simplebus0
bcmaux0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
dwctwo0 at simplebus0
agtimer0 at simplebus0: tick rate 19200 KHz
simplebus1 at mainbus0: "clocks"
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev
2.00/1.00 addr 1
uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems
product 0x9514" rev 2.00/2.00 addr 2
smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems
SMSC9512/14" rev 2.00/2.00 addr 3
smsc0: address b8:27:eb:78:27:cd
ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x0001f0, model 0x000c
umass0 at uhub1 port 3 configuration 1 interface 0 "Kingston DataTraveler
2.0" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0:  SCSI2
0/direct removable serial.09511665FDB1A9792441
sd0: 14762MB, 512 bytes/sector, 30233588 sectors
urtwn0 at uhub1 port 4 configuration 1 interface 0 "802.11n USB WLAN" rev
2.00/2.00 addr 5
urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address 98:de:d0:11:ac:a1
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (5023b2de782a611f.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!


Re: [rpi3] OpenBSD-6.2-beta does not boot after installer finish

2017-08-23 Thread R0me0 ***
Fixed :)
Thanks

2017-08-22 6:04 GMT-03:00 Jonathan Gray :

> On Tue, Aug 22, 2017 at 12:27:55PM +1000, Jonathan Gray wrote:
> > On Mon, Aug 21, 2017 at 06:28:16PM -0300, R0me0 *** wrote:
> > > Hello,
> > >
> > > Wrote miniroot62.fs to usb stick as usual, boots and installs
> > >
> > > ( tried with miniroot from ftp.openbsd.org and ftp.hostserver.de )
> > >
> > > miniroot62.fs 21-Aug-2017 03:10  22020096
> > >
> > >
> > > But after reboot, rpi3 does not initialize. Just boot if I rewrite
> miniroot
> > > to usb sitck
> > >
> > >
> > >
> > > Relinking to create unique kernel...done.
> > >
> > > CONGRATULATIONS! Your OpenBSD install has been successfully completed!
> > > To boot the new system, enter 'reboot' at the command prompt.
> > > When you login to your new system the first time, please read your mail
> > > using the 'mail' command.
> > >
> > > # reboot
> > > syncing disks... done
> > > rebooting...
> >
> > scan_dmesg does not seem to work correctly for this.
> >
> > # sed -n 's/^mainbus0 at root: \(.*\)$/\1/p' /var/run/dmesg.boot
> > Raspberry Pi 3 Model B Rev 1.2
> >
> > but scan_dmesg sorts the words of the string so that
> >
> > $(scan_dmesg 's/^mainbus0 at root: \(.*\)$/\1/p') gives
> >
> > "1.2 3 B Model Pi Raspberry Rev"
> >
> > The next snapshot will include a revised version of the diff
> > to use $(sysctl -n hw.product).
>
> 22nd August snapshot should work.  Thanks for the report.
>
> >
> > armv7 should be changed to use the same.
> >
> > Index: miniroot/Makefile
> > ===
> > RCS file: /cvs/src/distrib/arm64/miniroot/Makefile,v
> > retrieving revision 1.4
> > diff -u -p -r1.4 Makefile
> > --- miniroot/Makefile 7 May 2017 12:00:12 -   1.4
> > +++ miniroot/Makefile 22 Aug 2017 02:25:34 -
> > @@ -65,6 +65,8 @@ do_files:
> >   cp /usr/mdec/BOOTAA64.EFI ${MOUNT_POINT}/efi/boot/bootaa64.efi
> >   echo bootaa64.efi > ${MOUNT_POINT}/efi/boot/startup.nsh
> >   echo 
> > 'arm_control=0x200\nenable_uart=1\ndevice_tree_address=0x100\nkernel=u-boot.bin'
> > ${MOUNT_POINT}/config.txt
> > + dd if=${PUBOOT}/pine64_plus/u-boot-sunxi-with-spl.bin \
> > + of=${VND_CDEV} bs=1024 seek=8
> >
> >  rd_setup:
> >   dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS}
> > Index: ramdisk/Makefile
> > ===
> > RCS file: /cvs/src/distrib/arm64/ramdisk/Makefile,v
> > retrieving revision 1.2
> > diff -u -p -r1.2 Makefile
> > --- ramdisk/Makefile  18 Feb 2017 02:01:53 -  1.2
> > +++ ramdisk/Makefile  22 Aug 2017 02:25:34 -
> > @@ -18,6 +18,7 @@ DISKTYPE=   rdroot
> >  MAKEFSARGS_RD=   -o disklabel=${DISKTYPE},minfree=0,density=4096
> >
> >  DIRS=\
> > + pine64 \
> >   rpi
> >
> >  .ifndef DESTDIR
> > Index: ramdisk/install.md
> > ===
> > RCS file: /cvs/src/distrib/arm64/ramdisk/install.md,v
> > retrieving revision 1.6
> > diff -u -p -r1.6 install.md
> > --- ramdisk/install.md28 Jul 2017 18:15:44 -  1.6
> > +++ ramdisk/install.md22 Aug 2017 02:25:34 -
> > @@ -38,23 +38,35 @@ MOUNT_ARGS_msdos="-o-l"
> >  md_installboot() {
> >   local _disk=/dev/$1 _mdec _plat
> >
> > + case $(sysctl -n hw.product) in
> > + *Pine64*)   _plat=pine64;;
> > + *'Raspberry Pi'*)   _plat=rpi;;
> > + esac
> > +
> >   # Mount MSDOS partition, extract U-Boot and copy UEFI boot program
> >   mount ${MOUNT_ARGS_msdos} ${_disk}i /mnt/mnt
> >   mkdir -p /mnt/mnt/efi/boot
> >   cp /mnt/usr/mdec/BOOTAA64.EFI /mnt/mnt/efi/boot/bootaa64.efi
> >   echo bootaa64.efi > /mnt/mnt/efi/boot/startup.nsh
> >
> > - _plat=rpi
> >   _mdec=/usr/mdec/$_plat
> >
> > - cp $_mdec/{bootcode.bin,start.elf,fixup.dat,*.dtb} /mnt/mnt/
> > - cp $_mdec/u-boot.bin /mnt/mnt/
> > - cat > /mnt/mnt/config.txt<<-__EOT
> > - arm_control=0x200
> > - enable_uart=1
> > - device_tree_address=0x100
> > - kernel=u-boot.bin
> > - __EOT
> > + case $_plat in
> > + pine64)
> > + dd if=$_mdec/u-boot-sunxi-with-spl.bin of=${_disk}c \
> > + bs=1024 seek=8 >/dev/null 2>&1
> > + ;;
> > + rpi)
> > + cp $_mdec/{bootcode.bin,start.elf,fixup.dat,*.dtb}
> /mnt/mnt/
> > + cp $_mdec/u-boot.bin /mnt/mnt/
> > + cat > /mnt/mnt/config.txt<<-__EOT
> > + arm_control=0x200
> > + enable_uart=1
> > + device_tree_address=0x100
> > + kernel=u-boot.bin
> > + __EOT
> > + ;;
> > + esac
> >  }
> >
> >  md_prep_fdisk() {
> > Index: ramdisk/list
> > ===
> > RCS file: /cvs/src/distrib/arm64/ramdisk/list,v
> > retrieving revision 1.4
> > 

Re: Display distortion while booting in native UEFI mode

2017-08-23 Thread Lukasz Jendrysik
Would it be possible to commit this change?

Probably there is no chance it could be included in 6.2.


On 08/19/2017 06:39 PM, Lukasz Jendrysik wrote:
> Hi,
>
>
> On 08/14/2017 03:59 PM, YASUOKA Masahiko wrote:
>> Please try the diff or
>>
>>   http://yasuoka.net/~yasuoka/BOOTX64.EFI
>>   http://yasuoka.net/~yasuoka/BOOTIA32.EFI   
>>
>> ?
>>
>> Index: sys/arch/amd64/stand/efiboot/efiboot.c
>> ===
>> RCS file: /var/cvs/openbsd/src/sys/arch/amd64/stand/efiboot/efiboot.c,v
>> retrieving revision 1.23
>> diff -u -p -r1.23 efiboot.c
>> --- sys/arch/amd64/stand/efiboot/efiboot.c   7 Aug 2017 19:34:53 -   
>> 1.23
>> +++ sys/arch/amd64/stand/efiboot/efiboot.c   14 Aug 2017 13:52:52 -
>> @@ -738,6 +738,8 @@ efi_makebootargs(void)
>>  status = EFI_CALL(gop->QueryMode, gop, i, , );
>>  if (EFI_ERROR(status))
>>  continue;
>> +if (info->HorizontalResolution == 1366)
>> +continue;
>>  gopsiz = info->HorizontalResolution *
>>  info->VerticalResolution;
>>  if (gopsiz > bestsiz) {
>>
>>
>> --yasuoka
> I confirm that this diff fixes the issue.
>
> Regards,
> Lukasz
>



Thinkpad x230 crash on boot with 6.2

2017-08-23 Thread Jesse Darrone
Hello All,

Synopsis: hang on boot
Category: kernel (bsd.rd) amd64
Environment:

  System: OpenBSD 6.2
  Details: OpenBSD 6.2-beta snapshot from 8/22
  Architecture: amd64
  Machine: Thinkpad x230 (2324-2LU)

Description:

The system doesn't appear to make it past "entry point at 0xe20"
on boot, but
gives no other errors or symptoms.  When docked, video distortion appears at the
bottom of the monitor at the moment the system hangs (a band of multi-colored
snow). Perhaps this is video related?

How-To-Repeat:

Attempt to boot with the bsd.rd from the latest 6.2-beta snapshot (8/22).

Fix: Unknown

Attached lspci and dmesg from pre-6.2 snapshot:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM
Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core
processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210
Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network
Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset
Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset
Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset
Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset
Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset
Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC
Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family
6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family
SMBus Controller (rev 04)
02:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205
[Taylor Peak] (rev 34)


OpenBSD 6.1-current (GENERIC.MP) #23: Sun Aug 20 10:52:46 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16972566528 (16186MB)
avail mem = 16451170304 (15689MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9c000 (69 entries)
bios0: vendor LENOVO version "G2ETA8WW (2.68 )" date 04/19/2017
bios0: LENOVO 23242LU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT
FPDT ASF! UEFI UEFI POAT SSDT SSDT DMAR UEFI DBG
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3)
EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 2594.58 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTTSSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSF16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2594582480 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 2594.11 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTTSSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSF16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 2594.11 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTTSSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSF16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 2594.12 MHz
cpu3: 

new 6.2-beta error: intel_uncore_check_errors Unclaimed register before interrupt

2017-08-23 Thread Derek Sivers
Hardware : Lenovo Thinkpad T440S

This error used to happen only once each time I'd boot up:
"error: [drm:pid46210:intel_uncore_check_errors] *ERROR* Unclaimed register 
before interrupt"

It's never been a problem from OpenBSD 5.9 through 6.1.
But now in 6.2-beta it's a problem. It goes on for hundreds of lines,
and takes about a minute to finish all of its warnings.

Happy to take any suggestions, test again, and report again.

The dmesg:

OpenBSD 6.2-beta (GENERIC.MP) #29: Mon Aug 21 10:03:48 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8246124544 (7864MB)
avail mem = 7989186560 (7619MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdcd3d000 (61 entries)
bios0: vendor LENOVO version "GJET67WW (2.17 )" date 12/10/2013
bios0: LENOVO 20AQCTO1WW
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC DBGP ECDT HPET APIC MCFG SSDT SSDT SSDT SSDT SSDT 
SSDT SSDT SSDT PCCT SSDT UEFI POAT ASF! BATB FPDT UEFI SSDT DMAR
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 2694.23 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2694228920 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 2693.77 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 2693.77 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 2693.77 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1
acpipwrres1 at acpi0: NVP3, resource for PEG_
acpipwrres2 at acpi0: NVP2, resource for PEG_
acpitz0 at acpi0: critical temperature is 200 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"LEN0071" at acpi0 not configured
"LEN0036" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "45N1773" serial 32828 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 model "45N1775" serial  7444 type LION oem "SANYO"
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT340F" at acpi0 not configured