Re: X dies after suspend to ram

2014-09-30 Thread Ted W.

On 09/28/14 09:11, Mike Larkin wrote:

On Thu, Sep 25, 2014 at 12:12:55PM -0400, Ted W. wrote:

I have really enjoyed the last few weeks of running OpenBSD on my
Thinkpad. Almost everything I need works and or worked right out of
the box. The only real issue I've noticed is that when the system
returns from suspend and press ctrl-alt-del to restart X either X or
SLiM (not sure which) will not come back up. To work around this
issue, I switch to TTY2, log in as root and run `/etc/rc.d/slim
restart`. I've tried suspending with and without using slock first
and the behavior stays the same.

Any input on the matter would be appreciated,

--
Ted W. t...@xy0.org



No dmesg, no help.



Thank you for letting me know. I was not sure what would be helpful 
information to provide here. I have included the dmesg output below. I 
have also included Xorg.0.log in case that's helpful. I'm happy to 
provide any other information that would be useful.


==
# dmesg
: bus 6 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 Intel 82801HEM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 Intel 82801HBM AHCI rev 0x03: msi, 
AHCI 1.1

scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, ST500LM000-1EJ16, DEM4 SCSI3 
0/direct fixed naa.5000c5006a47abd7

sd0: 476940MB, 512 bytes/sector, 976773168 sectors
ichiic0 at pci0 dev 31 function 3 Intel 82801H SMBus rev 0x03: apic 1 
int 23

iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 Intel UHCI root hub rev 1.00/1.00 addr 1
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
ugen0 at uhub2 port 2 STMicroelectronics Biometric Coprocessor rev 
1.00/0.01 addr 2

vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (5d6cdf996da41425.a) swap on sd0b dump on sd0b
ugen0 detached
ugen0 at uhub2 port 2 STMicroelectronics Biometric Coprocessor rev 
1.00/0.01 addr 2

iwn0: fatal firmware error
firmware error log:
  error type  = NMI_INTERRUPT_WDG (0x0004)
  program counter = 0x046C
  source line = 0x00D0
  error data  = 0x00020263
  branch link = 0x4B0C04C2
  interrupt link  = 0x06DE4B22
  time= 2978746026
driver status:
  tx ring  0: qid=0  cur=187 queued=0
  tx ring  1: qid=1  cur=0   queued=0
  tx ring  2: qid=2  cur=0   queued=0
  tx ring  3: qid=3  cur=0   queued=0
  tx ring  4: qid=4  cur=26  queued=0
  tx ring  5: qid=5  cur=0   queued=0
  tx ring  6: qid=6  cur=0   queued=0
  tx ring  7: qid=7  cur=0   queued=0
  tx ring  8: qid=8  cur=0   queued=0
  tx ring  9: qid=9  cur=0   queued=0
  tx ring 10: qid=10 cur=0   queued=0
  tx ring 11: qid=11 cur=0   queued=0
  tx ring 12: qid=12 cur=0   queued=0
  tx ring 13: qid=13 cur=0   queued=0
  tx ring 14: qid=14 cur=0   queued=0
  tx ring 15: qid=15 cur=0   queued=0
  rx ring: cur=40
  802.11 state 4
iwn0: fatal firmware error
firmware error log:
  error type  = NMI_INTERRUPT_WDG (0x0004)
  program counter = 0x046C
  source line = 0x00D0
  error data  = 0x00020263
  branch link = 0x4B0C04C2
  interrupt link  = 0x06DE4B22
  time= 2503288226
driver status:
  tx ring  0: qid=0  cur=127 queued=1
  tx ring  1: qid=1  cur=0   queued=0
  tx ring  2: qid=2  cur=0   queued=0
  tx ring  3: qid=3  cur=0   queued=0
  tx ring  4: qid=4  cur=225 queued=0
  tx ring  5: qid=5  cur=0   queued=0
  tx ring  6: qid=6  cur=0   queued=0
  tx ring  7: qid=7  cur=0   queued=0
  tx ring  8: qid=8  cur=0   queued=0
  tx ring  9: qid=9  cur=0   queued=0
  tx ring 10: qid=10 cur=0   queued=0
  tx ring 11: qid=11 cur=0   queued=0
  tx ring 12: qid=12 cur=0   queued=0
  tx ring 13: qid=13 cur=0   queued=0
  tx ring 14: qid=14 cur=0   queued=0
  tx ring 15: qid=15 cur=0   queued=0
  rx ring: cur=16
  802.11 state 4
iwn0: fatal firmware error
firmware error log:
  error type  = NMI_INTERRUPT_WDG (0x0004)
  program counter = 0x046C
  source line = 0x00D0
  error data  = 0x00020703
  branch link = 0x837004C2
  

Re: X dies after suspend to ram

2014-09-30 Thread Mike Larkin
On Tue, Sep 30, 2014 at 08:14:22AM -0400, Ted W. wrote:
 On 09/28/14 09:11, Mike Larkin wrote:
 On Thu, Sep 25, 2014 at 12:12:55PM -0400, Ted W. wrote:
 I have really enjoyed the last few weeks of running OpenBSD on my
 Thinkpad. Almost everything I need works and or worked right out of
 the box. The only real issue I've noticed is that when the system
 returns from suspend and press ctrl-alt-del to restart X either X or
 SLiM (not sure which) will not come back up. To work around this
 issue, I switch to TTY2, log in as root and run `/etc/rc.d/slim
 restart`. I've tried suspending with and without using slock first
 and the behavior stays the same.
 
 Any input on the matter would be appreciated,
 
 --
 Ted W. t...@xy0.org
 
 
 No dmesg, no help.
 
 
 Thank you for letting me know. I was not sure what would be helpful
 information to provide here. I have included the dmesg output below.
 I have also included Xorg.0.log in case that's helpful. I'm happy to
 provide any other information that would be useful.

That dmesg is no good. Please provide one from a clean boot. The idea
is to look at what hardware is on the machine.

-ml

 
 ==
 # dmesg
 : bus 6 device 0 cacheline 0x0, lattimer 0xb0
 pcmcia0 at cardslot0
 pcib0 at pci0 dev 31 function 0 Intel 82801HEM LPC rev 0x03
 pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03:
 DMA, channel 0 configured to compatibility, channel 1 configured to
 compatibility
 pciide0: channel 0 disabled (no drives)
 pciide0: channel 1 ignored (disabled)
 ahci0 at pci0 dev 31 function 2 Intel 82801HBM AHCI rev 0x03: msi,
 AHCI 1.1
 scsibus0 at ahci0: 32 targets
 sd0 at scsibus0 targ 0 lun 0: ATA, ST500LM000-1EJ16, DEM4 SCSI3
 0/direct fixed naa.5000c5006a47abd7
 sd0: 476940MB, 512 bytes/sector, 976773168 sectors
 ichiic0 at pci0 dev 31 function 3 Intel 82801H SMBus rev 0x03:
 apic 1 int 23
 iic0 at ichiic0
 usb2 at uhci0: USB revision 1.0
 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb3 at uhci1: USB revision 1.0
 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb4 at uhci2: USB revision 1.0
 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb5 at uhci3: USB revision 1.0
 uhub5 at usb5 Intel UHCI root hub rev 1.00/1.00 addr 1
 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
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 aps0 at isa0 port 0x1600/31
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 ugen0 at uhub2 port 2 STMicroelectronics Biometric Coprocessor rev
 1.00/0.01 addr 2
 vscsi0 at root
 scsibus1 at vscsi0: 256 targets
 softraid0 at root
 scsibus2 at softraid0: 256 targets
 root on sd0a (5d6cdf996da41425.a) swap on sd0b dump on sd0b
 ugen0 detached
 ugen0 at uhub2 port 2 STMicroelectronics Biometric Coprocessor rev
 1.00/0.01 addr 2
 iwn0: fatal firmware error
 firmware error log:
   error type  = NMI_INTERRUPT_WDG (0x0004)
   program counter = 0x046C
   source line = 0x00D0
   error data  = 0x00020263
   branch link = 0x4B0C04C2
   interrupt link  = 0x06DE4B22
   time= 2978746026
 driver status:
   tx ring  0: qid=0  cur=187 queued=0
   tx ring  1: qid=1  cur=0   queued=0
   tx ring  2: qid=2  cur=0   queued=0
   tx ring  3: qid=3  cur=0   queued=0
   tx ring  4: qid=4  cur=26  queued=0
   tx ring  5: qid=5  cur=0   queued=0
   tx ring  6: qid=6  cur=0   queued=0
   tx ring  7: qid=7  cur=0   queued=0
   tx ring  8: qid=8  cur=0   queued=0
   tx ring  9: qid=9  cur=0   queued=0
   tx ring 10: qid=10 cur=0   queued=0
   tx ring 11: qid=11 cur=0   queued=0
   tx ring 12: qid=12 cur=0   queued=0
   tx ring 13: qid=13 cur=0   queued=0
   tx ring 14: qid=14 cur=0   queued=0
   tx ring 15: qid=15 cur=0   queued=0
   rx ring: cur=40
   802.11 state 4
 iwn0: fatal firmware error
 firmware error log:
   error type  = NMI_INTERRUPT_WDG (0x0004)
   program counter = 0x046C
   source line = 0x00D0
   error data  = 0x00020263
   branch link = 0x4B0C04C2
   interrupt link  = 0x06DE4B22
   time= 2503288226
 driver status:
   tx ring  0: qid=0  cur=127 queued=1
   tx ring  1: qid=1  cur=0   queued=0
   tx ring  2: qid=2  cur=0   queued=0
   tx ring  3: qid=3  cur=0   queued=0
   tx ring  4: qid=4  cur=225 queued=0
   tx ring  5: qid=5  cur=0   queued=0
   tx ring  6: qid=6  cur=0   queued=0
   tx ring  7: qid=7  cur=0   queued=0
   tx ring  8: qid=8  cur=0   queued=0
   tx ring  9: qid=9  cur=0   queued=0
   tx ring 10: qid=10 cur=0   queued=0
   tx ring 11: qid=11 cur=0   queued=0
   tx ring 12: qid=12 cur=0   queued=0
   tx ring 13: qid=13 cur=0   queued=0
   tx ring 14: qid=14 cur=0   queued=0
   tx ring 15: qid=15 cur=0   

Re: X dies after suspend to ram

2014-09-28 Thread Mike Larkin
On Thu, Sep 25, 2014 at 12:12:55PM -0400, Ted W. wrote:
 I have really enjoyed the last few weeks of running OpenBSD on my
 Thinkpad. Almost everything I need works and or worked right out of
 the box. The only real issue I've noticed is that when the system
 returns from suspend and press ctrl-alt-del to restart X either X or
 SLiM (not sure which) will not come back up. To work around this
 issue, I switch to TTY2, log in as root and run `/etc/rc.d/slim
 restart`. I've tried suspending with and without using slock first
 and the behavior stays the same.
 
 Any input on the matter would be appreciated,
 
 -- 
 Ted W. t...@xy0.org
 

No dmesg, no help.



X dies after suspend to ram

2014-09-25 Thread Ted W.
I have really enjoyed the last few weeks of running OpenBSD on my 
Thinkpad. Almost everything I need works and or worked right out of the 
box. The only real issue I've noticed is that when the system returns 
from suspend and press ctrl-alt-del to restart X either X or SLiM (not 
sure which) will not come back up. To work around this issue, I switch 
to TTY2, log in as root and run `/etc/rc.d/slim restart`. I've tried 
suspending with and without using slock first and the behavior stays the 
same.


Any input on the matter would be appreciated,

--
Ted W. t...@xy0.org