From sandy@krvarr.bc.ca  Fri Aug  6 10:57:49 2004
Return-Path: <sandy@krvarr.bc.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C6BEE16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 Aug 2004 10:57:49 +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 F343243D45
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 Aug 2004 10:57:46 +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 i76AvkTa002073
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 6 Aug 2004 03:57:46 -0700 (PDT)
Received: (from sandy@localhost)
	by szamoca.krvarr.bc.ca (8.12.11/8.12.11/Submit) id i76AvjV1002070;
	Fri, 6 Aug 2004 03:57:45 -0700 (PDT)
	(envelope-from sandy)
Message-Id: <16659.25641.664678.630879@szamoca.krvarr.bc.ca>
Date: Fri, 6 Aug 2004 03:57:45 -0700
From: Sandy Rutherford <sandy@krvarr.bc.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Re:%20bin/69875:%20%60mlxcontrol%20status%20%3Cdrivename%3E%27%20hangs%20with%20Mylex%20DAC%31%31%30%30%20RAID%20controller

>Number:         70068
>Category:       bin
>Synopsis:       Re:%20bin/69875:%20%60mlxcontrol%20status%20%3Cdrivename%3E%27%20hangs%20with%20Mylex%20DAC%31%31%30%30%20RAID%20controller
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 11:00:35 GMT 2004
>Closed-Date:    Thu Aug 19 06:43:23 GMT 2004
>Last-Modified:  Thu Aug 19 06:43:23 GMT 2004
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 I have tracked this problem down to the function
 `mlxd_find_ctrlr_search' in /usr/src/usr.sbin/mlxcontrol/interface.c.
 
 In the for loop in this function, the call to ioctl(2) always sets i to 0
 and never returns -1.  Therefore, this loop never completes.
 Presumably, the problem arose with recent changes in the behaviour of
 ioctl(2)?
 
 I don't understand how ioctl(2) works in FreeBSD well enough to fix
 this.  However, if I come up with a patch, I'll submit it.
 
 ...Sandy
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 19 06:42:50 GMT 2004 
State-Changed-Why:  
Misfiled followup to bin/69875; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Aug 19 06:42:50 GMT 2004 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=70068 
>Unformatted:
