Subject: i386-1.6ZK mpt 'adapter resource shortage' and crash with softdep
To: None <current-users@netbsd.org>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: current-users
Date: 02/17/2004 19:45:42
Hi,

recent kernels 1.6ZI..K give me an endless flow of 

sd0(mpt0:0:0:0): adapter resource shortage

on the console during heavy disk access, especially with softdep enabled
on filesystems.

In the latter case, I also get the occasional

sd0(mpt0:0:0:0): adapter resource shortage
sd0(mpt0:0:0:0): adapter resource shortage
/var: got error 16 while accessing filesystem
panic: softdep_deallocate_dependencies: unrecovered I/O error
Begin traceback...
softdep_deallocate_dependencies(c102f480,a1220,0,c102f480,c102f480) at
netbsd:softdep_deallocate_dependencies+0x1d
brelse(c102f480,43c25f,0,0,c102f480) at netbsd:brelse+0x17e
biodone(c102f480,1,c02d76c0,c0e66000,0) at netbsd:biodone+0x72
scsipi_complete(c104cd60,10,c038ee29,0,0) at
netbsd:scsipi_complete+0x10c
scsipi_completion_thread(c0e1aed4,4b2000,4bb000,0,c010030c) at
netbsd:scsipi_completion_thread+0xc4 End traceback...
syncing disks...

and, when I try to break into ddb (serial console), a

~#
The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 fd 4/5)

-- but no debugger prompt.

	hauke

---------------------------------------------------------------------

[hf@bounce] ~ > dmesg
NetBSD 1.6ZK (BOUNCE) #2: Tue Feb 17 16:58:47 CET 2004
       
hf@heiligenberg:/var/obj/netbsd-builds/i386/obj/sys/arch/i386/compile/B
OUNCE total memory = 511 MB
avail memory = 496 MB
BIOS32 rev. 0 found at 0xfda74
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium 4 (686-class), 2657.91 MHz, id 0xf29
cpu0: features
bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR> cpu0:
features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX> cpu0:
features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF> cpu0: I-cache 12K uOp
cache 8-way, D-cache 8 KB 64b/line 4-way cpu0: L2 cache 512 KB 64b/line
8-way cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 16 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82845 Host (rev. 0x11)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x11)
pci1 at ppb0 bus 1
pci1: memory space enabled
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev.
0x05) pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
mpt0 at pci2 dev 9 function 0: LSI Logic 53c1030 Ultra320 SCSI
mpt0: interrupting at irq 15
scsibus0 at mpt0: 16 targets, 8 luns per target
fxp0 at pci2 dev 12 function 0: i82550 Ethernet, rev 13
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:0c:f1:81:3c:f8
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1 at pci2 dev 13 function 0: i82550 Ethernet, rev 13
fxp1: interrupting at irq 11
fxp1: Ethernet address 00:0c:f1:81:3c:fb
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga0 at pci2 dev 15 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x05)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801BA IDE Controller (ICH2) (rev. 0x05)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel ignored (disabled)
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev.
0x05) uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x05) at pci0
dev 31 function 3 not configured uhci1 at pci0 dev 31 function 4: Intel
82801BA USB Controller (rev. 0x05) uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <PLEXTOR CD-ROM PX-54TA, , 1.00> cdrom
removable cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using
DMA data transfers) sd0 at scsibus0 target 0 lun 0: <LSILOGIC, 1030,
1000> disk fixed sd0: fabricating a geometry
sd0: 34938 MB, 34938 cyl, 64 head, 32 sec, 512 bytes/sect x 71553025
sectors sd0: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers,
tagged queueing sd0: fabricating a geometry
sd0: fabricating a geometry
boot device: sd0
root on sd0a dumps on sd0b
sd0: fabricating a geometry
sd0: fabricating a geometry

---------------------------------------------------------------------