I am attempting to get the source copied from the cd
to /usr/src.

I ran the tar command to extract the source from the
cd.  The system panicked after a minute or two.
After this, I rebooted.

When it came up, I went to the src dir to see what
was there.  I tried removing the partial set of files.
It panicked after just a short time.

The dmesg is at the bottom.

Does this indicate I have a bad drive?  Or, does it
just need fsck run on it?  I just installed openbsd 4.0
on this box a few days ago.  It rebuilt the file systems
from scratch.  Do I need to redo everything?

Or, do I need to start looking at hardware problems with
the drive or the motherboard?

Please let me know the next step to run that will help
me get to a stable system.

Thanks!

JohnM



panic #1:
-----
panic: kernel diagnostic assertion "(dirblock < dh->dh_nblk &&
dh->dh_blkfree[dirblock] >= (((slotneeded) + ((4) - 1)) / (4)))" failed: file
"/usr/src/sys/ufs/ufs/ufs_dirhash.c", line 510
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> Debugger(40,e9e27b88,e9e27b70,3,d6a8d690) at Debugger+0x4
panic(d0660c40,d06305f7,d0675ea0,d0675e20,1fe) at panic+0x63
tablefull(d06305f7,d0675e20,1fe,d0675ea0,d07172c0) at tablefull
ufsdirhash_findfree(d6a8d690,18,e9e27c3c,e9e27e3c) at
ufsdirhash_findfree+0x94
ufs_lookup(e9e27c68,e9e27e3c,e9e27c80,d035162e,d0717180) at ufs_lookup+0x18e
VOP_LOOKUP(d6a8c444,e9e27e28,e9e27e3c,20) at VOP_LOOKUP+0x2e
lookup(e9e27e18,d6c02c00,400,e9e27e30) at lookup+0x1d0
namei(e9e27e18,d1167310,e9e27d60,1e4940) at namei+0x180
vn_open(e9e27e18,e02,1a4,d6b2bcb0) at vn_open+0x7b
sys_open(d6b2bcb0,e9e27f68,e9e27f58,0,0) at sys_open+0xdb
syscall() at syscall+0x2ea
--- syscall (number 5) ---
0x1c00e3e1:
ddb>    PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
 30524  14560  14560      0  3      0x4086  pipewr     gzip
*14560  16456  14560      0  7      0x4006             tar
 16456  14200  16456   1000  3      0x4086  pause      csh
 14200  14618  14618   1000  3       0x184  select     sshd
 14618  19009  14618      0  3      0x4084  netio      sshd
  4633      1   4633      0  3      0x4086  ttyin      getty
 11447      1  11447      0  3      0x4086  ttyin      getty
 18246      1  18246      0  3      0x4086  ttyin      getty
 22102      1  22102      0  3      0x4086  ttyin      getty
 11015      1  11015      0  3      0x4086  ttyin      getty
 27803      1  27803      0  3        0x84  select     cron
 26298      1  26298      0  3     0x40184  select     sendmail
 19009      1  19009      0  3        0x84  select     sshd
 12832      1  12832      0  3       0x184  select     inetd
 10395  26437  26437     83  3       0x184  poll       ntpd
 26437      1  26437      0  3        0x84  poll       ntpd
  1666   2020   2020     73  3       0x184  poll       syslogd
  2020      1   2020      0  3        0x8c  netio      syslogd
    13      0      0      0  3    0x100204  crypto_wa  crypto
    12      0      0      0  3    0x100204  aiodoned   aiodoned
    11      0      0      0  3    0x100204  syncer     update
    10      0      0      0  3    0x100204  cleaner    cleaner
     9      0      0      0  3    0x100204  reaper     reaper
     8      0      0      0  3    0x100204  pgdaemon   pagedaemon
     7      0      0      0  3    0x100204  pftm       pfpurge
     6      0      0      0  3    0x100204  wait       wskbd_hotkey
     5      0      0      0  3    0x100204  usbtsk     usbtask
     4      0      0      0  3    0x100204  usbevt     usb0
     3      0      0      0  3    0x100204  apmev      apm0
     2      0      0      0  3    0x100204  kmalloc    kmthread
     1      0      1      0  3      0x4084  wait       init
     0     -1      0      0  3     0x80204  scheduler  swapper
-----

panic #2:
-----
WARNING: / was not properly unmounted
panic: ufsdirhash_findslot: 'crash66.C' not found
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> Debugger(d6c53118,0,2000,d12e4220,400) at Debugger+0x4
panic(d0676280,9,ddafa748,d12e4220,7ff) at panic+0x63
ufsdirhash_delslot(d12e5c00,ddafa748,9,740,d6b99b38) at ufsdirhash_delslot
ufsdirhash_remove(d6b99d30,ddafa740,740,d12e5c00) at ufsdirhash_remove+0x3c
ufs_dirremove(d6b9f1d4,d6b99b38,800c,0) at ufs_dirremove+0x6b
ufs_remove(e9e27e88,d6b9f30c,d6b309e0,d6c141e0,d0717580) at ufs_remove+0x9b
VOP_REMOVE(d6b9f1d4,d6b9f30c,e9e27edc,2) at VOP_REMOVE+0x2e
sys_unlink(d6b309e0,e9e27f68,e9e27f58,b,252) at sys_unlink+0x80
syscall() at syscall+0x2ea
--- syscall (number 10) ---
0x1c007f95:
ddb> syncing disks... 31 28 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up
rebooting...
-----

dmesg:
-----
OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Duron(tm) Processor ("AuthenticAMD" 686-class, 64KB L2 cache) 1.21
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,S
SE
real mem  = 528052224 (515676K)
avail mem = 473726976 (462624K)
using 4256 buffers containing 26505216 bytes (25884K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/08/02, BIOS32 rev. 0 @ 0xfdb30,
SMBIOS rev. 2.3 @ 0xf0630 (24 entries)
bios0: ECS M821LR
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8860/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C686 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x5800 0xd1800/0x2800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8361 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8361 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade i1" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC35L120AVV207-0>
wd0: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide0 channel 1 drive 0: <WDC WD1200JB-00DUA3>
wd1: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <CD-ROM, CCD-52X6S, YSG1> SCSI0 5/cdrom
removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x16: irq 12
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
viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40
auvia0 at pci0 dev 7 function 5 "VIA VT82C686 AC97" rev 0x50: irq 10
ac97: codec id 0x49434511 (ICEnsemble ICE1232)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auvia0
"VIA VT82C686 Modem" rev 0x30 at pci0 dev 7 function 6 not configured
rl0 at pci0 dev 10 function 0 "Realtek 8139" rev 0x10: irq 12, address
00:e0:06:f6:bf:3e
rlphy0 at rl0 phy 0: RTL internal PHY
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
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: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask fb6d netmask fb6d ttymask fbef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
-----

--
john mendenhall
[EMAIL PROTECTED]
surf utopia
internet services

Reply via email to