asr0 (Adpatec 2100S) panic on load

From: Yuriy Tsibizov <Yuriy.Tsibizov_at_gfk.ru>
Date: Fri, 23 Feb 2007 22:01:39 +0300 (MSK)
HW is Adaptec 2100S with 32 MB ECC DIMM:

pcib2_at_pci0:9:0:	class=0x060400 card=0x00000000 chip=0xa5001044 rev=0x02 hdr=0x01
     vendor     = 'Adaptec (Formerly: Distributed Processing Technology (DPT))'
     device     = 'PCI Bridge'
     class      = bridge
     subclass   = PCI-PCI
none0_at_pci0:9:1:	class=0x0e0001 card=0xc03c1044 chip=0xa5011044 rev=0x02 hdr=0x00
     vendor     = 'Adaptec (Formerly: Distributed Processing Technology (DPT))'
     device     = 'I2O SmartRAID V Controller'
     class      = intelligent I/O controller
     subclass   = I2O

Once I managed to load it (kernel crashed a minute later with
  kmem_malloc(4096): kmem_map too small: 171311104 total allocated):

asr0: <Adaptec Caching SCSI RAID> mem 0xe8000000-0xe9ffffff irq 17 at device 9.1 on pci0
asr0: Reserved 0x2000000 bytes for rid 0x10 type 3 at 0xe8000000
asr0: [GIANT-LOCKED]
asr0: [ITHREAD]
asr0:   ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O

kgdb backtrace:

GNU gdb 6.1.1 [FreeBSD]
[...]
Unread portion of the kernel message buffer:
asr0: <Adaptec Caching SCSI RAID> mem 0xe8000000-0xe9ffffff irq 17 at device 9.1 on pci0
Memory modified after free 0xc4142540(12) val=20202020 _at_ 0xc4142540
panic: Most recently used by none

cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper(c0920035) at db_trace_self_wrapper+0x25
kdb_backtrace(100,c326e510,c4142540,c414254c,c4142540,...) at kdb_backtrace+0x29
panic(c092b60a,c091c2ba,c096d48c,c4142540,c,...) at panic+0x109
mtrash_ctor(c4142540,10,0,101) at mtrash_ctor+0x4d
uma_zalloc_arg(c1472960,0,101) at uma_zalloc_arg+0xc3
malloc(4,c09f9ca0,101,c06d4bf3,ffffffff,...) at malloc+0xb2
rman_reserve_resource_bound(c0ac46c0,11,11,1,0,...) at rman_reserve_resource_bound+0x5f5
rman_reserve_resource(c0ac46c0,11,11,1,4,c2e9d500) at rman_reserve_resource+0x1c
nexus_alloc_resource(c2df6c00,c2e9d500,1,d61caa54,11,...) at nexus_alloc_resource+0xcf
acpi_alloc_resource(c2df6480,c2e9d500,1,d61caa54,11,11,1,6) at acpi_alloc_resource+0xf8
bus_generic_alloc_resource(c2e9a480,c2e9d500,1,d61caa54,11,...) at bus_generic_alloc_resource+0x7f
acpi_pcib_acpi_alloc_resource(c2e9a480,c2e9d500,1,d61caa54,11,11,1,6) at acpi_pcib_acpi_alloc_resource+0x4b
resource_list_alloc(c2dfdd04,c2e9d780,c2e9d500,1,d61caa54,...) at resource_list_alloc+0x180
pci_alloc_resource(c2e9d780,c2e9d500,1,d61caa54,0,ffffffff,1,6) at pci_alloc_resource+0x1e0
bus_alloc_resource(c2e9d500,1,d61caa54,0,ffffffff,...) at bus_alloc_resource+0x7c
asr_pci_map_int(c2e9d500,c386f600,d61caaa8,48,4,...) at asr_pci_map_int+0x2a
asr_attach(c2e9d500) at asr_attach+0x321
device_attach(c2e9d500,c2e9d500,c2e9d500,3,c2dfdd00,...) at device_attach+0x58
device_probe_and_attach(c2e9d500,c2e9d500,c2dfdd00) at device_probe_and_attach+0xe0
pci_driver_added(c2e9d780,c429f06c) at pci_driver_added+0xd1
devclass_add_driver(c2dcf580,c429f06c) at devclass_add_driver+0xd5
driver_module_handler(c336fe40,0,c429f084,c0a4cf00,c095ba70,7b) at driver_module_handler+0x59
module_register_init(c429f098) at module_register_init+0x66
linker_file_sysinit(c3515000,c3515000,1,c3515000,c33a8420,...) at linker_file_sysinit+0x9d
linker_load_file(c33a8420,d61cac14) at linker_load_file+0xee
linker_load_module(0,c3933c00,0,0,d61cac4c,c0a4ca20,c095aee0,36a) at linker_load_module+0xdb
kern_kldload(c326e510,c3933c00,d61cac70) at kern_kldload+0x92
kldload(c326e510,d61cad00) at kldload+0x4f
syscall(d61cad38) at syscall+0x256
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (304, FreeBSD ELF32, kldload), eip = 0x280c0b53, esp = 0xbfbfecec, ebp = 0xbfbfed28 ---
Uptime: 15m9s
Physical memory: 499 MB
Dumping 77 MB: 62 46 30 14

#0  doadump () at pcpu.h:147
147	pcpu.h: No such file or directory.
 	in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:147
#1  0xc06be85c in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:411
#2  0xc06beb66 in panic (fmt=0xc092b60a "Most recently used by %s\n")
     at /usr/src/sys/kern/kern_shutdown.c:567
#3  0xc081af05 in mtrash_ctor (mem=0xc4142540, size=0, arg=0x0, flags=257)
     at /usr/src/sys/vm/uma_dbg.c:137
#4  0xc08190df in uma_zalloc_arg (zone=0xc1472960, udata=0x0, flags=257)
     at /usr/src/sys/vm/uma_core.c:1835
#5  0xc06b3e12 in malloc (size=16, mtp=0xc09f9ca0, flags=257) at uma.h:277
#6  0xc06e1651 in rman_reserve_resource_bound (rm=0xc0ac46c0, start=17,
     end=17, count=1, bound=0, flags=4, dev=0xc2e9d500)
     at /usr/src/sys/kern/subr_rman.c:442
#7  0xc06e177c in rman_reserve_resource (rm=0xc0ac46c0, start=17, end=17,
     count=1, flags=4, dev=0xc2e9d500) at /usr/src/sys/kern/subr_rman.c:488
#8  0xc08b66df in nexus_alloc_resource (bus=0xc2df6c00, child=0xc2e9d500,
     type=1, rid=0xd61caa54, start=17, end=17, count=1, flags=4)
     at /usr/src/sys/i386/i386/nexus.c:366
#9  0xc0c0864c in acpi_alloc_resource (bus=0xc2df6480, child=0xc2e9d500,
     type=1, rid=0xd61caa54, start=1, end=17, count=1, flags=6) at bus_if.h:262
#10 0xc06d9b23 in bus_generic_alloc_resource (dev=0x0, child=0xc2e9d500,
     type=1, rid=0xd61caa54, start=17, end=17, count=1, flags=6)
     at bus_if.h:262
#11 0xc0c0cea7 in acpi_pcib_acpi_alloc_resource (dev=0xc2e9a480,
     child=0xc2e9d500, type=0, rid=0xd61caa54, start=0, end=0, count=1,
     flags=6)
     at /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_pcib_acpi.c:354
#12 0xc06d9410 in resource_list_alloc (rl=0xc2dfdd04, bus=0xc2e9d780,
     child=0xc2e9d500, type=1, rid=0xd61caa54, start=6, end=1, count=1,
     flags=6) at bus_if.h:262
#13 0xc05da798 in pci_alloc_resource (dev=0xc2e9d780, child=0xc2e9d500,
     type=1, rid=0xd61caa54, start=0, end=4294967295, count=1, flags=6)
     at /usr/src/sys/dev/pci/pci.c:3077
#14 0xc06da11c in bus_alloc_resource (dev=0x0, type=1, rid=0xd61caa54,
     start=0, end=4294967295, count=1, flags=6) at bus_if.h:262
#15 0xc429ceee in asr_pci_map_int (dev=0xc2e9d500, sc=0xc386f600) at bus.h:375
#16 0xc429d425 in asr_attach (dev=0xc2e9d500)
     at /usr/src/sys/modules/asr/../../dev/asr/asr.c:2465
#17 0xc06d8e48 in device_attach (dev=0xc2e9d500) at device_if.h:177
#18 0xc06d8de8 in device_probe_and_attach (dev=0xc2e9d500)
     at /usr/src/sys/kern/subr_bus.c:2347
#19 0xc05d97b5 in pci_driver_added (dev=0xc2dfdd00, driver=0xc429f06c)
     at /usr/src/sys/dev/pci/pci.c:2463
#20 0xc06d7ac9 in devclass_add_driver (dc=0xc2dcf580, driver=0xc429f06c)
     at bus_if.h:183
#21 0xc06da989 in driver_module_handler (mod=0xc336fe40, what=-1003884436,
     arg=0xc429f084) at /usr/src/sys/kern/subr_bus.c:3799
#22 0xc06b5472 in module_register_init (arg=0xc429f098)
     at /usr/src/sys/kern/kern_module.c:124
#23 0xc06af855 in linker_file_sysinit (lf=0xc3515000)
     at /usr/src/sys/kern/kern_linker.c:226
#24 0xc06afbda in linker_load_file (
     filename=0xc09f82a0 "\232Ë\221À_at_\202\237ÀÈ", result=0xd61cac14)
     at /usr/src/sys/kern/kern_linker.c:407
#25 0xc06b2093 in linker_load_module (
     kldname=0xc33a8420 "/boot/kernel/asr.ko", modname=0xc3933c00 "asr",
     parent=0x0, verinfo=0x0, lfpp=0xd61cac4c)
     at /usr/src/sys/kern/kern_linker.c:1871
#26 0xc06b080e in kern_kldload (td=0xc3933c00, file=0xc3933c00 "asr",
     fileid=0xd61cac70) at /usr/src/sys/kern/kern_linker.c:875
#27 0xc06b089b in kldload (td=0xc326e510, uap=0x0)
     at /usr/src/sys/kern/kern_linker.c:902
#28 0xc08bdb2a in syscall (frame=0xd61cad38)
     at /usr/src/sys/i386/i386/trap.c:1008
#29 0xc08a7520 in Xint0x80_syscall ()
     at /usr/src/sys/i386/i386/exception.s:196
#30 0x280c0b53 in ?? ()
Previous frame inner to this frame (corrupt stack?)

Yuriy.
Received on Fri Feb 23 2007 - 18:03:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC