From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 1 13:40:20 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A44516A4CF for ; Sun, 1 Aug 2004 13:40:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F171F43D67 for ; Sun, 1 Aug 2004 13:40:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i71DeJUj015552 for ; Sun, 1 Aug 2004 13:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i71DeJ6h015551; Sun, 1 Aug 2004 13:40:19 GMT (envelope-from gnats) Resent-Date: Sun, 1 Aug 2004 13:40:19 GMT Resent-Message-Id: <200408011340.i71DeJ6h015551@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sandy Rutherford Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6632516A4CE for ; Sun, 1 Aug 2004 13:39:37 +0000 (GMT) Received: from szamoca.krvarr.bc.ca (s142-179-111-232.bc.hsia.telus.net [142.179.111.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58F6243D2F for ; Sun, 1 Aug 2004 13:39:31 +0000 (GMT) (envelope-from sandy@krvarr.bc.ca) Received: from szamoca.krvarr.bc.ca (localhost [127.0.0.1]) by szamoca.krvarr.bc.ca (8.12.11/8.12.6) with ESMTP id i71DdPJc003733; Sun, 1 Aug 2004 06:39:25 -0700 (PDT) Received: (from sandy@localhost) by szamoca.krvarr.bc.ca (8.12.11/8.12.11/Submit) id i71DdPV8003732; Sun, 1 Aug 2004 06:39:25 -0700 (PDT) (envelope-from sandy) Message-Id: <200408011339.i71DdPV8003732@szamoca.krvarr.bc.ca> Date: Sun, 1 Aug 2004 06:39:25 -0700 (PDT) From: Sandy Rutherford To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Sandy Rutherford Subject: bin/69875: `mlxcontrol status ' hangs with Mylex DAC1100 RAID controller X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sandy Rutherford List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2004 13:40:20 -0000 >Number: 69875 >Category: bin >Synopsis: `mlxcontrol status ' hangs with Mylex DAC1100 RAID controller >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 01 13:40:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Sandy Rutherford >Release: FreeBSD 4.10-RELEASE i386 >Organization: >Environment: Problem occurs under FreeBSD 4.10-RELEASE i386 with a Mylex DAC1100PVX, 3 channels, firmware 5.08-W-48, RAID controller. The controller is configured with 3 system disks: mlxd0 - JBOD array mlxd1 - JBOD array mlxd2 - RAID 1 array System: FreeBSD szamoca.krvarr.bc.ca 4.10-RELEASE FreeBSD 4.10-RELEASE #22: Sat Jul 31 23:26:04 PDT 2004 >Description: Executing (as root) any one of `mlxcontrol status mlxd0', `mlxcontrol status mlxd1', or `mlxcontrol status mlxd2' hangs with no output. Executing the above commands with the "-v" flag also hangs with no output. Executing `mlxcontrol status -v' produces the following output and then hangs: --------------------------------------------------------------- [root@szamoca:29] mlxcontrol status -v mlx0: DAC1100PVX, 3 channels, firmware 5.08-W-48, 32MB RAM Hardware ID 0x03020320 Firmware ID 0x30570805 Configured/Actual channels 3/3 Max Targets 16 Max Tags 236 Max System Drives 32 Max Arms 8 Max Spans 4 DRAM/cache/flash/NVRAM size 33554432/31481856/1048576/32768 DRAM type 10 Clock Speed 40ns Hardware Speed 360ns Max Commands 128 Max SG Entries 33 Max DP 472 Max IOD 1024 Max Comb 256 Latency 12s SCSI Timeout 18s Min Free Lines 72 Rate Constant 50 MAXBLK 128 Blocking Factor 1 sectors Cache Line Size 16 blocks SCSI Capability 40MHz, 16 bit Firmware Build Number 0 Fault Management Type 0 disk0001 (online) 'FUJITSU ' 'MAB3091S SUN9.0G' '1705' 8637MB fast20 wide sync tag-enabled disk0002 (online) 'FUJITSU ' 'MAE3182LP ' '0112' 17430MB fast20 wide sync tag-enabled disk0003 (online) 'FUJITSU ' 'MAB3091S SUN9.0G' '1705' 8637MB fast20 wide sync tag-enabled disk0004 (online) 'SEAGATE ' 'SX118202LS ' 'B808' 17366MB fast20 wide sync tag-enabled --------------------------------------------------------------------- Running `truss mlxcontrol status mlxd0' produces the following output: --------------------------------------------------------------------- mmap(0x0,2048,0x3,0x1000,-1,0x0) = 671490048 (0x28062000) munmap(0x28062000,0x800) = 0 (0x0) __sysctl(0xbfbff740,0x2,0x28060f88,0xbfbff73c,0x0,0x0) = 0 (0x0) mmap(0x0,32768,0x3,0x1002,-1,0x0) = 671490048 (0x28062000) geteuid() = 0 (0x0) getuid() = 0 (0x0) getegid() = 0 (0x0) getgid() = 0 (0x0) open("/etc/libmap.conf",0x0,0666) = 3 (0x3) fstat(3,0xbfbfeec8) = 0 (0x0) munmap(0x28066000,0x4000) = 0 (0x0) mmap(0x0,53248,0x3,0x1002,-1,0x0) = 671506432 (0x28066000) read(0x3,0x28067000,0x4000) = 579 (0x243) read(0x3,0x28067000,0x4000) = 0 (0x0) close(3) = 0 (0x0) open("/var/run/ld-elf.so.hints",0x0,00) = 3 (0x3) read(0x3,0xbfbff720,0x80) = 128 (0x80) lseek(3,0x80,0) = 128 (0x80) read(0x3,0x2806d000,0x4d) = 77 (0x4d) close(3) = 0 (0x0) access("/usr/lib/libc.so.4",0) = 0 (0x0) open("/usr/lib/libc.so.4",0x0,05001222053) = 3 (0x3) fstat(3,0xbfbff768) = 0 (0x0) read(0x3,0xbfbfe738,0x1000) = 4096 (0x1000) mmap(0x0,626688,0x5,0x20002,3,0x0) = 671559680 (0x28073000) mprotect(0x280f4000,0x1000,0x7) = 0 (0x0) mprotect(0x280f4000,0x1000,0x5) = 0 (0x0) mmap(0x280f5000,20480,0x3,0x12,3,0x81000) = 672092160 (0x280f5000) mmap(0x280fa000,73728,0x3,0x1012,-1,0x0) = 672112640 (0x280fa000) close(3) = 0 (0x0) mmap(0x0,248,0x3,0x1000,-1,0x0) = 672186368 (0x2810c000) munmap(0x2810c000,0xf8) = 0 (0x0) mmap(0x0,13360,0x3,0x1000,-1,0x0) = 672186368 (0x2810c000) munmap(0x2810c000,0x3430) = 0 (0x0) sigaction(SIGILL,0xbfbff7c0,0xbfbff7a8) = 0 (0x0) sigprocmask(0x1,0x0,0x28060ebc) = 0 (0x0) sigaction(SIGILL,0xbfbff7a8,0x0) = 0 (0x0) sigprocmask(0x1,0x28060e80,0xbfbff7e8) = 0 (0x0) sigprocmask(0x3,0x28060e90,0x0) = 0 (0x0) open("/dev/mlx0",0x0,05001165773) = 3 (0x3) close(3) = 0 (0x0) open("/dev/mlx0",0x0,05001162605) = 3 (0x3) ioctl(3,0xc0044d00,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d07,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d00,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d07,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d00,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d07,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d00,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d07,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d00,0xbfbff73c) = 0 (0x0) ioctl(3,0xc0044d07,0xbfbff73c) = 0 (0x0) ... this last line repeats ad-infinitum... ---------------------------------------------------------------------------- >How-To-Repeat: Simply execute mlxcontrol. The problem appears 100% of the time. >Fix: None known. >Release-Note: >Audit-Trail: >Unformatted: