Re: hang at syncing disks... done

2014-08-25 Thread Clint Pachl

Marko Cupać wrote, On 08/21/14 15:32:

On 21-08-2014 11:38, Marko Cupać wrote:

I have just installed OpenBSD 5.5 on my ThinkPad T440. At first
glance everything seems to work OK, except for the fact that, when
shutting down or restarting, system hangs at 'hang at syncing
disks... done'.

This could be possibly due to my questionable decision not to create
swap partition. Once I reinstalled, with swap partition this time, the
problem went away.


I'm not convinced. I never create swap partitions on my Thinkpads (T61, 
T410) and they never hang at shutdown (or `halt -p`). These laptops have 
been running the release version since at least 5.0.


Also, I never touch my rc.shutdown.

I'm wondering if your disk is failing?



hang at syncing disks... done

2014-08-21 Thread Marko Cupać
Hi,

I have just installed OpenBSD 5.5 on my ThinkPad T440. At first glance
everything seems to work OK, except for the fact that, when shutting
down or restarting, system hangs at 'hang at syncing disks... done'.

I need to hold power button in order to power it off. Disks are clean
on next boot, no need for fsck. Any idea how to fix this? Thank you in
advance.

pacija@efreet:~ $ dmesg 
OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar  5 09:37:46 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8246038528 (7864MB)
avail mem = 8017915904 (7646MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdcd3d000 (59 entries)
bios0: vendor LENOVO version GJET77WW (2.27 ) date 05/20/2014
bios0: LENOVO 20B6005RUS
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 TCPA UEFI MSDM ASF! BATB FPDT UEFI 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) i5-4300U CPU @ 1.90GHz, 1796.13 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
cpu0: 256KB 64b/line 8-way L2 cache
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, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz, 1795.84 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
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-4300U CPU @ 1.90GHz, 1795.84 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
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-4300U CPU @ 1.90GHz, 1795.84 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
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 -1 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, 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
acpibat0 at acpi0: BAT0 model 45N1109 serial 32908 type LION oem SANYO
acpibat1 at acpi0: BAT1 model 45N1125 serial 29922 type LION oem SANYO
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 1796 MHz: speeds: 2501, 2500, 2400, 2200, 2100, 1900, 
1800, 1700, 1600, 1500, 1300, 1200, 1100, 1000, 800, 775 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 4G Host rev 0x0b
vga1 at pci0 dev 2 function 0 Intel HD Graphics rev 0x0b
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 10
error: [drm:pid0:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle 
patterns
error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation

Re: hang at syncing disks... done

2014-08-21 Thread David Dahlberg
Am Donnerstag, den 21.08.2014, 16:38 +0200 schrieb Marko Cupać:

 I have just installed OpenBSD 5.5 on my ThinkPad T440. At first glance
 everything seems to work OK, except for the fact that, when shutting
 down or restarting, system hangs at 'hang at syncing disks... done'.

vi /etc/rc.shutdown

-dd

-- 
David Dahlberg 

Fraunhofer FKIE, Dept. Communication Systems (KOM) | Tel: +49-228-9435-845
Fraunhoferstr. 20, 53343 Wachtberg, Germany| Fax: +49-228-856277



Re: hang at syncing disks... done

2014-08-21 Thread Marko Cupać
On Thu, 21 Aug 2014 14:45:42 +
David Dahlberg david.dahlb...@fkie.fraunhofer.de wrote:

 Am Donnerstag, den 21.08.2014, 16:38 +0200 schrieb Marko Cupać:
 
  I have just installed OpenBSD 5.5 on my ThinkPad T440. At first
  glance everything seems to work OK, except for the fact that, when
  shutting down or restarting, system hangs at 'hang at syncing
  disks... done'.
 
 vi /etc/rc.shutdown
 
 -dd
 

I changed the line, so now it reads:

powerdown=YES   # set to YES for powerdown

However, laptop still does not power off.

Any other ideas?

-- 
Marko Cupać



Re: hang at syncing disks... done

2014-08-21 Thread Giancarlo Razzolini
On 21-08-2014 11:38, Marko Cupać wrote:
 I have just installed OpenBSD 5.5 on my ThinkPad T440. At first glance
 everything seems to work OK, except for the fact that, when shutting
 down or restarting, system hangs at 'hang at syncing disks... done'.
I had this problem, a long time ago when using screen (now we have
tmux). If I had any screen process running, it would hang on syncing
disks. I had to put a pkill -9 -f screen on the /etc/rc.shutdown script,
to kill any screen process. I've tried to trace the problem to it's
origin, but at the time I was beginning to use OpenBSD, so I lacked the
skills. And, since I've switched to tmux and it does not happen anymore,
I just didn't went after the cause. Perhaps you're facing a similar issue.

Cheers,

--
Giancarlo Razzolini
GPG: 4096R/77B981BC

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]



Re: hang at syncing disks... done

2014-08-21 Thread Marko Cupać
On 21-08-2014 11:38, Marko Cupać wrote:
 I have just installed OpenBSD 5.5 on my ThinkPad T440. At first
 glance everything seems to work OK, except for the fact that, when
 shutting down or restarting, system hangs at 'hang at syncing
 disks... done'.

This could be possibly due to my questionable decision not to create
swap partition. Once I reinstalled, with swap partition this time, the
problem went away.

-- 
Marko Cupać