On Thu, Feb 16, 2012 at 10:59:03AM +1100, Rod Whitworth wrote:
> Hi,
> I ran into a problem with X in a new Lenovo E320 so I put out a query
> on misc and got a rapid response from David Coppa which pointed out
> that my problem was caused by the Intel Sandy Bridge stuff. I didn't
> need to bug tech@ with that and misc answered me well enough.
> 
> Why I am posting on tech is that I went hunting for info to see what
> the state of the Intel driver is at elsewhere and whether that could
> help us.
> 
> A friend who is a Linux guru from way back told me that Linux had
> suffered from the early driver code and that, as far as he knew, it was
> now fixed. He mentioned 2.17.0 as the version that fixed heaps of bugs.
> 
> So I did two things:
> 
> I nailed a copy of the driver source tarball and I grabbed a copy of
> Fedora 16 that would run as a live cd.
> 
> I ran the Fedora on the E320 and could not get it to misbehave in any
> way banging in and out of X and cosole sessions.
> 
> I untarred the 2.17.0 sources in an isolated dir on my build machine
> and looked at the code and tried to see if any of it appeared in the
> current Xenocara code.
> 
> My eyes are gritty from looking late into the night but I didn't see
> any matching stuff.
> 
> Can one who knows tell me this:
> 
> Do we have 2.17.0 in our tree? If we do it's obvious that there are yet
> more bugs for Intel and co to fix.
> 
> If we don't have it can I help? Give me some pointers on using that
> code and merging it with existing stuff.
> 
> I have the time and the boxes to work. I'm lacking the recipe. Heck I
> can even do it on the E320 it has 4GB and 4 cores and plenty of HDD and
> it doesn't matter if it crashes.
> 
> Obligatory dmesg follows. It is Genuine Generic compiled about a week
> ago. It includes the hw.sensors because it is a copy of the one sent to
> dmesg@
> 
> =============
> OpenBSD 5.1-beta (GENERIC.MP) #5: Tue Feb  7 08:26:54 EST 2012
>     r...@nero.witworx.com:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz ("GenuineIntel"
> 686-class) 2.50 GHz
> cpu0:
> FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAI
> T,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AE
> S,XSAVE,AVX,LAHF
> real mem  = 3133054976 (2987MB)
> avail mem = 3071692800 (2929MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 11/30/11, BIOS32 rev. 0 @
> 0xfc000, SMBIOS rev. 2.6 @ 0xe0830 (71 entries)
> bios0: vendor LENOVO version "8NET32WW (1.16 )" date 12/01/2011
> bios0: LENOVO 1298CTO
> acpi0 at bios0: rev 4
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP ASF! HPET APIC MCFG SLIC SSDT SSDT UEFI UEFI
> UEFI
> acpi0: wakeup devices P0P1(S4) EHC1(S3) EHC2(S3) HDEF(S4) PXSX(S4)
> RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4)
> RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) BLAN(S4) PXSX(S4) RP07(S4) PXSX(S4)
> RP08(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEG2(S4) PEG3(S4) LID_(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 99MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz ("GenuineIntel"
> 686-class) 2.50 GHz
> cpu1:
> FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAI
> T,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AE
> S,XSAVE,AVX,LAHF
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz ("GenuineIntel"
> 686-class) 2.50 GHz
> cpu2:
> FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAI
> T,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AE
> S,XSAVE,AVX,LAHF
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz ("GenuineIntel"
> 686-class) 2.50 GHz
> cpu3:
> FPU,V86,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,SBF,NXE,LONG,SSE3,PCLMUL,MWAI
> T,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AE
> S,XSAVE,AVX,LAHF
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (P0P1)
> acpiprt2 at acpi0: bus 1 (RP01)
> acpiprt3 at acpi0: bus 2 (RP02)
> acpiprt4 at acpi0: bus 3 (RP03)
> acpiprt5 at acpi0: bus -1 (RP04)
> acpiprt6 at acpi0: bus -1 (RP05)
> acpiprt7 at acpi0: bus 8 (RP06)
> acpiprt8 at acpi0: bus -1 (RP07)
> acpiprt9 at acpi0: bus -1 (RP08)
> acpiprt10 at acpi0: bus -1 (PEG0)
> acpiprt11 at acpi0: bus -1 (PEG1)
> acpiprt12 at acpi0: bus -1 (PEG2)
> acpiprt13 at acpi0: bus -1 (PEG3)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2, C1, PSS
> acpicpu1 at acpi0: C2, C1, PSS
> acpicpu2 at acpi0: C2, C1, PSS
> acpicpu3 at acpi0: C2, C1, PSS
> acpitz0 at acpi0: critical temperature is 100 degC
> acpithinkpad0 at acpi0
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT1 model "42T4951" serial 10775 type LION oem
> "LGC"
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: PWRB
> bios0: ROM list: 0xc0000/0xee00
> cpu0: Enhanced SpeedStep 2495 MHz: speeds: 2501, 2500, 2000, 1800,
> 1600, 1400, 1200, 1000, 800 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
> vga1 at pci0 dev 2 function 0 "Intel GT2+ Video" rev 0x09
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
> inteldrm0 at vga1: apic 2 int 16
> drm0 at inteldrm0
> "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2
> int 16
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04:
> msi
> azalia0: codecs: Conexant/0x506e, Intel/0x2805, using Conexant/0x506e
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: apic 2
> int 16
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: apic 2
> int 17
> pci2 at ppb1 bus 2
> iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 1000" rev 0x00: msi,
> MIMO 1T2R, BGS, address 74:e5:0b:a1:93:90
> ppb2 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb4: apic 2
> int 18
> pci3 at ppb2 bus 3
> "Realtek RTS5209 Card Reader" rev 0x01 at pci3 dev 0 function 0 not
> configured
> sdhc0 at pci3 dev 0 function 1 "Realtek RTS5209 Card Reader" rev 0x01:
> apic 2 int 19
> sdmmc0 at sdhc0
> ppb3 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb4: apic 2
> int 17
> pci4 at ppb3 bus 8
> alc0 at pci4 dev 0 function 0 "Attansic Technology L1D" rev 0xc0: msi,
> address 04:7d:7b:3e:a5:8e
> atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 0
> ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2
> int 23
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 "Intel HM65 LPC" rev 0x04
> ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x04: msi,
> AHCI 1.3
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0:<ATA, HITACHI HTS54505, GG2Z>  SCSI3
> 0/direct fixed naa.5000cca654d97545
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x04: apic
> 2 int 18
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> isa0 at pcib0
> isadma0 at isa0
> 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
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> wsmouse1 at pms0 mux 0
> pms0: Synaptics clickpad, firmware 8.0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> mtrr: Pentium Pro MTRR support
> 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 (73c6b3fd71f7be64.a) swap on sd0b dump on sd0b
> hw.sensors.acpitz0.temp0=48.00 degC (zone temperature)
> hw.sensors.acpithinkpad0.temp0=48.00 degC
> hw.sensors.acpithinkpad0.temp1=0.00 degC
> hw.sensors.acpithinkpad0.temp2=41.00 degC
> hw.sensors.acpithinkpad0.temp3=7.00 degC
> hw.sensors.acpithinkpad0.temp4=0.00 degC
> hw.sensors.acpithinkpad0.temp5=55.00 degC
> hw.sensors.acpithinkpad0.temp6=26.00 degC
> hw.sensors.acpithinkpad0.temp7=55.00 degC
> hw.sensors.acpithinkpad0.fan0=830 RPM
> hw.sensors.acpiac0.indicator0=On (power supply)
> hw.sensors.acpibat0.volt0=11.10 VDC (voltage)
> hw.sensors.acpibat0.volt1=12.84 VDC (current voltage)
> hw.sensors.acpibat0.power0=15.03 W (rate)
> hw.sensors.acpibat0.watthour0=62.15 Wh (last full capacity)
> hw.sensors.acpibat0.watthour1=3.11 Wh (warning capacity)
> hw.sensors.acpibat0.watthour2=0.62 Wh (low capacity)
> hw.sensors.acpibat0.watthour3=59.08 Wh (remaining capacity), OK
> hw.sensors.acpibat0.raw0=2 (battery charging), OK
> hw.sensors.cpu0.temp0=38.00 degC 
> ========
> 
> *** NOTE *** Please DO NOT CC me. I <am> subscribed to the list.
> Mail to the sender address that does not originate at the list server is 
> tarpitted. The reply-to: address is provided for those who feel compelled to 
> reply off list. Thankyou.
> 
> Rod/
> ---
> This life is not the real thing.
> It is not even in Beta.
> If it was, then OpenBSD would already have a man page for it.
> 

Intel drivers later than 2.10 are KMS only, which OpenBSD does not support.
The version in tree, based from CVS logs, is 2.9.1 with various backports
added from later versions, and some one-off work done to support the
later Intel chips in UMS.

-ml

Reply via email to