DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th March 2014
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default Fan Control in OpenBSD?

Hi,

I'm wondering if OpenBSD has a manual way to control fan speed?


Currently I have SENSORSD and APMD running. I set APMD to start with the -C flag as per the man page as that was the "Cool" option.


For some strange reason the fans are spinning at 3000RPM....

sysctl gives this:

Code:
hw.sensors.cpu0.temp0=51.00 degC
hw.sensors.cpu1.temp0=51.00 degC
hw.sensors.cpu2.temp0=51.00 degC
hw.sensors.cpu3.temp0=51.00 degC
hw.sensors.lm1.temp0=34.00 degC
hw.sensors.lm1.temp1=57.00 degC
hw.sensors.lm1.temp2=33.50 degC
hw.sensors.lm1.volt0=1.08 VDC (VCore)
hw.sensors.lm1.volt1=12.04 VDC (+12V)
hw.sensors.lm1.volt2=3.36 VDC (+3.3V)
hw.sensors.lm1.volt3=3.36 VDC (+3.3V)
hw.sensors.lm1.volt4=-10.92 VDC (-12V)
hw.sensors.lm1.volt5=1.26 VDC
hw.sensors.lm1.volt6=1.06 VDC
hw.sensors.lm1.volt7=3.33 VDC (3.3VSB)
hw.sensors.lm1.volt8=1.60 VDC (VBAT)
hw.sensors.lm2.temp0=34.00 degC
hw.sensors.lm2.temp1=57.00 degC
hw.sensors.lm2.temp2=33.50 degC
hw.sensors.lm2.fan0=1622 RPM
hw.sensors.lm2.fan1=164 RPM
hw.sensors.lm2.fan2=3013 RPM
hw.sensors.lm2.fan3=2986 RPM
hw.sensors.lm2.fan4=164 RPM
hw.sensors.lm2.volt0=1.08 VDC (VCore)
hw.sensors.lm2.volt1=12.04 VDC (+12V)
hw.sensors.lm2.volt2=3.36 VDC (+3.3V)
hw.sensors.lm2.volt3=3.36 VDC (+3.3V)
hw.sensors.lm2.volt4=-10.92 VDC (-12V)
hw.sensors.lm2.volt5=1.26 VDC
hw.sensors.lm2.volt6=1.06 VDC
hw.sensors.lm2.volt7=3.33 VDC (3.3VSB)
hw.sensors.lm2.volt8=1.60 VDC (VBAT)
hw.cpuspeed=1200
hw.setperf=0
hw.vendor=Supermicro
hw.product=X9SRE/X9SRE-3F/X9SRi/X9SRi-3F
The CPU is a Xeon E5, which per the above is downclocked to 1200RPM....


Basically this seems strange, though I know the kernel/BIOS should adjust the fans speeds automatically but for such large fans they are making quite a bit of noise while another machine running FreeBSD also in a SuperMicro chassis is almost dead silent.....

The chassis is basically a 4U industrial SuperMicro chassis with very large PWM fans (80mm I think?).


I don' think that the fans need to run at 3000RPM, though having done lots of reading I haven't found anywhere to adjust them with... SENSORSD is read-only and can't make adjustments.


Is there such a feature/port that could do this or do I simply have to live with the noise?

Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 27th March 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

There is, generally, no manual way to control fan speeds. However, there are a variety of different fan management hardware components that you might have, and therefore posting a dmesg(8) may be of value. (Posting one is almost always of value, whenever asking for assistance or advice.)

Try the command below to see a list of possible hardware drivers.

$ apropos fan | grep 4

Last edited by jggimi; 27th March 2014 at 11:39 PM. Reason: added link to man page
Reply With Quote
  #3   (View Single Post)  
Old 28th March 2014
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default

Thanks for the response!


Sorry, was late last night and wasn't thinking straight.


Code:
# apropos fan | grep 4
adl (4) - Andigilog aSC7621 temperature, voltage, and fan sensor
adt (4) - Analog Devices ADT7460 temperature, voltage, and fan sensor
adtfsm (4) - Analog Devices ADT7462 temperature, voltage, and fan sensor
aibs (4) - ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor
andl (4) - Andigilog aSC7611 temperature, voltage, and fan sensor
fcu (4/macppc) - Apple Fan Control Unit sensor device
glenv (4) - Genesys Logic GL518SM temperature, voltage, and fan sensor
it (4) - ITE IT87xxF and SiS SiS950 temperature, voltage, and fan sensor with watchdog timer
lm (4) - National Semiconductor LM78/79/81 temperature, voltage, and fan sensor
lmenv (4) - National Semiconductor LM87 temperature, voltage, and fan sensor
lmn (4) - National Semiconductor LM93 temperature, voltage, and fan sensor
nvt (4) - Nuvoton W83795G/ADG temperature, voltage, and fan sensor
tda (4/sparc64) - Philips TDA8444 fan controller
uguru (4) - ABIT temperature, voltage and fan sensors
wbenv (4) - Winbond W83L784R/W83L785R/W83L785TS-L temperature, voltage, and fan sensor
wbng (4) - Winbond W83793G temperature, voltage, and fan sensor

This is the dmesg output:

Code:
# dmesg
OpenBSD 5.4-current (GENERIC.MP) #73: Tue Oct 15 00:08:48 MDT 2013
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8537219072 (8141MB)
avail mem = 8301834240 (7917MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec640 (117 entries)
bios0: vendor American Megatrends Inc. version "3.0" date 07/05/2013
bios0: Supermicro X9SRE/X9SRE-3F/X9SRi/X9SRi-3F
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC FPDT HPET PRAD SSDT SPCR EINJ ERST HEST BERT DMAR MCFG
acpi0: wakeup devices PS2K(S4) PS2M(S4) P0P9(S1) EUSB(S4) USBE(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) PEX6(S4) NPE2(S4) NPE4(S4) NPE5(S4) PXHA(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.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,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.00 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.00 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.00 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0x80000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 9 (P0P9)
acpiprt2 at acpi0: bus 7 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus -1 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpiprt8 at acpi0: bus -1 (PEX6)
acpiprt9 at acpi0: bus 6 (P0PA)
acpiprt10 at acpi0: bus -1 (NPE2)
acpiprt11 at acpi0: bus -1 (NPE5)
acpiprt12 at acpi0: bus -1 (PXHA)
acpiprt13 at acpi0: bus -1 (PXHB)
acpiprt14 at acpi0: bus 1 (NPE1)
acpiprt15 at acpi0: bus 2 (NPE3)
acpiprt16 at acpi0: bus 3 (NPE7)
acpiprt17 at acpi0: bus 5 (NPE9)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 3600 MHz: speeds: 3601, 3600, 3400, 3300, 3100, 2900, 2700, 2600, 2400, 2200, 2100, 1900, 1700, 1500, 1400, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel E5 Host" rev 0x07
ppb0 at pci0 dev 1 function 0 "Intel E5 PCIE" rev 0x07: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 2 function 0 "Intel E5 PCIE" rev 0x07: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 3 function 0 "Intel E5 PCIE" rev 0x07: msi
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 "Intel I350" rev 0x01: msi, address 00:25:90:d0:ba:00
em1 at pci3 dev 0 function 1 "Intel I350" rev 0x01: msi, address 00:25:90:d0:ba:01
ppb3 at pci0 dev 3 function 2 "Intel E5 PCIE" rev 0x07: msi
pci4 at ppb3 bus 5
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 0 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 1 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 2 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 3 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 4 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 5 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 6 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 7 not configured
"Intel E5 Address Map" rev 0x07 at pci0 dev 5 function 0 not configured
"Intel E5 Error Reporting" rev 0x07 at pci0 dev 5 function 2 not configured
"Intel E5 I/O APIC" rev 0x07 at pci0 dev 5 function 4 not configured
ppb4 at pci0 dev 17 function 0 "Intel C600 Virtual PCIE" rev 0x06
pci5 at ppb4 bus 6
vendor "Intel", unknown product 0x1d6b (class mass storage subclass SAS, rev 0x06) at pci5 dev 0 function 0 not configured
"Intel C600 MEI" rev 0x05 at pci0 dev 22 function 0 not configured
"Intel C600 MEI" rev 0x05 at pci0 dev 22 function 1 not configured
ehci0 at pci0 dev 26 function 0 "Intel C600 USB" rev 0x06: apic 0 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 28 function 0 "Intel C600 PCIE" rev 0xb6: msi
pci6 at ppb5 bus 7
em2 at pci6 dev 0 function 0 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:dc
em3 at pci6 dev 0 function 1 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:dd
em4 at pci6 dev 0 function 2 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:de
em5 at pci6 dev 0 function 3 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:df
ehci1 at pci0 dev 29 function 0 "Intel C600 USB" rev 0x06: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa6
pci7 at ppb6 bus 9
vga1 at pci7 dev 4 function 0 "Matrox MGA G200eW" rev 0x0a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel C600 LPC" rev 0x06
ahci0 at pci0 dev 31 function 2 "Intel C600 AHCI" rev 0x06: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Corsair Force GT, 5.06> SCSI3 0/direct fixed naa.0000000000000000
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
sd1 at scsibus0 targ 1 lun 0: <ATA, Corsair Force GT, 5.07> SCSI3 0/direct fixed naa.0000000000000000
sd1: 114473MB, 512 bytes/sector, 234441648 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel C600 SMBus" rev 0x06: apic 0 int 18
iic0 at ichiic0
lm1 at iic0 addr 0x2c: W83627DHG
iic0: addr 0x4c 04=01 44=01 84=01 c0=03 c1=01 c4=01 c6=01 ca=01 cb=01 cc=01 cd=02 cf=01 d1=02 d4=07 da=0f db=02 dd=01 de=03 words 00=ffff 01=ffff 02=ffff 03=ffff 04=01ff 05=ffff 06=ffff 07=ffff
"Intel C600 Thermal" rev 0x06 at pci0 dev 31 function 6 not configured
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm2 at wbsio0 port 0xa30/8: NCT6776F
pci8 at mainbus0 bus 255
vendor "Intel", unknown product 0x3c80 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 0 not configured
vendor "Intel", unknown product 0x3c83 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 3 not configured
vendor "Intel", unknown product 0x3c84 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 4 not configured
vendor "Intel", unknown product 0x3c90 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 0 not configured
vendor "Intel", unknown product 0x3c93 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 3 not configured
vendor "Intel", unknown product 0x3c94 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 4 not configured
vendor "Intel", unknown product 0x3cc0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 0 not configured
vendor "Intel", unknown product 0x3cc1 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 1 not configured
vendor "Intel", unknown product 0x3cc2 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 2 not configured
vendor "Intel", unknown product 0x3cd0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 3 not configured
vendor "Intel", unknown product 0x3ce0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 11 function 0 not configured
vendor "Intel", unknown product 0x3ce3 (class system subclass miscellaneous, rev 0x07) at pci8 dev 11 function 3 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 0 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 1 not configured
vendor "Intel", unknown product 0x3cf4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 6 not configured
vendor "Intel", unknown product 0x3cf6 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 7 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 0 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 1 not configured
vendor "Intel", unknown product 0x3cf5 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 6 not configured
vendor "Intel", unknown product 0x3ca0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 14 function 0 not configured
vendor "Intel", unknown product 0x3c46 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 14 function 1 not configured
vendor "Intel", unknown product 0x3ca8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 0 not configured
vendor "Intel", unknown product 0x3c71 (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 1 not configured
vendor "Intel", unknown product 0x3caa (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 2 not configured
vendor "Intel", unknown product 0x3cab (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 3 not configured
vendor "Intel", unknown product 0x3cac (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 4 not configured
vendor "Intel", unknown product 0x3cad (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 5 not configured
vendor "Intel", unknown product 0x3cae (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 6 not configured
vendor "Intel", unknown product 0x3cb0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 0 not configured
vendor "Intel", unknown product 0x3cb1 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 1 not configured
vendor "Intel", unknown product 0x3cb2 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 2 not configured
vendor "Intel", unknown product 0x3cb3 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 3 not configured
vendor "Intel", unknown product 0x3cb4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 4 not configured
vendor "Intel", unknown product 0x3cb5 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 5 not configured
vendor "Intel", unknown product 0x3cb6 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 6 not configured
vendor "Intel", unknown product 0x3cb7 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 7 not configured
vendor "Intel", unknown product 0x3cb8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 17 function 0 not configured
vendor "Intel", unknown product 0x3ce4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 19 function 0 not configured
vendor "Intel", unknown product 0x3c43 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 1 not configured
vendor "Intel", unknown product 0x3ce6 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 4 not configured
vendor "Intel", unknown product 0x3c44 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 5 not configured
vendor "Intel", unknown product 0x3c45 (class system subclass miscellaneous, rev 0x07) at pci8 dev 19 function 6 not configured
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub2 port 1 configuration 1 interface 0 "Raptor Gaming product 0x0103" rev 1.10/1.00 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub2 port 1 configuration 1 interface 1 "Raptor Gaming product 0x0103" rev 1.10/1.00 addr 3
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (21839269a8d9cf71.a) swap on sd0b dump on sd0b
pppoe0: received unexpected PADO
pppoe0: host unique tag found, but it belongs to a connection in state 3
pppoe: received PADO but could not find request for it
arp info overwritten for 192.168.0.94 by 44:6d:57:6d:f1:a2 on vlan2
arp info overwritten for 192.168.0.94 by 80:1f:02:86:d8:bd on vlan2
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
uhid0 detached
uhid1 detached
uhidev1 detached
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: host unique tag found, but it belongs to a connection in state 3
pppoe: received PADO but could not find request for it
syncing disks... done
rebooting...
OpenBSD 5.4-current (GENERIC.MP) #73: Tue Oct 15 00:08:48 MDT 2013
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8537219072 (8141MB)
avail mem = 8301834240 (7917MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec640 (117 entries)
bios0: vendor American Megatrends Inc. version "3.0" date 07/05/2013
bios0: Supermicro X9SRE/X9SRE-3F/X9SRi/X9SRi-3F
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC FPDT HPET PRAD SSDT SPCR EINJ ERST HEST BERT DMAR MCFG
acpi0: wakeup devices PS2K(S4) PS2M(S4) P0P9(S1) EUSB(S4) USBE(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) PEX6(S4) NPE2(S4) NPE4(S4) NPE5(S4) PXHA(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.46 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.01 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.01 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.01 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0x80000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 9 (P0P9)
acpiprt2 at acpi0: bus 7 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus -1 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpiprt8 at acpi0: bus -1 (PEX6)
acpiprt9 at acpi0: bus 6 (P0PA)
acpiprt10 at acpi0: bus -1 (NPE2)
acpiprt11 at acpi0: bus -1 (NPE5)
acpiprt12 at acpi0: bus -1 (PXHA)
acpiprt13 at acpi0: bus -1 (PXHB)
acpiprt14 at acpi0: bus 1 (NPE1)
acpiprt15 at acpi0: bus 2 (NPE3)
acpiprt16 at acpi0: bus 3 (NPE7)
acpiprt17 at acpi0: bus 5 (NPE9)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 3600 MHz: speeds: 3601, 3600, 3400, 3300, 3100, 2900, 2700, 2600, 2400, 2200, 2100, 1900, 1700, 1500, 1400, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel E5 Host" rev 0x07
ppb0 at pci0 dev 1 function 0 "Intel E5 PCIE" rev 0x07: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 2 function 0 "Intel E5 PCIE" rev 0x07: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 3 function 0 "Intel E5 PCIE" rev 0x07: msi
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 "Intel I350" rev 0x01: msi, address 00:25:90:d0:ba:00
em1 at pci3 dev 0 function 1 "Intel I350" rev 0x01: msi, address 00:25:90:d0:ba:01
ppb3 at pci0 dev 3 function 2 "Intel E5 PCIE" rev 0x07: msi
pci4 at ppb3 bus 5
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 0 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 1 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 2 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 3 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 4 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 5 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 6 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 7 not configured
"Intel E5 Address Map" rev 0x07 at pci0 dev 5 function 0 not configured
"Intel E5 Error Reporting" rev 0x07 at pci0 dev 5 function 2 not configured
"Intel E5 I/O APIC" rev 0x07 at pci0 dev 5 function 4 not configured
ppb4 at pci0 dev 17 function 0 "Intel C600 Virtual PCIE" rev 0x06
pci5 at ppb4 bus 6
vendor "Intel", unknown product 0x1d6b (class mass storage subclass SAS, rev 0x06) at pci5 dev 0 function 0 not configured
"Intel C600 MEI" rev 0x05 at pci0 dev 22 function 0 not configured
"Intel C600 MEI" rev 0x05 at pci0 dev 22 function 1 not configured
ehci0 at pci0 dev 26 function 0 "Intel C600 USB" rev 0x06: apic 0 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 28 function 0 "Intel C600 PCIE" rev 0xb6: msi
pci6 at ppb5 bus 7
em2 at pci6 dev 0 function 0 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:dc
em3 at pci6 dev 0 function 1 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:dd
em4 at pci6 dev 0 function 2 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:de
em5 at pci6 dev 0 function 3 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:df
ehci1 at pci0 dev 29 function 0 "Intel C600 USB" rev 0x06: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa6
pci7 at ppb6 bus 9
vga1 at pci7 dev 4 function 0 "Matrox MGA G200eW" rev 0x0a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel C600 LPC" rev 0x06
ahci0 at pci0 dev 31 function 2 "Intel C600 AHCI" rev 0x06: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Corsair Force GT, 5.06> SCSI3 0/direct fixed naa.0000000000000000
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
sd1 at scsibus0 targ 1 lun 0: <ATA, Corsair Force GT, 5.07> SCSI3 0/direct fixed naa.0000000000000000
sd1: 114473MB, 512 bytes/sector, 234441648 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel C600 SMBus" rev 0x06: apic 0 int 18
iic0 at ichiic0
lm1 at iic0 addr 0x2c: W83627DHG
iic0: addr 0x4c 04=01 44=01 84=01 c0=03 c1=01 c4=01 c6=01 ca=01 cb=01 cc=01 cd=02 cf=01 d1=02 d4=07 da=0f db=02 dd=01 de=03 words 00=ffff 01=ffff 02=ffff 03=ffff 04=01ff 05=ffff 06=ffff 07=ffff
"Intel C600 Thermal" rev 0x06 at pci0 dev 31 function 6 not configured
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm2 at wbsio0 port 0xa30/8: NCT6776F
pci8 at mainbus0 bus 255
vendor "Intel", unknown product 0x3c80 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 0 not configured
vendor "Intel", unknown product 0x3c83 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 3 not configured
vendor "Intel", unknown product 0x3c84 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 4 not configured
vendor "Intel", unknown product 0x3c90 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 0 not configured
vendor "Intel", unknown product 0x3c93 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 3 not configured
vendor "Intel", unknown product 0x3c94 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 4 not configured
vendor "Intel", unknown product 0x3cc0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 0 not configured
vendor "Intel", unknown product 0x3cc1 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 1 not configured
vendor "Intel", unknown product 0x3cc2 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 2 not configured
vendor "Intel", unknown product 0x3cd0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 3 not configured
vendor "Intel", unknown product 0x3ce0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 11 function 0 not configured
vendor "Intel", unknown product 0x3ce3 (class system subclass miscellaneous, rev 0x07) at pci8 dev 11 function 3 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 0 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 1 not configured
vendor "Intel", unknown product 0x3cf4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 6 not configured
vendor "Intel", unknown product 0x3cf6 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 7 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 0 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 1 not configured
vendor "Intel", unknown product 0x3cf5 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 6 not configured
vendor "Intel", unknown product 0x3ca0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 14 function 0 not configured
vendor "Intel", unknown product 0x3c46 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 14 function 1 not configured
vendor "Intel", unknown product 0x3ca8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 0 not configured
vendor "Intel", unknown product 0x3c71 (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 1 not configured
vendor "Intel", unknown product 0x3caa (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 2 not configured
vendor "Intel", unknown product 0x3cab (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 3 not configured
vendor "Intel", unknown product 0x3cac (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 4 not configured
vendor "Intel", unknown product 0x3cad (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 5 not configured
vendor "Intel", unknown product 0x3cae (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 6 not configured
vendor "Intel", unknown product 0x3cb0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 0 not configured
vendor "Intel", unknown product 0x3cb1 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 1 not configured
vendor "Intel", unknown product 0x3cb2 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 2 not configured
vendor "Intel", unknown product 0x3cb3 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 3 not configured
vendor "Intel", unknown product 0x3cb4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 4 not configured
vendor "Intel", unknown product 0x3cb5 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 5 not configured
vendor "Intel", unknown product 0x3cb6 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 6 not configured
vendor "Intel", unknown product 0x3cb7 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 7 not configured
vendor "Intel", unknown product 0x3cb8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 17 function 0 not configured
vendor "Intel", unknown product 0x3ce4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 19 function 0 not configured
vendor "Intel", unknown product 0x3c43 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 1 not configured
vendor "Intel", unknown product 0x3ce6 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 4 not configured
vendor "Intel", unknown product 0x3c44 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 5 not configured
vendor "Intel", unknown product 0x3c45 (class system subclass miscellaneous, rev 0x07) at pci8 dev 19 function 6 not configured
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (21839269a8d9cf71.a) swap on sd0b dump on sd0b
pppoe0: received unexpected PADO
pppoe0: host unique tag found, but it belongs to a connection in state 3
pppoe: received PADO but could not find request for it
syncing disks... done
rebooting...
OpenBSD 5.4-current (GENERIC.MP) #73: Tue Oct 15 00:08:48 MDT 2013
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8537219072 (8141MB)
avail mem = 8301834240 (7917MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec640 (117 entries)
bios0: vendor American Megatrends Inc. version "3.0" date 07/05/2013
bios0: Supermicro X9SRE/X9SRE-3F/X9SRi/X9SRi-3F
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC FPDT HPET PRAD SSDT SPCR EINJ ERST HEST BERT DMAR MCFG
acpi0: wakeup devices PS2K(S4) PS2M(S4) P0P9(S1) EUSB(S4) USBE(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) PEX6(S4) NPE2(S4) NPE4(S4) NPE5(S4) PXHA(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.57 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.01 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.01 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 3600.01 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0x80000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 9 (P0P9)
acpiprt2 at acpi0: bus 7 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus -1 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpiprt8 at acpi0: bus -1 (PEX6)
acpiprt9 at acpi0: bus 6 (P0PA)
acpiprt10 at acpi0: bus -1 (NPE2)
acpiprt11 at acpi0: bus -1 (NPE5)
acpiprt12 at acpi0: bus -1 (PXHA)
acpiprt13 at acpi0: bus -1 (PXHB)
acpiprt14 at acpi0: bus 1 (NPE1)
acpiprt15 at acpi0: bus 2 (NPE3)
acpiprt16 at acpi0: bus 3 (NPE7)
acpiprt17 at acpi0: bus 5 (NPE9)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 3600 MHz: speeds: 3601, 3600, 3400, 3300, 3100, 2900, 2700, 2600, 2400, 2200, 2100, 1900, 1700, 1500, 1400, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel E5 Host" rev 0x07
ppb0 at pci0 dev 1 function 0 "Intel E5 PCIE" rev 0x07: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 2 function 0 "Intel E5 PCIE" rev 0x07: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 3 function 0 "Intel E5 PCIE" rev 0x07: msi
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 "Intel I350" rev 0x01: msi, address 00:25:90:d0:ba:00
em1 at pci3 dev 0 function 1 "Intel I350" rev 0x01: msi, address 00:25:90:d0:ba:01
ppb3 at pci0 dev 3 function 2 "Intel E5 PCIE" rev 0x07: msi
pci4 at ppb3 bus 5
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 0 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 1 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 2 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 3 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 4 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 5 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 6 not configured
"Intel E5 DMA" rev 0x07 at pci0 dev 4 function 7 not configured
"Intel E5 Address Map" rev 0x07 at pci0 dev 5 function 0 not configured
"Intel E5 Error Reporting" rev 0x07 at pci0 dev 5 function 2 not configured
"Intel E5 I/O APIC" rev 0x07 at pci0 dev 5 function 4 not configured
ppb4 at pci0 dev 17 function 0 "Intel C600 Virtual PCIE" rev 0x06
pci5 at ppb4 bus 6
vendor "Intel", unknown product 0x1d6b (class mass storage subclass SAS, rev 0x06) at pci5 dev 0 function 0 not configured
"Intel C600 MEI" rev 0x05 at pci0 dev 22 function 0 not configured
"Intel C600 MEI" rev 0x05 at pci0 dev 22 function 1 not configured
ehci0 at pci0 dev 26 function 0 "Intel C600 USB" rev 0x06: apic 0 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 28 function 0 "Intel C600 PCIE" rev 0xb6: msi
pci6 at ppb5 bus 7
em2 at pci6 dev 0 function 0 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:dc
em3 at pci6 dev 0 function 1 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:dd
em4 at pci6 dev 0 function 2 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:de
em5 at pci6 dev 0 function 3 "Intel I350" rev 0x01: msi, address 00:25:90:c9:62:df
ehci1 at pci0 dev 29 function 0 "Intel C600 USB" rev 0x06: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa6
pci7 at ppb6 bus 9
vga1 at pci7 dev 4 function 0 "Matrox MGA G200eW" rev 0x0a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel C600 LPC" rev 0x06
ahci0 at pci0 dev 31 function 2 "Intel C600 AHCI" rev 0x06: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Corsair Force GT, 5.06> SCSI3 0/direct fixed naa.0000000000000000
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
sd1 at scsibus0 targ 1 lun 0: <ATA, Corsair Force GT, 5.07> SCSI3 0/direct fixed naa.0000000000000000
sd1: 114473MB, 512 bytes/sector, 234441648 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel C600 SMBus" rev 0x06: apic 0 int 18
iic0 at ichiic0
lm1 at iic0 addr 0x2c: W83627DHG
iic0: addr 0x4c 04=01 44=01 84=01 c0=03 c1=01 c4=01 c6=01 ca=01 cb=01 cc=01 cd=02 cf=01 d1=02 d4=07 da=0f db=02 dd=01 de=03 words 00=ffff 01=ffff 02=ffff 03=ffff 04=01ff 05=ffff 06=ffff 07=ffff
"Intel C600 Thermal" rev 0x06 at pci0 dev 31 function 6 not configured
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm2 at wbsio0 port 0xa30/8: NCT6776F
pci8 at mainbus0 bus 255
vendor "Intel", unknown product 0x3c80 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 0 not configured
vendor "Intel", unknown product 0x3c83 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 3 not configured
vendor "Intel", unknown product 0x3c84 (class system subclass miscellaneous, rev 0x07) at pci8 dev 8 function 4 not configured
vendor "Intel", unknown product 0x3c90 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 0 not configured
vendor "Intel", unknown product 0x3c93 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 3 not configured
vendor "Intel", unknown product 0x3c94 (class system subclass miscellaneous, rev 0x07) at pci8 dev 9 function 4 not configured
vendor "Intel", unknown product 0x3cc0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 0 not configured
vendor "Intel", unknown product 0x3cc1 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 1 not configured
vendor "Intel", unknown product 0x3cc2 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 2 not configured
vendor "Intel", unknown product 0x3cd0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 10 function 3 not configured
vendor "Intel", unknown product 0x3ce0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 11 function 0 not configured
vendor "Intel", unknown product 0x3ce3 (class system subclass miscellaneous, rev 0x07) at pci8 dev 11 function 3 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 0 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 1 not configured
vendor "Intel", unknown product 0x3cf4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 6 not configured
vendor "Intel", unknown product 0x3cf6 (class system subclass miscellaneous, rev 0x07) at pci8 dev 12 function 7 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 0 not configured
vendor "Intel", unknown product 0x3ce8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 1 not configured
vendor "Intel", unknown product 0x3cf5 (class system subclass miscellaneous, rev 0x07) at pci8 dev 13 function 6 not configured
vendor "Intel", unknown product 0x3ca0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 14 function 0 not configured
vendor "Intel", unknown product 0x3c46 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 14 function 1 not configured
vendor "Intel", unknown product 0x3ca8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 0 not configured
vendor "Intel", unknown product 0x3c71 (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 1 not configured
vendor "Intel", unknown product 0x3caa (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 2 not configured
vendor "Intel", unknown product 0x3cab (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 3 not configured
vendor "Intel", unknown product 0x3cac (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 4 not configured
vendor "Intel", unknown product 0x3cad (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 5 not configured
vendor "Intel", unknown product 0x3cae (class system subclass miscellaneous, rev 0x07) at pci8 dev 15 function 6 not configured
vendor "Intel", unknown product 0x3cb0 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 0 not configured
vendor "Intel", unknown product 0x3cb1 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 1 not configured
vendor "Intel", unknown product 0x3cb2 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 2 not configured
vendor "Intel", unknown product 0x3cb3 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 3 not configured
vendor "Intel", unknown product 0x3cb4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 4 not configured
vendor "Intel", unknown product 0x3cb5 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 5 not configured
vendor "Intel", unknown product 0x3cb6 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 6 not configured
vendor "Intel", unknown product 0x3cb7 (class system subclass miscellaneous, rev 0x07) at pci8 dev 16 function 7 not configured
vendor "Intel", unknown product 0x3cb8 (class system subclass miscellaneous, rev 0x07) at pci8 dev 17 function 0 not configured
vendor "Intel", unknown product 0x3ce4 (class system subclass miscellaneous, rev 0x07) at pci8 dev 19 function 0 not configured
vendor "Intel", unknown product 0x3c43 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 1 not configured
vendor "Intel", unknown product 0x3ce6 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 4 not configured
vendor "Intel", unknown product 0x3c44 (class DASP subclass Time and Frequency, rev 0x07) at pci8 dev 19 function 5 not configured
vendor "Intel", unknown product 0x3c45 (class system subclass miscellaneous, rev 0x07) at pci8 dev 19 function 6 not configured
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (21839269a8d9cf71.a) swap on sd0b dump on sd0b
pppoe0: received unexpected PADO
pppoe0: host unique tag found, but it belongs to a connection in state 3
pppoe: received PADO but could not find request for it
Reply With Quote
  #4   (View Single Post)  
Old 28th March 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

You have an lm(4) fan sensor, connected via an iic(4) bus.
Code:
lm1 at iic0 addr 0x2c: W83627DHG
Going back up the tree, this is interconnected via pci0, and is apparently using the pcixpm(4) driver to connect to the Intel SB600.

Looking through the CVS repository:
  • There have been no apparent changes to lm driver modules since your October 15 kernel build, though I may have missed something when doing a quick search just now.
  • There were no changes to any underlying i2c modules (sys/dev/i2c/*) during this same time period.
  • sys/dev/pci/piixpm.c was last updated October 1, which was prior to your kernel build.
Recommendation:

Try a recent snapshot; my quick search may have missed a patch which affects your fan control path. (Plus, a recent snapshot is recommended prior to submitting any problem report.) Refer to the Following -current FAQ for awareness of structural changes since October. sysmerge(8) will automate most of these.

If your problem remains unresolved, I recommend that you submit an informal problem report to misc@, or a formal problem report to bugs@.

Last edited by jggimi; 28th March 2014 at 02:02 PM. Reason: typo
Reply With Quote
  #5   (View Single Post)  
Old 28th March 2014
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default

Many thanks for the advice!! I really appreciate it.


I think the first I need to do is figure out how to update the snapshot, it's quite different from FreeBSD as that's what I'm used to so I'll need to do some research first.

Currently looking at this:

https://www.google.co.uk/url?sa=t&rc...63808443,d.ZG4


http://openbsd.das.ufsc.br/anoncvs.html


Not sure if there's a way to "not build from src" but have to read more to figure that one out.
Reply With Quote
  #6   (View Single Post)  
Old 28th March 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

How to upgrade:
  1. Backup your system.
  2. Download http://<your nearest mirror>/pub/OpenBSD/snapshots/amd64/bsd.rd and insert in your root directory
  3. Reboot, and type "bsd.rd" at the "boot>" prompt
  4. Type "u" to select [u]pgrade, and press the Enter key.
  5. Follow the prompts to upgrade your OS.
  6. Reboot, then run sysmerge(8) to complete your upgrade, pointing at http://<your nearest mirror>/pub/OpenBSD/snapshots/amd64/etc55.tgz and http://<your nearest mirror>/pub/OpenBSD/snapshots/amd64/xetc55.tgz.
  7. Manually complete any changes not implemented by sysmerge, such as removal of old files.
  8. Upgrade third party packages with pkg_add(1). You will find the "-u" option extremely helpful.
  9. Manually build any ports which fail package upgrades due to being out of sync.

Last edited by jggimi; 28th March 2014 at 03:02 PM. Reason: clarity
Reply With Quote
  #7   (View Single Post)  
Old 28th March 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

I should point out that step 8 (package update) and step 9 (package build if necessary) are entirely optional, as the upgrade script will not remove any dependent libraries.

And pkg_add(1) will not remove any third party libraries that an installed package might depend upon, either. If there are two versions of a third party library needed, the older library metadata gets moved into a .lib* structure under /var/db/pkg. Removal of these older versions is (mostly) automatic when they are no longer needed.

Last edited by jggimi; 28th March 2014 at 03:17 PM. Reason: clarity
Reply With Quote
  #8   (View Single Post)  
Old 28th March 2014
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default

Thanks so much! :-)

I did find this in the meantime:

http://bsdly.blogspot.co.uk/2012/07/...m-in-trim.html

though I trust your steps more as they are more relevant.....
Reply With Quote
  #9   (View Single Post)  
Old 28th March 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

You should always trust Peter Hansteen before you trust anything I write.

He's a much better (and professional) writer, he's far more knowledgeable about the BSDs, and he's nicer to newbies than I am.
Reply With Quote
Old 28th March 2014
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Quote:
Manually complete any changes not implemented by sysmerge, such as removal of old files.
The first time I ran sysmerge I was ignorant regarding scrolling through the options. Do not use the enter key to scroll through the text. Use the space bar to arrive at the bottom of the proposed file changes and then select the option to replace, ignore or merge the changes.
Reply With Quote
Old 28th March 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Good point. The sysmerge(8) tool depends on sdiff(1) and knowledge of (or a little practice with) sdiff is helpful.
Reply With Quote
Old 3rd April 2014
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default

Thanks a lot for the above info.... I'm just going through the update process now.

It was actually quite painless though I had to restart the upgrade a few times but now all seems ok.


The only issue am having at present is rebuilding Ports....

I took the FreeBSD approach of installing everything via the ports tree instead of using pkg_add. I am not sure if there is a tool such as "portmaster" or "portupgrade" to rebuild all the installed ports?


Also another confusing thing is, out of the ports should I be building Stable or Snapshot? As my version of OpenBSD is now latest snapshot; does the Port version refer to that or is it a snapshot for the actual port itself so infact I should build Stable?

Reply With Quote
Old 3rd April 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by sparky View Post
...I took the FreeBSD approach of installing everything via the ports tree instead of using pkg_add.
That isn't recommended for this operating system, because with OpenBSD there is no operational difference between a package you install from your nearby mirror and a port you build yourself. Your ports build creates the same package. With this OS, you should need to build a port only when a package is unavailable (e.g., an unpackaged $FLAVOR, or licensing, etc.), or when an available snapshot package is out of sync for a -current system and will not install.

You can provide a complete list of installed packages to dpb(1) in pkgpath(7) format, which can be obtained from pkg_info(1). Use the -P option with pkg_info, and the -I option with dpb.
Quote:
...should I be building Stable or Snapshot?
-current. You can install "snapshot" packages which are -current, available from most mirrors. But these will never be exactly in sync with the kernel and userland, as -current is a constantly moving target. They will usually install/update without problems, but you must be prepared to manually build a few ports now and again.
Quote:
As my version of OpenBSD is now latest snapshot; does the Port version refer to that or is it a snapshot for the actual port itself so infact I should build Stable?
If you're using a snapshot, you are on -current. You should keep your ports tree -current, not -release or -stable. -stable is a patch branch, and is about 8 or 9 months behind -current at the moment.

Last edited by jggimi; 3rd April 2014 at 11:54 PM. Reason: typo, clarity.
Reply With Quote
Old 4th April 2014
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default

Many thanks for the info....

I am using -current branch of ports which I got from here:

http://www.openbsd.org/anoncvs.html


Code:
Anytime afterwards, to `update' this tree:
(If you are following current):

	# cd /usr/ports
	# cvs -q up -Pd

So I will take your advice in using pkg_add -u

Actually the above link I gave from Peter Hansteen was quite a bit of help during my upgrade. It also suggests to use:

Code:
$ sudo pkg_add -vui

As I'm not really that familiar with pkg_add in OpenBSD I will need to find out how to configure it....


From the OpenBSD FAQ:

http://www.openbsd.org/faq/faq15.html#Easy

Code:
15.2.2 - Making things easy: PKG_PATH

You can make things really easy by using the PKG_PATH environment variable. Just point it to your favorite location, and pkg_add(1) will automatically look there for any package you specify, and also fetch and install the necessary dependencies of this package automatically.

A list of possible locations to fetch packages from is given in the following section.

Example 1: fetching from your CDROM, assuming you mounted it on /mnt/cdrom

$ export PKG_PATH=/mnt/cdrom/5.4/packages/`machine -a`/
Example 2: fetching from a nearby FTP mirror

$ export PKG_PATH=ftp://your.ftp.mirror/pub/OpenBSD/5.4/packages/`machine -a`/
It's usually a good idea to add a line similar to the above examples to your ~/.profile. As with the classic PATH variable, you can specify multiple locations, separated by colons. Prior to OpenBSD 4.4, every path in the PKG_PATH variable MUST end in a slash (/). That way, pkg_add(1) can split the path correctly even if it holds URL schemes containing colons. If the first entry in PKG_PATH fails, the next one will be tried, and so on, until the package is found. If all entries fail, an error is produced.

Notice the use of machine(1) in the above command lines. This automatically substitutes your installed OpenBSD "application architecture", which is usually, but not always, your platform name. Of course, if you are using snapshots, you will replace "5.4" with "snapshots".

which I totally understand.... only issue is how to make that permanent?


OpenBSD uses the Korn shell if I'm not wrong so would putting the: "export PKG_PATH" into the .cshrc file work? Or am I mixing up with .bashrc style of things?
Reply With Quote
Old 4th April 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

ksh(1), like bash, is a bourne-based shell and uses .profile. .cshrc is used with C-based shells.

FAQ 15 will be most helpful to you as you migrate to the simpler, easier use of packages.
Reply With Quote
Old 4th April 2014
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default

Many thanks for all the great help and advice!!

Currently updating packages but used EXPORT to stdout (current shell environment) instead of permanent change... will research the rest soon.

Quote:
He's a much better (and professional) writer, he's far more knowledgeable about the BSDs, and he's nicer to newbies than I am.
Erm.... you are being extremely helpful and nice; and to someone like myself that means a lot


Also your responses in other peoples postings even help me when (G)oogling for help with something that doesn't work or I don't get.
Reply With Quote
Old 4th April 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by sparky View Post
I am using -current branch of ports...
If you happened to be using cvs(1) when you were using -release or -stable ports, if you overlayed your working /usr/ports directory tree rather than delete/recreate you may still have a -release or -stable ports tree. You can check any of the CVS directories in the tree to see if has a Tag file -- if so, the tree is not -current. To clear these tags, just run cvs update with the -A option, after which the tree will be -current.
Quote:
Erm.... you are being extremely helpful and nice; and to someone like myself that means a lot
You're quite welcome; we were all newbies once.
Reply With Quote
Old 4th April 2014
muflon muflon is offline
Fdisk Soldier
 
Join Date: Jul 2013
Location: Poland
Posts: 56
Default

Some time ago has been published a dissertation under the title: OpenBSD Hardware Sensors: Environmental Monitoring and Fan Control, by Constantine A. Murenin edition of the University of Waterloo in Ontario, Canada, 2010.

I think It can help.
Reply With Quote
Old 4th April 2014
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 405
Default

Quote:
Originally Posted by muflon View Post
Some time ago has been published a dissertation under the title: OpenBSD Hardware Sensors: Environmental Monitoring and Fan Control, by Constantine A. Murenin edition of the University of Waterloo in Ontario, Canada, 2010.

I think It can help.
Interesting, I'll have a look, thanks Muflon
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alix6e1 LED control in openbsd Sigi OpenBSD General 1 20th November 2011 08:24 PM
What is the command to control more than one processor? bmk1st OpenBSD General 1 2nd February 2010 01:33 PM
Fan control in OpenBSD Angevin OpenBSD General 6 20th November 2009 03:06 AM
cannot change anything in the KDE Control Center ccc FreeBSD General 4 18th June 2008 03:29 AM
mandatory access control (MAC) buba OpenBSD Security 3 22nd May 2008 07:25 PM


All times are GMT. The time now is 10:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick