Date: Sat, 12 Mar 2011 19:38:48 GMT From: Benjamin Lee <ben@b1c1l1.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/155499: mfi(4) command timeout loop on boot on releng/8.2 Message-ID: <201103121938.p2CJcmZX080660@red.freebsd.org> Resent-Message-ID: <201103121940.p2CJeA9q021260@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155499 >Category: kern >Synopsis: mfi(4) command timeout loop on boot on releng/8.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 12 19:40:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Benjamin Lee >Release: 8.2-RELEASE >Organization: >Environment: FreeBSD genesis.b1c1l1.com 8.2-RELEASE FreeBSD 8.2-RELEASE #11: Sat Mar 12 11:10:09 PST 2011 root@genesis.b1c1l1.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When trying to boot an 8.2-RELEASE kernel, mfi(4) enters an infinite command timeout loop. With MFI_DEBUG I get the following output: mfi0: COMMAND 0xffffff80002c6440 TIMEOUT AFTER 59 SECONDS mfi0: cm=0xffffff80002c6440 index=8 total_frame_size=52 extra_frames=0 mfi0: flags=83<MAPPED,DATAIN,Q_BUSY> mfi0: cmd=MFI_CMD_DCMD opcode=LD_GET_LIST data_len=1032 mfi0: flags=12<SGL64,READ> SG List: 0x1a3d000:001032 mfi0: mfi_timeout 2522 COMMAND 0xffffff80002c6440 S/G count bad 0 1032 1032 0x1a3d000 mfi0: cm=0xffffff80002c6440 index=8 total_frame_size=52 extra_frames=0 mfi0: flags=83<MAPPED,DATAIN,Q_BUSY> mfi0: cmd=MFI_CMD_DCMD opcode=LD_GET_LIST data_len=1032 mfi0: flags=12<SGL64,READ> SG List: 0x1a3d000:001032 This output repeats itself every 30 seconds (with the timeout counter increasing). This exact system does not have any problems with 8.1-RELEASE. The card is an LSI MegaRAID SAS 8408E: blee@genesis ~ $ pciconf -lv | grep -A4 mfi0 mfi0@pci0:6:14:0: class=0x010400 card=0x10011000 chip=0x04111000 rev=0x00 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' device = 'MegaRAID Family RAID Controller' class = mass storage subclass = RAID blee@genesis ~ $ sudo mfiutil show adapter mfi0 Adapter: Product Name: MegaRAID SAS 8408E Serial Number: P186584707 Firmware: 7.0.1-0081 RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID10, RAID50 Battery Backup: present NVRAM: 32K Onboard Memory: 256M Minimum Stripe: 8K Maximum Stripe: 1M Upgrading to the latest firmware had no effect: blee@genesis ~ $ sudo mfiutil show firmware mfi0 Firmware Package Version: 7.0.1-0081 mfi0 Firmware Images: Name Version Date Time Status BTBL R.2.3.15 May 20 2008 16:09:27 active BIOS MT33 active MPT1 MPTFW-01.18.172.00-IT 01/31/11 16:49:08 active APP 1.12.310-1112 Dec 17 2010 14:54:35 active BCON 1.1-33j-e_11-Rel Aug 20 2009 21:16:24 active CTLR 1.04-019A Aug 13 2007 23:21:34 active MPT3 MPTFW-01.18.172.00-IT 01/31/11 16:49:29 active PCLI 01.00-011:#%00001 Oct 10 2007 16:30:36 active >How-To-Repeat: 1) Boot 8.1-RELEASE kernel. Observe no problems. 2) Boot 8.2-RELEASE kernel. Kernel will not boot due to command timeout loop in mfi(4). >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103121938.p2CJcmZX080660>