Jeff Ross wrote:

Followup message below:


OpenBSD 4.4.-beta i386  (dmesg at the bottom)

This is the same system that I reported a bsd.mp panic on last night. Sometime over night the single processor generic bsd kernel panicked as well. As you'll see below, when I got my trace and ps I entered a boot reboot at the ddb prompt. The system did not reboot. Instead, it panicked again. The second trace and ps are for this second panic, and the ps shows a lot of processes that should not yet be on a rebooted system.

I had someone at the shelter power cycle the server and it successfully rebooted.

[EMAIL PROTECTED] bounces sendbug e-mail:

Connected to 192.43.244.163 but sender was rejected.
Remote host said: 553 5.1.8 <[EMAIL PROTECTED]>... Domain of sender address [EMAIL PROTECTED] does not exist

Thanks,


Jeff


Connected

ddb> trace
Debugger(d06e2120,d2a2f0b8,5,d981ecfc,4000) at Debugger+0x4
panic(d06e20e0,5,df00ad40,d037d8ec,50) at panic+0x55
softdep_deallocate_dependencies(d981ecfc,d981ecfc,df00ad60,d0378850) at softdep
_deallocate_dependencies+0x1e
brelse(d981ecfc,d2a25800,41000080,d2a064b8,d2a06640) at brelse+0x1cf
ahc_done(d29ec400,d2a064b8,1,d29ec400,0) at ahc_done+0x1cd
ahc_abort_scbs(d29ec400,3,41,ffffffff,ff) at ahc_abort_scbs+0x292
ahc_scb_devinfo(d29ec400,df00ae98,8,d0698077,1,d2a06448,d2a06448,0) at ahc_scb_
devinfo+0x2203
ahc_handle_scsiint(d29ec400,4,df00af20,180) at ahc_handle_scsiint+0x735
ahc_adapter_req_set_xfer_mode(d29ec400) at ahc_adapter_req_set_xfer_mode+0x641
Xrecurse_legacy9() at Xrecurse_legacy9+0xb1
--- interrupt ---
cpu_idle_cycle(d08be1a0) at cpu_idle_cycle+0xf
Bad frame pointer: 0xd0956e78
ddb> ps
  PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
31076  16649  31552      0  3      0x4080  select        ssh
16649  17926  31552      0  3      0x4008  biowait       rsync
13145  31552  31552      0  3      0x4080  piperd        mail
 8994  31552  31552      0  3      0x4080  piperd        tee
17926  31552  31552      0  3      0x4080  pause         sh
31552  31372  31552      0  3      0x4080  pause         sh
31372  20946  20946      0  3        0x80  piperd        cron
23944  30887  30887      0  3       0x181  select        smbd
 3848  30887  30887      0  3       0x181  select        smbd
17268      1  17268      0  3      0x4082  ttyin         getty
 2231  30887  30887   1063  3       0x181  select        smbd
11120      1  11120      0  3      0x4082  ttyin         getty
 9529      1   9529      0  3      0x4082  ttyin         getty
 3462      1   3462      0  3      0x4082  ttyin         getty
31835      1  31835      0  3      0x4082  ttyin         getty
 8756      1   8756      0  3      0x4082  ttyin         getty
21402      1  21402      0  3        0x80  poll          wsmoused
20946      1  20946      0  3        0x80  select        cron
 6925      1   6925      0  3     0x80080  nanosleep     sensorsd
24178      1  24178      0  3        0x80  select        sshd
17037  30462  30462     67  3       0x180  netcon        httpd
11604  30462  30462     67  3       0x180  netcon        httpd
32033  30462  30462     67  3       0x180  netcon        httpd
30221  30462  30462     67  3       0x180  netcon        httpd
26198  30462  30462     67  3       0x180  netcon        httpd
 8325      1   8325      0  3       0x180  select        inetd
20687      1  20687      0  3        0x80  poll          ftpd
19820  26169  19820    503  3        0x88  poll          postgres
11008  26169  11008    503  3        0x88  select        postgres
30462      1  30462     67  3       0x180  select        httpd
30314  18521  18521      0  3        0x80  piperd        nmbd
18521  16174  18521      0  3      0x4081  select        nmbd
25006  30887  30887      0  3       0x181  pause         smbd
29315  27189  27189     83  3       0x180  poll          ntpd
27189      1  27189      0  3        0x80  poll          ntpd
 8256  31823   9966     73  3      0x4082  piperd        multilog
19281   5223   9966      0  2      0x4082                socklog
 4071   7570   9966     73  3      0x4082  piperd        multilog
12651  30628   9966      0  3      0x4082  piperd        multilog
23740   9687   9966     73  3      0x4082  piperd        multilog
 3822   7193   9966     73  3      0x4082  piperd        multilog
24758  30414   9966   1001  3      0x4182  poll          dnscache
26169   2353   9966    503  3      0x408a  select        postgres
 4650  28759   9966   7794  3      0x4082  piperd        qmail-clean
26230  28759   9966   7795  3      0x4082  select        qmail-rspawn
22708  28759   9966      0  3      0x4082  select        qmail-lspawn
30887   5282  30887      0  3      0x4181  select        smbd
30180  10543   9966   1002  3      0x4082  piperd        multilog
 9533   4968   9966     73  3      0x4082  piperd        multilog
19900  13195   9966     77  3      0x4182  poll          dhcpd
 5284  28171   9966     73  3      0x4182  netio         socklog
  113   2194   9966   1001  3      0x4182  netio         tinydns
20070  13669   9966   7792  3      0x4082  piperd        multilog
28759  26480   9966   7796  3      0x4082  select        qmail-send
15807   8960   9966   1002  3      0x4082  piperd        multilog
11658  11243   9966      0  3      0x4082  poll          supervise
 9687  11243   9966      0  3      0x4082  poll          supervise
 2353  11243   9966      0  3      0x4082  poll          supervise
 7193  11243   9966      0  3      0x4082  poll          supervise
 5282  11243   9966      0  3      0x4082  poll          supervise
31823  11243   9966      0  3      0x4082  poll          supervise
16174  11243   9966      0  3      0x4082  poll          supervise
 4968  11243   9966      0  3      0x4082  poll          supervise
 5223  11243   9966      0  3      0x4082  poll          supervise
 8960  11243   9966      0  3      0x4082  poll          supervise
 2194  11243   9966      0  3      0x4082  poll          supervise
30628  11243   9966      0  3      0x4082  poll          supervise
13195  11243   9966      0  3      0x4082  poll          supervise
 7570  11243   9966      0  3      0x4082  poll          supervise
28171  11243   9966      0  3      0x4082  poll          supervise
13669  11243   9966      0  3      0x4082  poll          supervise
26480  11243   9966      0  3      0x4082  poll          supervise
10543  11243   9966      0  3      0x4082  poll          supervise
30414  11243   9966      0  3      0x4082  poll          supervise
 1916   9966   9966      0  3      0x4082  piperd        readproctitle
11243   9966   9966      0  3      0x4082  nanosleep     svscan
 9966      1   9966      0  3      0x4082  pause         sh
   12      0      0      0  3    0x100200  bored         crypto
   11      0      0      0  3    0x100200  aiodoned      aiodoned
   10      0      0      0  3    0x100200  syncer        update
    9      0      0      0  3    0x100200  cleaner       cleaner
    8      0      0      0  3    0x100200  reaper        reaper
    7      0      0      0  3    0x100200  pgdaemon      pagedaemon
    6      0      0      0  3    0x100200  pftm          pfpurge
    5      0      0      0  3    0x100200  acpi_idle     acpi0
    4      0      0      0  3    0x100200  bored         syswq
*    3      0      0      0  7    0x100200                idle0
    2      0      0      0  3    0x100200  kmalloc       kmthread
    1      0      1      0  3      0x4080  wait          init
    0     -1      0      0  3     0x80200  scheduler     swapper
ddb> boot reboot
ahc2: Spurious SCSI interrupt
ahc2: board is not responding
cmd fail
found = 6, qinstart = 209, qinfifionext = 214
panic: First/Second Qinfifo fixup
Stopped at      Debugger+0x4:   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> trace
Debugger(d07aae7c,d0,d29ec400,0,d2a064b8) at Debugger+0x4
panic(d069827a,6,d1,d6,339c) at panic+0x55
ahc_search_qinfifo(d29ec400,ffffffff,41,ffffffff,ff,0,1c,0) at ahc_search_qinfi
fo+0x578
ahc_abort_scbs(d29ec400,ffffffff,41,ffffffff,ff) at ahc_abort_scbs+0x63
ahc_reset_channel(d29ec400,41,1,0) at ahc_reset_channel+0x1a4
ahc_timeout(d2a064b8,186a0,df00a948,d05e62f1) at ahc_timeout+0xd8
ahc_execute_scb(d2a064b8,0,0,d29edd00,1) at ahc_execute_scb+0x2c2
ahc_action(d9d3f5ac,0,df00a9d8,d0326a92) at ahc_action+0xe3
scsi_execute_xs(d9d3f5ac,d9d3f605,a,d29edd00,20) at scsi_execute_xs+0x50
scsi_scsi_cmd(d29edd00,df00aa40,a,0,0,4,186a0,0,103,0,df00aa58,d05e62f1) at scs
i_scsi_cmd+0xa0
sd_flush(d2a27200,3,3e,df00aa88) at sd_flush+0x59
sd_shutdown(d2a27200,2e9b,df00aab8,d05e6321) at sd_shutdown+0x2f
dohooks(d07aaae0,1,df00aaf8,d0325c91) at dohooks+0x6b
boot(4804,0,df00ab18,0,0) at boot+0x67
db_boot_poweroff_cmd(d0486344,0,ffffffff,df00ab20,d07a8ae0) at db_boot_poweroff
_cmd
db_command(d07a8ae0,d07a8900,df00ac28,d0324b81,80) at db_command+0xff
db_command_loop(0,df00acb0,df00ac68,d0486193,1) at db_command_loop+0x8a
db_trap(1,0,c,d0,d07aadf0) at db_trap+0x90
kdb_trap(1,0,df00acb0,80) at kdb_trap+0xab
trap() at trap+0x95
--- trap (number 1) ---
Debugger(d06e2120,d2a2f0b8,5,d981ecfc,4000) at Debugger+0x4
panic(d06e20e0,5,df00ad40,d037d8ec,50) at panic+0x55
softdep_deallocate_dependencies(d981ecfc,d981ecfc,df00ad60,d0378850) at softdep
_deallocate_dependencies+0x1e
brelse(d981ecfc,d2a25800,41000080,d2a064b8,d2a06640) at brelse+0x1cf
ahc_done(d29ec400,d2a064b8,1,d29ec400,0) at ahc_done+0x1cd
ahc_abort_scbs(d29ec400,3,41,ffffffff,ff) at ahc_abort_scbs+0x292
ahc_scb_devinfo(d29ec400,df00ae98,8,d0698077,1,d2a06448,d2a06448,0) at ahc_scb_
devinfo+0x2203
ahc_handle_scsiint(d29ec400,4,df00af20,180) at ahc_handle_scsiint+0x735
ahc_adapter_req_set_xfer_mode(d29ec400) at ahc_adapter_req_set_xfer_mode+0x641
Xrecurse_legacy9() at Xrecurse_legacy9+0xb1
--- interrupt ---
cpu_idle_cycle(d08be1a0) at cpu_idle_cycle+0xf
Bad frame pointer: 0xd0956e78
ddb> ps
  PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
31076  16649  31552      0  3      0x4080  select        ssh
16649  17926  31552      0  3      0x4008  biowait       rsync
13145  31552  31552      0  3      0x4080  piperd        mail
 8994  31552  31552      0  3      0x4080  piperd        tee
17926  31552  31552      0  3      0x4080  pause         sh
31552  31372  31552      0  3      0x4080  pause         sh
31372  20946  20946      0  3        0x80  piperd        cron
23944  30887  30887      0  3       0x181  select        smbd
 3848  30887  30887      0  3       0x181  select        smbd
17268      1  17268      0  3      0x4082  ttyin         getty
 2231  30887  30887   1063  3       0x181  select        smbd
11120      1  11120      0  3      0x4082  ttyin         getty
 9529      1   9529      0  3      0x4082  ttyin         getty
 3462      1   3462      0  3      0x4082  ttyin         getty
31835      1  31835      0  3      0x4082  ttyin         getty
 8756      1   8756      0  3      0x4082  ttyin         getty
21402      1  21402      0  3        0x80  poll          wsmoused
20946      1  20946      0  3        0x80  select        cron
 6925      1   6925      0  3     0x80080  nanosleep     sensorsd
24178      1  24178      0  3        0x80  select        sshd
17037  30462  30462     67  3       0x180  netcon        httpd
11604  30462  30462     67  3       0x180  netcon        httpd
32033  30462  30462     67  3       0x180  netcon        httpd
30221  30462  30462     67  3       0x180  netcon        httpd
26198  30462  30462     67  3       0x180  netcon        httpd
 8325      1   8325      0  3       0x180  select        inetd
20687      1  20687      0  3        0x80  poll          ftpd
19820  26169  19820    503  3        0x88  poll          postgres
11008  26169  11008    503  3        0x88  select        postgres
30462      1  30462     67  3       0x180  select        httpd
30314  18521  18521      0  3        0x80  piperd        nmbd
18521  16174  18521      0  3      0x4081  select        nmbd
25006  30887  30887      0  3       0x181  pause         smbd
29315  27189  27189     83  3       0x180  poll          ntpd
27189      1  27189      0  3        0x80  poll          ntpd
 8256  31823   9966     73  3      0x4082  piperd        multilog
19281   5223   9966      0  2      0x4082                socklog
 4071   7570   9966     73  3      0x4082  piperd        multilog
12651  30628   9966      0  3      0x4082  piperd        multilog
23740   9687   9966     73  3      0x4082  piperd        multilog
 3822   7193   9966     73  3      0x4082  piperd        multilog
24758  30414   9966   1001  3      0x4182  poll          dnscache
26169   2353   9966    503  3      0x408a  select        postgres
 4650  28759   9966   7794  3      0x4082  piperd        qmail-clean
26230  28759   9966   7795  3      0x4082  select        qmail-rspawn
22708  28759   9966      0  3      0x4082  select        qmail-lspawn
30887   5282  30887      0  3      0x4181  select        smbd
30180  10543   9966   1002  3      0x4082  piperd        multilog
 9533   4968   9966     73  3      0x4082  piperd        multilog
19900  13195   9966     77  3      0x4182  poll          dhcpd
 5284  28171   9966     73  3      0x4182  netio         socklog
  113   2194   9966   1001  3      0x4182  netio         tinydns
20070  13669   9966   7792  3      0x4082  piperd        multilog
28759  26480   9966   7796  3      0x4082  select        qmail-send
15807   8960   9966   1002  3      0x4082  piperd        multilog
11658  11243   9966      0  3      0x4082  poll          supervise
 9687  11243   9966      0  3      0x4082  poll          supervise
 2353  11243   9966      0  3      0x4082  poll          supervise
 7193  11243   9966      0  3      0x4082  poll          supervise
 5282  11243   9966      0  3      0x4082  poll          supervise
31823  11243   9966      0  3      0x4082  poll          supervise
16174  11243   9966      0  3      0x4082  poll          supervise
 4968  11243   9966      0  3      0x4082  poll          supervise
 5223  11243   9966      0  3      0x4082  poll          supervise
 8960  11243   9966      0  3      0x4082  poll          supervise
 2194  11243   9966      0  3      0x4082  poll          supervise
30628  11243   9966      0  3      0x4082  poll          supervise
13195  11243   9966      0  3      0x4082  poll          supervise
 7570  11243   9966      0  3      0x4082  poll          supervise
28171  11243   9966      0  3      0x4082  poll          supervise
13669  11243   9966      0  3      0x4082  poll          supervise
26480  11243   9966      0  3      0x4082  poll          supervise
10543  11243   9966      0  3      0x4082  poll          supervise
30414  11243   9966      0  3      0x4082  poll          supervise
 1916   9966   9966      0  3      0x4082  piperd        readproctitle
11243   9966   9966      0  3      0x4082  nanosleep     svscan
 9966      1   9966      0  3      0x4082  pause         sh
   12      0      0      0  3    0x100200  bored         crypto
   11      0      0      0  3    0x100200  aiodoned      aiodoned
   10      0      0      0  3    0x100200  syncer        update
    9      0      0      0  3    0x100200  cleaner       cleaner
    8      0      0      0  3    0x100200  reaper        reaper
    7      0      0      0  3    0x100200  pgdaemon      pagedaemon
    6      0      0      0  3    0x100200  pftm          pfpurge
    5      0      0      0  3    0x100200  acpi_idle     acpi0
    4      0      0      0  3    0x100200  bored         syswq
*    3      0      0      0  7    0x100200                idle0
    2      0      0      0  3    0x100200  kmalloc       kmthread
    1      0      1      0  3      0x4080  wait          init
    0     -1      0      0  3     0x80200  scheduler     swapper
ddb>   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
31076  16649  31552      0  3      0x4080  select        ssh
16649  17926  31552      0  3      0x4008  biowait       rsync
13145  31552  31552      0  3      0x4080  piperd        mail
 8994  31552  31552      0  3      0x4080  piperd        tee
17926  31552  31552      0  3      0x4080  pause         sh
31552  31372  31552      0  3      0x4080  pause         sh
31372  20946  20946      0  3        0x80  piperd        cron
23944  30887  30887      0  3       0x181  select        smbd
 3848  30887  30887      0  3       0x181  select        smbd
17268      1  17268      0  3      0x4082  ttyin         getty
 2231  30887  30887   1063  3       0x181  select        smbd
11120      1  11120      0  3      0x4082  ttyin         getty
 9529      1   9529      0  3      0x4082  ttyin         getty
 3462      1   3462      0  3      0x4082  ttyin         getty
31835      1  31835      0  3      0x4082  ttyin         getty
 8756      1   8756      0  3      0x4082  ttyin         getty
21402      1  21402      0  3        0x80  poll          wsmoused
20946      1  20946      0  3        0x80  select        cron
 6925      1   6925      0  3     0x80080  nanosleep     sensorsd
24178      1  24178      0  3        0x80  select        sshd
17037  30462  30462     67  3       0x180  netcon        httpd
11604  30462  30462     67  3       0x180  netcon        httpd
32033  30462  30462     67  3       0x180  netcon        httpd
30221  30462  30462     67  3       0x180  netcon        httpd
26198  30462  30462     67  3       0x180  netcon        httpd
 8325      1   8325      0  3       0x180  select        inetd
20687      1  20687      0  3        0x80  poll          ftpd
19820  26169  19820    503  3        0x88  poll          postgres
11008  26169  11008    503  3        0x88  select        postgres
30462      1  30462     67  3       0x180  select        httpd
30314  18521  18521      0  3        0x80  piperd        nmbd
18521  16174  18521      0  3      0x4081  select        nmbd
25006  30887  30887      0  3       0x181  pause         smbd
29315  27189  27189     83  3       0x180  poll          ntpd
27189      1  27189      0  3        0x80  poll          ntpd
 8256  31823   9966     73  3      0x4082  piperd        multilog
19281   5223   9966      0  2      0x4082                socklog
 4071   7570   9966     73  3      0x4082  piperd        multilog
12651  30628   9966      0  3      0x4082  piperd        multilog
23740   9687   9966     73  3      0x4082  piperd        multilog
 3822   7193   9966     73  3      0x4082  piperd        multilog
24758  30414   9966   1001  3      0x4182  poll          dnscache
26169   2353   9966    503  3      0x408a  select        postgres
 4650  28759   9966   7794  3      0x4082  piperd        qmail-clean
26230  28759   9966   7795  3      0x4082  select        qmail-rspawn
22708  28759   9966      0  3      0x4082  select        qmail-lspawn
30887   5282  30887      0  3      0x4181  select        smbd
30180  10543   9966   1002  3      0x4082  piperd        multilog
 9533   4968   9966     73  3      0x4082  piperd        multilog

dmesg

OpenBSD 4.4-beta (GENERIC) #980: Sun Jul 20 14:35:02 MDT 2008
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 1 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
real mem  = 2146983936 (2047MB)
avail mem = 2067836928 (1972MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/30/01, BIOS32 rev. 0 @ 0xfd85e, SMBIOS rev. 2.3 @ 0xef530 (51 entries) bios0: vendor Intel Corporation version "STL20.86B.0021.P01.0103301605" date 03/30/2001
bios0: Intel STL2
apm at bios0 function 0x15 not configured
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC BOOT
acpi0: wakeup devices SLPB(S4) COMA(S4) COMB(S4) LAN0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature 110 degC
acpitz1 at acpi0: critical temperature 110 degC
acpitz2 at acpi0: critical temperature 80 degC
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1800 0xc9800/0x2800 0xcc000/0x5400
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x06
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x06
pci1 at pchb1 bus 1
ahc0 at pci1 dev 4 function 0 "Adaptec AIC-7899 U160" rev 0x01: irq 9
scsibus0 at ahc0: 16 targets, initiator 7
ahc1 at pci1 dev 4 function 1 "Adaptec AIC-7899 U160" rev 0x01: irq 5
scsibus1 at ahc1: 16 targets, initiator 7
vga1 at pci0 dev 2 function 0 "ATI Mach64 GV" rev 0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 3 function 0 "Intel 8255x" rev 0x08, i82559: irq 10, address 00:d0:b7:b8:0a:d1
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
pciide0 at pci0 dev 6 function 0 "Promise PDC20269" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using irq 12 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST340016A>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ahc2 at pci0 dev 7 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 9
scsibus2 at ahc2: 16 targets, initiator 7
sd0 at scsibus2 targ 0 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd0: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd1 at scsibus2 targ 1 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd1: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd2 at scsibus2 targ 2 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd2: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd3 at scsibus2 targ 3 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd3: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd4 at scsibus2 targ 4 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd4: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd5 at scsibus2 targ 5 lun 0: <FUJITSU, MAP3735NC, 0108> SCSI3 0/direct fixed sd5: 70103MB, 47996 cyl, 4 head, 747 sec, 512 bytes/sec, 143571316 sec total
puc0 at pci0 dev 9 function 0 "US Robotics 3CP5610" rev 0x01: ports: 1 com
com3 at puc0 port 0 irq 11: ns16550a, 16 byte fifo
com3: probed fifo depth: 0 bytes
piixpm0 at pci0 dev 15 function 0 "ServerWorks OSB4" rev 0x50: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x52: 1GB SDRAM registered ECC PC133CL3
spdmem1 at iic0 addr 0x53: 1GB SDRAM registered ECC PC133CL3
pciide1 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x00: DMA
atapiscsi0 at pciide1 channel 0 drive 0
scsibus3 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus3 targ 0 lun 0: <MITSUMI, CD-ROM FX4830T!B, R02E> ATAPI 5/cdrom removable
cd0(pciide1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide1: couldn't map native-PCI interrupt
isa0 at mainbus0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask f365 netmask f765 ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
ahc2: target 0 using 16bit transfers
ahc2: target 0 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 1 using 16bit transfers
ahc2: target 1 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 2 using 16bit transfers
ahc2: target 2 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 3 using 16bit transfers
ahc2: target 3 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 4 using 16bit transfers
ahc2: target 4 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 5 using 16bit transfers
ahc2: target 5 synchronous at 80.0MHz DT, offset = 0x7f
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted


This time I was updating/installing packages on the server over the console (dmesg below) when it panicked.

panic: softdep_deallocate_dependencies: unrecovered I/O error
Stopped at      Debugger+0x4:   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>
ddb> trace
Debugger(d06e2120,d2a6a8b8,5,d96bd9a8,4000) at Debugger+0x4
panic(d06e20e0,5,df00ad40,d0356c90,80) at panic+0x55
softdep_deallocate_dependencies(d96bd9a8,d96bd9a8,df00ad60,d0378850) at softdep
_deallocate_dependencies+0x1e
brelse(d96bd9a8,d2a25e00,41000080,d2a06410,0) at brelse+0x1cf
ahc_done(d29ec400,d2a06410,1,0,0) at ahc_done+0x1cd
ahc_abort_scbs(d29ec400,3,41,ffffffff,ff) at ahc_abort_scbs+0x292
ahc_scb_devinfo(d29ec400,df00ae98,8,d0698077,1,d2a062c0,d2a062c0,0) at ahc_scb_
devinfo+0x2203
ahc_handle_scsiint(d29ec400,4,df00af20,180) at ahc_handle_scsiint+0x735
ahc_adapter_req_set_xfer_mode(d29ec400) at ahc_adapter_req_set_xfer_mode+0x641
Xrecurse_legacy9() at Xrecurse_legacy9+0xb1
--- interrupt ---
cpu_idle_cycle(d08be1a0) at cpu_idle_cycle+0xf
Bad frame pointer: 0xd0956e78
ddb>
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 12050  12763  12763      0  3       0x181  select        smbd
 13449  12763  12763   1008  2       0x101                smbd
 29362  12763  12763      0  3       0x181  select        smbd
  8366  12763  12763      0  3       0x181  select        smbd
 28839      1  28839   1000  3      0x4082  ttyin         ksh
  7530  12763  12763      0  3       0x181  select        smbd
 25022  26745  26745   1000  3      0x4082  piperd        tai64nlocal
 24583  26745  26745   1000  3      0x4082  kqread        tail
 11396      1  11396      0  3      0x4082  ttyin         getty
 27778      1  27778      0  3      0x4082  ttyin         getty
 21569      1  21569      0  3      0x4082  ttyin         getty
 13276      1  13276      0  3      0x4082  ttyin         getty
 21422      1  21422      0  3        0x80  poll          wsmoused
  8529      1   8529      0  3        0x80  select        cron
 24733      1  24733      0  3     0x80080  nanosleep     sensorsd
  4917      1   4917      0  3        0x80  select        sshd
  3994  27622  27622     67  3       0x180  netcon        httpd
 14071  27622  27622     67  3       0x180  netcon        httpd
 28835  27622  27622     67  3       0x180  netcon        httpd
 16292  27622  27622     67  3       0x180  netcon        httpd
 19978  27622  27622     67  3       0x180  netcon        httpd
  2387      1   2387      0  3       0x180  select        inetd
 16395      1  16395      0  3        0x80  poll          ftpd
 27622      1  27622     67  3       0x180  select        httpd
 10278  14884  10278    503  3        0x88  poll          postgres
  9831  14884   9831    503  3        0x88  select        postgres
 31627  20524  28103   7794  3      0x4082  piperd        qmail-clean
 17193  20524  28103   7795  3      0x4082  select        qmail-rspawn
 18568  20524  28103      0  3      0x4082  select        qmail-lspawn
   281  24647  28103     73  3      0x4082  piperd        multilog
 26191  28426  28103   1001  3      0x4182  netio         tinydns
 28913   9393  28103     73  3      0x4082  piperd        multilog
 14884   8180  28103    503  3      0x408a  select        postgres
  6065  29642  28103      0  2      0x4082                socklog
 20524   8029  28103   7796  3      0x4082  select        qmail-send
  7145  10485  28103   1001  3      0x4182  poll          dnscache
 22504   8349  28103      0  3      0x4082  piperd        multilog
  5120  32072  28103     73  3      0x4082  piperd        multilog
 12763  21445  12763      0  3      0x4181  select        smbd
  9451  14262  28103     77  3      0x4182  poll          dhcpd
 23155  27752  28103     73  3      0x4082  piperd        multilog
  3037  17868  28103   1002  3      0x4082  piperd        multilog
 14252  26682  28103     73  3      0x4182  netio         socklog
  4393  14848  28103     73  3      0x4082  piperd        multilog
  1283   9223  28103   7792  3      0x4082  piperd        multilog
  4855   9082  28103   1002  3      0x4082  piperd        multilog
 22804   8205  28103      0  3      0x4082  poll          supervise
 32072   8205  28103      0  3      0x4082  poll          supervise
  8180   8205  28103      0  3      0x4082  poll          supervise
 27752   8205  28103      0  3      0x4082  poll          supervise
 21445   8205  28103      0  3      0x4082  poll          supervise
 24647   8205  28103      0  3      0x4082  poll          supervise
  2564   8205  28103      0  3      0x4082  poll          supervise
  9393   8205  28103      0  3      0x4082  poll          supervise
 29642   8205  28103      0  3      0x4082  poll          supervise
 17868   8205  28103      0  3      0x4082  poll          supervise
 28426   8205  28103      0  3      0x4082  poll          supervise
  8349   8205  28103      0  3      0x4082  poll          supervise
 14262   8205  28103      0  3      0x4082  poll          supervise
 14848   8205  28103      0  3      0x4082  poll          supervise
 26682   8205  28103      0  3      0x4082  poll          supervise
  9223   8205  28103      0  3      0x4082  poll          supervise
  8029   8205  28103      0  3      0x4082  poll          supervise
  9082   8205  28103      0  3      0x4082  poll          supervise
 10485   8205  28103      0  3      0x4082  poll          supervise
 18227  28103  28103      0  3      0x4082  piperd        readproctitle
  8205  28103  28103      0  3      0x4082  nanosleep     svscan
    12      0      0      0  3    0x100200  bored         crypto
    11      0      0      0  3    0x100200  aiodoned      aiodoned
    10      0      0      0  3    0x100200  syncer        update
     9      0      0      0  3    0x100200  cleaner       cleaner
     8      0      0      0  3    0x100200  reaper        reaper
     7      0      0      0  3    0x100200  pgdaemon      pagedaemon
     6      0      0      0  3    0x100200  pftm          pfpurge
     5      0      0      0  3    0x100200  acpi_idle     acpi0
     4      0      0      0  3    0x100200  bored         syswq
*    3      0      0      0  7    0x100200                idle0
     2      0      0      0  3    0x100200  kmalloc       kmthread
     1      0      1      0  3      0x4080  wait          init
     0     -1      0      0  3     0x80200  scheduler     swapper
                                       200  cleaner       cleaner
  2218  29533  29533      0  3        0x80  piperd        nmbd
 29533   2564  29533      0  3      0x4081  select        nmbd
 28727  12763  12763      0  3       0x181  pause         smbd
 25403  23305  23305     83  3       0x180  poll          ntpd
 23305      1  23305      0  3        0x80  poll          ntpd

 26745  23358  26745   1000  3      0x4082  pause         sh
  8710  12763  12763      0  3       0x181  select        smbd
 23358   4016  23358   1000  3      0x4082  pause         ksh
  4016      1   4016   1000  3        0x80  select        screen
  4116  12763  12763      0  3       0x181  select        smbd
 16539  12763  12763      0  3       0x181  select        smbd
  3609  12763  12763      0  3       0x181  select        smbd
 30191  12763  12763   1063  3       0x181  select        smbd
 29731  27622  27622     67  3       0x180  netcon        httpd
 20269  12763  12763      0  3       0x181  select        smbd
 12958  12763  12763      0  3       0x181  select        smbd
 29140  12763  12763      0  3       0x181  select        smbd
 21588      1  21588      0  3      0x4082  ttyin         getty


again, when I got all of this and entered boot reboot at the ddb prompt, I got the same problem with the ahc2 board not responding, and when the system rebooted it found only 4 of the 5 drives (missing #3, so the drives after that come up in the wrong order to mount according to the information in /etc/fstab).

Is it possible that this is a hardware issue? I'm not seeing any drive related errors on the console log,

Here's the dmesg from the system at the run fsck_ffs manually" prompt where we are missing a drive:
# dmesg
OpenBSD 4.4-beta (GENERIC) #980: Sun Jul 20 14:35:02 MDT 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 1 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
real mem  = 2146983936 (2047MB)
avail mem = 2067836928 (1972MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/30/01, BIOS32 rev. 0 @ 0xfd85e, SMBIOS rev. 2.3 @ 0xef530 (51 entries) bios0: vendor Intel Corporation version "STL20.86B.0021.P01.0103301605" date 03/30/2001
bios0: Intel STL2
apm at bios0 function 0x15 not configured
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC BOOT
acpi0: wakeup devices SLPB(S4) COMA(S4) COMB(S4) LAN0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature 110 degC
acpitz1 at acpi0: critical temperature 110 degC
acpitz2 at acpi0: critical temperature 80 degC
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1800 0xc9800/0x2800 0xcc000/0x5400
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x06
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x06
pci1 at pchb1 bus 1
ahc0 at pci1 dev 4 function 0 "Adaptec AIC-7899 U160" rev 0x01: irq 9
scsibus0 at ahc0: 16 targets, initiator 7
ahc1 at pci1 dev 4 function 1 "Adaptec AIC-7899 U160" rev 0x01: irq 5
scsibus1 at ahc1: 16 targets, initiator 7
vga1 at pci0 dev 2 function 0 "ATI Mach64 GV" rev 0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 3 function 0 "Intel 8255x" rev 0x08, i82559: irq 10, address 00:d0:b7:b8:0a:d1
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
pciide0 at pci0 dev 6 function 0 "Promise PDC20269" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using irq 12 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST340016A>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ahc2 at pci0 dev 7 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 9
scsibus2 at ahc2: 16 targets, initiator 7
sd0 at scsibus2 targ 0 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd0: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd1 at scsibus2 targ 1 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd1: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd2 at scsibus2 targ 2 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd2: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd3 at scsibus2 targ 4 lun 0: <SEAGATE, ST318405LC, 0105> SCSI3 0/direct fixed
sd3: 17501MB, 19036 cyl, 4 head, 470 sec, 512 bytes/sec, 35843670 sec total
sd4 at scsibus2 targ 5 lun 0: <FUJITSU, MAP3735NC, 0108> SCSI3 0/direct fixed
sd4: 70103MB, 47996 cyl, 4 head, 747 sec, 512 bytes/sec, 143571316 sec total
puc0 at pci0 dev 9 function 0 "US Robotics 3CP5610" rev 0x01: ports: 1 com
com3 at puc0 port 0 irq 11: ns16550a, 16 byte fifo
com3: probed fifo depth: 0 bytes
piixpm0 at pci0 dev 15 function 0 "ServerWorks OSB4" rev 0x50: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x52: 1GB SDRAM registered ECC PC133CL3
spdmem1 at iic0 addr 0x53: 1GB SDRAM registered ECC PC133CL3
pciide1 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x00: DMA
atapiscsi0 at pciide1 channel 0 drive 0
scsibus3 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus3 targ 0 lun 0: <MITSUMI, CD-ROM FX4830T!B, R02E> ATAPI 5/cdrom removable
cd0(pciide1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide1: couldn't map native-PCI interrupt
isa0 at mainbus0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask f365 netmask f765 ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
ahc2: target 0 using 16bit transfers
ahc2: target 0 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 1 using 16bit transfers
ahc2: target 1 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 2 using 16bit transfers
ahc2: target 2 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 4 using 16bit transfers
ahc2: target 4 synchronous at 80.0MHz DT, offset = 0x3f
ahc2: target 5 using 16bit transfers
ahc2: target 5 synchronous at 80.0MHz DT, offset = 0x7f
root on wd0a swap on wd0b dump on wd0b

Right now the system is off. It seems like it will reboot and find everything if we wait a bit.

Thanks,

Jeff

Reply via email to