hello,

i was setting up my wrap.1e board when the following happened. this is 
not the first actual installation of 3.8 on this very hardware, but i 
never got around to actually start configuring the box (i was playing 
with the etherboot upgrade mentioned earlier).

everything is via wrap's serial console, 57600 8n1; -stable sans 
today's pf_norm fix.

barghest:/etc/ppp# uudecode
[demime removed a uuencoded section named ppp.conf which was 2 lines]
barghest:/etc/ppp# ls -l ppp.
ls: ppp.: No such file or directory
barghest:/etc/ppp# ls -l ppp.conf
-rw-r--r--  1 root  wheel  660 Jan 14 03:30 ppp.conf
barghest:/etc/ppp# chmod 06panic: ffs_read: type 0
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(0,4003,0,400,d3b712a4) at Debugger+0x4
panic(d0509aed,d0509ae4,0,ffffffff,0) at panic+0x63
ffs_read(dab0fe18,cfc00000,dab0fe40,d0242974,d0580540) at ffs_read+0x36d
VOP_READ(d3b712a4,dab0fe98,0,d3bf3230,d01021e1) at VOP_READ+0x34
vn_read(d3bdadb0,d3bdadcc,dab0fe98,d3bf3230) at vn_read+0x72
dofileread(d3ba9a44,5,d3bdadb0,87979000,400) at dofileread+0x6c
sys_read(d3ba9a44,dab0ff68,dab0ff58,1000,8bb) at sys_read+0x47
syscall() at syscall+0x2ee
--- syscall (number 3) ---
0x9bb6581:
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
*16387   4580    260      0  7      0x4004             perl
  5086    260    260      0  3      0x4084  piperd     mail
    10    260    260      0  3      0x4084  piperd     tee
  4580    260    260      0  3      0x4084  pause      sh
   260  25521    260      0  3      0x4084  pause      sh
 25521   4174   4174      0  3        0x84  piperd     cron
 22204      1  22204      0  3      0x4086  ttyin      ksh
  4174      1   4174      0  3        0x84  select     cron
 12542      1  12542      0  3     0x40184  select     sendmail
 24235      1  24235      0  3        0x84  select     sshd
  2516      1   2516      0  3       0x184  select     inetd
   317   2344   2344     83  3       0x184  poll       ntpd
  2344      1   2344      0  3        0x84  poll       ntpd
  5611  20614  20614     73  3       0x184  poll       syslogd
 20614      1  20614      0  3        0x84  netio      syslogd
 11063      1  11063     77  3       0x184  poll       dhclient
 18491      1   7301      0  3        0x86  poll       dhclient
     9      0      0      0  3    0x100204  crypto_wa  crypto
     8      0      0      0  3    0x100204  aiodoned   aiodoned
     7      0      0      0  3    0x100204  syncer     update
     6      0      0      0  3    0x100204  cleaner    cleaner
     5      0      0      0  3    0x100204  reaper     reaper
     4      0      0      0  3    0x100204  pgdaemon   pagedaemon
     3      0      0      0  3    0x100204  pftm       pfpurge
     2      0      0      0  3    0x100204  kmalloc    kmthread
     1      0      1      0  3      0x4084  wait       init
     0     -1      0      0  3     0x80204  scheduler  swapper
ddb> show panic
ffs_read: type 0
ddb> boot reboot
panic: mtx_enter: locking against myself
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(16e2f4,dab0eea0,d04462e4,d0957e68,d057f960) at Debugger+0x4
panic(d01021a3,dab0eeb0,d021a21c,d057f990,d0587d70) at panic+0x63
mtx_enter(d057f990,d0587d70,dab0eec0,d01e98a6,1) at mtx_enter+0x5b
timeout_del(d0957e68,0,dab0eef0,d01e99f5,dab0eee4) at timeout_del+0x14
sis_stop(d0957c00,dab0ef74,dab0ef20,d01e9b05) at sis_stop+0x3a
dohooks(d057f960,1,dab0ef50,d01e9ba1) at dohooks+0x5e
boot(4804,b0,dab0ef70,0,0) at boot+0x55
db_boot_poweroff_cmd(d0337fd0,0,ffffffff,dab0ef78,d057dd80) at 
db_boot_poweroff_cmd
db_command(d057dd80,d057dba0,dab0f080,d01e8b41,b0) at db_command+0xff
db_command_loop(0,dab0f118,dab0f0c0,d0337e1f,1) at db_command_loop+0x8a
db_trap(1,0,0,0,0) at db_trap+0x86
kdb_trap(1,0,dab0f118,d057fac4) at kdb_trap+0xab
trap() at trap+0xa9
--- trap (number 1) ---
Debugger(16e2f4,dab0f194,dab0f230,d0957a68,d057f960) at Debugger+0x4
panic(d01021a3,dab0f1a4,d021a21c,d057f990,ffffffff) at panic+0x63
mtx_enter(d057f990,ffffffff,dab0f1b4,d01e98a6,1) at mtx_enter+0x5b
timeout_del(d0957a68,0,dab0f1e4,d01e99f5,dab0f1d8) at timeout_del+0x14
sis_stop(d0957800,dab0f268,dab0f214,d01e9b05) at sis_stop+0x3a
dohooks(d057f960,1,dab0f244,d01e9ba1) at dohooks+0x5e
boot(4804,d04f0caf,dab0f264,0,0) at boot+0x55
db_boot_poweroff_cmd(d0337fd0,0,ffffffff,dab0f26c,d057dd80) at 
db_boot_poweroff_cmd
db_command(d057dd80,d057dba0,dab0f374,d01e8b41,b0) at db_command+0xff
db_command_loop(0,dab0f40c,dab0f3b4,d0337e1f,1) at db_command_loop+0x8a
db_trap(1,0,0,0,0) at db_trap+0x86
kdb_trap(1,0,dab0f40c,d057fac4) at kdb_trap+0xab
trap() at trap+0xa9
--- trap (number 1) ---
Debugger(16e2f4,dab0f488,d04462e4,d0957668,d057f960) at Debugger+0x4
panic(d01021a3,dab0f498,d021a21c,d057f990,d0587d70) at panic+0x63
mtx_enter(d057f990,d0587d70,dab0f4a8,d01e98a6,1) at mtx_enter+0x5b
timeout_del(d0957668,1,dab0f4c8,d035e8f4,d0a1d000) at timeout_del+0x14
sis_stop(d0957400,dab0f55c,dab0f508,d01e9b05) at sis_stop+0x3a
dohooks(d057f960,1,dab0f538,d01e9ba1) at dohooks+0x5e
boot(4804,b0,dab0f558,0,0) at boot+0x55
db_boot_poweroff_cmd(d0337fd0,0,ffffffff,dab0f560,d057dd80) at 
db_boot_poweroff_cmd
db_command(d057dd80,d057dba0,dab0f668,d01e8b41,b0) at db_command+0xff
db_command_loop(0,dab0f700,dab0f6a8,d0337e1f,1) at db_command_loop+0x8a
db_trap(1,0,0,0,0) at db_trap+0x86
kdb_trap(1,0,dab0f700,d057fac4) at kdb_trap+0xab
trap() at trap+0xa9
--- trap (number 1) ---
Debugger(14,0,d05881e0,d05d1888,d057f960) at Debugger+0x4
panic(d01021a3,dab0f78c,d021a21c,d057f990,0) at panic+0x63
mtx_enter(d057f990,0,dab0f78c,d01e9861,1) at mtx_enter+0x5b
timeout_del(d05d1888,16e2f5,b0,3e,d04f0caf) at timeout_del+0x14
wdog_shutdown(0,dab0f840,dab0f7ec,d01e9b05) at wdog_shutdown+0x21
dohooks(d057f960,1,dab0f81c,d01e9ba1) at dohooks+0x5e
boot(4800,3f8,dab0f83c,0,0) at boot+0x55
db_boot_crash_cmd(d0337fd0,0,ffffffff,dab0f844,d057dd80) at db_boot_crash_cmd
db_command(d057dd80,d057dba0,dab0f94c,d01e8b41,a0) at db_command+0xff
db_command_loop(0,dab0f9e4,dab0f98c,d0337e1f,1) at db_command_loop+0x8a
db_trap(1,0,0,0,0) at db_trap+0x86
kdb_trap(1,0,dab0f9e4,d057fac4) at kdb_trap+0xab
trap() at trap+0xa9
--- trap (number 1) ---
Debugger(d01f2c8e,14,0,dab0e330,dab0faac) at Debugger+0x4
panic(d01021a3,dab0fa70,d021a265,d057f990,dab0e330) at panic+0x63
mtx_enter(d057f990,dab0e330,dab0fa80,d0209a95,d067a300) at mtx_enter+0x5b
timeout_hardclock_update(d09dc680,d0101f16,dab0faa0,d0442ab2,dab0faac) at 
timeout_hardclock_update+0x11
hardclock(dab0faac,dab0fb58,0,0,dab0fab8) at hardclock+0x14e
clockintr(dab0faac) at clockintr+0xe
Xrecurse_legacy0() at Xrecurse_legacy0+0x86
--- interrupt ---
Xspllower(0,0,dab0fb38,d023d25f,0) at Xspllower+0xe
vfs_shutdown(dab0fb90,0,dab0fb68,d01e8cf8,4800) at vfs_shutdown+0x15
boot(4800,d04f0caf,dab0fb88,0,0) at boot+0x15a
db_boot_crash_cmd(d0588300,0,ffffffff,dab0fb90,d057dd80) at db_boot_crash_cmd
db_command(d057dd80,d057dba0,dab0fc98,d01e8b41,0) at db_command+0xff
db_command_loop(0,dab0fd30,dab0fcd8,d0337e1f,1) at db_command_loop+0x8a
db_trap(1,0,0,0,0) at db_trap+0x86
kdb_trap(1,0,dab0fd30,d057fac4) at kdb_trap+0xab
trap() at trap+0xa9
--- trap (number 1) ---
Debugger(0,4003,0,400,d3b712a4) at Debugger+0x4
panic(d0509aed,d0509ae4,0,ffffffff,0) at panic+0x63
ffs_read(dab0fe18,cfc00000,dab0fe40,d0242974,d0580540) at ffs_read+0x36d
VOP_READ(d3b712a4,dab0fe98,0,d3bf3230,d01021e1) at VOP_READ+0x34
vn_read(d3bdadb0,d3bdadcc,dab0fe98,d3bf3230) at vn_read+0x72
dofileread(d3ba9a44,5,d3bdadb0,87979000,400) at dofileread+0x6c
sys_read(d3ba9a44,dab0ff68,dab0ff58,1000,8bb) at sys_read+0x47
syscall() at syscall+0x2ee
--- syscall (number 3) ---
0x9bb6581:
ddb> 
Debugger(16e2f4,dab0eea0,d04462e4,d0957e68,d057f960) at Debugger+0x4
ddb> 
Debugger(16e2f4,dab0eea0,d04462e4,d0957e68,d057f960) at Debugger+0x4
ddb> 
Debugger(16e2f4,dab0eea0,d04462e4,d0957e68,d057f960) at Debugger+0x4
ddb> 
Debugger(16e2f4,dab0eea0,d04462e4,d0957e68,d057f960) at Debugger+0x4
ddb> boot reboot
rebooting...


this actually ate half my perl in /usr.


            PC Engines WRAP.1C/1D/1E v1.10
640 KB Base Memory
130048 KB Extended Memory

01F0 Master 848A Hyperstone ATA                          
Phys C/H/S 1008/14/63 Log C/H/S 441/32/63
Using drive 0, partition 3;
Loading;...
probing: pc0 com0 pci mem[640K 127M a20=on] 
disk: hd0
>> OpenBSD/i386 BOOT 2.10
-
com0: 57600 baud
switching console to com0
>> OpenBSD/i386 BOOT 2.10
boot> 
booting hd0a:/bsd: 4804416+939504 [52+247296+228813]=0x5eeaa8
entry point at 0x100120

[ using 476536 bytes of bsd ELF symbol table ]
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-stable (GENERIC) #1: Sat Jan 14 01:03:11 CET 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC" 
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133804032 (130668K)
avail mem = 115478528 (112772K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(f6) BIOS, date 06/25/05, BIOS32 rev. 0 @ 0xfc612
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
sis0 at pci0 dev 14 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, 
address 00:0d:b9:02:c3:c0
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 15 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 9, 
address 00:0d:b9:02:c3:c1
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 16 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 11, 
address 00:0d:b9:02:c3:c2
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Hyperstone ATA>
wd0: 1-sector PIO, LBA, 434MB, 889056 sectors
wd0(pciide0:0:0): using PIO mode 4
"NS SCx200 AUDIO" rev 0x00 at pci0 dev 18 function 3 not configured
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6 revision 3 
wdstatus 0
isa0 at gscpcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
gscsio0 at isa0 port 0x2e/2: SC1100 SIO rev 1: ACB1 ACB2
iic0 at gscsio0
iic1 at gscsio0
lmtemp0 at iic1 addr 0x48: LM77
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
biomask f1ef netmask ffef ttymask ffef
pctr: no performance counters in CPU
nvram: invalid checksum
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
clock: unknown CMOS layout


as a strange addition, it seems that the board can pretty 
reliably be panicked with the following:


barghest:~# sysctl ddb.console=1
ddb.console: 0 -> 1 # then send a break
barghest:~# Stopped at      Debugger+0x4:   leave
ddb> boot
sync        crash       dump        halt        reboot      poweroff
ddb> boot sync
syncing disks... panic: tsleep
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(1,d0956c00,d0956c94,d05ccd20,d3c2cdb8) at Debugger+0x4
panic(d04f5910,d3c2d824,d0957000,0,0) at panic+0x63
ltsleep(d3c2cdb8,11,d04f8f6c,0,0) at ltsleep+0x9d
getblk(d3be70a0,60,4000,0,0) at getblk+0x161
bread(d3be70a0,60,4000,ffffffff,d06f1a38,d05ccd20,d06f1a4c,d02f6f24) at 
bread+0x1d
ffs_update(d3be68e0,0,0,0,0) at ffs_update+0x140
ffs_fsync(d06f1ab4,0,d06f1adc,d023bf3b,d0580700) at ffs_fsync+0x140
VOP_FSYNC(d3be7780,d3bf3000,2,d05ccd20) at VOP_FSYNC+0x34
ffs_sync_vnode(d3be7780,d06f1b54,d05ccd20,0) at ffs_sync_vnode+0x5c
vfs_mount_foreach_vnode(d0a38000,d02e6fec,d06f1b54,d3bf3000,d0102050) at 
vfs_mount_foreach_vnode+0x2b
ffs_sync(d0a38000,2,d3bf3000,d05ccd20,d0a38000,10,d05d2e80,d05ccd20) at 
ffs_sync+0x61
sys_sync(d05ccd20,0,0,d057fac4,0) at sys_sync+0x87
vfs_shutdown(d06f1c34,0,d06f1c0c,d01e8cf8,4800) at vfs_shutdown+0x6b
boot(4800,d04f0caf,d06f1c2c,0,0) at boot+0x15a
db_boot_crash_cmd(d0337fd0,0,ffffffff,d06f1c34,d057dd80) at db_boot_crash_cmd
db_command(d057dd80,d057dba0,d06f1d3c,d01e8b41,d06f1d18) at db_command+0xff
db_command_loop(0,d06f1dd4,d06f1d7c,d0337e1f,1) at db_command_loop+0x8a
db_trap(1,0,1bd2,d0105778,d06f1dcf) at db_trap+0x86
kdb_trap(1,0,d06f1dd4,0) at kdb_trap+0xab
trap() at trap+0xa9
--- trap (number 1) ---
Debugger(d01021e1,20,0,60,0) at Debugger+0x4
comsoft(d06f0058,d09d0010,d0100010,d06f0010,d06f0000) at comsoft+0xee
Bad frame pointer: 0xd06f1e44
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
  9591      1   9591      0  3      0x4086  ttyin      ksh
 19018      1  19018      0  3        0x84  select     cron
 23809      1  23809      0  3        0x84  select     sshd
  7096  31492  31492     83  3       0x184  poll       ntpd
 31492      1  31492      0  3        0x84  poll       ntpd
 31082  10907  10907     70  3       0x184  select     named
 10907      1  10907      0  3       0x184  netio      named
  2437  31481  31481     73  2       0x184             syslogd
 31481      1  31481      0  3        0x84  netio      syslogd
 30907      1  30907     77  3       0x184  poll       dhclient
 29200      1   7285      0  3        0x86  poll       dhclient
     9      0      0      0  3    0x100204  crypto_wa  crypto
     8      0      0      0  3    0x100204  aiodoned   aiodoned
     7      0      0      0  3    0x100204  syncer     update
     6      0      0      0  3    0x100204  cleaner    cleaner
     5      0      0      0  3    0x100204  reaper     reaper
     4      0      0      0  3    0x100204  pgdaemon   pagedaemon
     3      0      0      0  3    0x100204  pftm       pfpurge
     2      0      0      0  3    0x100204  kmalloc    kmthread
     1      0      1      0  3      0x4084  wait       init
*    0     -1      0      0  3     0x80204  scheduler  swapper
ddb> boot sync
rebooting...
PC Engines WRAP.1C/1D/1E v1.10
[...]

it seems always to give this same response to the same sequence of 
actions.

granted, i'm not very frequent at intentionally dropping boxes to ddb 
then trying to screw them, but it isn't really supposed to work that 
way, is it?

thanks,

-- 
[-]

mkdir /nonexistent

Reply via email to