Re: Random freeze with Thinkpad R400 (7UET46WW)

2013-10-21 Thread Juan Francisco Cantero Hurtado
On Sun, Oct 20, 2013 at 05:32:03PM +0200, Antoine Jacoutot wrote:
> On Sun, Oct 20, 2013 at 02:56:52PM +0100, Stuart Henderson wrote:
> > On 2013/10/20 15:36, BESSOT Jean-Michel wrote:
> > > Hello
> > > 
> > > There is some freeze on Thinkpad R400 in current and they do seem
> > > random. It runs well for hours or, sometimes, it just freeze in the
> > > first hour after a boot or a resume. I have no Idea on how to trigger it
> > > at will.
> > 
> > Do you use apmd, especially with any auto-speed-changing flags? If so,
> > try disabling it - either run it with no flags, or don't run it completely -
> > one or other of these has fixed hangs for several people.
> 
> Don't run it at all. It will not fix your hangs but migitate them by a huge 
> amount.
> 

I only see hangs with GENERIC.MP. I've no problems with GENERIC. Maybe
this helps to other users.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: Random freeze with Thinkpad R400 (7UET46WW)

2013-10-20 Thread Antoine Jacoutot
On Sun, Oct 20, 2013 at 02:56:52PM +0100, Stuart Henderson wrote:
> On 2013/10/20 15:36, BESSOT Jean-Michel wrote:
> > Hello
> > 
> > There is some freeze on Thinkpad R400 in current and they do seem
> > random. It runs well for hours or, sometimes, it just freeze in the
> > first hour after a boot or a resume. I have no Idea on how to trigger it
> > at will.
> 
> Do you use apmd, especially with any auto-speed-changing flags? If so,
> try disabling it - either run it with no flags, or don't run it completely -
> one or other of these has fixed hangs for several people.

Don't run it at all. It will not fix your hangs but migitate them by a huge 
amount.

-- 
Antoine



Re: Random freeze with Thinkpad R400 (7UET46WW)

2013-10-20 Thread Stuart Henderson
On 2013/10/20 15:36, BESSOT Jean-Michel wrote:
> Hello
> 
> There is some freeze on Thinkpad R400 in current and they do seem
> random. It runs well for hours or, sometimes, it just freeze in the
> first hour after a boot or a resume. I have no Idea on how to trigger it
> at will.

Do you use apmd, especially with any auto-speed-changing flags? If so,
try disabling it - either run it with no flags, or don't run it completely -
one or other of these has fixed hangs for several people.



Random freeze with Thinkpad R400 (7UET46WW)

2013-10-20 Thread BESSOT Jean-Michel
Hello

There is some freeze on Thinkpad R400 in current and they do seem
random. It runs well for hours or, sometimes, it just freeze in the
first hour after a boot or a resume. I have no Idea on how to trigger it
at will.

After the boot with KMS enabled and kern.bufcachepercent set to 90, I 
log with xdm which run spectrwm. After that, I usually use text programs
in an uxterm and xombrero. 

Bye

dmesg:
OpenBSD 5.4-current (GENERIC.MP) #73: Tue Oct 15 00:08:48 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2054885376 (1959MB)
avail mem = 1992122368 (1899MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (74 entries)
bios0: vendor LENOVO version "7UET46WW (1.16 )" date 09/24/2008
bios0: LENOVO 7443C4G
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) 
USB4(S3) USB5(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz, 798.12 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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz, 798.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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
cpu1: 2MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T5264" serial  2193 type LION oem "Panasonic"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 798 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1280x800
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, address 
00:21:86:a0:47:1b
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23
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 82801I HD Audio" rev 0x03: msi
azalia0: codecs: Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: msi, MIMO 1T2R, 
MoW, address 00:21:5d:97:9a:d6
ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: msi
pci3 at ppb2 bus 5
ppb3 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: msi
pci4 at ppb3 bus 13
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 19
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 functio