I upgraded my laptop yesterday, and this afternoon I returned to find an interesting surprise: the screen was blank, and the keyboard completely unresponsive (even the CapsLock key LED didn't toggle). Unfortunately the logs don't say much. I hard-reset the machine at 13:25. Here are the only log entries immediately before then:
----- /var/log/messages ----- Nov 4 20:04:43 icicle /bsd: root on wd0a Nov 4 20:04:43 icicle /bsd: rootdev=0x0 rrootdev=0x300 rawdev=0x302 Nov 4 20:04:43 icicle named[16496]: starting BIND 9.3.2-P1 Nov 4 20:04:43 icicle named[16496]: command channel listening on 127.0.0.1#953 Nov 4 20:04:43 icicle named[16496]: command channel listening on ::1#953 Nov 4 20:04:43 icicle named[16496]: running Nov 4 20:04:52 icicle savecore: no core dump Nov 4 20:10:49 icicle /bsd: auich0: measured ac97 link rate at 48004 Hz, will use 48000 Hz Nov 5 04:00:01 icicle syslogd: restart Nov 5 09:00:02 icicle syslogd: restart ----- /var/log/daemon ----- Nov 4 20:04:52 icicle savecore: no core dump Nov 4 20:04:54 icicle hotplugd[16958]: started Nov 4 20:04:54 icicle hotplugd[16958]: wskbd1 attached, class 5 Nov 4 20:04:54 icicle hotplugd[16958]: ukbd0 attached, class 0 Nov 4 20:04:54 icicle hotplugd[16958]: uhidev0 attached, class 0 Nov 4 20:04:54 icicle hotplugd[16958]: wsmouse1 attached, class 5 Nov 4 20:04:54 icicle hotplugd[16958]: ums0 attached, class 0 Nov 4 20:04:54 icicle hotplugd[16958]: uhidev1 attached, class 0 Nov 5 08:31:14 icicle identd[4452]: Connection from localhost.perlguru.net Nov 5 08:31:15 icicle identd[16243]: Connection from localhost.perlguru.net It looks like the daily cronjob successfully ran at 08:30 (I even got the "daily insecurity email that lists all the filesystem changes due to the 3.9 -> 4.0 upgrade). And syslogd rotated the logfiles at 09:00. But after that, there doesn't appear to have been any activity. I even checked pflog, but it doesn't have anything since Oct 23. This laptop doesn't run apmd since the BIOS doesn't support APM. The processes running this morning were probably more or less the same as they are now: [EMAIL PROTECTED](ttyp3:0):~$ ps aux USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 7420 0.0 0.0 0 0 ?? ZW - 0:00.00 (sh) root 1 0.0 0.1 336 352 ?? Is 1:10PM 0:00.01 /sbin/init -s root 18407 0.0 0.1 248 392 ?? Ds 1:19PM 0:00.00 wsmoused -2 root 6547 0.0 0.1 131564 332 ?? Ss 1:25PM 0:00.04 /sbin/mount_mfs -o rw -o nosuid _syslogd 14202 0.0 0.1 428 540 ?? S 1:25PM 0:00.02 syslogd -a /var/named/dev/log -a root 17638 0.0 0.1 400 532 ?? Is 1:25PM 0:00.00 syslogd: [priv] (syslogd) root 31822 0.0 0.1 420 388 ?? Is 1:25PM 0:00.00 pflogd: [priv] (pflogd) _pflogd 24668 0.0 0.0 484 228 ?? S 1:25PM 0:00.08 pflogd: [running] -s 116 -f /var root 7435 0.0 0.1 1460 540 ?? Is 1:25PM 0:00.00 named: [priv] (named) named 12722 0.0 0.6 2372 2860 ?? S 1:25PM 0:00.15 named root 671 0.0 0.1 500 548 ?? Is 1:26PM 0:00.00 inetd root 17187 0.0 0.1 332 376 ?? Is 1:26PM 0:00.00 /usr/sbin/hotplugd root 16847 0.0 0.1 628 692 ?? Ss 1:26PM 0:00.01 cron root 15969 0.0 0.2 1044 1104 ?? Ss 1:26PM 0:00.08 sendmail: accepting connections smt 23933 0.0 1.7 5372 8536 ?? S 1:28PM 0:13.45 /usr/X11R6/bin/X :0 -nolisten tc root 18443 0.0 0.1 1740 492 ?? I 1:28PM 0:00.00 X: [priv] (Xorg) smt 14161 0.0 0.1 452 420 ?? Is 1:29PM 0:00.01 sh -c sh smt 23180 0.0 0.7 1384 3512 ?? R 1:29PM 0:01.94 xterm -e screen -R smt 25812 0.0 0.8 3236 3860 ?? Rs 1:29PM 0:01.29 SCREEN -R (screen) smt 2706 0.0 0.2 688 900 p0 Ss+ 1:29PM 0:00.02 screen -R smt 434 0.0 0.1 572 600 p1 Is 1:29PM 0:00.05 -/bin/ksh smt 14789 0.0 0.7 2004 3344 p1 I+ 1:44PM 0:00.26 lynx smt 30149 0.0 0.1 592 584 p2 Is 1:53PM 0:00.05 -/bin/ksh smt 13419 0.0 0.7 2040 3324 p2 I+ 1:55PM 0:00.60 mutt smt 23410 0.0 0.1 448 432 p2 I+ 1:56PM 0:00.00 sh -c sh smt 11529 0.0 0.6 2404 3060 p2 S+ 1:56PM 0:02.27 vim /tmp/mutt-icicle-1000-13419- smt 28069 0.0 0.1 600 612 p3 Ss 2:33PM 0:00.03 -/bin/ksh smt 18783 0.0 0.0 476 228 p3 R+ 2:33PM 0:00.00 ps -aux smt 16007 0.0 0.1 504 460 C0 Is+ 1:28PM 0:00.04 /bin/sh /usr/X11R6/bin/startx /u smt 31464 0.0 0.2 428 776 C0 I+ 1:28PM 0:00.01 /usr/X11R6/bin/xinit /home/smt/. smt 18820 0.0 0.1 556 452 C0 I 1:29PM 0:00.01 sh /home/smt/.xinitrc smt 13455 0.0 0.2 460 1144 C0 I 1:29PM 0:00.02 xbindkeys -n smt 18184 0.0 0.2 428 1132 C0 I 1:29PM 0:00.01 unclutter -root smt 2285 0.0 0.3 560 1368 C0 I 1:29PM 0:00.02 ratpoison root 988 0.0 0.1 348 560 C1 Is+ 1:26PM 0:00.00 /usr/libexec/getty Pc ttyC1 root 12099 0.0 0.1 308 560 C2 Is+ 1:26PM 0:00.00 /usr/libexec/getty Pc ttyC2 root 30331 0.0 0.1 244 552 C3 Is+ 1:26PM 0:00.00 /usr/libexec/getty Pc ttyC3 root 1960 0.0 0.1 328 556 C5 Is+ 1:26PM 0:00.00 /usr/libexec/getty Pc ttyC5 Occasionally my crontab kicks off a "fetchmail" process, but otherwise the machine is pretty much quiet unless someone is at the keyboard. There was a little bit of filesystem corruption on /var, which fsck fixed cleanly. I must add that I did make one change to the fstab yesterday: the /var, /usr, and /home filesystems are now mounted with the option "softdep", whereas they weren't previously. Nothing else has changed. Here are the mounts: /dev/wd0a on / type ffs (local) /dev/wd0d on /var type ffs (local, nodev, nosuid, softdep) /dev/wd0e on /usr type ffs (local, nodev, softdep) /dev/wd0f on /home type ffs (local, nodev, nosuid, softdep) mfs:6547 on /tmp type mfs (asynchronous, local, noatime, nodev, nosuid, size=262144 512-blocks) /dev/svnd0c on /home/smt type ffs (local) Any idea what else I can do to troubleshoot this? My dmesg follows... OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile AMD Sempron(tm) Processor 3000+ ("AuthenticAMD" 686-class, 128KB L2 cache) 1.81 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 cpu0: PowerNow! K8 1801 Mhz: speeds: 1800 1600 800 Mhz real mem = 501772288 (490012K) avail mem = 449703936 (439164K) using 4256 buffers containing 25190400 bytes (24600K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(39) BIOS, date 08/24/05, BIOS32 rev. 0 @ 0xfd5f0, SMBIOS rev. 2.31 @ 0x1defb000 (24 entries) bios0: Acer, inc. Aspire 3000 pcibios0 at bios0: rev 2.1 @ 0xfd5f0/0xa10 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd30/160 (8 entries) pcibios0: PCI Interrupt Router at 000:02:0 ("SiS 85C503 System" rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc0000/0xc000 0xdc000/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "SiS 760 PCI" rev 0x03 ppb0 at pci0 dev 1 function 0 "SiS 86C202 VGA" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00: aperture at 0xe8000000, size 0x400000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25 pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 760: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <IC25N060ATMR04-0> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <Slimtype, COMBO SOSC-2483K, KCK2> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 "SiS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: irq 5, SiS7012 AC97 ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo audio0 at auich0 ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: irq 9, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: SiS OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: irq 11, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: SiS OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 0x00: irq 10 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: SiS EHCI root hub, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: irq 3, address 00:c0:9f:d4:41:1b rlphy0 at sis0 phy 13: RTL8201L 10/100 PHY, rev. 1 cbb0 at pci0 dev 6 function 0 "TI PCI1410 CardBus" rev 0x02: irq 3 "Broadcom BCM4318" rev 0x02 at pci0 dev 11 function 0 not configured pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 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 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 biomask efdd netmask efdd ttymask ffdf pctr: user-level cycle counter enabled uhidev0 at uhub0 port 2 configuration 1 interface 0 uhidev0: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev 1.01/0.01, addr 2, iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub0 port 2 configuration 1 interface 1 uhidev1: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev 1.01/0.01, addr 2, iclass 3/1 ums0 at uhidev1: 3 buttons and Z dir. wsmouse1 at ums0 mux 0 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 WARNING: / was not properly unmounted