Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2012 06:44:05 +0000
From:      Sean Kelly <smkelly@flightaware.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   RELENG_9 panic with PERC 6/i (mfi)
Message-ID:  <13D4274FB3603545B1811E6390085F3D0C18FD61@MBX021-W3-CA-5.exch021.domain.local>

next in thread | raw e-mail | index | archive | help
Greetings.

I have a Dell R710 with a mfi device (PERC 6/i Integrated) that panics almo=
st immediately on FreeBSD 9. It works fine on FreeBSD 8.2-RELEASE, but I've=
 now had it panic in FreeBSD 9.0-STABLE and 9.1-RELEASE.

Output of mfiutil show adapter and panic backtrace below. Anybody seen this=
 or have any ideas?

# mfiutil show adapter:
mfi0 Adapter:
    Product Name: PERC 6/i Integrated
   Serial Number: <redacted>
        Firmware: 6.3.1-0003
     RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID6, RAID10, RAID50
  Battery Backup: present
           NVRAM: 32K
  Onboard Memory: 256M
  Minimum Stripe: 8K
  Maximum Stripe: 1M

# kgdb -n 5
panic: kmem_malloc(-8192): kmem_map too small: 82677760 total allocated
cpuid =3D 2
KDB: stack backtrace:
#0 0xffffffff809208a6 at kdb_backtrace+0x66
#1 0xffffffff808ea8be at panic+0x1ce
#2 0xffffffff80b44930 at vm_map_locked+0
#3 0xffffffff80b3b41a at uma_large_malloc+0x4a
#4 0xffffffff808d5a69 at malloc+0xd9
#5 0xffffffff805b2985 at mfi_user_command+0x35
#6 0xffffffff805b2f2d at mfi_ioctl+0x2fd
#7 0xffffffff807db28b at devfs_ioctl_f+0x7b
#8 0xffffffff80932325 at kern_ioctl+0x115
#9 0xffffffff8093255d at sys_ioctl+0xfd
#10 0xffffffff80bd7ae6 at amd64_syscall+0x546
#11 0xffffffff80bc3447 at Xfast_syscall+0xf7
Uptime: 35s
Dumping 2032 out of 49122 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..=
91%

(kgdb) lis *0xffffffff805b2985
0xffffffff805b2985 is in mfi_user_command (/usr/src/sys/dev/mfi/mfi.c:2836)=
.
2831 int error =3D 0, locked;
2832
2833
2834 if (ioc->buf_size > 0) {
2835 ioc_buf =3D malloc(ioc->buf_size, M_MFIBUF, M_WAITOK);
2836 if (ioc_buf =3D=3D NULL) {
2837 return (ENOMEM);
2838 }
2839 error =3D copyin(ioc->buf, ioc_buf, ioc->buf_size);
2840 if (error) {




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13D4274FB3603545B1811E6390085F3D0C18FD61>