kernel/4625: panic: flush_pagedep_deps: MKDIR_PARENT

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

kernel/4625: panic: flush_pagedep_deps: MKDIR_PARENT

RD Thrush
>Number:         4625
>Category:       kernel
>Synopsis:       System panic'd after 'mount -ur /usr/local'
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 19 07:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     RD Thrush
>Release:        3.8 -current built from source ~Nov 12 1:30am EST 2005
>Organization:
net
>Environment:
        System      : OpenBSD 3.8
        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        I upgraded this system last weekend including 400+ packages and
        have used steadily since for as my primary workstation and X
        display.  I ran the following commands which resulted in the panic:

                sudo mount -uw /usr/local
                sudo pkg_add -x wget-1.10.2.tgz
                sudo mount -ur /usr/local

        The system panic'd after trying to remount /usr/local read-only.
        FWIW, all of the above commands were logged in /var/log/secure.

        I am running a GENERIC kernel (w/ 'makeoptions    DEBUG="-g"').

>How-To-Repeat:
        I haven't tried to repeat this particular problem but did have
        a somewhat similar occurrence (panic after remounting
        read-only) which Pedro fixed in kernel/4526.

>Fix:
        Not known.

####################################################################
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
*10999  15939  15939      0  7      0x4006             mount_ffs
 15939   3655  15939      0  3      0x4086  wait       mount
 11359      0      0      0  3    0x100284  nfsidl     nfsio
 25158      0      0      0  3    0x100284  nfsidl     nfsio
 14509      0      0      0  3    0x100284  nfsidl     nfsio
  9118      0      0      0  3    0x100284  nfsidl     nfsio
  9839   2495   9839      0  3      0x4086  ttyin      vi
  5333  24552  24552   1000  3      0x4086  kqread     tail
 28826  24552  24552   1000  3      0x4086  kqread     tail
  5541  24552  24552   1000  3      0x4086  kqread     tail
 15313  24552  24552   1000  3      0x4086  kqread     tail
 24552  12811  24552   1000  2      0x4486             multitail
 23988   2931  30667   1000  3      0x4084  nanosleep  sleep
 19467  17577  17577   1000  3        0x84  poll       kdeinit
 29068   5438  15610   1000  3      0x4084  nanosleep  sleep
 26134   1111   1111     67  3       0x184  netcon     httpd
 10322   1111   1111     67  3       0x184  netcon     httpd
 23253   1111   1111     67  3       0x184  netcon     httpd
 27848  15446  27848   1000  3      0x4086  ttyin      less
 15198   1111   1111     67  3       0x184  netcon     httpd
  9697   1111   1111     67  3       0x184  netcon     httpd
 26934   1111   1111     67  3       0x184  netcon     httpd
  9907   1111   1111     67  3       0x184  netcon     httpd
   948   1111   1111     67  3       0x184  netcon     httpd
  3298   1111   1111     67  3       0x184  netcon     httpd
 29548   1111   1111     67  3       0x184  netcon     httpd
  1111      1   1111     67  3       0x184  select     httpd
  8637  29667  21199   1000  3      0x4086  ttyin      less
 29667  21199  21199   1000  3      0x4086  pause      sh
 21199  20126  21199   1000  3      0x4086  wait       man
  2495  21362   2495      0  3      0x4086  wait       bash
 21362  13901  21362      0  3      0x4086  pause      ksh
 15213   2792  30679   1000  4      0x4006             less
  2792  30679  30679   1000  4      0x4086             sh
 30679  26815  30679   1000  4      0x5086             perl
  5667  17577  17577   1000  3        0x85  poll       kdeinit
 23714  17577  17577   1000  3      0x4084  poll       xemacs-21.4.17
 18392  17577  17577   1000  3      0x4084  select     ssh
 21803      1  17577   1000  3      0x4085  poll       gconfd-2
 19798  16820  17577   1000  3      0x4084  poll       firefox-bin
 16820   9563  17577   1000  3      0x4084  pause      sh
  1810  27566   1810   1000  3      0x4086  select     ssh
 11955  27566  11955   1000  3      0x4086  select     ssh
 30938   9996  30938   1000  3      0x4086  select     ssh
  9199   9996   9199   1000  3      0x4086  select     ssh
  2645   9996   2645   1000  3      0x4086  select     ssh
 20126   7135  20126   1000  3      0x4086  wait       bash
 12506   9996  12506   1000  3      0x4086  select     ssh
   339   1402    339   1000  3      0x4086  select     ssh
  8588  27566   8588   1000  3      0x4086  select     ssh
 24160   1402  24160   1000  3      0x4086  select     ssh
 13901  20532  13901   1000  3      0x4086  wait       bash
 20110   1402  20110   1000  3      0x4086  select     ssh
 15446  20532  15446   1000  3      0x4086  wait       bash
   167   1402    167   1000  3      0x4086  select     ssh
 13270   9996  13270   1000  3      0x4086  select     ssh
  3655   9996   3655   1000  3      0x4086  wait       bash
   772   5274    772   1000  3      0x4086  select     ssh
 30441   5274  30441   1000  3      0x4086  select     ssh
  7800   7135   7800   1000  3      0x4086  ttyin      bash
  1264   7135   1264   1000  3      0x4086  ttyin      bash
 29765   7135  29765   1000  3      0x4086  ttyin      bash
  5936   7135   5936   1000  3      0x4086  ttyin      bash
 31238   7135  31238   1000  3      0x4086  ttyin      bash
 27360  27566  27360   1000  3      0x4086  ttyin      bash
 10780  31224  10780   1000  3      0x4086  select     ssh
 10973  31224  10973   1000  3      0x4086  select     ssh
  1902  31224   1902   1000  3      0x4086  select     ssh
 23244  31224  23244   1000  3      0x4086  select     ssh
 13998   1402  13998   1000  3      0x4086  ttyin      bash
 19684   1402  19684   1000  3      0x4086  ttyin      bash
  8500    757   8500   1000  3      0x4086  select     ssh
  4683    757   4683   1000  3      0x4086  select     ssh
 19423    757  19423   1000  3      0x4086  select     ssh
 12811  20532  12811   1000  3      0x4086  wait       bash
 26815  20532  26815   1000  3      0x4086  ttyin      bash
  9563  17577  17577   1000  3      0x4084  pause      sh
  9996  17577  17577   1000  3        0x85  poll       kdeinit
  5274  17577  17577   1000  3        0x85  poll       kdeinit
 31224  17577  17577   1000  3        0x85  poll       kdeinit
 21091      1  17577   1000  2       0x485             kdeinit
  7135  17577  17577   1000  3        0x85  poll       kdeinit
 27566  17577  17577   1000  3        0x85  poll       kdeinit
   757  17577  17577   1000  3        0x85  poll       kdeinit
  7155      1  17577   1000  3        0x85  poll       korgac
  1402  17577  17577   1000  3        0x85  poll       kdeinit
 13204  17577  17577   1000  3        0x84  poll       kdeinit
 20532  17577  17577   1000  3        0x85  poll       kdeinit
 11405      1  17577   1000  3        0x85  poll       kdeinit
 30838      1  17577   1000  2       0x485             kdeinit
   674      1  17577   1000  3        0x85  poll       kdeinit
 10633      1  17577   1000  2       0x485             kdeinit
 23828  17577  17577   1000  3        0x85  poll       kdeinit
 27417      1  17577   1000  3        0x85  poll       kdeinit
 14767  26445  26445   1000  3      0x4086  nanosleep  kwrapper
  7728      1  17577   1000  3        0x85  poll       kdeinit
  7130  17577  17577   1000  3      0x4084  poll       artsd
 13258      1  17577   1000  2       0x485             kdeinit
  9223  17577  17577   1000  3        0x85  poll       kdeinit
  6994      1  17577   1000  3        0x85  poll       kdeinit
 17577      1  17577   1000  3        0x84  poll       kdeinit
 26445   8592  26445   1000  3      0x4086  pause      sh
   383  24399  24399   1000  3     0x40184  netio      Xorg
 24399   8592  24399   1000  3     0x44184  select     Xorg
  8592  17257  17257   1000  3      0x4086  wait       xinit
 17257  29559  17257   1000  3      0x4086  pause      sh
 13709      1  13709   1000  2         0x4             dnetc_amd64
 29425   5438  15610   1000  3     0x44184  nanosleep  vmstat
  1956   5438  15610   1000  3      0x4084  select     iostat
 23769      1  23769      0  3      0x4086  ttyin      getty
  3786      1   3786      0  3      0x4086  ttyin      getty
 12158      1  12158      0  3      0x4086  ttyin      getty
  1299      1   1299      0  3      0x4086  ttyin      getty
 17669      1  17669      0  3      0x4086  ttyin      getty
 29559      1  29559   1000  3      0x4086  wait       bash
 21506  14691  14691   1000  3      0x4084  nanosleep  perl
  2931  30667  30667   1000  3      0x4084  pause      sh
  5438  15610  15610   1000  3      0x4084  pause      sh
 14691   4189  14691   1000  3      0x4084  pause      sh
 15610  31261  15610   1000  3      0x4084  pause      sh
 30667  26099  30667   1000  3      0x4084  pause      sh
  4189  22953  22953      0  3        0x84  piperd     cron
 31261  22953  22953      0  3        0x84  piperd     cron
 26099  22953  22953      0  3        0x84  piperd     cron
 22953      1  22953      0  3        0x84  select     cron
 27928      1  27928      0  3        0x84  select     sshd
 12697      1  12697      0  3       0x184  select     inetd
  2361      1   2361      0  3     0x40184  select     sendmail
 22068      1  22068      0  3        0x84  poll       ntpd
 10864      1  16815     83  3       0x186  poll       ntpd
 18442  15630  15630      0  3        0x84  nfsd       nfsd
   769  15630  15630      0  3        0x84  nfsd       nfsd
 20739  15630  15630      0  3        0x84  nfsd       nfsd
 21639  15630  15630      0  3        0x84  nfsd       nfsd
 15630      1  15630      0  3        0x84  netcon     nfsd
 28200      1  28200      0  3        0x84  select     mountd
 16435      1  16435     28  3       0x184  poll       portmap
 26078  28798  28798     73  3       0x184  poll       syslogd
 28798      1  28798      0  3        0x84  netio      syslogd
 13905      1  13905     77  3       0x184  poll       dhclient
 31947      1  16815      0  3        0x86  poll       dhclient
 11768      1  11768      0  3        0x84  mfsidl     mount_mfs
    14      0      0      0  3    0x100204  crypto_wa  crypto
    13      0      0      0  3    0x100204  aiodoned   aiodoned
    12      0      0      0  3    0x100204  syncer     update
    11      0      0      0  3    0x100204  cleaner    cleaner
    10      0      0      0  3    0x100204  reaper     reaper
     9      0      0      0  3    0x100204  pgdaemon   pagedaemon
     8      0      0      0  3    0x100204  pftm       pfpurge
     7      0      0      0  3    0x100204  usbevt     usb4
     6      0      0      0  3    0x100204  usbevt     usb3
     5      0      0      0  3    0x100204  usbevt     usb2
     4      0      0      0  3    0x100204  usbevt     usb1
     3      0      0      0  3    0x100204  usbtsk     usbtask
     2      0      0      0  3    0x100204  usbevt     usb0
     1      0      1      0  3      0x4084  wait       init
     0     -1      0      0  3     0x80204  scheduler  swapper
ddb> trace
Debugger() at Debugger+0x5
panic() at panic+0x12a
flush_pagedep_deps() at flush_pagedep_deps+0x29d
softdep_sync_metadata() at softdep_sync_metadata+0x29c
ffs_fsync() at ffs_fsync+0xd8
VOP_FSYNC() at VOP_FSYNC+0x31
ffs_sync_vnode() at ffs_sync_vnode+0x74
vfs_mount_foreach_vnode() at vfs_mount_foreach_vnode+0x32
ffs_sync() at ffs_sync+0x74
ffs_mount() at ffs_mount+0x5c6
sys_mount() at sys_mount+0x209
syscall() at syscall+0x225
--- syscall (number 21) ---
end of kernel
end trace frame: 0x7f7fffff10b0, count: -12
0x4009fa:
ddb> show extents
extent `swap0x0001' (0x0 - 0x66fd7), flags=0
     0x0 - 0x0
extent `swap0x0000' (0x0 - 0x7fffd), flags=0
     0x0 - 0x0
extent `swapmap' (0x1 - 0x7fffffff), flags=0
     0x1 - 0xe6fd6
extent `iomem' (0x0 - 0xffffffff), flags=3<NOCOALESCE,FIXED>
     0x0 - 0x9fbff
     0xa0000 - 0xbffff
     0x100000 - 0x3ffaffff
     0xfba00000 - 0xfba03fff
     0xfbc00000 - 0xfbc000ff
