5.5 panic in ffs_blkfree

2014-08-24 Thread Roger Hammerstein
sorry, i could not get the panic string

ddb{3} trace
Debugger() at Debugger+0x5
panic() at panic+0xee
ffs_blkfree() at ffs_blkfree+0x717
ffs_indirtrunc() at ffs_indirtrunc+0x2ac
ffs_indirtrunc() at ffs_indirtrunc+0x28e
ffs_truncate() at ffs_truncate+0xb45
ufs_inactive() at ufs_inactive+0x109
VOP_INACTIVE() at VOP_INACTIVE+0x28
vput() at vput+0x3e
ufs_rename() at ufs_rename+0xdb0
VOP_RENAME() at VOP_RENAME+0x3b
dorenameat() at dorenameat+0x249
syscall() at syscall+0x24f
--- syscall (number 128) ---
end trace frame: 0x0, count: -13
0xe66317e083a:
ddb{3}


dell  r310, dns server with isc-bind port rotatinglogs on /var,  no
softupdates.





OpenBSD  5.5 GENERIC.MP#315 amd64
OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar  5 09:37:46 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17153232896 (16358MB)
avail mem = 16688005120 (15914MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xbf79c000 (66 entries)
bios0: vendor Dell Inc. version 1.6.4 date 03/03/2011
bios0: Dell Inc. PowerEdge R310



Re: panic softdep_deallocate_dependencies

2013-07-19 Thread Roger Hammerstein
i had another machine panic with this, and no disk errors.amd64, openbsd 5.3.
it looks like outlook or the demimer ate the dmesg of my last message.

on reboot, /var needed manual fscking, and some bind logfiles were
unreferencedand put in lost+found.






ddb{0} show panic
softdep_deallocate_dependencies: unrecovered I/O error
ddb{0} trace
Debugger() at Debugger+0x5
panic() at panic+0xe4
softdep_deallocate_dependencies() at softdep_deallocate_dependencies+0x43
brelse() at brelse+0x68
sd_buf_done() at sd_buf_done+0x7a
mpi_intr() at mpi_intr+0x40
Xintr_ioapic_edge18() at Xintr_ioapic_edge18+0xe8
--- interrupt ---
Bad frame pointer: 0x800026132f10
end trace frame: 0x800026132f10, count: -7
cpu_idle_cycle+0x13:
ddb{0}


ddb{0} ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
  1676   7380   1676  0  30x80  ttyin ksh
  7380  16232   7380  0  30x88  pause ksh
 16232  28134  16232   1000  30x88  pause ksh
 28134   7618   7618   1000  30x80  selectsshd
  7618   5766   7618  0  30x80  poll  sshd
 30029  1  22491 70  3   0x4100080  kqreadnamed
 14696  1  22491 70  3   0x4100080  thrsleep  named
  8590  1  22491 70  3   0x4100080  thrsleep  named
 24645  1  22491 70  3   0x4100080  thrsleep  named
  4014  1  22491 70  3   0x4100080  thrsleep  named
 17408  1  22491 70  3   0x410  getblknamed
  4351  1  22491 70  3   0x4100080  thrsleep  named
 17728  1  22491 70  3   0x4100080  thrsleep  named
 18529  1  22491 70  3   0x4100080  thrsleep  named
 16617  1  22491 70  3   0x4100080  thrsleep  named
 22491  1  22491 70  30x80  sigwait   named
 10069  25041  10069  0  30x80  ttyin ksh
 25041   9889  25041  0  30x88  pause ksh



# bioctl sd0Volume  Status   Size Device
 mpi0 0 Online   499558383104 sd0 RAID1
  0 Online   500107861504 0:9.0   noencl ATA WDC
WD5003ABYX-11S02
  1 Online   500107861504 0:1.0   noencl ATA WDC
WD5003ABYX-11S02

mpi0 at pci3 dev 0 function 0 Symbios Logic SAS1068E rev 0x08: msi

scsibus0 at mpi0: 112 targets
sd0 at scsibus0 targ 0 lun 0: Dell, VIRTUAL DISK, 1028 SCSI3 0/direct fixed
naa.



flags for wd timeouts?

2010-02-07 Thread Roger Hammerstein
Hello.

I have one of these motherboards:
http://www.supermicro.com/Aplus/motherboard/Opteron/HT2000/H8DSP-i.cfm

Disk activity is a problem on this motherboard.  Fscking, or a couple of
dd's from /dev/zero to a file on the hard disk result in the below error.
I could not finish the install from the cd because this error comes up.
I put the sata disk in a different machine for the install, and then
back into this machine.

 wd0(pciide0:2:0): timeout
   type: ata
   c_bcount: 65536
   c_skip: 0
 pciide0:2:0 bus-master DMA error: missing interrupt status=0x21
 pciide0 channel 2: reset failed for drive 0
 wd0a: device timeout reading fsbn 123157536 of 123157536-123157663 (wd0 bn
127458399; cn 7933 tn 234 sn12), retrying
 pciide0:2:0 not ready, st=0xd0BSY,DRDY,DSC,err=0x00
 pciide0 channel 2: reset failed for drive 0



I tried add flags for the wd device with 'boot -c', change wd,
flags 0xffc   or   0xff0
but neither seemed to help.  Maybe you can suggest a better flags value ?

Or perhaps there is something else, besides flags to adjust?



Additionally, ps2 keyboards don't work after the kernel boots, but USB ones
do.
(i tried disabling apm and acpi, but neither helped to fix the keyboard or
disk issue.)

Lastly, there are no bios updates from supermicro available.


OpenBSD 4.7-beta (RAMDISK_CD) #308: Wed Jan 27 19:34:30 MST 2010
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 2146369536 (2046MB)
avail mem = 2081468416 (1985MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfbae0 (60 entries)
bios0: vendor American Megatrends Inc. version 080011 date 06/30/2006
bios0: Supermicro H8DSP-8
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB SRAT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 250, 2394.38 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,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, 1MB 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
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (P1P2)
acpiprt3 at acpi0: bus 3 (BR14)
acpiprt4 at acpi0: bus 4 (BR1E)
acpiprt5 at acpi0: bus 5 (BR28)
acpiprt6 at acpi0: bus 6 (BR32)
acpiprt7 at acpi0: bus 7 (BR3C)
pci0 at mainbus0 bus 0
ppb0 at pci0 dev 1 function 0 ServerWorks HT-1000 PCI rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 13 function 0 ServerWorks HT-1000 PCIX rev 0xb2
pci2 at ppb1 bus 2
pciide0 at pci1 dev 14 function 0 ServerWorks HT-1000 SATA rev 0x00: DMA
pciide0: using apic 2 int 11 (irq 11) for native-PCI interrupt
pciide0: port 0: PHY offline
pciide0: port 1: PHY offline
pciide0: port 2: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 2 drive 0: WDC WD1500ADFD-00NLR1
wd0: 16-sector PIO, LBA48, 143089MB, 293046768 sectors
wd0(pciide0:2:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: port 3: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 3 drive 0: WDC WD1500ADFD-00NLR1
wd1: 16-sector PIO, LBA48, 143089MB, 293046768 sectors
wd1(pciide0:3:0): using PIO mode 4, Ultra-DMA mode 6
pchb0 at pci0 dev 2 function 0 ServerWorks HT-1000 rev 0x00
pciide1 at pci0 dev 2 function 1 ServerWorks HT-1000 IDE rev 0x00: DMA
atapiscsi0 at pciide1 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-ROM SR-8178, PZ16 ATAPI 5/cdrom
removable
cd0(pciide1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 0
ServerWorks HT-1000 LPC rev 0x00 at pci0 dev 2 function 2 not configured
ohci0 at pci0 dev 3 function 0 ServerWorks HT-1000 USB rev 0x01: apic 2 int
10 (irq 10), version 1.0, legacy support
ohci1 at pci0 dev 3 function 1 ServerWorks HT-1000 USB rev 0x01: apic 2 int
10 (irq 10), version 1.0, legacy support
ehci0 at pci0 dev 3 function 2 ServerWorks HT-1000 USB rev 0x01: apic 2 int
10 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 ServerWorks EHCI root hub rev 2.00/1.00 addr 1
vga1 at pci0 dev 5 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ppb2 at pci0 dev 8 function 0 ServerWorks HT-2000 PCIX rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 9 function 0 ServerWorks HT-2000 PCIX rev 0xa3
pci4 at ppb3 bus 4
bge0 at pci4 dev 4 function 0 Broadcom BCM5780 rev 0x03, BCM5714 B3
(0x8003): apic 3 int 1 (irq 9), address xx:xx:xx:xx:xx:xx
brgphy0 at bge0 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0
bge1 at pci4 dev 4 function 1 Broadcom BCM5780 rev