extent `ioport' (0x0 - 0xffff), flags=3<NOCOALESCE,FIXED>
     0x0 - 0xb
     0x40 - 0x43
     0x60 - 0x60
     0x61 - 0x61
     0x64 - 0x64
     0x80 - 0x8e
     0xc0 - 0xd7
     0x170 - 0x177
     0x1f0 - 0x1f7
     0x290 - 0x297
     0x2f8 - 0x2ff
     0x376 - 0x376
     0x378 - 0x37b
     0x3c0 - 0x3cf
     0x3d0 - 0x3df
     0x3f0 - 0x3f5
     0x3f6 - 0x3f6
     0x3f7 - 0x3f7
     0x3f8 - 0x3ff
     0xa800 - 0xa80f
     0xb000 - 0xb003
     0xb400 - 0xb407
     0xb800 - 0xb803
     0xc000 - 0xc007
     0xc400 - 0xc41f
     0xc800 - 0xc81f
     0xd000 - 0xd01f
     0xd400 - 0xd41f
     0xd800 - 0xd8ff
     0xfc00 - 0xfc0f
ddb> show panic
flush_pagedep_deps: MKDIR_PARENT
ddb> show registers
ds                              0x20
es                               0x1
fs                            0x94fc
gs                               0xd
rdi                                0
rsi                             0xff
rbp               0xffff80006789c860
rbx                                0
rdx                         0x200282
rcx                                0
rax                              0x1
r8                0xffff80006789c780
r9                0xffff80006789c780
r10               0xffff80006789c7f8
r11                              0x8
r12               0xffffffff8059e200    ffs_vfsops+0x1720
r13               0xffff80006789c870
r14                                0
r15               0xfffffe802a44b0a8
rip               0xffffffff8035bb65    Debugger+0x5
cs                               0x8
rflags                      0x200202
rsp               0xffff80006789c860
ss                                 0
Debugger+0x5:   leave
ddb> show uvmexp
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  253568 VM pages: 128902 active, 1710 inactive, 780 wired, 63874 free
  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
  pages  0 anon, 0 vnode, 0 vtext
  freemin=128, free-target=170, inactive-target=0, wired-max=84522
  faults=41775622, traps=21114782, intrs=32533756, ctxswitch=37032749
  softint=29373020, syscalls=435095388, swapins=0, swapouts=0, kmapent=27
  fault counts:
    noram=0, noanon=0, pgwait=0, pgrele=0
    ok relocks(total)=33591(33591), anget(retrys)=38213964(0), amapcopy=1284720

    neighbor anon/obj pg=234138/2333692, gets(lock/unlock)=842477/33591
    cases: anon=37995878, anoncow=218086, obj=680147, prcopy=162330, przero=270
8625
  daemon and swap counts:
    woke=0, revs=0, scans=0, obscans=0, anscans=0
    busy=0, freed=0, reactivate=0, deactivate=0
    pageouts=0, pending=0, nswget=0
    nswapdev=2, nanon=1182767, nanonneeded=1182767 nfreeanon=1073861
    swpages=946132, swpginuse=0, swpgonly=0 paging=0
  kernel pointers:
    objs(kern/kmem)=0xffffffff8098fb00/0xffffffff8098fca0
ddb> callout
ticks now: 13248162
    ticks  wheel       arg  func
        1  0/163  202f0288  endtsleep
        1  0/163  8098e960  nfs_timer
        3  0/165  80986ee0  pfslowtimo
        3  0/165   1bd3e00  uhci_poll_hub
        3  0/165   1bd3400  uhci_poll_hub
        3  0/165   1bd7a00  uhci_poll_hub
        3  0/165   1bd7000  uhci_poll_hub
        8  0/170  1a8c9280  endtsleep
       13  0/175  80986ea0  pffasttimo
       15  0/177  12679ad8  tcp_delack
       19  0/181   a414690  endtsleep
       28  0/190   1be7800  lm_refresh
       37  0/199  130506d0  endtsleep
       45  0/207  202f0058  endtsleep
       53  0/215  80986fa0  if_slowtimo
       53  0/215         0  nd6_timer
       53  0/215  80989b00  rt_timer_timer
       53  0/215  80986960  schedcpu
       57  0/219   a43e008  endtsleep
       75  0/237  2a44bb98  endtsleep
       80  0/242  1422b6d8  endtsleep
       88  0/250  1a8c9280  realitexpire
       89  0/251  109616b0  endtsleep
      148  1/295  1422b908  endtsleep
      197  1/295  27b4d068  endtsleep
      523  1/296  12cbb498  endtsleep
      579  1/296  10961250  endtsleep
     1475  1/300  2e53db80  endtsleep
     1858  1/301  126b5d48  endtsleep
     1709  1/301   b0e0d30  realitexpire
     2178  1/303  2e53d4f0  endtsleep
     2480  1/304  255eab50  endtsleep
     2884  1/305  109618e0  endtsleep
     2898  1/305  12cbb6c8  endtsleep
     5779  1/317  202f04b8  endtsleep
     5904  1/317   a414230  endtsleep
     5904  1/317   a4148c0  endtsleep
     5904  1/317   a414af0  endtsleep
     5938  1/317   a414d20  endtsleep
     8848  1/329  2a44b2d8  endtsleep
     9004  1/329  12cbb038  endtsleep
     9504  1/331  10961020  endtsleep
    18222  1/365  80989f60  arptimer
    37689  1/441  12cbb268  endtsleep
    37728  1/442  13050900  endtsleep
    42520  1/460         0  arc4_reinit
  8580871  2/589   b0e08d0  endtsleep
   108527  2/715  2efb6d18  tcp_timer_keep
    71839  2/715         0  nd6_cache_lladdr
    78787  2/715  109616b0  realitexpire
   141822  2/716  126798b0  tcp_timer_keep
   218137  2/717  2efb6250  tcp_timer_keep
   223900  2/717  2db00248  tcp_timer_keep
   719995  2/718  12679ad8  tcp_timer_keep
   718735  2/719  12679d00  tcp_timer_keep
   443814  2/720  2db00ae8  tcp_timer_keep
   443834  2/720  2db008c0  tcp_timer_keep
   444165  2/720  14cc1240  tcp_timer_keep
   444224  2/720  14cc1d08  tcp_timer_keep
   444227  2/720  2db00470  tcp_timer_keep
   444267  2/720  3097b030  tcp_timer_keep
   481350  2/721  2db00d10  tcp_timer_keep
   676056  2/722  2efb6478  tcp_timer_keep
   527709  2/722  2efb6028  tcp_timer_keep
   524886  2/722  14cc1468  tcp_timer_keep
   545767  2/722  2db00698  tcp_timer_keep
   709850  2/723  2efb66a0  tcp_timer_keep
   636500  2/723  2efb6af0  tcp_timer_keep
   642912  2/723  2efb68c8  tcp_timer_keep
   718141  2/723  14cc1690  tcp_timer_keep
   718754  2/723  14cc18b8  tcp_timer_keep
   718155  2/723  14cc1ae0  tcp_timer_keep
   716076  2/723  2db00020  tcp_timer_keep
   665778  2/724  37dff038  tcp_timer_keep
ddb> show malloc
Malloc debugging not enabled.
ddb> boot dump
syncing disks... panic: bremfree: lost tail
Stopped at      Debugger+0x5:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> boot crash

dumping to dev 0,17 offset 2098551
dump panic: wddump: polled command has been queued
Stopped at      Debugger+0x5:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> boot reboot
rebooting...

####################################################################
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> OpenBSD/amd64 BOOT 2.11
 boot>
 booting hd0a:/bsd: 3496580+673408+568320+0+421904 [80+298224+182982]=0x962b18
 entry point at 0x1001e0 [7205c766, 34000004, 24448b12, ee60a304]
 Copyright (c) 1982, 1986, 1989, 1991, 1993
  The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2005 OpenBSD. All rights reserved.  http://www.OpenBSD.org
 
 OpenBSD 3.8-current (GENERIC) #3: Sat Nov 12 12:12:51 EST 2005
     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 1073016832 (1047868K)
 avail mem = 908582912 (887288K)
 using 22937 buffers containing 107507712 bytes (104988K) of memory
 mainbus0 (root)
 cpu0 at mainbus0: (uniprocessor)
 cpu0: AMD Athlon(tm) 64 Processor 3000+, 1802.63 MHz
 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
 cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
 cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
 pci0 at mainbus0 bus 0: configuration mode 1
 pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x00
 pchb1 at pci0 dev 0 function 1 "VIA K8HTB Host" rev 0x00
 pchb2 at pci0 dev 0 function 2 "VIA K8HTB Host" rev 0x00
 pchb3 at pci0 dev 0 function 3 "VIA K8HTB Host" rev 0x00
 pchb4 at pci0 dev 0 function 4 "VIA K8HTB Host" rev 0x00
 pchb5 at pci0 dev 0 function 7 "VIA K8HTB Host" rev 0x00
 ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 "ATI Radeon 9200 PRO" rev 0x01
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 "ATI Radeon 9200 PRO Sec" rev 0x01 at pci1 dev 0 function 1 not configured
 "VIA VT6306 FireWire" rev 0x80 at pci0 dev 7 function 0 not configured
 skc0 at pci0 dev 10 function 0 "Marvell SKv2" rev 0x13: irq 10
 skc0: Marvell Yukon Lite (0x9)
 sk0 at skc0 port A: address 00:13:d4:1a:5d:41
 eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
 pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
 pciide0: using irq 10 for native-PCI interrupt
 pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
 wd0 at pciide1 channel 0 drive 0: <ST380021A>
 wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
 atapiscsi0 at pciide1 channel 0 drive 1
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: <LITEON, DVD-ROM LTD163D, GHR3> SCSI0 5/cdrom removable
 wd0(pciide1:0:0): using PIO mode 4, DMA mode 2
 cd0(pciide1:0:1): using PIO mode 4, DMA mode 2
 wd1 at pciide1 channel 1 drive 0: <ST380021A>
 wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors
 wd1(pciide1:1:0): using PIO mode 4, DMA mode 2
 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 11
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0
 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 11
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1
 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 10
 usb2 at uhci2: USB revision 1.0
 uhub2 at usb2
 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 10
 usb3 at uhci3: USB revision 1.0
 uhub3 at usb3
 uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
 uhub3: 2 ports with 2 removable, self powered
 ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 5
 usb4 at ehci0: USB revision 2.0
 uhub4 at usb4
 uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
 uhub4: 8 ports with 8 removable, self powered
 pcib0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 5
 ac97: codec id 0x414c4790 (Avance Logic ALC850)
 audio0 at auvia0
 pchb6 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
 pchb7 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
 pchb8 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
 pchb9 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
 isa0 at pcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 com0: console
 com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 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
 pmsi0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pmsi0 mux 0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: <PC speaker>
 spkr0 at pcppi0
 sysbeep0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 lm0 at isa0 port 0x290/8: W83627THF
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 uscanner0 at uhub1 port 2
 uscanner0: Hewlett-Packard HP ScanJet 5200C, rev 1.00/1.00, addr 2
 dkcsum: wd0 matches BIOS drive 0x81
 dkcsum: wd1 matches BIOS drive 0x80
 root on wd1a
 rootdev=0x10 rrootdev=0x310 rawdev=0x312
 WARNING: / was not properly unmounted
 swapctl: adding /dev/wd0b as swap device at priority 0
 Automatic boot in progress: starting file system checks.
 /dev/rwd1a: 3373 files, 20696 used, 29391 free (983 frags, 3551 blocks, 1.0% fragmentation)
 /dev/rwd1a: MARKING FILE SYSTEM CLEAN
 /dev/rwd0a: file system is clean; not checking
 /dev/rwd0h: ZERO LENGTH DIR I=269674  OWNER=rd MODE=40755
 /dev/rwd0h: SIZE=0 MTIME=Nov 17 15:07 2005  (CLEARED)
 /dev/rwd0h: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
 /dev/rwd0h: SUMMARY INFORMATION BAD (SALVAGED)
 /dev/rwd0h: BLK(S) MISSING IN BIT MAPS (SALVAGED)
 /dev/rwd0h: 13999 files, 737712 used, 809183 free (1751 frags, 100929 blocks, 0.1% fragmentation)
 /dev/rwd0h: MARKING FILE SYSTEM CLEAN
 /dev/rwd0e: file system is clean; not checking
 /dev/rwd0g: file system is clean; not checking
 /dev/rwd0f: file system is clean; not checking
 /dev/rwd0o: file system is clean; not checking
 /dev/rwd0d: file system is clean; not checking
 /dev/rwd0m: file system is clean; not checking
 /dev/rwd1p: 258281 files, 7467469 used, 4734439 free (47327 frags, 585889 blocks, 0.4% fragmentation)
 /dev/rwd1p: MARKING FILE SYSTEM CLEAN
 /dev/rwd1e: file system is clean; not checking
 /dev/rwd1g: file system is clean; not checking
 /dev/rwd1f: UNREF DIR  I=483516  OWNER=root MODE=40755
 /dev/rwd1f: SIZE=512 MTIME=Nov 19 03:53 2005  (RECONNECTED)
 /dev/rwd1f: DIR I=483516 CONNECTED. PARENT WAS I=330670
 /dev/rwd1f: LINK COUNT DIR I=330670  OWNER=root MODE=40755
 /dev/rwd1f: SIZE=1536 MTIME=Nov 19 03:53 2005  COUNT 69 SHOULD BE 68 (ADJUSTED)
 /dev/rwd1f: UNREF FILE  I=354756  OWNER=root MODE=100444
 /dev/rwd1f: SIZE=2746 MTIME=Nov 13 08:01 2005  (RECONNECTED)
 /dev/rwd1f: UNREF FILE  I=354757  OWNER=root MODE=100444
 /dev/rwd1f: SIZE=49356 MTIME=Nov 13 08:01 2005  (RECONNECTED)
 /dev/rwd1f: UNREF FILE  I=354758  OWNER=root MODE=100444
 /dev/rwd1f: SIZE=44439 MTIME=Nov 13 08:01 2005  (RECONNECTED)
 /dev/rwd1f: UNREF FILE  I=354759  OWNER=root MODE=100444
 /dev/rwd1f: SIZE=47817 MTIME=Nov 13 08:01 2005  (RECONNECTED)
 /dev/rwd1f: UNREF FILE  I=354760  OWNER=root MODE=100444
 /dev/rwd1f: SIZE=42764 MTIME=Nov 13 08:01 2005  (RECONNECTED)
 /dev/rwd1f: UNREF FILE  I=354761  OWNER=root MODE=100444
 /dev/rwd1f: SIZE=12478 MTIME=Nov 13 08:01 2005  (RECONNECTED)
 /dev/rwd1f: UNREF FILE  I=380282  OWNER=root MODE=100444
 /dev/rwd1f: SIZE=83126 MTIME=Nov 13 08:01 2005  (RECONNECTED)
 /dev/rwd1f: UNREF FILE  I=380283  OWNER=root MODE=100444
 /dev/rwd1f: SIZE=220039 MTIME=Nov 19 03:53 2005  (RECONNECTED)
 /dev/rwd1f: SUMMARY INFORMATION BAD (SALVAGED)
 /dev/rwd1f: BLK(S) MISSING IN BIT MAPS (SALVAGED)
 /dev/rwd1f: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
 /dev/rwd1f: 114334 files, 1062905 used, 1000326 free (182 frags, 125018 blocks, 0.0% fragmentation)
 /dev/rwd1f: MARKING FILE SYSTEM CLEAN
 /dev/rwd1o: 2768 files, 30010 used, 8225549 free (45 frags, 1028188 blocks, 0.0% fragmentation)
 /dev/rwd1o: MARKING FILE SYSTEM CLEAN
 /dev/rwd1d: INCORRECT BLOCK COUNT I=25 (4 should be 0) (CORRECTED)
 /dev/rwd1d: INCORRECT BLOCK COUNT I=27 (4 should be 0) (CORRECTED)
 /dev/rwd1d: INCORRECT BLOCK COUNT I=110 (4 should be 0) (CORRECTED)
 /dev/rwd1d: LINK COUNT DIR I=5  OWNER=root MODE=40755
 /dev/rwd1d: SIZE=11776 MTIME=Nov 19 03:53 2005  COUNT 437 SHOULD BE 436 (ADJUSTED)
 /dev/rwd1d: ZERO LENGTH DIR I=25  OWNER=root MODE=40755
 /dev/rwd1d: SIZE=0 MTIME=Nov 19 03:53 2005  (CLEARED)
 /dev/rwd1d: UNREF FILE  I=27  OWNER=root MODE=100644
 /dev/rwd1d: SIZE=0 MTIME=Nov 19 03:53 2005  (CLEARED)
 /dev/rwd1d: UNREF FILE  I=78  OWNER=root MODE=100644
 /dev/rwd1d: SIZE=4384 MTIME=Nov 19 03:53 2005  (RECONNECTED)
 /dev/rwd1d: UNREF FILE  I=110  OWNER=root MODE=100644
 /dev/rwd1d: SIZE=0 MTIME=Nov 19 03:53 2005  (CLEARED)
 /dev/rwd1d: UNREF FILE  I=198  OWNER=root MODE=100644
 /dev/rwd1d: SIZE=32 MTIME=Nov 19 03:53 2005  (RECONNECTED)
 /dev/rwd1d: UNREF FILE  I=380  OWNER=root MODE=100644
 /dev/rwd1d: SIZE=1580 MTIME=Nov 19 03:53 2005  (RECONNECTED)
 /dev/rwd1d: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
 /dev/rwd1d: SUMMARY INFORMATION BAD (SALVAGED)
 /dev/rwd1d: BLK(S) MISSING IN BIT MAPS (SALVAGED)
 /dev/rwd1d: 8950 files, 252854 used, 150117 free (1085 frags, 18629 blocks, 0.3% fragmentation)
 /dev/rwd1d: MARKING FILE SYSTEM CLEAN
 /dev/rwd1m: 5 files, 159675 used, 871936 free (16 frags, 108990 blocks, 0.0% fragmentation)
 /dev/rwd1m: MARKING FILE SYSTEM CLEAN
 setting tty flags
 ddb.console: 0 -> 1
 ddb.max_line: 24 -> 0
 machdep.allowaperture: 0 -> 2
 machdep.kbdreset: 0 -> 1
 kern.usermount: 0 -> 1
 kern.nosuidcoredump: 1 -> 0
 starting network
 DHCPREQUEST on sk0 to 255.255.255.255 port 67
 DHCPREQUEST on sk0 to 255.255.255.255 port 67
 DHCPACK from 10.0.2.3
 bound to 10.0.2.30 -- renewal in 302400 seconds.
 starting system logger
 starting rpc daemons: portmap mountd nfsd ntpd.
 savecore: no core dump
 checking quotas: done.
 building ps databases: kvm dev.
 clearing /tmp
 starting pre-securelevel daemons:.
 setting kernel security level: kern.securelevel: 0 -> 1
 creating runtime link editor directory cache.
 preserving editor files
 starting network daemons: sendmail httpd inetd sshd.
 starting local daemons:.
 standard daemons: cron.
 Fri Nov 18 23:07:12 EST 2005
 
 OpenBSD/amd64 (a8v2.thrush.com) (tty00)
 
 login:
 
 #################### /etc/fstab ####################################
 /dev/wd1a / ffs rw,softdep 1 1
 /dev/wd0b swap swap sw 0 0
 /dev/wd1b swap swap sw 0 0
 /dev/wd0b /tmp mfs rw,-s=1024000,nosuid,noexec,nodev 0 0
 /dev/wd1i /altroot ffs xx 0 0
 /dev/wd0h /home ffs rw,softdep,nodev,nosuid 1 2
 /dev/wd1p /pub ffs rw,softdep,nodev,nosuid 1 2
 /dev/wd1e /usr ffs ro,softdep,nodev 1 2
 /dev/wd1g /usr/X11R6 ffs ro,softdep,nodev 1 2
 /dev/wd1f /usr/local ffs ro,softdep,nodev 1 2
 /dev/wd1o /usr/obj ffs rw,async,nodev,nosuid 1 2
 /dev/wd1d /var ffs rw,softdep,nodev,nosuid 1 2
 /dev/wd1m /var/crash ffs rw,softdep,nodev,nosuid 1 2
 /dev/wd0a /i386 ffs ro,softdep,noauto 1 1
 /dev/wd0e /i386/usr ffs ro,softdep,nodev,noauto 1 2
 /dev/wd0g /i386/usr/X11R6 ffs ro,softdep,nodev,noauto 1 2
 /dev/wd0f /i386/usr/local ffs ro,softdep,nodev,noauto 1 2
 /dev/wd0o /i386/usr/obj ffs ro,nodev,nosuid,async,noauto 1 2
 /dev/wd0d /i386/var ffs ro,softdep,nodev,nosuid,noauto 1 2
 /dev/wd0m /i386/var/crash ffs ro,softdep,nodev,nosuid,noauto 1 2
 /dev/cd0a /cd0 cd9660 ro,noauto 0 0
 a8v:/pub  /a8v/pub nfs rw,nodev,nosuid,noauto,soft,intr,-b 0 0
 tarpit:/pub2 /tarpit/pub2 nfs ro,nodev,nosuid,noauto,soft,intr,-b 0 0